Debian Codegraph @

texmf-dist/doc/latex/extract/xtrpream.ble

raw
1 %%
2 %% This is file `xtrpream.ble',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% extract.dtx (with options: `preamble')
8 %%
9 %% ---------------------------------------
10 %% Copyright (C) 2004-2019 Hendri Adriaens
11 %% ---------------------------------------
12 %%
13 %% This work may be distributed and/or modified under the
14 %% conditions of the LaTeX Project Public License, either version 1.3
15 %% of this license or (at your option) any later version.
16 %% The latest version of this license is in
17 %% http://www.latex-project.org/lppl.txt
18 %% and version 1.3 or later is part of all distributions of LaTeX
19 %% version 2003/12/01 or later.
20 %%
21 %% This work has the LPPL maintenance status "maintained".
22 %%
23 %% This Current Maintainer of this work is Hendri Adriaens.
24 %%
25 %% This work consists of the file extract.dtx and the derived files
26 %% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
27 %% xtrex5.tex, xtrex6.tex and xtrex7.tex.
28 %%
29 %% The following files constitute the extract package and must be
30 %% distributed as a whole: readme, extract.dtx, extract.pdf and
31 %% extract.sty.
32 %%
33 \usepackage{url}
34 \usepackage{extract}
35 \usepackage{xcolor}
36 \usepackage{fourier}
37 \usepackage{varioref}
38 \usepackage{pst-text}
39 \def\reftextafter{on page~\thevpagerefnum}
40 \def\reftextbefore{on page~\thevpagerefnum}
41 \def\reftextfaceafter{on page~\thevpagerefnum}
42 \def\reftextfacebefore{on page~\thevpagerefnum}
43 \usepackage{listings}
44 \lstnewenvironment{command}{%
45 \lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},%
46 xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{}
47 \lstnewenvironment{example}{%
48 \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,%
49 backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,%
50 xrightmargin=\fboxsep,gobble=1}}{}
51 \def\mktitledecor{%
52 \rput[tl]{90}(-6.5,-22.56){%
53 \psline[linewidth=1pt](0,1.5)(\paperheight,1.5)%
54 \rput[lB](.075\paperheight,.5){\pscharpath[linecolor=blue!50,%
55 fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
56 {\Huge\bfseries\sffamily extract}%
57 }%
58 \rput[rB](.925\paperheight,.5){\pscharpath[linecolor=blue!50,%
59 fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
60 {\Huge\bfseries Documentation}%
61 }%
62 \psline[linewidth=1pt](0,0)(\paperheight,0)%
63 }%
64 }
65 \usepackage{float}
66 \newfloat{Listing}{htb}{loe}
67 \makeatletter
68 \def\tableofcontents{%
69 \begin{multicols}{2}%
70 [\section*{Contents}%
71 \setlength{\columnseprule}{.4pt}%
72 \setlength{\columnsep}{18pt}]%
73 \@starttoc{toc}%
74 \end{multicols}%
75 }
76 \def\changes@#1#2#3{%
77 \protected@edef\@tempa{%
78 \noexpand\glossary{\textbf{#1}\hfill\emph{(#2)}%
79 \levelchar
80 \ifx\saved@macroname\@empty
81 \space\actualchar\generalname
82 \else
83 \expandafter\@gobble\saved@macroname
84 \actualchar\string\verb\quotechar*%
85 \verbatimchar\saved@macroname\verbatimchar
86 \fi
87 :\levelchar #3}%
88 }%
89 \@tempa\endgroup\@esphack
90 }
91 \def\DescribeMacros{\leavevmode\@bsphack
92 \begingroup\MakePrivateLetters\Describe@Macros}
93 \def\Describe@Macros#1{\endgroup\strut
94 \marginpar{\raggedleft
95 \def\@tempa{#1}\count@\z@
96 \@for\@tempa:=\@tempa\do{%
97 \ifnum\count@>\z@\\\fi\advance\count@\@ne
98 \MacroFont\expandafter\string\@tempa
99 \expandafter\SpecialUsageIndex\expandafter{\@tempa}%
100 }}%
101 \@esphack\ignorespaces
102 }
103 \def\DescribeOption#1{\leavevmode\@bsphack
104 \marginpar{\raggedleft\PrintDescribeOption{#1}}%
105 \SpecialOptionIndex{#1}\@esphack\ignorespaces}
106 \def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ }
107 \def\SpecialOptionIndex#1{\@bsphack
108 \index{#1\actualchar{\protect\ttfamily#1}
109 (option)\encapchar usage}%
110 \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
111 usage}\@esphack}
112 \def\DescribeOptions#1{\leavevmode\@bsphack
113 \marginpar{\raggedleft\strut\emph{options}%
114 \@for\@tempa:=#1\do{%
115 \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa
116 }}\@esphack\ignorespaces}
117 \def\DescribeEnv#1{\leavevmode\@bsphack
118 \marginpar{\raggedleft\PrintDescribeEnv{#1}}%
119 \SpecialEnvIndex{#1}\@esphack\ignorespaces}
120 \def\PrintDescribeEnv#1{\strut\emph{environment}\\\MacroFont #1\ }
121 \def\SpecialEnvIndex#1{\@bsphack
122 \index{#1\actualchar{\protect\ttfamily#1}
123 (environment)\encapchar usage}%
124 \index{environments:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
125 usage}\@esphack}
126 \def\SpecialMainEnvIndex#1{\@bsphack\special@index{%
127 #1\actualchar
128 {\string\ttfamily\space#1}
129 \encapchar main}%
130 \special@index{environments:\levelchar#1\actualchar{%
131 \string\ttfamily\space#1}\encapchar
132 main}\@esphack}
133 \def\DescribeEnvs#1{\leavevmode\@bsphack
134 \marginpar{\raggedleft\strut\emph{environments}%
135 \@for\@tempa:=#1\do{%
136 \\\strut\MacroFont\@tempa\SpecialEnvIndex\@tempa
137 }}\@esphack\ignorespaces}
138 \renewenvironment{theglossary}{%
139 \glossary@prologue
140 \GlossaryParms \let\item\@idxitem \ignorespaces
141 }{}%
142 \makeatother
143 \def\PrintChangesX{%
144 \begingroup
145 \let\efill\relax
146 \PrintChanges
147 \endgroup
148 }
149 \def\PrintIndexX{%
150 \begingroup
151 \setcounter{IndexColumns}{2}
152 \setlength{\columnsep}{18pt}%
153 \setlength{\columnseprule}{.4pt}%
154 \PrintIndex
155 \endgroup
156 }
157 \def\pf#1{\textsf{#1}}
158 \def\descriptionlabel{\hspace\labelsep\normalfont}
159 \EnableCrossrefs
160 \RecordChanges
161 \GlossaryPrologue{\section*{Version history}}
162 \CodelineIndex
163 \endinput
164 %%
165 %% End of file `xtrpream.ble'.