diff options
author | Karl Berry <karl@freefriends.org> | 2022-06-10 21:11:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-06-10 21:11:06 +0000 |
commit | 5b8784555bd801056172d033690d5f80e77fb282 (patch) | |
tree | 60bb290d157e68f0d1cf6850d5618a4ca5da5385 /Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def | |
parent | e22febc8fee7e57decb14abc4386f7b1d8c6b52f (diff) |
xepersian (10jun22)
git-svn-id: svn://tug.org/texlive/trunk@63540 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def index 2dcaa8dbf67..abd1581e8ed 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def @@ -20,7 +20,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{11153} +%% \CheckSum{11155} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -37,7 +37,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% -\ProvidesFile{hyperref-xepersian.def}[2015/02/02 v0.6 bilingual captions for hyperref package] +\ProvidesFile{hyperref-xepersian.def}[2022/06/10 v0.7 xepersian adaptations for hyperref package] \def\equationautorefname{\if@RTL معادله\else Equation\fi}% \def\footnoteautorefname{\if@RTL زیرنویس\else footnote\fi}% \def\itemautorefname{\if@RTL فقره\else item\fi}% @@ -54,16 +54,18 @@ \def\FancyVerbLineautorefname{\if@RTL سطر\else line\fi}% \def\theoremautorefname{\if@RTL قضیه\else Theorem\fi}% \def\pageautorefname{\if@RTL صفحه\else page\fi}% -\AtBeginDocument{% -\let\HyOrg@appendix\appendix -\def\appendix{% - \ltx@IfUndefined{chapter}% - {\gdef\theHsection{\Alph{section}}}% - {\gdef\theHchapter{\Alph{chapter}}}% - \xdef\Hy@chapapp{\Hy@appendixstring}% - \HyOrg@appendix -} -} +\ifHy@implicit + \AtBeginDocument{% + \let\HyOrg@appendix\appendix + \def\appendix{% + \ltx@IfUndefined{chapter}% + {\gdef\theHsection{\Alph{section}}}% + {\gdef\theHchapter{\Alph{chapter}}}% + \xdef\Hy@chapapp{\Hy@appendixstring}% + \HyOrg@appendix + }% + }% +\fi \pdfstringdefDisableCommands{% \let\lr\@firstofone \let\rl\@firstofone |