From 3d27d042e8aa66631f76c702fe1ea30857aae252 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 25 Apr 2016 22:53:32 +0000 Subject: \@makeother\: for l3 syntax, http://tex.stackexchange.com/questions/304980 git-svn-id: svn://tug.org/texlive/trunk@40752 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 8 +++++++- Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index abcba9f722f..6409b654bbb 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -7654,11 +7654,16 @@ % Within the argument the following special definitions apply: % |\#|, |\%|, |~| produce |#|, |%|, |~| respectively. % for consistency |\~| produces |~| as well. -% At the \emph{top level only} ie not within the argument of another +% +% At the \emph{top level only}, i.e., not within the argument of another % command, you can use |#| and |%| unescaped, to produce themselves. % even if, say, |#| is entered as |#| it will be converted to |\#| % so it does not die if written to an aux file etc. |\#| will write % as |#| locally while making |\special|s. +% +% Other special characters are allowed as well: |_|, |$|, |&|, +% and |:| (special in expl3 syntax) is forced to catcode other. +% % \begin{macrocode} \begingroup \endlinechar=-1 % @@ -7691,6 +7696,7 @@ \let\textasciitilde\hyper@tilde \let\\\@backslashchar \edef${\string$}^^A + \@makeother\:^^A for expl3 syntax \Hy@safe@activestrue \hyper@n@rmalise }^^A diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index f9cd6d86d84..003a7ffb66a 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -4873,6 +4873,7 @@ \let\textasciitilde\hyper@tilde \let\\\@backslashchar \edef${\string$}^^A + \@makeother\:^^A for expl3 syntax \Hy@safe@activestrue \hyper@n@rmalise }^^A -- cgit v1.2.3