diff options
author | Karl Berry <karl@freefriends.org> | 2018-11-10 22:19:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-11-10 22:19:33 +0000 |
commit | 8305714c74608a269fe191a87efd1533a4c63474 (patch) | |
tree | ce1bc640666df86919e35dace118829f9b382223 /Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def | |
parent | f05f65c708e5ff321de0b1e6c25a7e50d41fe8a6 (diff) |
bidi (10nov18)
git-svn-id: svn://tug.org/texlive/trunk@49123 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def | 74 |
1 files changed, 70 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def index 927fa599ac3..1c0f3829cf7 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def @@ -17,7 +17,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{49973} +%% \CheckSum{50046} %% \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 @@ -34,7 +34,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% -\ProvidesFile{hyperref-xetex-bidi.def}[2017/08/09 v1.0 bidi adaptations for hyperref package for XeTeX engine] +\ProvidesFile{hyperref-xetex-bidi.def}[2018/11/11 v1.1 bidi adaptations for hyperref package for XeTeX engine] \AtBeginDocument{% \def\contentsline#1#2#3#4{% \ifx\\#4\\% @@ -578,8 +578,8 @@ \let\LR\@firstofone \let\RLE\@firstofone \let\RL\@firstofone -\def\XeTeX{Xe\TeX} -\def\XeLaTeX{Xe\LaTeX} +\def\XeTeX{Xe\TeX}% +\def\XeLaTeX{Xe\LaTeX}% } \@ifpackageloaded{longtable}{% \begingroup @@ -612,6 +612,72 @@ }% \expandafter\x\LT@start\@nil }{} +\bidi@patchcmd\@TextField{% + \@pdfm@mark +}{% + \if@RTL + \hskip\Fld@width + \fi + \@pdfm@mark +}{}{} +\bidi@patchcmd\@TextField{% + \unhbox +}{% + \if@RTL + \hskip-\Fld@width + \fi + \unhbox +}{}{} +\bidi@patchcmd\@@Radio{% + \@pdfm@mark +}{% + \if@RTL + \hskip\Fld@width + \fi + \@pdfm@mark +}{}{} +\bidi@patchcmd\@@Radio{% + \unhcopy +}{% + \if@RTL + \hskip-\Fld@width + \fi + \unhcopy +}{}{} +\bidi@patchcmd\@Submit{% + \@pdfm@mark +}{% + \if@RTL + \null + \hskip\wd\pdfm@box + \fi + \@pdfm@mark +}{}{} +\bidi@patchcmd\@Submit{% + \unhbox +}{% + \if@RTL + \hskip-\wd\pdfm@box + \fi + \unhbox +}{}{} +\bidi@patchcmd\@Reset{% + \@pdfm@mark +}{% + \if@RTL + \null + \hskip\wd\pdfm@box + \fi + \@pdfm@mark +}{}{} +\bidi@patchcmd\@Reset{% + \unhbox +}{% + \if@RTL + \hskip-\wd\pdfm@box + \fi + \unhbox +}{}{} \endinput %% %% End of file `hyperref-xetex-bidi.def'. |