Debian Codegraph @

texmf-dist/tex/generic/edmac/edstanza.tex

raw
1 %%
2 %% This is file `edstanza.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% edstanza.doc
8 %%
9 %% IMPORTANT NOTICE:
10 %%
11 %% For the copyright see the source file.
12 %%
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from edstanza.tex.
15 %%
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file edstanza.doc.
18 %%
19 %% This generated file may be distributed as long as the
20 %% original source files, as listed above, are part of the
21 %% same distribution. (The sources need not necessarily be
22 %% in the same archive or directory.)
23
24 \def\fileversion{0.01}
25 \def\filedate{92/6/25}
26 \def\docdate {92/6/25}
27
28 %% \CheckSum{191}
29 %% \CharacterTable
30 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
31 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
32 %% Digits \0\1\2\3\4\5\6\7\8\9
33 %% Exclamation \! Double quote \" Hash (number) \#
34 %% Dollar \$ Percent \% Ampersand \&
35 %% Acute accent \' Left paren \( Right paren \)
36 %% Asterisk \* Plus \+ Comma \,
37 %% Minus \- Point \. Solidus \/
38 %% Colon \: Semicolon \; Less than \<
39 %% Equals \= Greater than \> Question mark \?
40 %% Commercial at \@ Left bracket \[ Backslash \\
41 %% Right bracket \] Circumflex \^ Underscore \_
42 %% Grave accent \` Left brace \{ Vertical bar \|
43 %% Right brace \} Tilde \~}
44 %%
45 \ifx\edmacloaded\relax\else
46 \errmessage{EDSTANZA requires EDMAC.}\endinput\fi
47 \chardef\body=\catcode`\@
48 \catcode`\@=11
49 \chardef\next=\catcode`\&
50 \catcode`\&=\active
51 \newcount\stanza@count
52 \newdimen\stanzaindentbase
53 \stanzaindentbase=20pt
54 \def\strip@szacnt#1,#2|{\def\@tempb{#1}\def\@tempa{#2|}}
55 \def\setstanzavalues#1#2{\def\@tempa{#2,,|}%
56 \stanza@count\z@
57 \def\next{\expandafter\strip@szacnt\@tempa
58 \ifx\@tempb\empty\let\next\relax\else
59 \expandafter\mathchardef\csname #1@\number\stanza@count
60 @\endcsname\@tempb\relax
61 \advance\stanza@count\@ne\fi\next}%
62 \next}
63 \def\stanza@line{\parindent=\csname sza@\number\stanza@count
64 @\endcsname\stanzaindentbase
65 \pstart\stanza@hang\ignorespaces}
66 \xdef\stanza@hang{\noexpand\leavevmode\noexpand\startlock
67 \hangindent\expandafter
68 \noexpand\csname sza@0@\endcsname\stanzaindentbase
69 \hangafter\@ne}
70 \def\sza@penalty{\count@\csname szp@\number\stanza@count @\endcsname
71 \ifnum\count@>\@M\advance\count@-\@M\penalty-\else
72 \penalty\fi\count@}
73 \let\endstanzaextra\relax
74 \xdef\stanza{\begingroup\catcode`\&\active\global\stanza@count\@ne
75 \noexpand\ifnum\expandafter\noexpand
76 \csname sza@0@\endcsname=\z@\let\noexpand\stanza@hang\relax
77 \let\noexpand\endlock\relax\noexpand\else\interlinepenalty
78 \@M\rightskip\z@ plus 1fil\relax\noexpand\fi\noexpand\ifnum
79 \expandafter\noexpand\csname szp@0@\endcsname=\z@
80 \let\noexpand\sza@penalty\relax\noexpand\fi \def\noexpand&{%
81 \noexpand\endlock\noexpand\pend\noexpand\sza@penalty\global
82 \advance\stanza@count\@ne\noexpand\stanza@line}\def\noexpand
83 \&{\noexpand\endlock\noexpand\pend\endgroup\endstanzaextra}%
84 \noexpand\stanza@line}
85 \catcode`\&=\next
86 \catcode`\@=\body
87 \let\ampersand=\&
88 \setstanzavalues{szp}{0}
89 \endinput
90 \endinput
91 %%
92 %% End of file `edstanza.tex'.