summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty2
-rw-r--r--Master/texmf-dist/tex/latex/pgf/doc/pgfmanual-en-macros.tex21
-rw-r--r--Master/texmf-dist/tex/latex/pgf/doc/pgfmanual.pdflinks.code.tex2
3 files changed, 22 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty b/Master/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
index e50a3cec5d9..02c5e696e0a 100644
--- a/Master/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
+++ b/Master/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
@@ -12,8 +12,6 @@
\RequirePackage{keyval}
\RequirePackage{xcolor}
-\def\pgf@texdist@protect{\protect}%
-
\input{pgfcore.code.tex}
\endinput
diff --git a/Master/texmf-dist/tex/latex/pgf/doc/pgfmanual-en-macros.tex b/Master/texmf-dist/tex/latex/pgf/doc/pgfmanual-en-macros.tex
index 4096700dbe0..68ecfffc443 100644
--- a/Master/texmf-dist/tex/latex/pgf/doc/pgfmanual-en-macros.tex
+++ b/Master/texmf-dist/tex/latex/pgf/doc/pgfmanual-en-macros.tex
@@ -1101,6 +1101,21 @@
\end{pgfmanualentry}
}
+\newenvironment{pgfkeyslibrary}[1]{%
+ \begin{pgfmanualentry}%
+ \pgfmanualentryheadline{%
+ \pgfmanualpdflabel{#1}{}%
+ \textbf{pgfkeys Library} \texttt{\declare{#1}}}%
+ \index{#1@\protect\texttt{#1} pgfkeys library}%
+ \index{pgfkeys Libraries!#1@\protect\texttt{#1}}%
+ \vskip.25em
+ {{\ttfamily\char`\\usepgfkeyslibrary\char`\{\declare{#1}\char`\}\space\space \char`\%\space\space \LaTeX\space and plain \TeX}}\\
+ {{\ttfamily\char`\\usepgfkeyslibrary[\declare{#1}]\space \char`\%\space\space Con\TeX t}}\\[.5em]%
+ \pgfmanualbody
+}%
+{%
+ \end{pgfmanualentry}%
+}
\newenvironment{filedescription}[1]{
@@ -1696,6 +1711,9 @@
{%
\returntospace%
\commenthandler%
+ % ensures the active ^^M is protected thus won't be expanded in the
+ % following \xdef\code@temp{#1}
+ \obeylines%
\xdef\code@temp{#1}% removes returns and comments
}%
\edef\pgfmanualmcatcode{\the\catcode`\^^M}%
@@ -1712,6 +1730,9 @@
{%
\returntospace%
\commenthandler%
+ % ensures the active ^^M is protected thus won't be expanded in the
+ % following \xdef\code@temp{#1}
+ \obeylines%
\xdef\code@temp{#1}% removes returns and comments
}%
\catcode`\^^M=9%
diff --git a/Master/texmf-dist/tex/latex/pgf/doc/pgfmanual.pdflinks.code.tex b/Master/texmf-dist/tex/latex/pgf/doc/pgfmanual.pdflinks.code.tex
index 32186b64ed8..e8dfaa565ed 100644
--- a/Master/texmf-dist/tex/latex/pgf/doc/pgfmanual.pdflinks.code.tex
+++ b/Master/texmf-dist/tex/latex/pgf/doc/pgfmanual.pdflinks.code.tex
@@ -83,7 +83,7 @@
/pdflinks/codeexample links/.default=true,
%
% How to render a hyperlink
- /pdflinks/render hyperlink/.code=#1,
+ /pdflinks/render hyperlink/.code={#1},
%
% whenever an unqualified key is found, the following key prefix
% list is tried to find a match.