diff options
-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 |