summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-25 22:53:32 +0000
committerKarl Berry <karl@freefriends.org>2016-04-25 22:53:32 +0000
commit3d27d042e8aa66631f76c702fe1ea30857aae252 (patch)
tree5866cd46a360abc63ce16c03fae6a6516e69adc4 /Master
parente238d08a39314aa5aaa9470df093db7c82ab5b9f (diff)
\@makeother\: for l3 syntax, http://tex.stackexchange.com/questions/304980
git-svn-id: svn://tug.org/texlive/trunk@40752 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx8
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref.sty1
2 files changed, 8 insertions, 1 deletions
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