Debian Codegraph @

texmf-dist/source/latex/etexcmds/etexcmds.dtx

raw
1 % \iffalse meta-comment
2 %
3 % File: etexcmds.dtx
4 % Version: 2019/12/15 v1.7
5 % Info: Avoid name clashes with e-TeX commands
6 %
7 % Copyright (C)
8 % 2007, 2010, 2011 Heiko Oberdiek
9 % 2016-2019 Oberdiek Package Support Group
10 % https://github.com/ho-tex/etexcmds/issues
11 %
12 % This work may be distributed and/or modified under the
13 % conditions of the LaTeX Project Public License, either
14 % version 1.3c of this license or (at your option) any later
15 % version. This version of this license is in
16 % https://www.latex-project.org/lppl/lppl-1-3c.txt
17 % and the latest version of this license is in
18 % https://www.latex-project.org/lppl.txt
19 % and version 1.3 or later is part of all distributions of
20 % LaTeX version 2005/12/01 or later.
21 %
22 % This work has the LPPL maintenance status "maintained".
23 %
24 % The Current Maintainers of this work are
25 % Heiko Oberdiek and the Oberdiek Package Support Group
26 % https://github.com/ho-tex/etexcmds/issues
27 %
28 % The Base Interpreter refers to any `TeX-Format',
29 % because some files are installed in TDS:tex/generic//.
30 %
31 % This work consists of the main source file etexcmds.dtx
32 % and the derived files
33 % etexcmds.sty, etexcmds.pdf, etexcmds.ins, etexcmds.drv,
34 % etexcmds-test1.tex, etexcmds-test2.tex, etexcmds-test3.tex,
35 % etexcmds-test4.tex.
36 %
37 % Distribution:
38 % CTAN:macros/latex/contrib/etexcmds/etexcmds.dtx
39 % CTAN:macros/latex/contrib/etexcmds/etexcmds.pdf
40 %
41 % Unpacking:
42 % (a) If etexcmds.ins is present:
43 % tex etexcmds.ins
44 % (b) Without etexcmds.ins:
45 % tex etexcmds.dtx
46 % (c) If you insist on using LaTeX
47 % latex \let\install=y\input{etexcmds.dtx}
48 % (quote the arguments according to the demands of your shell)
49 %
50 % Documentation:
51 % (a) If etexcmds.drv is present:
52 % latex etexcmds.drv
53 % (b) Without etexcmds.drv:
54 % latex etexcmds.dtx; ...
55 % The class ltxdoc loads the configuration file ltxdoc.cfg
56 % if available. Here you can specify further options, e.g.
57 % use A4 as paper format:
58 % \PassOptionsToClass{a4paper}{article}
59 %
60 % Programm calls to get the documentation (example):
61 % pdflatex etexcmds.dtx
62 % makeindex -s gind.ist etexcmds.idx
63 % pdflatex etexcmds.dtx
64 % makeindex -s gind.ist etexcmds.idx
65 % pdflatex etexcmds.dtx
66 %
67 % Installation:
68 % TDS:tex/generic/etexcmds/etexcmds.sty
69 % TDS:doc/latex/etexcmds/etexcmds.pdf
70 % TDS:source/latex/etexcmds/etexcmds.dtx
71 %
72 %<*ignore>
73 \begingroup
74 \catcode123=1 %
75 \catcode125=2 %
76 \def\x{LaTeX2e}%
77 \expandafter\endgroup
78 \ifcase 0\ifx\install y1\fi\expandafter
79 \ifx\csname processbatchFile\endcsname\relax\else1\fi
80 \ifx\fmtname\x\else 1\fi\relax
81 \else\csname fi\endcsname
82 %</ignore>
83 %<*install>
84 \input docstrip.tex
85 \Msg{************************************************************************}
86 \Msg{* Installation}
87 \Msg{* Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)}
88 \Msg{************************************************************************}
89
90 \keepsilent
91 \askforoverwritefalse
92
93 \let\MetaPrefix\relax
94 \preamble
95
96 This is a generated file.
97
98 Project: etexcmds
99 Version: 2019/12/15 v1.7
100
101 Copyright (C)
102 2007, 2010, 2011 Heiko Oberdiek
103 2016-2019 Oberdiek Package Support Group
104
105 This work may be distributed and/or modified under the
106 conditions of the LaTeX Project Public License, either
107 version 1.3c of this license or (at your option) any later
108 version. This version of this license is in
109 https://www.latex-project.org/lppl/lppl-1-3c.txt
110 and the latest version of this license is in
111 https://www.latex-project.org/lppl.txt
112 and version 1.3 or later is part of all distributions of
113 LaTeX version 2005/12/01 or later.
114
115 This work has the LPPL maintenance status "maintained".
116
117 The Current Maintainers of this work are
118 Heiko Oberdiek and the Oberdiek Package Support Group
119 https://github.com/ho-tex/etexcmds/issues
120
121
122 The Base Interpreter refers to any `TeX-Format',
123 because some files are installed in TDS:tex/generic//.
124
125 This work consists of the main source file etexcmds.dtx
126 and the derived files
127 etexcmds.sty, etexcmds.pdf, etexcmds.ins, etexcmds.drv,
128 etexcmds-test1.tex, etexcmds-test2.tex, etexcmds-test3.tex,
129 etexcmds-test4.tex.
130
131 \endpreamble
132 \let\MetaPrefix\DoubleperCent
133
134 \generate{%
135 \file{etexcmds.ins}{\from{etexcmds.dtx}{install}}%
136 \file{etexcmds.drv}{\from{etexcmds.dtx}{driver}}%
137 \usedir{tex/generic/etexcmds}%
138 \file{etexcmds.sty}{\from{etexcmds.dtx}{package}}%
139 }
140
141 \catcode32=13\relax% active space
142 \let =\space%
143 \Msg{************************************************************************}
144 \Msg{*}
145 \Msg{* To finish the installation you have to move the following}
146 \Msg{* file into a directory searched by TeX:}
147 \Msg{*}
148 \Msg{* etexcmds.sty}
149 \Msg{*}
150 \Msg{* To produce the documentation run the file `etexcmds.drv'}
151 \Msg{* through LaTeX.}
152 \Msg{*}
153 \Msg{* Happy TeXing!}
154 \Msg{*}
155 \Msg{************************************************************************}
156
157 \endbatchfile
158 %</install>
159 %<*ignore>
160 \fi
161 %</ignore>
162 %<*driver>
163 \NeedsTeXFormat{LaTeX2e}
164 \ProvidesFile{etexcmds.drv}%
165 [2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)]%
166 \documentclass{ltxdoc}
167 \usepackage{holtxdoc}[2011/11/22]
168 \begin{document}
169 \DocInput{etexcmds.dtx}%
170 \end{document}
171 %</driver>
172 % \fi
173 %
174 %
175 %
176 % \GetFileInfo{etexcmds.drv}
177 %
178 % \title{The \xpackage{etexcmds} package}
179 % \date{2019/12/15 v1.7}
180 % \author{Heiko Oberdiek\thanks
181 % {Please report any issues at \url{https://github.com/ho-tex/etexcmds/issues}}}
182 %
183 % \maketitle
184 %
185 % \begin{abstract}
186 % New primitive commands are introduced in \eTeX. Sometimes the
187 % names collide with existing macros. This package solves this
188 % name clashes by adding a prefix to \eTeX's commands. For example,
189 % \eTeX's \cs{unexpanded} is provided as \cs{etex@unexpanded}.
190 % \end{abstract}
191 %
192 % \tableofcontents
193 %
194 % \section{Documentation}
195 %
196 % \subsection{\cs{unexpanded}}
197 %
198 % \begin{declcs}{etex@unexpanded}
199 % \end{declcs}
200 % New primitive commands are introduced in \eTeX. Unhappily
201 % \cs{unexpanded} collides with a macro in Con\TeX t with the
202 % same name. This also affects the \LaTeX\ world. For example,
203 % package \xpackage{m-ch-de} loads \xfile{base/syst-gen.tex}
204 % that redefines \cs{unexpanded}. Thus this package defines
205 % \cs{etex@unexpanded} to get rid of the name clash.
206 %
207 % \begin{declcs}{ifetex@unexpanded}
208 % \end{declcs}
209 % Package \xpackage{etexcmds} can be loaded even if \eTeX\ is not
210 % present or \cs{unexpanded} cannot be found. The switch
211 % \cs{ifetex@unexpanded} tells whether it is safe to use
212 % \cs{etex@unexpanded}.
213 % The switch is true (\cs{iftrue}) only if the
214 % primitive \cs{unexpanded} has been found and \cs{etex@unexpanded}
215 % is available.
216 %
217 % \subsection{\cs{expanded}}
218 %
219 % Probably \cs{expanded} will be added in \pdfTeX\ 1.50 and
220 % \LuaTeX. Again Con\TeX t defines this as macro.
221 % Therefore version 1.2 of this packages also provides
222 % \cs{etex@expanded} and \cs{ifetex@unexpanded}.
223 %
224 % \StopEventually{
225 % }
226 %
227 % \section{Implementation}
228 %
229 % \begin{macrocode}
230 %<*package>
231 % \end{macrocode}
232 %
233 % \subsection{Reload check and package identification}
234 % Reload check, especially if the package is not used with \LaTeX.
235 % \begin{macrocode}
236 \begingroup\catcode61\catcode48\catcode32=10\relax%
237 \catcode13=5 % ^^M
238 \endlinechar=13 %
239 \catcode35=6 % #
240 \catcode39=12 % '
241 \catcode44=12 % ,
242 \catcode45=12 % -
243 \catcode46=12 % .
244 \catcode58=12 % :
245 \catcode64=11 % @
246 \catcode123=1 % {
247 \catcode125=2 % }
248 \expandafter\let\expandafter\x\csname [email protected]\endcsname
249 \ifx\x\relax % plain-TeX, first loading
250 \else
251 \def\empty{}%
252 \ifx\x\empty % LaTeX, first loading,
253 % variable is initialized, but \ProvidesPackage not yet seen
254 \else
255 \expandafter\ifx\csname PackageInfo\endcsname\relax
256 \def\x#1#2{%
257 \immediate\write-1{Package #1 Info: #2.}%
258 }%
259 \else
260 \def\x#1#2{\PackageInfo{#1}{#2, stopped}}%
261 \fi
262 \x{etexcmds}{The package is already loaded}%
263 \aftergroup\endinput
264 \fi
265 \fi
266 \endgroup%
267 % \end{macrocode}
268 % Package identification:
269 % \begin{macrocode}
270 \begingroup\catcode61\catcode48\catcode32=10\relax%
271 \catcode13=5 % ^^M
272 \endlinechar=13 %
273 \catcode35=6 % #
274 \catcode39=12 % '
275 \catcode40=12 % (
276 \catcode41=12 % )
277 \catcode44=12 % ,
278 \catcode45=12 % -
279 \catcode46=12 % .
280 \catcode47=12 % /
281 \catcode58=12 % :
282 \catcode64=11 % @
283 \catcode91=12 % [
284 \catcode93=12 % ]
285 \catcode123=1 % {
286 \catcode125=2 % }
287 \expandafter\ifx\csname ProvidesPackage\endcsname\relax
288 \def\x#1#2#3[#4]{\endgroup
289 \immediate\write-1{Package: #3 #4}%
290 \xdef#1{#4}%
291 }%
292 \else
293 \def\x#1#2[#3]{\endgroup
294 #2[{#3}]%
295 \ifx#1\@undefined
296 \xdef#1{#3}%
297 \fi
298 \ifx#1\relax
299 \xdef#1{#3}%
300 \fi
301 }%
302 \fi
303 \expandafter\x\csname [email protected]\endcsname
304 \ProvidesPackage{etexcmds}%
305 [2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)]%
306 % \end{macrocode}
307 %
308 % \subsection{Catcodes}
309 %
310 % \begin{macrocode}
311 \begingroup\catcode61\catcode48\catcode32=10\relax%
312 \catcode13=5 % ^^M
313 \endlinechar=13 %
314 \catcode123=1 % {
315 \catcode125=2 % }
316 \catcode64=11 % @
317 \def\x{\endgroup
318 \expandafter\edef\csname etexcmds@AtEnd\endcsname{%
319 \endlinechar=\the\endlinechar\relax
320 \catcode13=\the\catcode13\relax
321 \catcode32=\the\catcode32\relax
322 \catcode35=\the\catcode35\relax
323 \catcode61=\the\catcode61\relax
324 \catcode64=\the\catcode64\relax
325 \catcode123=\the\catcode123\relax
326 \catcode125=\the\catcode125\relax
327 }%
328 }%
329 \x\catcode61\catcode48\catcode32=10\relax%
330 \catcode13=5 % ^^M
331 \endlinechar=13 %
332 \catcode35=6 % #
333 \catcode64=11 % @
334 \catcode123=1 % {
335 \catcode125=2 % }
336 \def\TMP@EnsureCode#1#2{%
337 \edef\etexcmds@AtEnd{%
338 \etexcmds@AtEnd
339 \catcode#1=\the\catcode#1\relax
340 }%
341 \catcode#1=#2\relax
342 }
343 \TMP@EnsureCode{39}{12}% '
344 \TMP@EnsureCode{40}{12}% (
345 \TMP@EnsureCode{41}{12}% )
346 \TMP@EnsureCode{44}{12}% ,
347 \TMP@EnsureCode{45}{12}% -
348 \TMP@EnsureCode{46}{12}% .
349 \TMP@EnsureCode{47}{12}% /
350 \TMP@EnsureCode{60}{12}% <
351 \TMP@EnsureCode{91}{12}% [
352 \TMP@EnsureCode{93}{12}% ]
353 \edef\etexcmds@AtEnd{%
354 \etexcmds@AtEnd
355 \escapechar\the\escapechar\relax
356 \noexpand\endinput
357 }
358 \escapechar=92 % backslash
359 % \end{macrocode}
360 %
361 % \subsection{Provide \cs{newif}}
362 %
363 % \begin{macro}{\etexcmds@newif}
364 % \begin{macrocode}
365 \def\etexcmds@newif#1{%
366 \expandafter\edef\csname etex@#1false\endcsname{%
367 \let
368 \expandafter\noexpand\csname ifetex@#1\endcsname
369 \noexpand\iffalse
370 }%
371 \expandafter\edef\csname etex@#1true\endcsname{%
372 \let
373 \expandafter\noexpand\csname ifetex@#1\endcsname
374 \noexpand\iftrue
375 }%
376 \csname etex@#1false\endcsname
377 }
378 % \end{macrocode}
379 % \end{macro}
380 %
381 % \subsection{Load package \xpackage{infwarerr}}
382 %
383 % \begin{macrocode}
384 \begingroup\expandafter\expandafter\expandafter\endgroup
385 \expandafter\ifx\csname RequirePackage\endcsname\relax
386 \def\TMP@RequirePackage#1[#2]{%
387 \begingroup\expandafter\expandafter\expandafter\endgroup
388 \expandafter\ifx\csname ver@#1.sty\endcsname\relax
389 \input #1.sty\relax
390 \fi
391 }%
392 \TMP@RequirePackage{infwarerr}[2007/09/09]%
393 \TMP@RequirePackage{iftex}[2019/11/07]%
394 \else
395 \RequirePackage{infwarerr}[2007/09/09]%
396 \RequirePackage{iftex}[2019/11/07]%
397 \fi
398 % \end{macrocode}
399 %
400 % \subsection{\cs{unexpanded}}
401 %
402 % \begin{macro}{\ifetex@unexpanded}
403 % \begin{macrocode}
404 \etexcmds@newif{unexpanded}
405 % \end{macrocode}
406 % \end{macro}
407 %
408 % \begin{macro}{\etex@unexpanded}
409 % \begin{macrocode}
410 \begingroup
411 \edef\x{\string\unexpanded}%
412 \edef\y{\meaning\unexpanded}%
413 \ifx\x\y
414 \endgroup
415 \let\etex@unexpanded\unexpanded
416 \etex@unexpandedtrue
417 \else
418 \edef\y{\meaning\normalunexpanded}%
419 \ifx\x\y
420 \endgroup
421 \let\etex@unexpanded\normalunexpanded
422 \etex@unexpandedtrue
423 \else
424 \edef\y{\meaning\@@unexpanded}%
425 \ifx\x\y
426 \endgroup
427 \let\etex@unexpanded\@@unexpanded
428 \etex@unexpandedtrue
429 \else
430 \ifluatex
431 \ifnum\luatexversion<36 %
432 \else
433 \begingroup
434 \directlua{%
435 tex.enableprimitives('etex@',{'unexpanded'})%
436 }%
437 \global\let\etex@unexpanded\etex@unexpanded
438 \endgroup
439 \fi
440 \fi
441 \edef\y{\meaning\etex@unexpanded}%
442 \ifx\x\y
443 \endgroup
444 \etex@unexpandedtrue
445 \else
446 \endgroup
447 \@PackageInfoNoLine{etexcmds}{%
448 Could not find \string\unexpanded.\MessageBreak
449 That can mean that you are not using e-TeX or%
450 \MessageBreak
451 that some package has redefined \string\unexpanded.%
452 \MessageBreak
453 In the latter case, load this package earlier%
454 }%
455 \etex@unexpandedfalse
456 \fi
457 \fi
458 \fi
459 \fi
460 % \end{macrocode}
461 % \end{macro}
462 %
463 % \subsection{\cs{expanded}}
464 %
465 % \begin{macro}{\ifetex@expanded}
466 % \begin{macrocode}
467 \etexcmds@newif{expanded}
468 % \end{macrocode}
469 % \end{macro}
470 %
471 % \begin{macro}{\etex@expanded}
472 % \begin{macrocode}
473 \begingroup
474 \edef\x{\string\expanded}%
475 \edef\y{\meaning\expanded}%
476 \ifx\x\y
477 \endgroup
478 \let\etex@expanded\expanded
479 \etex@expandedtrue
480 \else
481 \edef\y{\meaning\normalexpanded}%
482 \ifx\x\y
483 \endgroup
484 \let\etex@expanded\normalexpanded
485 \etex@expandedtrue
486 \else
487 \edef\y{\meaning\@@expanded}%
488 \ifx\x\y
489 \endgroup
490 \let\etex@expanded\@@expanded
491 \etex@expandedtrue
492 \else
493 \ifluatex
494 \ifnum\luatexversion<36 %
495 \else
496 \begingroup
497 \directlua{%
498 tex.enableprimitives('etex@',{'expanded'})%
499 }%
500 \global\let\etex@expanded\etex@expanded
501 \endgroup
502 \fi
503 \fi
504 \edef\y{\meaning\etex@expanded}%
505 \ifx\x\y
506 \endgroup
507 \etex@expandedtrue
508 \else
509 \endgroup
510 \@PackageInfoNoLine{etexcmds}{%
511 Could not find \string\expanded.\MessageBreak
512 That can mean that you are not using pdfTeX 1.50 or%
513 \MessageBreak
514 that some package has redefined \string\expanded.%
515 \MessageBreak
516 In the latter case, load this package earlier%
517 }%
518 \etex@expandedfalse
519 \fi
520 \fi
521 \fi
522 \fi
523 % \end{macrocode}
524 % \end{macro}
525 %
526 % \begin{macrocode}
527 \etexcmds@AtEnd%
528 %</package>
529 % \end{macrocode}
530 %% \section{Installation}
531 %
532 % \subsection{Download}
533 %
534 % \paragraph{Package.} This package is available on
535 % CTAN\footnote{\CTANpkg{etexcmds}}:
536 % \begin{description}
537 % \item[\CTAN{macros/latex/contrib/etexcmds/etexcmds.dtx}] The source file.
538 % \item[\CTAN{macros/latex/contrib/etexcmds/etexcmds.pdf}] Documentation.
539 % \end{description}
540 %
541 %
542 % \paragraph{Bundle.} All the packages of the bundle `etexcmds'
543 % are also available in a TDS compliant ZIP archive. There
544 % the packages are already unpacked and the documentation files
545 % are generated. The files and directories obey the TDS standard.
546 % \begin{description}
547 % \item[\CTANinstall{install/macros/latex/contrib/etexcmds.tds.zip}]
548 % \end{description}
549 % \emph{TDS} refers to the standard ``A Directory Structure
550 % for \TeX\ Files'' (\CTANpkg{tds}). Directories
551 % with \xfile{texmf} in their name are usually organized this way.
552 %
553 % \subsection{Bundle installation}
554 %
555 % \paragraph{Unpacking.} Unpack the \xfile{etexcmds.tds.zip} in the
556 % TDS tree (also known as \xfile{texmf} tree) of your choice.
557 % Example (linux):
558 % \begin{quote}
559 % |unzip etexcmds.tds.zip -d ~/texmf|
560 % \end{quote}
561 %
562 % \subsection{Package installation}
563 %
564 % \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
565 % \docstrip\ archive. The files are extracted by running the
566 % \xfile{.dtx} through \plainTeX:
567 % \begin{quote}
568 % \verb|tex etexcmds.dtx|
569 % \end{quote}
570 %
571 % \paragraph{TDS.} Now the different files must be moved into
572 % the different directories in your installation TDS tree
573 % (also known as \xfile{texmf} tree):
574 % \begin{quote}
575 % \def\t{^^A
576 % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
577 % etexcmds.sty & tex/generic/etexcmds/etexcmds.sty\\
578 % etexcmds.pdf & doc/latex/etexcmds/etexcmds.pdf\\
579 % etexcmds.dtx & source/latex/etexcmds/etexcmds.dtx\\
580 % \end{tabular}^^A
581 % }^^A
582 % \sbox0{\t}^^A
583 % \ifdim\wd0>\linewidth
584 % \begingroup
585 % \advance\linewidth by\leftmargin
586 % \advance\linewidth by\rightmargin
587 % \edef\x{\endgroup
588 % \def\noexpand\lw{\the\linewidth}^^A
589 % }\x
590 % \def\lwbox{^^A
591 % \leavevmode
592 % \hbox to \linewidth{^^A
593 % \kern-\leftmargin\relax
594 % \hss
595 % \usebox0
596 % \hss
597 % \kern-\rightmargin\relax
598 % }^^A
599 % }^^A
600 % \ifdim\wd0>\lw
601 % \sbox0{\small\t}^^A
602 % \ifdim\wd0>\linewidth
603 % \ifdim\wd0>\lw
604 % \sbox0{\footnotesize\t}^^A
605 % \ifdim\wd0>\linewidth
606 % \ifdim\wd0>\lw
607 % \sbox0{\scriptsize\t}^^A
608 % \ifdim\wd0>\linewidth
609 % \ifdim\wd0>\lw
610 % \sbox0{\tiny\t}^^A
611 % \ifdim\wd0>\linewidth
612 % \lwbox
613 % \else
614 % \usebox0
615 % \fi
616 % \else
617 % \lwbox
618 % \fi
619 % \else
620 % \usebox0
621 % \fi
622 % \else
623 % \lwbox
624 % \fi
625 % \else
626 % \usebox0
627 % \fi
628 % \else
629 % \lwbox
630 % \fi
631 % \else
632 % \usebox0
633 % \fi
634 % \else
635 % \lwbox
636 % \fi
637 % \else
638 % \usebox0
639 % \fi
640 % \end{quote}
641 % If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's
642 % TDS installing feature, then some files can already be in the right
643 % place, see the documentation of \docstrip.
644 %
645 % \subsection{Refresh file name databases}
646 %
647 % If your \TeX~distribution
648 % (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh
649 % these. For example, \TeX\,Live\ users run \verb|texhash| or
650 % \verb|mktexlsr|.
651 %
652 % \subsection{Some details for the interested}
653 %
654 % \paragraph{Unpacking with \LaTeX.}
655 % The \xfile{.dtx} chooses its action depending on the format:
656 % \begin{description}
657 % \item[\plainTeX:] Run \docstrip\ and extract the files.
658 % \item[\LaTeX:] Generate the documentation.
659 % \end{description}
660 % If you insist on using \LaTeX\ for \docstrip\ (really,
661 % \docstrip\ does not need \LaTeX), then inform the autodetect routine
662 % about your intention:
663 % \begin{quote}
664 % \verb|latex \let\install=y\input{etexcmds.dtx}|
665 % \end{quote}
666 % Do not forget to quote the argument according to the demands
667 % of your shell.
668 %
669 % \paragraph{Generating the documentation.}
670 % You can use both the \xfile{.dtx} or the \xfile{.drv} to generate
671 % the documentation. The process can be configured by the
672 % configuration file \xfile{ltxdoc.cfg}. For instance, put this
673 % line into this file, if you want to have A4 as paper format:
674 % \begin{quote}
675 % \verb|\PassOptionsToClass{a4paper}{article}|
676 % \end{quote}
677 % An example follows how to generate the
678 % documentation with pdf\LaTeX:
679 % \begin{quote}
680 %\begin{verbatim}
681 %pdflatex etexcmds.dtx
682 %makeindex -s gind.ist etexcmds.idx
683 %pdflatex etexcmds.dtx
684 %makeindex -s gind.ist etexcmds.idx
685 %pdflatex etexcmds.dtx
686 %\end{verbatim}
687 % \end{quote}
688 %
689 % \begin{History}
690 % \begin{Version}{2007/05/06 v1.0}
691 % \item
692 % First version.
693 % \end{Version}
694 % \begin{Version}{2007/09/09 v1.1}
695 % \item
696 % Documentation for \cs{ifetex@unexpanded} added.
697 % \item
698 % Catcode section rewritten.
699 % \end{Version}
700 % \begin{Version}{2007/12/12 v1.2}
701 % \item
702 % \cs{etex@expanded} added.
703 % \end{Version}
704 % \begin{Version}{2010/01/28 v1.3}
705 % \item
706 % Compatibility to \hologo{iniTeX} added.
707 % \end{Version}
708 % \begin{Version}{2011/01/30 v1.4}
709 % \item
710 % Already loaded package files are not input in \hologo{plainTeX}.
711 % \end{Version}
712 % \begin{Version}{2011/02/16 v1.5}
713 % \item
714 % Using \hologo{LuaTeX}'s \texttt{tex.enableprimitives} if available.
715 % \end{Version}
716 % \begin{Version}{2016/05/16 v1.6}
717 % \item
718 % Documentation updates.
719 % \end{Version}
720 % \begin{Version}{2019/12/15 v1.7}
721 % \item
722 % Documentation updates.
723 % \item
724 % Use \xpackage{iftex} package.
725 % \end{Version}
726 % \end{History}
727 %
728 % \PrintIndex
729 %
730 % \Finale
731 \endinput