summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/pgfmanual-tex4ht.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/pgfmanual-tex4ht.cfg')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/pgfmanual-tex4ht.cfg17
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/pgfmanual-tex4ht.cfg b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/pgfmanual-tex4ht.cfg
index 02bf46fe90b..f26feb4ee50 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/pgfmanual-tex4ht.cfg
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/pgfmanual-tex4ht.cfg
@@ -1,8 +1,12 @@
-% Copyright 2005 by Till Tantau <tantau@cs.tu-berlin.de>.
+% Copyright 2006 by Till Tantau
%
-% This program can be redistributed and/or modified under the terms
-% of the LaTeX Project Public License Distributed from CTAN
-% archives in directory macros/latex/base/lppl.txt.
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Free Documentation License.
+%
+% See the file doc/generic/pgf/licenses/LICENSE for more details.
+
% Make sure to use tex4ht (or htlatex, to be precise) to compile this.
@@ -12,12 +16,9 @@
\usepackage{xkeyval}
\usepackage{colortbl}
-\let\originalsetkeys=\setkeys
-
\makeatletter
\AtBeginDocument{
-\let\setkeys=\originalsetkeys
\CutAt{section,part}
\definecolor{graphicbackground}{rgb}{0.96,0.96,0.8}
\definecolor{codebackground}{rgb}{0.8,0.8,1}
@@ -40,7 +41,7 @@
\xdef\code@temp{#1}% removes returns and comments
}%
\color{black}\ignorespaces%
- \expandafter\scantokens\expandafter{\code@temp\ignorespaces}\ignorespaces%
+ \code@pre\expandafter\scantokens\expandafter{\code@temp\ignorespaces}\code@post\ignorespaces%
}%
}%
\ifdim\wd\codeexamplebox>\codeexamplewidth%