aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-06-23 16:21:38 +0200
committerRobert Alessi <alessi@robertalessi.net>2018-06-23 16:21:38 +0200
commitd22e1775cf9b7613141aedd9b6f9d717fe593c98 (patch)
tree0ddd97fc955112b33f87088a995f116aff93ee99 /arabluatex.dtx
parent5bd9eac901f39afa94b7cf57ac43f3faf223fb77 (diff)
downloadarabluatex-d22e1775cf9b7613141aedd9b6f9d717fe593c98.tar.gz
added \MkArbBreak* in a macro environment
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx21
1 files changed, 14 insertions, 7 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 89d0e51..879a132 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -4063,13 +4063,19 @@ wa-ya.sIru ta.hta 'l-jild-i
4063% \end{macrocode} 4063% \end{macrocode}
4064% \end{macro} 4064% \end{macro}
4065% \begin{macro}{\MkArbBreak} 4065% \begin{macro}{\MkArbBreak}
4066% \changes{v1.9}{2017/07/05}{New \cs{MkArbBreak} command for inserting 4066% \changes{v1.9}{2017/07/05}{New \cs{MkArbBreak} command for
4067% user-defined macros in Arabic environments} 4067% inserting user-defined macros in Arabic environments} The
4068% The \cs{MkArbBreak}\marg{csv list of commands} command can be used 4068% \cs{MkArbBreak}\marg{csv list of commands} command can be used to
4069% to give any command---either new or already existing---the 4069% give any command---either new or already existing---the precedence
4070% precedence over \package{arabluatex} inside Arabic environments. It 4070% over \package{arabluatex} inside Arabic environments. It is
4071% is actually coded in Lua. 4071% actually coded in Lua.
4072% \changes{v1.12}{2018/06/11}{TODO} 4072% \begin{macro}{\MkArbBreak*}
4073% \changes{v1.12}{2018/06/11}{\enquote*{starred} version which
4074% closes Arabic environments before processing declared commands.}
4075% \cs{MkArbBreak*} goes a step further as it directs
4076% \package{arabluatex} to close the current Arabic environment before
4077% processing any \enquote*{declared} command then resume it just
4078% after.
4073% \begin{macrocode} 4079% \begin{macrocode}
4074\NewDocumentCommand{\MkArbBreak}{s m}{% 4080\NewDocumentCommand{\MkArbBreak}{s m}{%
4075 \IfBooleanTF{#1} 4081 \IfBooleanTF{#1}
@@ -4078,6 +4084,7 @@ wa-ya.sIru ta.hta 'l-jild-i
4078} 4084}
4079% \end{macrocode} 4085% \end{macrocode}
4080% \end{macro} 4086% \end{macro}
4087% \end{macro}
4081% \begin{macro}{\aemph} Arabic emphasis. Needs to be redefined as 4088% \begin{macro}{\aemph} Arabic emphasis. Needs to be redefined as
4082% well. The function is actually coded in Lua. 4089% well. The function is actually coded in Lua.
4083% \begin{macro}{\aemph*} The \enquote*{starred} version of this 4090% \begin{macro}{\aemph*} The \enquote*{starred} version of this