diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-08-22 10:01:08 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-08-22 10:01:08 +0200 |
commit | 61d5a915f7f5d50b12aae803e75f388bda71fcba (patch) | |
tree | 42149a06574c9172f66a429c0b42a29f0d1e32f7 | |
parent | eb3764f6c6bd0a361cab857f82232a502101e9b5 (diff) | |
download | arabluatex-61d5a915f7f5d50b12aae803e75f388bda71fcba.tar.gz |
include \prname* in change history
-rw-r--r-- | arabluatex.dtx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index bb4658b..67d6545 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -4314,12 +4314,18 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
4314 | % to be used outside Arabic environments for proper names. It takes as | 4314 | % to be used outside Arabic environments for proper names. It takes as |
4315 | % argument one or more Arabic words, each of which will be rendered in | 4315 | % argument one or more Arabic words, each of which will be rendered in |
4316 | % upright roman style with its first letter uppercased. | 4316 | % upright roman style with its first letter uppercased. |
4317 | % \begin{macro}{\prname*}\changes{v1.13}{2018/08/22}{Renders proper | ||
4318 | % names already converted to Unicode in upright roman style} | ||
4319 | % Unlike \cs{prname}, \cs{prname*} does not take |arabtex| or | ||
4320 | % |buckwalter| input as argument, but already Unicode converted | ||
4321 | % names and renders them in upright roman style. | ||
4317 | % \begin{macrocode} | 4322 | % \begin{macrocode} |
4318 | \NewDocumentCommand{\prname}{s m}{% | 4323 | \NewDocumentCommand{\prname}{s m}{% |
4319 | \bgroup\SetTranslitStyle{\relax}% | 4324 | \bgroup\SetTranslitStyle{\relax}% |
4320 | \IfBooleanTF{#1}{\txtrans{#2}}{\arb[trans]{\uc{#2}}}\egroup} | 4325 | \IfBooleanTF{#1}{\txtrans{#2}}{\arb[trans]{\uc{#2}}}\egroup} |
4321 | % \end{macrocode} | 4326 | % \end{macrocode} |
4322 | % \end{macro} | 4327 | % \end{macro} |
4328 | % \end{macro} | ||
4323 | % \begin{macro}{\txarb} \cs{txarb} sets the direction to right-to-left | 4329 | % \begin{macro}{\txarb} \cs{txarb} sets the direction to right-to-left |
4324 | % and selects the Arabic font. It is used internally by several Lua | 4330 | % and selects the Arabic font. It is used internally by several Lua |
4325 | % functions, but available to the user should he wish to insert | 4331 | % functions, but available to the user should he wish to insert |