summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pgf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-15 20:58:27 +0000
committerKarl Berry <karl@freefriends.org>2023-01-15 20:58:27 +0000
commit810d9b451473ebe8e27c3f691bf001e01864e6fb (patch)
tree5151b6e2e4cef114dd6f4154f2d602312c40f0cf /Master/texmf-dist/tex/latex/pgf
parentbf5bd6f0c1fa2b7dac8b2b7b8d4b52bf6a1518f0 (diff)
pgf (15jan23)
git-svn-id: svn://tug.org/texlive/trunk@65553 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgf')
-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.