diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def index 7a4551b5720..b5c9dd4825c 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def +++ b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def @@ -8,7 +8,7 @@ %% License information appended. %% %% -\ProvidesFile{hyperref-xepersian.def}[2010/03/01 v0.1 bilingual captions for hyperref package] +\ProvidesFile{hyperref-xepersian.def}[2010/07/25 v0.3 bilingual captions for hyperref package] \def\equationautorefname{\if@RTL معادله\else Equation\fi}% \def\footnoteautorefname{\if@RTL زیرنویس\else footnote\fi}% \def\itemautorefname{\if@RTL فقره\else item\fi}% @@ -28,14 +28,15 @@ \AtBeginDocument{% \let\HyOrg@appendix\appendix \def\appendix{% - \@ifundefined{chapter}% - {\gdef\theHsection{\arabic{section}}}% - {\gdef\theHchapter{\arabic{chapter}}}% + \ltx@IfUndefined{chapter}% + {\gdef\theHsection{\Alph{section}}}% + {\gdef\theHchapter{\Alph{chapter}}}% \xdef\Hy@chapapp{\Hy@appendixstring}% \HyOrg@appendix -}} +} +} %% -%% Copyright © 2008-2010 by Vafa Khalighi <vafa@users.berlios.de> +%% Copyright © 2008-2010 by Vafa Khalighi <vafakh84@gmail.com> %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of |