aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.dtx85
1 files changed, 42 insertions, 43 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 944d5e5..68e76a0 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -516,20 +516,19 @@
516% \DescribeMacro{\SetArbEasy} \NEWfeature{v1.4.4} 516% \DescribeMacro{\SetArbEasy} \NEWfeature{v1.4.4}
517% \DescribeMacro{\SetArbEasy*} \DescribeMacro{\SetArbDflt} Such 517% \DescribeMacro{\SetArbEasy*} \DescribeMacro{\SetArbDflt} Such
518% refinements as \enquote*{classic} \arb[trans]{maddaT} may be 518% refinements as \enquote*{classic} \arb[trans]{maddaT} may be
519% discarded by the command \cs{SetArb\allowbreak{}Easy}, either 519% discarded by the \cs{SetArb\allowbreak{}Easy} command, either
520% globally in the preamble or locally at any point of the 520% globally in the preamble or locally at any point of the
521% document. The difference between \cs{SetArbEasy} and its 521% document. The difference between \cs{SetArbEasy} and its
522% \enquote*{starred} version \cs{SetArbEasy*} is that the former keeps 522% \enquote*{starred} version \cs{SetArbEasy*} is that the former keeps
523% the \arb[trans]{sukUn} that is generated by the |fullvoc| mode, 523% the \arb[trans]{sukUn} that is generated by the |fullvoc| mode,
524% while the latter further takes it away. Default \enquote*{classic} 524% while the latter further takes it away. Default \enquote*{classic}
525% rules may be set back at any point of the document with the command 525% rules may be set back at any point of the document with the
526% \cs{SetArbDflt}. \NEWfeature{v1.6} 526% \cs{SetArbDflt} command. \NEWfeature{v1.6}
527% \DescribeMacro{\SetArbDflt*}Assimilation rules laid on 527% \DescribeMacro{\SetArbDflt*}Assimilation rules laid on
528% \vref{ref:assimilation} may also be applied by the 528% \vref{ref:assimilation} may also be applied by the
529% \enquote*{starred} version of this command \cs{SetArbDflt*} either 529% \enquote*{starred} version of this command \cs{SetArbDflt*} either
530% in the preamble or at any point of the document.\footnote{For an 530% in the preamble or at any point of the document.\footnote{For an
531% example, see \vref{sec:poetry-example}.} Examples 531% example, see \vref{sec:poetry-example}.} Examples follow:---
532% follow:---
533% \begin{compactenum}[(a)] 532% \begin{compactenum}[(a)]
534% \item \cs{SetArbDflt}: 533% \item \cs{SetArbDflt}:
535% \begin{compactenum}[i.] 534% \begin{compactenum}[i.]
@@ -580,9 +579,9 @@ Please note that this document is typeset with \cs{SetArbDflt} throughout.
580% \fi 579% \fi
581% 580%
582%\subsection{Typing Arabic} 581%\subsection{Typing Arabic}
583% \DescribeMacro{\arb} Once \package{arabluatex} is loaded, a command 582% \DescribeMacro{\arb} Once \package{arabluatex} is loaded, a
584% \cs{arb}\marg{Arabic text} is available for inserting Arabic text in 583% \cs{arb}\marg{Arabic text} command is available for inserting Arabic
585% paragraphs, like so:--- 584% text in paragraphs, like so:---%
586% \iffalse 585% \iffalse
587%<*example> 586%<*example>
588% \fi 587% \fi
@@ -602,7 +601,7 @@ vowels (see §~3).
602% \paragraph{Caveat} 601% \paragraph{Caveat}
603% For some reason, left-to-right paragraphs that start with Arabic 602% For some reason, left-to-right paragraphs that start with Arabic
604% words lose their indentation. For the time being, this can be 603% words lose their indentation. For the time being, this can be
605% circumvented by appending the command \cs{indent} at the 604% circumvented by appending the \cs{indent} command at the
606% commencement of such paragraphs. 605% commencement of such paragraphs.
607% 606%
608% \label{ref:ltr-lists}% 607% \label{ref:ltr-lists}%
@@ -1187,7 +1186,7 @@ vowels (see §~3).
1187% \fi 1186% \fi
1188\begin{arabluacode}[text only] 1187\begin{arabluacode}[text only]
1189 \textsc{Rem.} This particular feature must be put into operation by 1188 \textsc{Rem.} This particular feature must be put into operation by
1190 the command \cs{SetArbDflt*} explicitly. See above 1189 the \cs{SetArbDflt*} command explicitly. See above
1191 \vref{sec:classic-modern-typesetting} for further details. Other 1190 \vref{sec:classic-modern-typesetting} for further details. Other
1192 kinds of assimilations, including the various cases of 1191 kinds of assimilations, including the various cases of
1193 \arb[trans]{'id.gAm}, will be included in \package{arabluatex} 1192 \arb[trans]{'id.gAm}, will be included in \package{arabluatex}
@@ -1691,7 +1690,7 @@ vowels (see §~3).
1691% surrounding words by a stroke placed over them. 1690% surrounding words by a stroke placed over them.
1692% 1691%
1693% \DescribeMacro{\abjad} \NEWfeature{v.1.1} \arb[trans]{'abjad} 1692% \DescribeMacro{\abjad} \NEWfeature{v.1.1} \arb[trans]{'abjad}
1694% numbers are inserted with the command \cs{abjad}\marg{number} in any 1693% numbers are inserted with the \cs{abjad}\marg{number} command in any
1695% of the |voc|, |fullvoc| and |novoc| modes, where \meta{number} may 1694% of the |voc|, |fullvoc| and |novoc| modes, where \meta{number} may
1696% be any number between 1 and 1999, like so:--- 1695% be any number between 1 and 1999, like so:---
1697% \begin{quote} 1696% \begin{quote}
@@ -1702,7 +1701,7 @@ vowels (see §~3).
1702% \begin{quoting} 1701% \begin{quoting}
1703% \textsc{Rem.}~\emph{a.} As can be seen in the above given example, 1702% \textsc{Rem.}~\emph{a.} As can be seen in the above given example,
1704% \package{arabluatex} expresses the \arb[trans]{'abjad} numbers in 1703% \package{arabluatex} expresses the \arb[trans]{'abjad} numbers in
1705% Roman numerals if it finds the command \cs{abjad} in any of the 1704% Roman numerals if it finds the \cs{abjad} command in any of the
1706% transliteration modes. 1705% transliteration modes.
1707% 1706%
1708% \textsc{Rem.}~\emph{b.} \cs{abjad} may also be found outside 1707% \textsc{Rem.}~\emph{b.} \cs{abjad} may also be found outside
@@ -1774,8 +1773,8 @@ vowels (see §~3).
1774% over them. This technique is used to distinguish further words that 1773% over them. This technique is used to distinguish further words that
1775% are proper names or book titles. 1774% are proper names or book titles.
1776% 1775%
1777% \DescribeMacro{\aemph} One may use the command \cs{aemph}\marg{Arabic 1776% \DescribeMacro{\aemph} One may use the \cs{aemph}\marg{Arabic
1778% text} to use the same technique to emphasize words, like so:--- 1777% text} command to use the same technique to emphasize words, like so:---
1779% \begin{quote} 1778% \begin{quote}
1780% |\abjad{45}:| |kitAbu-hu| |\aemph{fI| |'l-`AdAt-i}| 1779% |\abjad{45}:| |kitAbu-hu| |\aemph{fI| |'l-`AdAt-i}|
1781% \arb[voc]{\abjad{45}: kitAbu-hu \aemph{fI 'l-`AdAt-i}} 1780% \arb[voc]{\abjad{45}: kitAbu-hu \aemph{fI 'l-`AdAt-i}}
@@ -1833,10 +1832,10 @@ vowels (see §~3).
1833% \hfill\arabluaverb{Default: false}\\ This named argument does not 1832% \hfill\arabluaverb{Default: false}\\ This named argument does not
1834% need a value as it defaults to |true| if it is used. If so, a 1833% need a value as it defaults to |true| if it is used. If so, a
1835% delimiter is printed between each of the hemistichs. By default, it 1834% delimiter is printed between each of the hemistichs. By default, it
1836% is set to the \enquote*{star} character \enquote*{*}. The command 1835% is set to the \enquote*{star} character \enquote*{*}. The
1837% \DescribeMacro{\SetHemistichDelim}\cs{SetHemistichDelim}\marg{delimiter} 1836% \DescribeMacro{\SetHemistichDelim}\cs{SetHemistichDelim}\marg{delimiter}
1838% may be used at any point of the document to change this default 1837% command may be used at any point of the document to change this
1839% setting. 1838% default setting.
1840% 1839%
1841% \DescribeOption{utf} |utf|$=$|true|\verb+|+|false| 1840% \DescribeOption{utf} |utf|$=$|true|\verb+|+|false|
1842% \hfill\arabluaverb{Default: false}\\ As the preceding one, this 1841% \hfill\arabluaverb{Default: false}\\ As the preceding one, this
@@ -1846,7 +1845,7 @@ vowels (see §~3).
1846% schemes. See \vref{sec:unicode-input} for more details. 1845% schemes. See \vref{sec:unicode-input} for more details.
1847% 1846%
1848% \DescribeMacro{\bayt} Inside the |arabverse| environment, each line 1847% \DescribeMacro{\bayt} Inside the |arabverse| environment, each line
1849% is typeset by the command \cs{bayt} which takes two mandatory 1848% is typeset by the \cs{bayt} command which takes two mandatory
1850% arguments and may accept one optional argument. Additionally, every 1849% arguments and may accept one optional argument. Additionally, every
1851% \cs{bayt} command \emph{must} be followed with |\\| like so:---% 1850% \cs{bayt} command \emph{must} be followed with |\\| like so:---%
1852% \iffalse 1851% \iffalse
@@ -1992,7 +1991,7 @@ vowels (see §~3).
1992 \SetArbDflt* 1991 \SetArbDflt*
1993 \begin{linenumbers*} 1992 \begin{linenumbers*}
1994 \bayt{qifA nabki min _dikr_A .habibiN wa-manzili}{bi-saq.ti 1993 \bayt{qifA nabki min _dikr_A .habibiN wa-manzili}{bi-saq.ti
1995 \cap{'l-l}iw_A bayna \cap{'l-d}a_hUli wa-\cap{.h}awmali}\\ 1994 'l-liw_A bayna \cap{'l-d}a_hUli wa-\cap{.h}awmali}\\
1996 \bayt{fa-\cap{t}Udi.ha fa-'l-\cap{m}iqrATi lam ya`fu 1995 \bayt{fa-\cap{t}Udi.ha fa-'l-\cap{m}iqrATi lam ya`fu
1997 rasmu-hA}{limA nasa^gat-hA min ^ganUbiN wa-^sam'ali}\\ 1996 rasmu-hA}{limA nasa^gat-hA min ^ganUbiN wa-^sam'ali}\\
1998 \bayt{tar_A ba`ara 'l-'ar'Ami fI `ara.sAti-hA}{wa-qI`Ani-hA 1997 \bayt{tar_A ba`ara 'l-'ar'Ami fI `ara.sAti-hA}{wa-qI`Ani-hA
@@ -2018,7 +2017,7 @@ vowels (see §~3).
2018% \SetArbDflt* 2017% \SetArbDflt*
2019% \begin{linenumbers*} 2018% \begin{linenumbers*}
2020% \bayt{qifA nabki min _dikr_A .habibiN wa-manzili}{bi-saq.ti 2019% \bayt{qifA nabki min _dikr_A .habibiN wa-manzili}{bi-saq.ti
2021% \cap{'l-l}iw_A bayna \cap{'l-d}a_hUli wa-\cap{.h}awmali}\\ 2020% 'l-liw_A bayna \cap{'l-d}a_hUli wa-\cap{.h}awmali}\\
2022% \bayt{fa-\cap{t}Udi.ha fa-'l-\cap{m}iqrATi lam ya`fu 2021% \bayt{fa-\cap{t}Udi.ha fa-'l-\cap{m}iqrATi lam ya`fu
2023% rasmu-hA}{limA nasa^gat-hA min ^ganUbiN wa-^sam'ali}\\ 2022% rasmu-hA}{limA nasa^gat-hA min ^ganUbiN wa-^sam'ali}\\
2024% \bayt{tar_A ba`ara 'l-'ar'Ami fI `ara.sAti-hA}{wa-qI`Ani-hA 2023% \bayt{tar_A ba`ara 'l-'ar'Ami fI `ara.sAti-hA}{wa-qI`Ani-hA
@@ -2042,7 +2041,7 @@ vowels (see §~3).
2042% \SetArbDflt* 2041% \SetArbDflt*
2043% \begin{linenumbers*} 2042% \begin{linenumbers*}
2044% \bayt{qifA nabki min _dikr_A .habibiN wa-manzili}{bi-saq.ti 2043% \bayt{qifA nabki min _dikr_A .habibiN wa-manzili}{bi-saq.ti
2045% \cap{'l-l}iw_A bayna \cap{'l-d}a_hUli wa-\cap{.h}awmali}\\ 2044% 'l-liw_A bayna \cap{'l-d}a_hUli wa-\cap{.h}awmali}\\
2046% \bayt{fa-\cap{t}Udi.ha fa-'l-\cap{m}iqrATi lam ya`fu 2045% \bayt{fa-\cap{t}Udi.ha fa-'l-\cap{m}iqrATi lam ya`fu
2047% rasmu-hA}{limA nasa^gat-hA min ^ganUbiN wa-^sam'ali}\\ 2046% rasmu-hA}{limA nasa^gat-hA min ^ganUbiN wa-^sam'ali}\\
2048% \bayt{tar_A ba`ara 'l-'ar'Ami fI `ara.sAti-hA}{wa-qI`Ani-hA 2047% \bayt{tar_A ba`ara 'l-'ar'Ami fI `ara.sAti-hA}{wa-qI`Ani-hA
@@ -2088,7 +2087,7 @@ vowels (see §~3).
2088% \DescribeMacro{\abraces} Parentheses, square and angle brackets may 2087% \DescribeMacro{\abraces} Parentheses, square and angle brackets may
2089% be input directly at the keyboard; however, words or letters that 2088% be input directly at the keyboard; however, words or letters that
2090% are to be read between braces must be passed as arguments to the 2089% are to be read between braces must be passed as arguments to the
2091% command \cs{abraces}:--- 2090% \cs{abraces} command:---%
2092% \iffalse 2091% \iffalse
2093%<*example> 2092%<*example>
2094% \fi 2093% \fi
@@ -2130,10 +2129,11 @@ vowels (see §~3).
2130% 2129%
2131% \paragraph{Convention} \DescribeMacro{\SetTranslitConvention} The 2130% \paragraph{Convention} \DescribeMacro{\SetTranslitConvention} The
2132% transliteration mode, which is set to |dmg| by default, may be 2131% transliteration mode, which is set to |dmg| by default, may be
2133% changed at any point of the document by the command 2132% changed at any point of the document by the
2134% \cs{SetTranslitConvention}\marg{mode}, where \meta{mode} may be 2133% \cs{SetTranslitConvention}\marg{mode} command , where \meta{mode}
2135% either |dmg| or |loc|. This command is also accepted in the preamble 2134% may be either |dmg| or |loc|. This command is also accepted in the
2136% should one wish to set the transliteration mode globally, eg.:--- 2135% preamble should one wish to set the transliteration mode globally,
2136% eg.:---%
2137% \iffalse 2137% \iffalse
2138%<*example> 2138%<*example>
2139% \fi 2139% \fi
@@ -2148,10 +2148,9 @@ vowels (see §~3).
2148% \paragraph{Style} \DescribeMacro{\SetTranslitStyle} Any 2148% \paragraph{Style} \DescribeMacro{\SetTranslitStyle} Any
2149% transliterated Arabic text is printed in italics by default. This 2149% transliterated Arabic text is printed in italics by default. This
2150% also can be changed either globally in the preamble or locally at 2150% also can be changed either globally in the preamble or locally at
2151% any point of the document by the command 2151% any point of the document by the \cs{SetTranslitStyle}\marg{style}
2152% \cs{SetTranslitStyle}\marg{style}, where \meta{style} may be any 2152% command , where \meta{style} may be any font shape selection
2153% font shape selection command, eg. \cs{upshape}, \cs{itshape}, 2153% command, eg. \cs{upshape}, \cs{itshape}, \cs{slshape}, and so forth.
2154% \cs{slshape}, and so forth.
2155% 2154%
2156% \paragraph{Font} \NEWfeature{v1.4} \DescribeMacro{\SetTranslitFont} 2155% \paragraph{Font} \NEWfeature{v1.4} \DescribeMacro{\SetTranslitFont}
2157% \cs{SetTranslitFont}\marg{font selection command} allows any 2156% \cs{SetTranslitFont}\marg{font selection command} allows any
@@ -2173,7 +2172,7 @@ vowels (see §~3).
2173% 2172%
2174% \paragraph{Proper names} \DescribeMacro{\cap} Proper names or book 2173% \paragraph{Proper names} \DescribeMacro{\cap} Proper names or book
2175% titles that must have their first letters uppercased may be passed 2174% titles that must have their first letters uppercased may be passed
2176% as arguments to the command \cs{cap}\marg{word}. \cs{cap} is a 2175% as arguments to the \cs{cap}\marg{word} command. \cs{cap} is a
2177% clever command, for it will give the definite article 2176% clever command, for it will give the definite article
2178% \arb[trans]{al-} in lower case in all positions. Moreover, if the 2177% \arb[trans]{al-} in lower case in all positions. Moreover, if the
2179% inital letter, apart from the article, cannot be uppercased, 2178% inital letter, apart from the article, cannot be uppercased,
@@ -2210,7 +2209,7 @@ vowels (see §~3).
2210% 2209%
2211% \paragraph{Hyphenation} 2210% \paragraph{Hyphenation}
2212% In case transliterated Arabic words break the \TeX\ hyphenation 2211% In case transliterated Arabic words break the \TeX\ hyphenation
2213% algorithm, one may use the command |\-| to insert discretionary 2212% algorithm, one may use the |\-| command to insert discretionary
2214% hyphens. This command will be discarded in all of the Arabic modes 2213% hyphens. This command will be discarded in all of the Arabic modes
2215% of \package{arabluatex}, but will be processed by any of the 2214% of \package{arabluatex}, but will be processed by any of the
2216% transliteration modes:--- 2215% transliteration modes:---
@@ -2367,7 +2366,7 @@ muhaddamaTaN mi'_danatu-hu}: \arb[trans]{ra'aytu
2367% 2366%
2368% \DescribeMacro{\SetInputScheme} The input scheme, which is set to 2367% \DescribeMacro{\SetInputScheme} The input scheme, which is set to
2369% |arabtex| by default, may be changed at any point of the document by 2368% |arabtex| by default, may be changed at any point of the document by
2370% the command \cs{SetInputScheme}\marg{scheme}, where \meta{scheme} 2369% the \cs{SetInputScheme}\marg{scheme} command, where \meta{scheme}
2371% may be either |arabtex| or |buckwalter|. This command is also 2370% may be either |arabtex| or |buckwalter|. This command is also
2372% accepted in the preamble should one wish to set the input scheme 2371% accepted in the preamble should one wish to set the input scheme
2373% globally, like so:--- 2372% globally, like so:---
@@ -2636,14 +2635,14 @@ part of the predicate\ldots} "ibn-u \cap{`a}mr-iNU}
2636% \arabluaverb{\renewcommand*{\thefootnote}{\textsuperscript{\LR{\arabic{footnote}}}}} 2635% \arabluaverb{\renewcommand*{\thefootnote}{\textsuperscript{\LR{\arabic{footnote}}}}}
2637% \DescribeMacro{\FixArbFtnmk} Another solution is to put in the 2636% \DescribeMacro{\FixArbFtnmk} Another solution is to put in the
2638% preamble, below the line that loads \package{arabluatex}, the 2637% preamble, below the line that loads \package{arabluatex}, the
2639% command \cs{FixArbFtnmk}. However, for more control over the layout 2638% \cs{FixArbFtnmk} command. However, for more control over the layout
2640% of footnotes marks, it is advisable to use the package 2639% of footnotes marks, it is advisable to use the package
2641% \package{scrextend}.\footnote{See 2640% \package{scrextend}.\footnote{See
2642% \url{http://ctan.org/pkg/koma-script}; read the documentation of 2641% \url{http://ctan.org/pkg/koma-script}; read the documentation of
2643% \package{KOMA-script} for details about the \cs{deffootnotemark} and 2642% \package{KOMA-script} for details about the \cs{deffootnotemark} and
2644% \cs{deffootnote} commands.} 2643% \cs{deffootnote} commands.}
2645% 2644%
2646% \DescribeMacro{\LRmarginpar} The command \cs{LRmarginpar} does for 2645% \DescribeMacro{\LRmarginpar} The \cs{LRmarginpar} command does for
2647% marginal notes the same as \cs{LRfootnote} does for footnotes. Of 2646% marginal notes the same as \cs{LRfootnote} does for footnotes. Of
2648% course, it is supposed to be used in Arabic environments. Note that 2647% course, it is supposed to be used in Arabic environments. Note that
2649% \cs{marginpar} also works in Arabic environments, but it acts as any 2648% \cs{marginpar} also works in Arabic environments, but it acts as any
@@ -3143,7 +3142,7 @@ wa-ya.sIru ta.hta 'l-jild-i
3143% \end{macro} 3142% \end{macro}
3144% \end{macro} 3143% \end{macro}
3145% \begin{macro}{\cap} Proper Arabic names or book titles should be 3144% \begin{macro}{\cap} Proper Arabic names or book titles should be
3146% passed to the command \cs{cap} so that they have their first letters 3145% passed to the \cs{cap} command so that they have their first letters
3147% uppercased. \cs{cap} is actually coded in Lua. 3146% uppercased. \cs{cap} is actually coded in Lua.
3148% \begin{macrocode} 3147% \begin{macrocode}
3149\DeclareDocumentCommand{\cap}{m}% 3148\DeclareDocumentCommand{\cap}{m}%
@@ -3275,20 +3274,20 @@ wa-ya.sIru ta.hta 'l-jild-i
3275% \begin{macro}{\bayt} 3274% \begin{macro}{\bayt}
3276% \changes{v1.6}{2016/12/17}{New macro \cs{bayt} for typesetting 3275% \changes{v1.6}{2016/12/17}{New macro \cs{bayt} for typesetting
3277% each verse inside the \texttt{arabverse} environment} Each verse 3276% each verse inside the \texttt{arabverse} environment} Each verse
3278% consists of two hemistichs; therefore the command \cs{bayt} takes 3277% consists of two hemistichs; therefore the \cs{bayt} command takes
3279% two arguments, the first receives the \arb[trans]{.sadr} and the 3278% two arguments, the first receives the \arb[trans]{.sadr} and the
3280% second the \arb[trans]{`ajuz}. That two subsequent hemistichs 3279% second the \arb[trans]{`ajuz}. That two subsequent hemistichs
3281% should be connected with one another is technically named 3280% should be connected with one another is technically named
3282% \arb[trans]{tadwIr}. In some of these cases, the hemistichs may be 3281% \arb[trans]{tadwIr}. In some of these cases, the hemistichs may be
3283% connected by a prominent horizontal flexible stroke which is drawn 3282% connected by a prominent horizontal flexible stroke which is drawn
3284% by the command \cs{al@verse@stroke}. 3283% by the \cs{al@verse@stroke} command.
3285% \begin{macro}{\SetHemistichDelim} 3284% \begin{macro}{\SetHemistichDelim}
3286% \changes{v1.6}{2016/12/17}{New command \cs{SetHemistichDelim} for 3285% \changes{v1.6}{2016/12/17}{New \cs{SetHemistichDelim} command for
3287% changing the default delimiter between hemistichs} A hemistich 3286% changing the default delimiter between hemistichs} A hemistich
3288% delimiter also may be defined. By default, it is set to the 3287% delimiter also may be defined. By default, it is set to the
3289% \enquote*{star} character: |*|. The command 3288% \enquote*{star} character: |*|. The
3290% \cs{SetHemistichDelim}\marg{delimiter} may be used at any point of 3289% \cs{SetHemistichDelim}\marg{delimiter} command may be used at any
3291% the document to change this default setting. 3290% point of the document to change this default setting.
3292% \end{macro} 3291% \end{macro}
3293% \begin{macrocode} 3292% \begin{macrocode}
3294\NewDocumentCommand{\arb@utf}{m}{% 3293\NewDocumentCommand{\arb@utf}{m}{%
@@ -3348,7 +3347,7 @@ wa-ya.sIru ta.hta 'l-jild-i
3348% \cs{abraces}\marg{Arabic text} puts its argument between 3347% \cs{abraces}\marg{Arabic text} puts its argument between
3349% braces. This macro is written in Lua and is dependent on the 3348% braces. This macro is written in Lua and is dependent on the
3350% current value of |tex.textdir|. 3349% current value of |tex.textdir|.
3351% \changes{v1.4.3}{2016/09/14}{New command \cs{abraces} which 3350% \changes{v1.4.3}{2016/09/14}{New \cs{abraces} command which
3352% expresses its argument between braces.} 3351% expresses its argument between braces.}
3353% \begin{macrocode} 3352% \begin{macrocode}
3354\NewDocumentCommand{\abraces}{+m}{% 3353\NewDocumentCommand{\abraces}{+m}{%