summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-27 23:22:29 +0000
committerKarl Berry <karl@freefriends.org>2009-09-27 23:22:29 +0000
commiteec7fdcd455448dc08a8c40a3493562150b4a8a0 (patch)
treecd17b4e889be16cca95c23568fc73b80a5188262 /Master
parente7f049fa0c02e2011551de39ad50a836a26ca76c (diff)
pstricks update (27sep09)
git-svn-id: svn://tug.org/texlive/trunk@15486 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/Changes1
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-doc.cls26
2 files changed, 23 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes b/Master/texmf-dist/doc/generic/pstricks/Changes
index 69a9a20fffc..54c905f0c61 100644
--- a/Master/texmf-dist/doc/generic/pstricks/Changes
+++ b/Master/texmf-dist/doc/generic/pstricks/Changes
@@ -1,3 +1,4 @@
+2009-09-27 - extensions to pst-doc.cls
2009-08-17 - extensions to pst-doc.cls
2009-03-17 - update pst-doc.cls
2009-01-31 - update pst-doc.cls
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls
index ecbd8faf1b0..788f26eaac9 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls
@@ -1,4 +1,4 @@
-% $Id: pst-doc.cls 125 2009-08-27 07:08:54Z herbert $
+% $Id: pst-doc.cls 130 2009-08-27 08:55:03Z herbert $
%
%%
%% The PSTricks Project
@@ -15,7 +15,7 @@
%%
%
\listfiles
-\ProvidesClass{pst-doc}[2009/08/17 v 0.09 PSTricks documentation class (hv)]
+\ProvidesClass{pst-doc}[2009/09/27 v 0.10 PSTricks documentation class (hv)]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
%
@@ -92,6 +92,18 @@
\RequirePackage{varioref}
\RequirePackage{subfig}
\RequirePackage{setspace}
+%
+\RequirePackage{fancyvrb}
+\newenvironment{Xverbatim}[2][]%
+ {\VerbatimEnvironment
+\handle@index{#2}
+\begin{Verbatim}[#1]}
+{\end{Verbatim}}
+\newcommand\use@index@vals{\index@vals\global\let\index@vals\relax}
+\def\handle@index#1{%
+ \gdef\index@vals{#1}%
+ \def\FancyVerbFormatLine##1{\FV@ObeyTabs{##1}\use@index@vals}}
+
\RequirePackage{filecontents}
\singlespace
\RequirePackage{showexpl}
@@ -251,17 +263,23 @@
\def\xLenv#1{\index{#1@\texttt{#1}}\index{Environment!#1@\texttt{#1}}}
\def\Lenv#1{\texttt{#1}\xLenv{#1}}
\def\Ldim#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}\index{Dimension!#1@\texttt{\textbackslash#1}}}
+\def\Lskip#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}\index{Skip!#1@\texttt{\textbackslash#1}}}
\def\Lkeyword#1{\texttt{#1}\xLkeyword{#1}}
\def\xLkeyword#1{\index{#1@\texttt{#1}}\index{Keyword!#1@\texttt{#1}}}
\def\nxLkeyword#1{\texttt{#1}}
\def\Lkeyval#1{\texttt{#1}\xLkeyval{#1}}
\def\xLkeyval#1{\index{#1@\texttt{#1}}\index{Keyvalue!#1@\texttt{#1}}}
-\def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package option!#1@\texttt{#1}}}
+\def\xLoption#1{\index{#1@\texttt{#1}}\index{Package option!#1@\texttt{#1}}}
+\def\Loption#1{\texttt{#1}\xLoption{#1}}
\def\LPS#1{\texttt{#1}\index{#1@\texttt{#1}}\index{PostScript!#1@\texttt{#1}}}
\def\xLps#1{\index{#1@\texttt{#1}}\index{PostScript!#1@\texttt{#1}}}
-\def\Lps#1{\texttt{#1}\xLps{#1}}
+\def\nxLps#1{\texttt{#1}}
+\def\Lps#1{\nxLps{#1}\xLps{#1}}
\def\LClass#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Class!#1@\texttt{#1}}}
\let\nxLClass\nxLPack
+\let\nxLdim\nxLcs
+\let\nxLskip\nxLcs
+%
\newcommand\Lnotation [1]{\nxLnotation{#1}\xLnotation{#1}}
\newcommand\Lmnotation[1]{\nxLnotation{#1}\xLmnotation{#1}}
\newcommand\xLnotation[1]{\index{Syntax!#1@\nxLnotation{#1}}\index{#1@\nxLnotation{#1}}}