diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-08-20 10:15:43 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-08-20 10:15:43 +0200 |
commit | 19149dd7c85bf858c64765e6d7935d2c97810815 (patch) | |
tree | 5866339677e2630a4c83d392c63b945d1b9cf51e | |
parent | e8334df26bb7864410a15798a212cc32725a8927 (diff) | |
download | arabluatex-19149dd7c85bf858c64765e6d7935d2c97810815.tar.gz |
added \prname* which only sets \al@trans@font to be used in the external Unicode converted file
-rw-r--r-- | arabluatex.dtx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 0142c1e..e6b6e87 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -4314,8 +4314,9 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4314 | % argument one or more Arabic words, each of which will be rendered in | 4314 | % argument one or more Arabic words, each of which will be rendered in |
4315 | % upright roman style with its first letter uppercased. | 4315 | % upright roman style with its first letter uppercased. |
4316 | % \begin{macrocode} | 4316 | % \begin{macrocode} |
4317 | \NewDocumentCommand{\prname}{m}{% | 4317 | \NewDocumentCommand{\prname}{s m}{% |
4318 | \bgroup\SetTranslitStyle{\relax}\arb[trans]{\uc{#1}}\egroup} | 4318 | \bgroup\SetTranslitStyle{\relax}% |
4319 | \IfBooleanTF{#1}{\txtrans{#2}}{\arb[trans]{\uc{#2}}}\egroup} | ||
4319 | % \end{macrocode} | 4320 | % \end{macrocode} |
4320 | % \end{macro} | 4321 | % \end{macro} |
4321 | % \begin{macro}{\txarb} \cs{txarb} sets the direction to right-to-left | 4322 | % \begin{macro}{\txarb} \cs{txarb} sets the direction to right-to-left |