From 345c4728c1410fe37c996be2226c00e47be9c1d5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 17 Sep 2019 21:10:51 +0000 Subject: extract (17sep19) git-svn-id: svn://tug.org/texlive/trunk@52109 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/extract/README | 4 +- Master/texmf-dist/doc/latex/extract/extract.bib | 139 +++++++++++++++++++ Master/texmf-dist/doc/latex/extract/extract.pdf | Bin 201813 -> 229260 bytes Master/texmf-dist/doc/latex/extract/xtrex1.tex | 56 ++++++++ Master/texmf-dist/doc/latex/extract/xtrex2.tex | 57 ++++++++ Master/texmf-dist/doc/latex/extract/xtrex3.tex | 64 +++++++++ Master/texmf-dist/doc/latex/extract/xtrex4.tex | 54 ++++++++ Master/texmf-dist/doc/latex/extract/xtrex5.tex | 59 ++++++++ Master/texmf-dist/doc/latex/extract/xtrex6.tex | 62 +++++++++ Master/texmf-dist/doc/latex/extract/xtrex7.tex | 56 ++++++++ Master/texmf-dist/doc/latex/extract/xtrpream.ble | 165 +++++++++++++++++++++++ 11 files changed, 714 insertions(+), 2 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/extract/extract.bib create mode 100644 Master/texmf-dist/doc/latex/extract/xtrex1.tex create mode 100644 Master/texmf-dist/doc/latex/extract/xtrex2.tex create mode 100644 Master/texmf-dist/doc/latex/extract/xtrex3.tex create mode 100644 Master/texmf-dist/doc/latex/extract/xtrex4.tex create mode 100644 Master/texmf-dist/doc/latex/extract/xtrex5.tex create mode 100644 Master/texmf-dist/doc/latex/extract/xtrex6.tex create mode 100644 Master/texmf-dist/doc/latex/extract/xtrex7.tex create mode 100644 Master/texmf-dist/doc/latex/extract/xtrpream.ble (limited to 'Master/texmf-dist/doc/latex/extract') diff --git a/Master/texmf-dist/doc/latex/extract/README b/Master/texmf-dist/doc/latex/extract/README index 7cc0a467797..c54f79fc8a0 100644 --- a/Master/texmf-dist/doc/latex/extract/README +++ b/Master/texmf-dist/doc/latex/extract/README @@ -1,4 +1,4 @@ -extract v1.8 +extract v1.9 ------------ This package can be used to (conditionally) extract specific @@ -44,7 +44,7 @@ extract into your LaTeX distribution License ------- -Copyright (C) 2004-2005 Hendri Adriaens +Copyright (C) 2004-2019 Hendri Adriaens This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/doc/latex/extract/extract.bib b/Master/texmf-dist/doc/latex/extract/extract.bib new file mode 100644 index 00000000000..87c3bde3be2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/extract/extract.bib @@ -0,0 +1,139 @@ +%% +%% This is file `extract.bib', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% extract.dtx (with options: `bib') +%% +%% --------------------------------------- +%% Copyright (C) 2004-2005 Hendri Adriaens +%% --------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file extract.dtx and the derived files +%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex, +%% xtrex5.tex, xtrex6.tex and xtrex7.tex. +%% +%% The following files constitute the extract package and must be +%% distributed as a whole: readme, extract.dtx, extract.pdf and +%% extract.sty. +%% +@MISC{LaTeXbase, + author = {Johannes Braams and David Carlisle and Alan Jeffrey and Leslie Lamport + and Frank Mittelbach and Chris Rowley and Rainer Sch\"opf}, + title = {The {\LaTeXe} Sources}, + howpublished = {\url{CTAN:/macros/latex/base}}, + year = 2003 +} + +@MISC{xkeyval, + author = {Hendri Adriaens}, + title = {\pf{xkeyval} package}, + howpublished = {\url{CTAN:/macros/latex/contrib/xkeyval}} +} + +@MISC{verbatim, + author = {Rainer Sch\"opf}, + title = {\pf{verbatim} package, v1.5q}, + howpublished = {\url{CTAN:/macros/latex/required/tools}}, + year = {2003/08/22} +} + +@MISC{xcomment, + author = {Timothy Van Zandt}, + title = {\pf{xcomment} package, v1.2}, + howpublished = {\url{CTAN:/macros/latex/contrib/seminar}}, + year = {1993/02/12} +} + +@MISC{askinclude, + author = {{Pablo A. Straub}}, + title = {\pf{askinclude} package, v1.2e}, + howpublished = {\url{CTAN:/macros/latex/contrib/misc}}, + year = {1994/11/11} +} + +@MISC{excludeonly, + author = {Dan Luecking}, + title = {\pf{excludeonly} package, v1.0}, + howpublished = {\url{CTAN:/macros/latex/contrib/misc}}, + year = {2003/03/14} +} + +@MISC{comment, + author = {Victor Eijkhout}, + title = {\pf{comment} package, v3.6}, + howpublished = {\url{CTAN:/macros/latex/contrib/comment}}, + year = {1999/10} +} + +@MISC{optional, + author = {Donald Arseneau}, + title = {\pf{optional} package, v2.2}, + howpublished = {\url{CTAN:/macros/latex/contrib/misc}}, + year = {2001/09} +} + +@MISC{version, + author = {Stephen Bellantoni}, + title = {\pf{version} package}, + howpublished = {\url{CTAN:/macros/latex/contrib/misc}}, + year = {1990} +} + +@MISC{versions, + author = {Uwe L\"uck}, + title = {\pf{versions} package, v0.51}, + howpublished = {\url{CTAN:/macros/latex/contrib/versions}}, + year = {2003/10/15} +} + +@MISC{pagesel, + author = {Heiko Oberdiek}, + title = {\pf{pagesel} package, v1.1}, + howpublished = {\url{CTAN:/macros/latex/contrib/oberdiek}}, + year = {1999/04/13} +} + +@MISC{pdfpages, + author = {Andreas Matthias}, + title = {\pf{pdfpages} package, v0.3e}, + howpublished = {\url{CTAN:/macros/latex/contrib/pdfpages}}, + year = {2004/01/31} +} + +@MISC{selectp, + author = {Donald Arseneau}, + title = {\pf{selectp} package, v0.9}, + howpublished = {\url{CTAN:/macros/latex/contrib/misc}}, + year = {1992/09/25} +} + +@MISC{fancyvrb, + author = {Timothy Van Zandt}, + title = {\pf{fancyvrb} package, v2.6}, + howpublished = {\url{CTAN:/macros/latex/contrib/fancyvrb}}, + year = {1998/07/17} +} + +@MISC{listings, + author = {Carsten Heinz}, + title = {\pf{listings} package, v1.3}, + howpublished = {\url{CTAN:/macros/latex/contrib/listings}}, + year = {2004/09/07} +} +\endinput +%% +%% End of file `extract.bib'. diff --git a/Master/texmf-dist/doc/latex/extract/extract.pdf b/Master/texmf-dist/doc/latex/extract/extract.pdf index 3176259e8e0..1ed5ee687dd 100644 Binary files a/Master/texmf-dist/doc/latex/extract/extract.pdf and b/Master/texmf-dist/doc/latex/extract/extract.pdf differ diff --git a/Master/texmf-dist/doc/latex/extract/xtrex1.tex b/Master/texmf-dist/doc/latex/extract/xtrex1.tex new file mode 100644 index 00000000000..b3f0df8918e --- /dev/null +++ b/Master/texmf-dist/doc/latex/extract/xtrex1.tex @@ -0,0 +1,56 @@ +%% +%% This is file `xtrex1.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% extract.dtx (with options: `xtrex1') +%% +%% --------------------------------------- +%% Copyright (C) 2004-2005 Hendri Adriaens +%% --------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file extract.dtx and the derived files +%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex, +%% xtrex5.tex, xtrex6.tex and xtrex7.tex. +%% +%% The following files constitute the extract package and must be +%% distributed as a whole: readme, extract.dtx, extract.pdf and +%% extract.sty. +%% +\documentclass[10pt]{article} +\usepackage[ + active, + generate=file, + copydocumentclass=false, + extract-env=equation +]{extract} +\begin{extract} +\documentclass[11pt]{article} +\end{extract} +\begin{document} +Some text. +\begin{equation} +a^2+b^2=c^2 +\end{equation} +Some text. +\begin{equation} +x^2+y^2=z^2 +\end{equation} +Some text. +\end{document} +\endinput +%% +%% End of file `xtrex1.tex'. diff --git a/Master/texmf-dist/doc/latex/extract/xtrex2.tex b/Master/texmf-dist/doc/latex/extract/xtrex2.tex new file mode 100644 index 00000000000..34fb73b4b0c --- /dev/null +++ b/Master/texmf-dist/doc/latex/extract/xtrex2.tex @@ -0,0 +1,57 @@ +%% +%% This is file `xtrex2.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% extract.dtx (with options: `xtrex2') +%% +%% --------------------------------------- +%% Copyright (C) 2004-2005 Hendri Adriaens +%% --------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file extract.dtx and the derived files +%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex, +%% xtrex5.tex, xtrex6.tex and xtrex7.tex. +%% +%% The following files constitute the extract package and must be +%% distributed as a whole: readme, extract.dtx, extract.pdf and +%% extract.sty. +%% +\documentclass{article} +\usepackage[ + active, + generate=file, + extract-env=exercise, + extract-cmd=section, + extract-cmdline=label +]{extract} +\begin{extract*} +\newtheorem{exercise}{Exercise} +\end{extract*} +\begin{document} +\section{Theory} +\label{sec:1} +Some text. +\section{Exercises} +\begin{exercise} +Use the results from section +\ref{sec:1} to show that\dots +\end{exercise} +Some text. +\end{document} +\endinput +%% +%% End of file `xtrex2.tex'. diff --git a/Master/texmf-dist/doc/latex/extract/xtrex3.tex b/Master/texmf-dist/doc/latex/extract/xtrex3.tex new file mode 100644 index 00000000000..d3dfc3b25fa --- /dev/null +++ b/Master/texmf-dist/doc/latex/extract/xtrex3.tex @@ -0,0 +1,64 @@ +%% +%% This is file `xtrex3.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% extract.dtx (with options: `xtrex3') +%% +%% --------------------------------------- +%% Copyright (C) 2004-2005 Hendri Adriaens +%% --------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file extract.dtx and the derived files +%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex, +%% xtrex5.tex, xtrex6.tex and xtrex7.tex. +%% +%% The following files constitute the extract package and must be +%% distributed as a whole: readme, extract.dtx, extract.pdf and +%% extract.sty. +%% +\documentclass{article} +\usepackage[ + active, + generate=file, + extract-env=figure, + figure-nrs={1,3}, + figure-labels={fig-a,fig-b} +]{extract} +\begin{document} +Some text. +\begin{figure} +Figure 1. +\end{figure} +Some text. +\extractionlabel{fig-a} +\begin{figure} +Figure 2. +\end{figure} +Some text. +\extractionlabel{fig-b} +\begin{figure} +Figure 3. +\end{figure} +Some text. +\extractionlabel{fig-c} +\begin{figure} +Figure 4. +\end{figure} +\end{document} +\endinput +%% +%% End of file `xtrex3.tex'. diff --git a/Master/texmf-dist/doc/latex/extract/xtrex4.tex b/Master/texmf-dist/doc/latex/extract/xtrex4.tex new file mode 100644 index 00000000000..d8376bdc711 --- /dev/null +++ b/Master/texmf-dist/doc/latex/extract/xtrex4.tex @@ -0,0 +1,54 @@ +%% +%% This is file `xtrex4.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% extract.dtx (with options: `xtrex4') +%% +%% --------------------------------------- +%% Copyright (C) 2004-2005 Hendri Adriaens +%% --------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file extract.dtx and the derived files +%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex, +%% xtrex5.tex, xtrex6.tex and xtrex7.tex. +%% +%% The following files constitute the extract package and must be +%% distributed as a whole: readme, extract.dtx, extract.pdf and +%% extract.sty. +%% +\documentclass{article} +\usepackage[ + active, + generate=file, + extract-env=equation* +]{extract} +\begin{extract*} +\usepackage{amsmath} +\end{extract*} +\begin{document} +Some text. +\begin{equation*} +x^2+y^2=z^2 +\end{equation*} +\begin{extract} +$x=3$, $y=4$ and $z=5$ +satisfy this equation. +\end{extract} +\end{document} +\endinput +%% +%% End of file `xtrex4.tex'. diff --git a/Master/texmf-dist/doc/latex/extract/xtrex5.tex b/Master/texmf-dist/doc/latex/extract/xtrex5.tex new file mode 100644 index 00000000000..4c5bbe6680f --- /dev/null +++ b/Master/texmf-dist/doc/latex/extract/xtrex5.tex @@ -0,0 +1,59 @@ +%% +%% This is file `xtrex5.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% extract.dtx (with options: `xtrex5') +%% +%% --------------------------------------- +%% Copyright (C) 2004-2005 Hendri Adriaens +%% --------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file extract.dtx and the derived files +%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex, +%% xtrex5.tex, xtrex6.tex and xtrex7.tex. +%% +%% The following files constitute the extract package and must be +%% distributed as a whole: readme, extract.dtx, extract.pdf and +%% extract.sty. +%% +\documentclass{article} +\usepackage[ + active, + generate=file, + copydocumentclass=false, + extract-labels=type-a, + line-labels={type-a,type-c}, + line-nrs=3 +]{extract} +\begin{extract}[type-a] +\documentclass{article} +\end{extract} +\begin{extract}[type-b] +\documentclass{book} +\end{extract} +\begin{document} +\parindent0pt +\extractline[type-a]line 1\\ +\extractline*line 2\\ +\extractline line 3\\ +\extractline*[type-a]line 4\\ +\extractline*[type-c]line 5\\ +\extractline line 6\\ +\end{document} +\endinput +%% +%% End of file `xtrex5.tex'. diff --git a/Master/texmf-dist/doc/latex/extract/xtrex6.tex b/Master/texmf-dist/doc/latex/extract/xtrex6.tex new file mode 100644 index 00000000000..e01b2725e02 --- /dev/null +++ b/Master/texmf-dist/doc/latex/extract/xtrex6.tex @@ -0,0 +1,62 @@ +%% +%% This is file `xtrex6.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% extract.dtx (with options: `xtrex6') +%% +%% --------------------------------------- +%% Copyright (C) 2004-2005 Hendri Adriaens +%% --------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file extract.dtx and the derived files +%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex, +%% xtrex5.tex, xtrex6.tex and xtrex7.tex. +%% +%% The following files constitute the extract package and must be +%% distributed as a whole: readme, extract.dtx, extract.pdf and +%% extract.sty. +%% +\documentclass{article} +\usepackage[ + active, + generate=file, + extract-env=figure +]{extract} +\begin{document} +\begin{figure}[!h] +\begin{extractskip} +\fbox{figure 1} +\end{extractskip} +\fbox{figure 2} +\end{figure} +\begin{extract*} +\begin{itemize} +\item 1 +\item 2 +a\begin{extractskip}b +\item 3 +c\end{extractskip}d +\item 4 +\begin{extractskip} +\item 5 +\end{extractskip} +\end{itemize} +\end{extract*} +\end{document} +\endinput +%% +%% End of file `xtrex6.tex'. diff --git a/Master/texmf-dist/doc/latex/extract/xtrex7.tex b/Master/texmf-dist/doc/latex/extract/xtrex7.tex new file mode 100644 index 00000000000..98ae6ff31a3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/extract/xtrex7.tex @@ -0,0 +1,56 @@ +%% +%% This is file `xtrex7.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% extract.dtx (with options: `xtrex7') +%% +%% --------------------------------------- +%% Copyright (C) 2004-2005 Hendri Adriaens +%% --------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file extract.dtx and the derived files +%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex, +%% xtrex5.tex, xtrex6.tex and xtrex7.tex. +%% +%% The following files constitute the extract package and must be +%% distributed as a whole: readme, extract.dtx, extract.pdf and +%% extract.sty. +%% +\documentclass{article} +\usepackage[ + active, + generate=file, + extractskip-labels=skipb +]{extract} +\begin{document} +\begin{extract*} +\begin{itemize} +\begin{extractskip}[skipa] +\item 1 +\end{extractskip} +\begin{extractskip}[skipb] +\item 2 +\end{extractskip} +\begin{extractskip}[skipc] +\item 3 +\end{extractskip} +\end{itemize} +\end{extract*} +\end{document} +\endinput +%% +%% End of file `xtrex7.tex'. diff --git a/Master/texmf-dist/doc/latex/extract/xtrpream.ble b/Master/texmf-dist/doc/latex/extract/xtrpream.ble new file mode 100644 index 00000000000..de284ca5b2a --- /dev/null +++ b/Master/texmf-dist/doc/latex/extract/xtrpream.ble @@ -0,0 +1,165 @@ +%% +%% This is file `xtrpream.ble', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% extract.dtx (with options: `preamble') +%% +%% --------------------------------------- +%% Copyright (C) 2004-2005 Hendri Adriaens +%% --------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Hendri Adriaens. +%% +%% This work consists of the file extract.dtx and the derived files +%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex, +%% xtrex5.tex, xtrex6.tex and xtrex7.tex. +%% +%% The following files constitute the extract package and must be +%% distributed as a whole: readme, extract.dtx, extract.pdf and +%% extract.sty. +%% +\usepackage{url} +\usepackage{extract} +\usepackage{xcolor} +\usepackage{fourier} +\usepackage{varioref} +\usepackage{pst-text} +\def\reftextafter{on page~\thevpagerefnum} +\def\reftextbefore{on page~\thevpagerefnum} +\def\reftextfaceafter{on page~\thevpagerefnum} +\def\reftextfacebefore{on page~\thevpagerefnum} +\usepackage{listings} +\lstnewenvironment{command}{% + \lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},% + xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{} +\lstnewenvironment{example}{% + \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,% + backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,% + xrightmargin=\fboxsep,gobble=1}}{} +\def\mktitledecor{% + \rput[tl]{90}(-6.5,-22.56){% + \psline[linewidth=1pt](0,1.5)(\paperheight,1.5)% + \rput[lB](.075\paperheight,.5){\pscharpath[linecolor=blue!50,% + fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]% + {\Huge\bfseries\sffamily extract}% + }% + \rput[rB](.925\paperheight,.5){\pscharpath[linecolor=blue!50,% + fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]% + {\Huge\bfseries Documentation}% + }% + \psline[linewidth=1pt](0,0)(\paperheight,0)% + }% +} +\usepackage{float} +\newfloat{Listing}{htb}{loe} +\makeatletter +\def\tableofcontents{% + \begin{multicols}{2}% + [\section*{Contents}% + \setlength{\columnseprule}{.4pt}% + \setlength{\columnsep}{18pt}]% + \@starttoc{toc}% + \end{multicols}% +} +\def\changes@#1#2#3{% + \protected@edef\@tempa{% + \noexpand\glossary{\textbf{#1}\hfill\emph{(#2)}% + \levelchar + \ifx\saved@macroname\@empty + \space\actualchar\generalname + \else + \expandafter\@gobble\saved@macroname + \actualchar\string\verb\quotechar*% + \verbatimchar\saved@macroname\verbatimchar + \fi + :\levelchar #3}% + }% + \@tempa\endgroup\@esphack +} +\def\DescribeMacros{\leavevmode\@bsphack + \begingroup\MakePrivateLetters\Describe@Macros} +\def\Describe@Macros#1{\endgroup\strut + \marginpar{\raggedleft + \def\@tempa{#1}\count@\z@ + \@for\@tempa:=\@tempa\do{% + \ifnum\count@>\z@\\\fi\advance\count@\@ne + \MacroFont\expandafter\string\@tempa + \expandafter\SpecialUsageIndex\expandafter{\@tempa}% + }}% + \@esphack\ignorespaces +} +\def\DescribeOption#1{\leavevmode\@bsphack + \marginpar{\raggedleft\PrintDescribeOption{#1}}% + \SpecialOptionIndex{#1}\@esphack\ignorespaces} +\def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ } +\def\SpecialOptionIndex#1{\@bsphack + \index{#1\actualchar{\protect\ttfamily#1} + (option)\encapchar usage}% + \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar + usage}\@esphack} +\def\DescribeOptions#1{\leavevmode\@bsphack + \marginpar{\raggedleft\strut\emph{options}% + \@for\@tempa:=#1\do{% + \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa + }}\@esphack\ignorespaces} +\def\DescribeEnv#1{\leavevmode\@bsphack + \marginpar{\raggedleft\PrintDescribeEnv{#1}}% + \SpecialEnvIndex{#1}\@esphack\ignorespaces} +\def\PrintDescribeEnv#1{\strut\emph{environment}\\\MacroFont #1\ } +\def\SpecialEnvIndex#1{\@bsphack + \index{#1\actualchar{\protect\ttfamily#1} + (environment)\encapchar usage}% + \index{environments:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar + usage}\@esphack} +\def\SpecialMainEnvIndex#1{\@bsphack\special@index{% + #1\actualchar + {\string\ttfamily\space#1} + \encapchar main}% + \special@index{environments:\levelchar#1\actualchar{% + \string\ttfamily\space#1}\encapchar + main}\@esphack} +\def\DescribeEnvs#1{\leavevmode\@bsphack + \marginpar{\raggedleft\strut\emph{environments}% + \@for\@tempa:=#1\do{% + \\\strut\MacroFont\@tempa\SpecialEnvIndex\@tempa + }}\@esphack\ignorespaces} +\renewenvironment{theglossary}{% + \glossary@prologue + \GlossaryParms \let\item\@idxitem \ignorespaces + }{}% +\makeatother +\def\PrintChangesX{% + \begingroup + \let\efill\relax + \PrintChanges + \endgroup +} +\def\PrintIndexX{% + \begingroup + \setcounter{IndexColumns}{2} + \setlength{\columnsep}{18pt}% + \setlength{\columnseprule}{.4pt}% + \PrintIndex + \endgroup +} +\def\pf#1{\textsf{#1}} +\def\descriptionlabel{\hspace\labelsep\normalfont} +\EnableCrossrefs +\RecordChanges +\GlossaryPrologue{\section*{Version history}} +\CodelineIndex +\endinput +%% +%% End of file `xtrpream.ble'. -- cgit v1.2.3