Debian Codegraph @

texmf-dist/doc/latex/ledmac/ledioc.tex

raw
1 %%
2 %% This is file `ledioc.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% ledmac.dtx (with options: `ioc')
8 %%
9 %% Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
10 %% Copyright 2003 -- 2005 Peter R. Wilson
11 %%
12 %% This work may be distributed and/or modified under the
13 %% conditions of the LaTeX Project Public License, either
14 %% version 1.3 of this license or (at your option) any
15 %% later version.
16 %% The latest version of the license is in
17 %% http://www.latex-project.org/lppl.txt
18 %% and version 1.3 or later is part of all distributions of
19 %% LaTeX version 2003/06/01 or later.
20 %%
21 %% This work has the LPPL maintenance status "unmaintained".
22 %%
23 %% This work consists of the files listed in the README file.
24 %%
25 %% ledioc.tex
26 \documentclass{article}
27 \usepackage{ledmac}
28
29 \noendnotes
30 \makeatletter
31
32 \newcommand{\os}{\scriptsize}
33 \setcounter{firstsublinenum}{1000}
34 \frenchspacing \setlength{\parskip}{0pt} \hyphenpenalty=1000
35
36 % Say \nolinenums if you want no line numbers in the notes.
37 \newif\ifnolinenums
38 \newcommand{\nolinenums}{\global\nolinenumstrue}
39 \newcommand{\linenums}{\global\nolinenumsfalse}
40
41 \renewcommand{\rightlinenum}{\ifbypage@\ifnum\line@num<10\kern.5em\fi\else
42 \ifnum\line@num<10\kern1em\else\ifnum\line@num<100
43 \kern.5em\fi\fi\fi\kern.5em\numlabfont\the\line@num
44 \ifnum\subline@num>0:\the\subline@num\fi}
45
46 \renewcommand{\leftlinenum}{\numlabfont\the\line@num
47 \ifnum\subline@num>0:\the\subline@num\fi \kern.5em}
48 \linenummargin{outer}
49 \lineation{page}
50
51 \newcommand{\ggfootfmt}[3]{%
52 \notefontsetup
53 \let\par=\endgraf
54 \rightskip=0pt \leftskip=0pt
55 \setlength{\parindent}{0pt} \parfillskip=0pt plus 1fil
56 \ifnolinenums\relax\else
57 \begingroup \os \printlines#1|\endgroup
58 \enskip
59 \fi
60 {\rmfamily #2\def\@tempa{#2}\ifx\@tempa\empty
61 \else]\enskip\fi#3\penalty-10 }}
62
63 % Now reset the \Afootnote parameters and macros:
64 \footparagraph{A}
65 \let\Afootfmt=\ggfootfmt
66 \dimen\Afootins=\vsize
67 \skip\Afootins=3pt plus9pt
68 \newcommand*{\ggfootstart}[1]{\vskip\skip\Afootins}
69 \let\Afootstart=\ggfootstart
70
71 \newcommand*{\stage}[1]{\pstart\startsub\parindent=0pt
72 \hangindent=3em\hangafter=0
73 {\itshape #1}\let\par=\finishstage}
74 \newcommand{\finishstage}{\pend\endsub}
75 \newcommand{\sen}{\leavevmode\lower1ex\hbox{\textrm{''}}}
76 \newcommand{\senspeak}[1]{\pstart\obeylines\setbox0=\hbox{\textrm{''}}%
77 \leavevmode
78 \lower1ex\copy0\kern-\wd0\hskip1em{\textit{#1}}%
79 \hbox to1ex{}\ignorespaces}
80 \newcommand*{\speak}[1]{\pstart\obeylines\hskip1em{\textit{#1}}%
81 \hbox to1ex{}\ignorespaces}
82 \def\nospeaker{\parindent=0em\pstart\let\par=\pend}
83 \newcommand*{\nospeak}{\pstart\obeylines}
84 \makeatother
85
86 \begin{document}
87
88 \setlength{\parindent}{0pt}
89
90 \beginnumbering
91
92 \stage{Oedipus \edtext{entreth}{\Afootnote{\textit{intrat} MS}}.}
93
94 \nospeak
95 Or that with wrong the right and doubtlesse heire,
96 Shoulde banisht be out of his princely seate.
97 Yet thou O queene, so fyle thy sugred toung,
98 And with suche counsell decke thy mothers tale,
99 That peace may bothe the brothers heartes inflame,
100 And rancour yelde, that erst possest the same.
101 \pend
102
103 \speak{Eteocl.} Mother, beholde, youre hestes for to obey,
104 In person nowe am I resorted hither:
105 In haste therefore, fayne woulde I knowe what cause
106 With hastie speede, so moued hath your mynde
107 To call me nowe so causelesse out of tyme,
108 When common wealth moste craues my onely ayde:
109 Fayne woulde I knowe, what queynt commoditie
110 Persuades you thus to take a truce for tyme,
111 And yelde the gates wide open to my foe,
112 The gates that myght our stately state defende,
113 And nowe are made the path of our decay.
114 \pend
115
116 \senspeak{Ioca.}Represse deare son, those raging stormes of wrath,
117 \sen That so bedimme the eyes of thine intente,
118 \edtext{\sen As when \edtext{the}{\Afootnote{thie MS}} tongue %
119 (a redy Instrument)
120 \sen Would \edtext{fayne pronounce}{\Afootnote{faynest tell MS}} %
121 the meaning of \edtext{the minde}{\Afootnote{thy minde MS}},
122 \sen \edtext{It}{\lemma{It \dots\ worde.}\Afootnote{Thie %
123 swelling hart puft vp with wicked ire / Can scarce pronounce %
124 one inward louing thought. MS}} cannot speake one honest %
125 seemely worde.}{\lemma{As \dots\ worde.}\Afootnote{\textit{not %
126 in} \os73}}
127 \sen But when disdayne is shrunke, or sette asyde,
128 \sen And mynde of man with leysure can discourse
129 \sen What seemely woordes his tale may best beseeme,
130 \sen And that the toung vnfoldes without affectes
131 \sen Then may proceede an answere sage and graue,
132 \sen And euery sentence sawst with sobernesse:
133 Wherefore vnbende thyne angrie browes deare chylde,
134 And caste thy rolling eyes none other waye,
135 That here doost not \edtext{\textit{Medusaes}}{%
136 \Afootnote{One of the furies. {\os75}m}} face beholde,
137 But him, euen him, thy blood and brother deare.
138 And thou beholde, my \textit{Polinices} eke,
139 Thy brothers face, wherin when thou mayst see
140 Thine owne image, remember therwithall,
141 That what offence thou woldst to him were done,
142 \pend
143 \endnumbering
144
145 \end{document}
146
147 \endinput
148 %%
149 %% End of file `ledioc.tex'.