diff options
author | Karl Berry <karl@freefriends.org> | 2008-07-17 23:06:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-07-17 23:06:30 +0000 |
commit | 8ba2e4ca526b22810442d35e723f95412d7f6b4c (patch) | |
tree | 7717ffffdccc788b6a0cc78c4b46826a9ce894b0 /Master/texmf-dist | |
parent | 848dbb11f1b8a5adf31e6af8716456aeb12a7021 (diff) |
hyperref update (17jul08)
git-svn-id: svn://tug.org/texlive/trunk@9645 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
27 files changed, 182 insertions, 93 deletions
diff --git a/Master/texmf-dist/doc/latex/hyperref/ChangeLog b/Master/texmf-dist/doc/latex/hyperref/ChangeLog index 343c01cbad5..df72ca4fc5d 100644 --- a/Master/texmf-dist/doc/latex/hyperref/ChangeLog +++ b/Master/texmf-dist/doc/latex/hyperref/ChangeLog @@ -1,3 +1,9 @@ +2008-07-16 6.78c Heiko Oberdiek + * 6.78c + * \HyperDestNameFilter added. + (Feature request by Matthias Franz.) + * htex4ht.cfg: \MP corrected. + 2008-07-15 6.78b Heiko Oberdiek * 6.78b * Option `colorlinks': border properties are not cleared immediately, diff --git a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf Binary files differindex 7a537eafd53..41493ea4542 100644 --- a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf +++ b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf diff --git a/Master/texmf-dist/doc/latex/hyperref/README b/Master/texmf-dist/doc/latex/hyperref/README index 4d640c454c2..6232f50ea4a 100644 --- a/Master/texmf-dist/doc/latex/hyperref/README +++ b/Master/texmf-dist/doc/latex/hyperref/README @@ -174,6 +174,22 @@ other packages: 5 NEW FEATURES ============== +Expert feature \HyperDestNameFilter +----------------------------------- + Since version 2008/07/16 v6.78c. + + Each anchor name and inner link name is put through + filter \HyperDestNameFilter. The default behaviour is + to let the name unchanged: + \def\HyperDestNameFilter#1{#1} + It can be redefined to prepend or append something, + to avoid name collisions if several files are + merged together. + + For example, two documents with hyperref can be generated + using different prefixes for destination names. Then it is + easier to merge them with 'dviconcat' or other merge utilities. + Experimental option `ocgcolorlinks' --------------------`-------------' The idea are colored links, when viewed, but printed without colors. @@ -944,6 +960,25 @@ vietnam 8 HINTS ======= +Spaces in option values +----------------------- + Unhappily LaTeX strips spaces from options if they are given + in \documentclass or \usepackage (or \RequirePackage), e.g.: + \usepackage[pdfborder=0 0 1]{hyperref} + Package hyperref now gets + pdfborder=001 + and the result is an invalid PDF file. + As workaround braces can be used: + \usepackage[pdfborder={0 0 1}]{hyperref} + Some options can also be given in \hypersetup: + \hypersetup{pdfborder=0 0 1} + In \hypersetup the options are directly processed as key value + options (see package keyval) without space stripping in the value part. + + Alternatively, LaTeX's option handling system can be adapted + to key value options by one of the packages "kvoptions-patch" + (from project "kvoptions") or "xkvltxp" (from project "xsetkeys"). + Index with makeindex -------------------- * Package hyperref adds \hyperpage commands by the encap diff --git a/Master/texmf-dist/doc/latex/hyperref/README.pdf b/Master/texmf-dist/doc/latex/hyperref/README.pdf Binary files differindex 8999945bc97..1798ccb4685 100644 --- a/Master/texmf-dist/doc/latex/hyperref/README.pdf +++ b/Master/texmf-dist/doc/latex/hyperref/README.pdf diff --git a/Master/texmf-dist/doc/latex/hyperref/backref.pdf b/Master/texmf-dist/doc/latex/hyperref/backref.pdf index 233e99e5f23..22af4add7ee 100644 --- a/Master/texmf-dist/doc/latex/hyperref/backref.pdf +++ b/Master/texmf-dist/doc/latex/hyperref/backref.pdf @@ -10,7 +10,7 @@ endobj endobj 5 0 obj<</S/GoTo/D[13 0 R/FitBH 752.95145]>> endobj -6 0 obj<</PTEX.Fullbanner(This is pdfTeX, Version 3.1415926-1.40.8-2.2 (Web2C 7.5.7) kpathsea version 3.5.7)/Trapped/False/Subject(Bibliographical back referencing)/ModDate(D:20080715130829+02'00')/Author(David Carlisle and Sebastian Rahtz)/Producer(pdfTeX-1.40.8)/Title(Back referencing from bibliographical citations)/Creator(LaTeX with hyperref package)/CreationDate(D:20080715130829+02'00')>> +6 0 obj<</PTEX.Fullbanner(This is pdfTeX, Version 3.1415926-1.40.8-2.2 (Web2C 7.5.7) kpathsea version 3.5.7)/Trapped/False/Subject(Bibliographical back referencing)/ModDate(D:20080716112907+02'00')/Author(David Carlisle and Sebastian Rahtz)/Producer(pdfTeX-1.40.8)/Title(Back referencing from bibliographical citations)/Creator(LaTeX with hyperref package)/CreationDate(D:20080716112907+02'00')>> endobj 7 0 obj<</Type/Pages/Kids[13 0 R 14 0 R 15 0 R 16 0 R 17 0 R 18 0 R]/Parent 2 0 R/Count 6>> endobj @@ -4086,7 +4086,7 @@ xref 0000239136 00000 n 0000239175 00000 n trailer -<</Size 1182/Root 1 0 R/Compress<</LengthO 278917/SpecO/1.4>>/Info 6 0 R/ID[(̭=j&ݫ)(#- [)]>> +<</Size 1182/Root 1 0 R/Compress<</LengthO 278917/SpecO/1.4>>/Info 6 0 R/ID[(Nղ̚$)(sU߾[ startxref 239214 %%EOF diff --git a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf Binary files differindex 5d93c8484ee..45a3b73d75c 100644 --- a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf +++ b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf diff --git a/Master/texmf-dist/doc/latex/hyperref/nameref.pdf b/Master/texmf-dist/doc/latex/hyperref/nameref.pdf index c97d0698708..d872af67e51 100644 --- a/Master/texmf-dist/doc/latex/hyperref/nameref.pdf +++ b/Master/texmf-dist/doc/latex/hyperref/nameref.pdf @@ -10,7 +10,7 @@ endobj endobj 5 0 obj<</S/GoTo/D[12 0 R/FitBH 752.95145]>> endobj -6 0 obj<</PTEX.Fullbanner(This is pdfTeX, Version 3.1415926-1.40.8-2.2 (Web2C 7.5.7) kpathsea version 3.5.7)/Trapped/False/Subject(Cross-referencing by name of section)/ModDate(D:20080715130834+02'00')/Author(Sebastian Rahtz)/Producer(pdfTeX-1.40.8)/Title(Section name references in LaTeX)/Creator(LaTeX with hyperref package)/CreationDate(D:20080715130834+02'00')>> +6 0 obj<</PTEX.Fullbanner(This is pdfTeX, Version 3.1415926-1.40.8-2.2 (Web2C 7.5.7) kpathsea version 3.5.7)/Trapped/False/Subject(Cross-referencing by name of section)/ModDate(D:20080716112912+02'00')/Author(Sebastian Rahtz)/Producer(pdfTeX-1.40.8)/Title(Section name references in LaTeX)/Creator(LaTeX with hyperref package)/CreationDate(D:20080716112912+02'00')>> endobj 7 0 obj<</Type/Pages/Kids[12 0 R 13 0 R 14 0 R 15 0 R 16 0 R 17 0 R]/Parent 2 0 R/Count 6>> endobj @@ -4045,7 +4045,8 @@ xref 0000230439 00000 n 0000230478 00000 n trailer -<</Size 1182/Root 1 0 R/Compress<</LengthO 270328/SpecO/1.4>>/Info 6 0 R/ID[(P2;]CsW)(:n E|,!z\r)]>> +<</Size 1182/Root 1 0 R/Compress<</LengthO 270328/SpecO/1.4>>/Info 6 0 R/ID[( +k&6>z)(%&7sjKS)]>> startxref 230517 %%EOF diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index e7125686040..d706e1bbd0e 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -38,7 +38,7 @@ %<puenc>\ProvidesFile{puenc.def} %<puvnenc>\ProvidesFile{puvnenc.def} %<puarenc>\ProvidesFile{puarenc.def} -%<!none> [2008/07/15 v6.78b +%<!none> [2008/07/16 v6.78c %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -114,7 +114,7 @@ \end{document} %</driver> % \fi -% \CheckSum{22800} +% \CheckSum{22837} % % \MakeShortVerb{|} % \StopEventually{} @@ -5063,6 +5063,7 @@ \let\PDF@FinishDoc\@empty \let\phantomsection\@empty \let\special@paper\@empty +\def\HyperDestNameFilter#1{#1} \@ifundefined{stockwidth}{% \ifdim\paperwidth>\z@ \ifdim\paperheight>\z@ @@ -10319,7 +10320,7 @@ \typeout{pdftex: define anchor at line \the\inputlineno: #1}% \fi \Hy@SaveLastskip - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \Hy@DestName\Hy@pstringDest\@pdfview \Hy@RestoreLastskip } @@ -10350,7 +10351,9 @@ \ifx\Hy@testname\@empty \let\Hy@testname\Hy@undefinedname \else - \Hy@pstringdef\Hy@testname\Hy@testname + \Hy@pstringdef\Hy@testname{% + \expandafter\HyperDestNameFilter\expandafter{\Hy@testname}% + }% \fi \Hy@StartlinkName{% \ifHy@pdfa /F 4\fi @@ -10952,7 +10955,8 @@ \begingroup \let\protect=\string \hyper@chars - \special{html:<a name=\hyper@quote #1\hyper@quote>}% + \special{html:<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue \Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink @@ -10964,7 +10968,8 @@ \Hy@SaveLastskip \begingroup \hyper@chars - \special{html:<a name=\hyper@quote#1\hyper@quote>}% + \special{html:<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue } @@ -10982,7 +10987,8 @@ \else \begingroup \hyper@chars - \special{html:<a href=\hyper@quote\##2\hyper@quote>}% + \special{html:<a href=% + \hyper@quote\#\HyperDestNameFilter{#2}\hyper@quote>}% \endgroup \fi } @@ -11028,8 +11034,11 @@ \endgroup \fi } +% \end{macrocode} +% Very poor implementation of \cs{hyper@link} without considering |#1|. +% \begin{macrocode} \def\hyper@link#1#2#3{% - \hyper@linkurl{#3}{\##2}% + \hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}% } % \end{macrocode} % @@ -11300,7 +11309,7 @@ \def\@pdfm@dest#1{% \Hy@SaveLastskip \begingroup - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \def\x{XYZ}% \ifx\x\@pdfview \def\x{XYZ @xpos @ypos null}% @@ -11477,7 +11486,9 @@ \ifx\Hy@testname\@empty \let\Hy@testname\Hy@undefinedname \else - \Hy@pstringdef\Hy@testname\Hy@testname + \Hy@pstringdef\Hy@testname{% + \expandafter\HyperDestNameFilter\expandafter{\Hy@testname}% + }% \fi \@pdfm@mark{% bann<<% @@ -11701,7 +11712,8 @@ \def\@urltype{url} \def\hyper@link#1#2#3{% \leavevmode - \special{!direct <a href=\hyper@quote\hyper@hash#2\hyper@quote>}% + \special{!direct <a href=% + \hyper@quote\hyper@hash\HyperDestNameFilter{#2}\hyper@quote>}% #3% \special{!direct </a>}% } @@ -11710,7 +11722,8 @@ \hyper@chars \leavevmode \MathBSuppress=1\relax - \special{!direct <a href=\hyper@quote#2\hyper@quote>}% + \special{!direct <a href=% + \hyper@quote\HyperDestNameFilter{#2}\hyper@quote>}% #1% \MathBSuppress=0\relax \special{!direct </a>}% @@ -11727,7 +11740,7 @@ \@Localurlfalse \begingroup \hyper@chars - \special{!aref #2}% + \special{!aref \HyperDestNameFilter{#2}}% \endgroup \fi } @@ -11743,7 +11756,8 @@ \begingroup \hyper@chars \special{!aname #1}% - \special{!direct <a name=\hyper@quote#1\hyper@quote>}% + \special{!direct <a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue } @@ -11759,7 +11773,8 @@ \hyper@chars \leavevmode \special{!aname #1}% - \special{!direct <a name=\hyper@quote #1\hyper@quote>}% + \special{!direct <a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue \bgroup\anchor@spot\egroup @@ -11839,7 +11854,7 @@ \begingroup \let\protect=\string \hyper@chars - \special{!aname #1;\@pdfview}% + \special{!aname \HyperDestNameFilter{#1};\@pdfview}% \endgroup \Hy@activeanchortrue \Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink @@ -11850,7 +11865,7 @@ \Hy@SaveLastskip \begingroup \hyper@chars - \special{!aname #1;\@pdfview}% + \special{!aname \HyperDestNameFilter{#1};\@pdfview}% \endgroup \Hy@activeanchortrue } @@ -11887,7 +11902,8 @@ \let\Hy@testname\Hy@undefinedname \fi \special{!% - aref \Hy@testname;% + aref \expandafter\HyperDestNameFilter + \expandafter{\Hy@testname};% a=<% \ifHy@pdfa /F 4\fi \Hy@setpdfborder @@ -11953,7 +11969,8 @@ \let\Hy@testname\Hy@undefinedname \fi \special{!% - aref \Hy@testname;% + aref \expandafter\HyperDestNameFilter + \expandafter{\Hy@testname};% a=<% \ifHy@pdfa /F 4\fi \Hy@setpdfborder @@ -12946,7 +12963,7 @@ \define@key{PDF}{DataSource}{\pdf@addtoks{(#1)}{DataSource}} % parameter is a destination \define@key{PDF}{Dest}{% - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \ifx\Hy@pstringDest\@empty \Hy@pdfmarkerrortrue \Hy@Warning{Destination with empty name ignored}% @@ -12955,7 +12972,7 @@ \fi } \define@key{PDF}{DestAnchor}{% - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \ifx\Hy@pstringDest\@empty \Hy@pdfmarkerrortrue \Hy@Warning{Destination with empty name ignored}% @@ -13559,7 +13576,8 @@ \Hy@SaveLastskip \begingroup \let\protect=\string - \special{html:<a name=\hyper@quote #1\hyper@quote>}% + \special{html:<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue \Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink @@ -13571,7 +13589,8 @@ \Hy@SaveLastskip \begingroup \hyper@chars - \special{html:<a name=\hyper@quote#1\hyper@quote>}% + \special{html:<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue } @@ -13589,7 +13608,8 @@ \else \begingroup \hyper@chars - \special{html:<a href=\hyper@quote\##2\hyper@quote>}% + \special{html:<a href=% + \hyper@quote\#\HyperDestNameFilter{#2}\hyper@quote>}% \endgroup \fi } @@ -13624,8 +13644,11 @@ \endgroup \fi } +% \end{macrocode} +% Very poor implementation of \cs{hyper@link} without considering |#1|. +% \begin{macrocode} \def\hyper@link#1#2#3{% - \hyper@linkurl{#3}{\##2}% + \hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}% } \def\hyper@image#1#2{% \begingroup @@ -13845,7 +13868,8 @@ \Hy@SaveLastskip \begingroup \let\protect=\string - \special{t4ht=<a name=\hyper@quote #1\hyper@quote>}% + \special{t4ht=<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue \Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink @@ -13856,7 +13880,8 @@ \def\hyper@anchorstart#1{% \Hy@SaveLastskip \begingroup - \hyper@chars\special{t4ht=<a name=\hyper@quote#1\hyper@quote>}% + \hyper@chars\special{t4ht=<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue } @@ -13874,7 +13899,8 @@ \else \begingroup \hyper@chars - \special{t4ht=<a href=\hyper@quote\##2\hyper@quote>}% + \special{t4ht=<a href=% + \hyper@quote\#\HyperDestNameFilter{#2}\hyper@quote>}% \endgroup \fi } @@ -13908,8 +13934,11 @@ \endgroup \fi } +% \end{macrocode} +% Poor implementation of \cs{hyper@link} without considering |#1|. +% \begin{macrocode} \def\hyper@link#1#2#3{% - \hyper@linkurl{#3}{\##2}% + \hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}% } \def\hyper@image#1#2{% \begingroup @@ -13934,7 +13963,7 @@ \def\LaTeXe{\LaTeX2e} \def\eTeX{e-\TeX} \def\MF{Metafont} -\def\MP{Metapost} +\def\MP{MetaPost} %</tex4htcfg> % \end{macrocode} % @@ -15922,7 +15951,7 @@ \fi }% \immediate\special{% - !outline #3;p=\@parcount,i=\@mycount,% + !outline \HyperDestNameFilter{#3};p=\@parcount,i=\@mycount,% s=\ifx#2-c\else o\fi,t=#4% }% }% @@ -15976,7 +16005,7 @@ \def\@@BOOKMARK[##1][##2]##3##4##5{% \def\Hy@temp{##4}% %<*pdftex> - \Hy@pstringdef\Hy@pstringName{##3}% + \Hy@pstringdef\Hy@pstringName{\HyperDestNameFilter{##3}}% \Hy@OutlineName{}\Hy@pstringName{% ##2\check@bm@number{##3}% }{% @@ -15984,16 +16013,15 @@ }% %</pdftex> %<*pdfmark> - \Hy@pstringdef\Hy@pstringName{##3}% \pdfmark{% pdfmark=/OUT,% Count={##2\check@bm@number{##3}},% - Dest={\Hy@pstringName},% + Dest={##3},% Title=\expandafter\strip@prefix\meaning\Hy@temp }% %</pdfmark> %<*dvipdfm> - \Hy@pstringdef\Hy@pstringName{##3}% + \Hy@pstringdef\Hy@pstringName{\HyperDestNameFilter{##3}}% \@pdfm@mark{% outline \ifHy@DvipdfmxOutlineOpen [% diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 1e0b7f59935..3af21da4f15 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipdfm.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for dvipdfm] \def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} \ifHy@pagelabels @@ -123,7 +123,7 @@ \def\@pdfm@dest#1{% \Hy@SaveLastskip \begingroup - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \def\x{XYZ}% \ifx\x\@pdfview \def\x{XYZ @xpos @ypos null}% @@ -296,7 +296,9 @@ \ifx\Hy@testname\@empty \let\Hy@testname\Hy@undefinedname \else - \Hy@pstringdef\Hy@testname\Hy@testname + \Hy@pstringdef\Hy@testname{% + \expandafter\HyperDestNameFilter\expandafter{\Hy@testname}% + }% \fi \@pdfm@mark{% bann<<% @@ -1265,7 +1267,7 @@ \fi \def\@@BOOKMARK[##1][##2]##3##4##5{% \def\Hy@temp{##4}% - \Hy@pstringdef\Hy@pstringName{##3}% + \Hy@pstringdef\Hy@pstringName{\HyperDestNameFilter{##3}}% \@pdfm@mark{% outline \ifHy@DvipdfmxOutlineOpen [% diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index e836decb080..88c8d598ad0 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvips.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for dvips] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def index 2678568c147..d1ba05656a3 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipson.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for dvipsone] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def index b1db2a0b9a3..ecb438e4839 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdviwind.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for dviwindo] \begingroup \toks@\expandafter{\Hy@FirstPageHook}% @@ -508,7 +508,7 @@ \define@key{PDF}{DOSFile}{\pdf@addtoks{(#1)}{DOSFile}} \define@key{PDF}{DataSource}{\pdf@addtoks{(#1)}{DataSource}} \define@key{PDF}{Dest}{% - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \ifx\Hy@pstringDest\@empty \Hy@pdfmarkerrortrue \Hy@Warning{Destination with empty name ignored}% @@ -517,7 +517,7 @@ \fi } \define@key{PDF}{DestAnchor}{% - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \ifx\Hy@pstringDest\@empty \Hy@pdfmarkerrortrue \Hy@Warning{Destination with empty name ignored}% diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def index 47dfa53f2bd..93e9fc5faa9 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hpdftex.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for pdfTeX] \let\Hy@PutCatalog\pdfcatalog \ifHy@pagelabels @@ -253,7 +253,7 @@ \typeout{pdftex: define anchor at line \the\inputlineno: #1}% \fi \Hy@SaveLastskip - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \Hy@DestName\Hy@pstringDest\@pdfview \Hy@RestoreLastskip } @@ -270,7 +270,9 @@ \ifx\Hy@testname\@empty \let\Hy@testname\Hy@undefinedname \else - \Hy@pstringdef\Hy@testname\Hy@testname + \Hy@pstringdef\Hy@testname{% + \expandafter\HyperDestNameFilter\expandafter{\Hy@testname}% + }% \fi \Hy@StartlinkName{% \ifHy@pdfa /F 4\fi @@ -1473,7 +1475,7 @@ \fi \def\@@BOOKMARK[##1][##2]##3##4##5{% \def\Hy@temp{##4}% - \Hy@pstringdef\Hy@pstringName{##3}% + \Hy@pstringdef\Hy@pstringName{\HyperDestNameFilter{##3}}% \Hy@OutlineName{}\Hy@pstringName{% ##2\check@bm@number{##3}% }{% diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index 7e447c782dc..2da01e3dcc2 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htex4ht.cfg} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref configuration file for TeX4ht] \IfFileExists{\jobname.cfg}{\endinput}{} \Preamble{html} @@ -36,7 +36,7 @@ \def\LaTeXe{\LaTeX2e} \def\eTeX{e-\TeX} \def\MF{Metafont} -\def\MP{Metapost} +\def\MP{MetaPost} \endinput %% %% End of file `htex4ht.cfg'. diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def index 99e70d4b829..85e1fad6709 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htex4ht.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for TeX4ht] \providecommand*{\XR@ext}{html} \def\Hy@raisedlink{} @@ -45,7 +45,8 @@ \Hy@SaveLastskip \begingroup \let\protect=\string - \special{t4ht=<a name=\hyper@quote #1\hyper@quote>}% + \special{t4ht=<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue \Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink @@ -56,7 +57,8 @@ \def\hyper@anchorstart#1{% \Hy@SaveLastskip \begingroup - \hyper@chars\special{t4ht=<a name=\hyper@quote#1\hyper@quote>}% + \hyper@chars\special{t4ht=<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue } @@ -74,7 +76,8 @@ \else \begingroup \hyper@chars - \special{t4ht=<a href=\hyper@quote\##2\hyper@quote>}% + \special{t4ht=<a href=% + \hyper@quote\#\HyperDestNameFilter{#2}\hyper@quote>}% \endgroup \fi } @@ -109,7 +112,7 @@ \fi } \def\hyper@link#1#2#3{% - \hyper@linkurl{#3}{\##2}% + \hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}% } \def\hyper@image#1#2{% \begingroup diff --git a/Master/texmf-dist/tex/latex/hyperref/htexture.def b/Master/texmf-dist/tex/latex/hyperref/htexture.def index f854e638d46..e7940b16b83 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htexture.def +++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htexture.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for Textures] \providecommand*{\XR@ext}{pdf} \begingroup @@ -121,7 +121,8 @@ \Hy@SaveLastskip \begingroup \let\protect=\string - \special{html:<a name=\hyper@quote #1\hyper@quote>}% + \special{html:<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue \Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink @@ -133,7 +134,8 @@ \Hy@SaveLastskip \begingroup \hyper@chars - \special{html:<a name=\hyper@quote#1\hyper@quote>}% + \special{html:<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue } @@ -151,7 +153,8 @@ \else \begingroup \hyper@chars - \special{html:<a href=\hyper@quote\##2\hyper@quote>}% + \special{html:<a href=% + \hyper@quote\#\HyperDestNameFilter{#2}\hyper@quote>}% \endgroup \fi } @@ -187,7 +190,7 @@ \fi } \def\hyper@link#1#2#3{% - \hyper@linkurl{#3}{\##2}% + \hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}% } \def\hyper@image#1#2{% \begingroup diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def index 497b39c7e08..5ae88e53962 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtex.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for VTeX in PDF/PS mode] \providecommand*{\XR@ext}{pdf} \edef\Hy@VTeXversion{% @@ -165,7 +165,7 @@ \begingroup \let\protect=\string \hyper@chars - \special{!aname #1;\@pdfview}% + \special{!aname \HyperDestNameFilter{#1};\@pdfview}% \endgroup \Hy@activeanchortrue \Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink @@ -176,7 +176,7 @@ \Hy@SaveLastskip \begingroup \hyper@chars - \special{!aname #1;\@pdfview}% + \special{!aname \HyperDestNameFilter{#1};\@pdfview}% \endgroup \Hy@activeanchortrue } @@ -213,7 +213,8 @@ \let\Hy@testname\Hy@undefinedname \fi \special{!% - aref \Hy@testname;% + aref \expandafter\HyperDestNameFilter + \expandafter{\Hy@testname};% a=<% \ifHy@pdfa /F 4\fi \Hy@setpdfborder @@ -279,7 +280,8 @@ \let\Hy@testname\Hy@undefinedname \fi \special{!% - aref \Hy@testname;% + aref \expandafter\HyperDestNameFilter + \expandafter{\Hy@testname};% a=<% \ifHy@pdfa /F 4\fi \Hy@setpdfborder @@ -715,7 +717,7 @@ \fi }% \immediate\special{% - !outline #3;p=\@parcount,i=\@mycount,% + !outline \HyperDestNameFilter{#3};p=\@parcount,i=\@mycount,% s=\ifx#2-c\else o\fi,t=#4% }% }% diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index 488e2bd91ae..a9e67a9e380 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtexhtml.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for VTeX in HTML mode] \providecommand*{\XR@ext}{htm} \RequirePackage{vtexhtml} @@ -39,7 +39,8 @@ \def\@urltype{url} \def\hyper@link#1#2#3{% \leavevmode - \special{!direct <a href=\hyper@quote\hyper@hash#2\hyper@quote>}% + \special{!direct <a href=% + \hyper@quote\hyper@hash\HyperDestNameFilter{#2}\hyper@quote>}% #3% \special{!direct </a>}% } @@ -48,7 +49,8 @@ \hyper@chars \leavevmode \MathBSuppress=1\relax - \special{!direct <a href=\hyper@quote#2\hyper@quote>}% + \special{!direct <a href=% + \hyper@quote\HyperDestNameFilter{#2}\hyper@quote>}% #1% \MathBSuppress=0\relax \special{!direct </a>}% @@ -65,7 +67,7 @@ \@Localurlfalse \begingroup \hyper@chars - \special{!aref #2}% + \special{!aref \HyperDestNameFilter{#2}}% \endgroup \fi } @@ -81,7 +83,8 @@ \begingroup \hyper@chars \special{!aname #1}% - \special{!direct <a name=\hyper@quote#1\hyper@quote>}% + \special{!direct <a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue } @@ -97,7 +100,8 @@ \hyper@chars \leavevmode \special{!aname #1}% - \special{!direct <a name=\hyper@quote #1\hyper@quote>}% + \special{!direct <a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue \bgroup\anchor@spot\egroup diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def index f49f2666bc1..eab2bd2d5ed 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtexmrk.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index b03e76c4a8a..e572623011e 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -25,7 +25,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hyperref} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -2717,6 +2717,7 @@ \let\PDF@FinishDoc\@empty \let\phantomsection\@empty \let\special@paper\@empty +\def\HyperDestNameFilter#1{#1} \@ifundefined{stockwidth}{% \ifdim\paperwidth>\z@ \ifdim\paperheight>\z@ diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index 6fb6d9d97f9..4712006edf4 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hypertex.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref driver for HyperTeX specials] \providecommand*{\XR@ext}{dvi} \def\PDF@FinishDoc{} @@ -39,7 +39,8 @@ \begingroup \let\protect=\string \hyper@chars - \special{html:<a name=\hyper@quote #1\hyper@quote>}% + \special{html:<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue \Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink @@ -51,7 +52,8 @@ \Hy@SaveLastskip \begingroup \hyper@chars - \special{html:<a name=\hyper@quote#1\hyper@quote>}% + \special{html:<a name=% + \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}% \endgroup \Hy@activeanchortrue } @@ -69,7 +71,8 @@ \else \begingroup \hyper@chars - \special{html:<a href=\hyper@quote\##2\hyper@quote>}% + \special{html:<a href=% + \hyper@quote\#\HyperDestNameFilter{#2}\hyper@quote>}% \endgroup \fi } @@ -105,7 +108,7 @@ \fi } \def\hyper@link#1#2#3{% - \hyper@linkurl{#3}{\##2}% + \hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}% } \def\hyper@image#1#2{% \begingroup diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index 481839020bc..6c23e8ac97d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty @@ -25,7 +25,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{nohyperref} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Dummy hyperref (SR)] \let\hyper@@anchor\@gobble \def\hyper@link#1#2#3{#3}% diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def index 4c87e414cd1..60c13cf18db 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def +++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pd1enc.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref: PDFDocEncoding definition (HO)] \DeclareFontEncoding{PD1}{}{} \DeclareTextCommand{\textLF}{PD1}{\012} % line feed diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def index c4222656b0d..337a98f71a5 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pdfmark.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref definitions for pdfmark specials] \begingroup \toks@\expandafter{\Hy@FirstPageHook}% @@ -549,7 +549,7 @@ \define@key{PDF}{DOSFile}{\pdf@addtoks{(#1)}{DOSFile}} \define@key{PDF}{DataSource}{\pdf@addtoks{(#1)}{DataSource}} \define@key{PDF}{Dest}{% - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \ifx\Hy@pstringDest\@empty \Hy@pdfmarkerrortrue \Hy@Warning{Destination with empty name ignored}% @@ -558,7 +558,7 @@ \fi } \define@key{PDF}{DestAnchor}{% - \Hy@pstringdef\Hy@pstringDest{#1}% + \Hy@pstringdef\Hy@pstringDest{\HyperDestNameFilter{#1}}% \ifx\Hy@pstringDest\@empty \Hy@pdfmarkerrortrue \Hy@Warning{Destination with empty name ignored}% @@ -1536,11 +1536,10 @@ \fi \def\@@BOOKMARK[##1][##2]##3##4##5{% \def\Hy@temp{##4}% - \Hy@pstringdef\Hy@pstringName{##3}% \pdfmark{% pdfmark=/OUT,% Count={##2\check@bm@number{##3}},% - Dest={\Hy@pstringName},% + Dest={##3},% Title=\expandafter\strip@prefix\meaning\Hy@temp }% }% diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index b109279f004..d5e78f21b4a 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puarenc.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref: Additions to puenc.def for Arabi] \DeclareTextCommand{\hamza}{PU}{\86\041}% 0621;afii57409;ARABIC LETTER HAMZA \DeclareTextCommand{\alefmadda}{PU}{\86\042}% 0622;afii57410;ARABIC LETTER ALEF WITH MADDA ABOVE diff --git a/Master/texmf-dist/tex/latex/hyperref/puenc.def b/Master/texmf-dist/tex/latex/hyperref/puenc.def index fca25af438b..6574a924590 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puenc.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref: PDF Unicode definition (HO)] \DeclareFontEncoding{PU}{}{} \DeclareTextCommand{\textLF}{PU}{\80\012} % line feed diff --git a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def index 59d110f048b..60ab72bd0dc 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puvnenc.def} - [2008/07/15 v6.78b + [2008/07/16 v6.78c Hyperref: Additions to puenc.def for VnTeX] \DeclareTextCommand{\abreve}{PU}{\81\003} \DeclareTextCommand{\acircumflex}{PU}{\80\342} |