aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-06-01 10:35:11 +0200
committerRobert Alessi <alessi@robertalessi.net>2018-06-01 10:35:11 +0200
commit9ed235c0bea637355cfa53222ae263cabc476ba8 (patch)
tree33d208e8dc22c721a652bb87391033c97f71c049 /arabluatex.dtx
parent009d8e35bc4401a7543037868c855e882d19e4ea (diff)
downloadarabluatex-9ed235c0bea637355cfa53222ae263cabc476ba8.tar.gz
breakcmd(): iteration through albrkcmds and brkcmds had to be moved down. still documenting
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx34
1 files changed, 26 insertions, 8 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 07f4f54..560405c 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -3213,10 +3213,10 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a...
3213% 3213%
3214% \DescribeMacro{\MkArbBreak} The \cs{MkArbBreak}\marg{csv list of 3214% \DescribeMacro{\MkArbBreak} The \cs{MkArbBreak}\marg{csv list of
3215% commands} command can be used in the preamble to give any 3215% commands} command can be used in the preamble to give any
3216% \emph{single-argument} command---either new or already 3216% command---either new or already existing---the precedence over
3217% existing---the precedence over \package{arabluatex} inside Arabic 3217% \package{arabluatex} inside Arabic environments. It takes as
3218% environments. It takes as argument a comma-separated list of 3218% argument a comma-separated list of commands each of which must be
3219% commands each of which must be stripped of its leading character 3219% stripped of its leading character
3220% |\|, like so:---\\ 3220% |\|, like so:---\\
3221% \arabluaverb{\MkArbBreak{onecmd, anothercmd, yetanothercmd, ...}} 3221% \arabluaverb{\MkArbBreak{onecmd, anothercmd, yetanothercmd, ...}}
3222% 3222%
@@ -3240,6 +3240,24 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a...
3240%</example> 3240%</example>
3241% \fi 3241% \fi
3242% 3242%
3243% It must be noted that the arguments, either optional or mandatory,
3244% of commands declared with \cs{MkArbBreak} are not to be processed by
3245% \package{arabluatex}. Therefore, as in the previous example, any of
3246% their argument to be rendered in Arabic must be inserted again in
3247% \cs{arb}. \NEWfeature{v1.12}These commands themselves may have up to
3248% two optional and/or mandatory arguments, like so:---
3249% \begin{compactenum}[(a)]
3250% \item \cs{command} (no argument, lowermost combination)
3251% \item \cs{command}\oarg{opt1} (one optional argument)
3252% \item \cs{command}\marg{arg1} (one mandatory argument)
3253% \item \cs{command}\oarg{opt1}\marg{arg1} (one optional and one
3254% mandatory argument)
3255% \item (\ldots)
3256% \item \cs{command}\oarg{opt1}\oarg{opt2}\marg{arg1}\marg{arg2}
3257% (uppermost combination)
3258% \end{compactenum}
3259%
3260%
3243% \subsection{Environments} 3261% \subsection{Environments}
3244% \label{sec:environments} 3262% \label{sec:environments}
3245% \changes{v1.5}{2016/11/14}{Environments may be nested inside the 3263% \changes{v1.5}{2016/11/14}{Environments may be nested inside the
@@ -3410,9 +3428,9 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a...
3410%</example> 3428%</example>
3411% \fi% 3429% \fi%
3412% This option will prevent \package{babel-french} from interfering 3430% This option will prevent \package{babel-french} from interfering
3413% with the layout of the document. Then the package \package{paralist} 3431% with the layout of the document. Then the \package{paralist} or
3414% can be used to make the lists \enquote*{compact} as 3432% \package{enumitem} packages can be used to make the lists
3415% \package{babel-french} do. 3433% \enquote*{compact} as \package{babel-french} do.
3416% 3434%
3417% \subsection{\package{csquotes}} 3435% \subsection{\package{csquotes}}
3418% \label{sec:csquotes} 3436% \label{sec:csquotes}
@@ -3453,7 +3471,7 @@ qAla barzawayhi bn-u 'azhar-a, ra's-u 'a.tibbA'-i fAris-a...
3453% line in the code above. 3471% line in the code above.
3454% \end{quoting} 3472% \end{quoting}
3455% 3473%
3456% \subsection{Two-argument commands} 3474% \subsection{Two-argument special commands}
3457% \label{sec:two-arg-cmds} 3475% \label{sec:two-arg-cmds}
3458% 3476%
3459% \paragraph{Color} 3477% \paragraph{Color}