Debian Codegraph @

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

raw
1 %\iffalse
2 %% dramatist.dtx
3 %% Copyright (C) 2003-2014 Massimiliano Dominici
4 %
5 % This program is free software; you can redistribute it and/or modify
6 % it under the terms of the GNU General Public License as published by
7 % the Free Software Foundation; either version 2 of the License, or
8 % (at your option) any later version.
9 %
10 % This program is distributed in the hope that it will be useful,
11 % but WITHOUT ANY WARRANTY; without even the implied warranty of
12 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 % GNU General Public License for more details.
14 %
15 % You should have received a copy of the GNU General Public License
16 % along with this program; if not, write to the Free Software
17 % Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 %
19 % Copyright (C) 2003-2004 Massimiliano Dominici.
20 % Permission is granted to copy, distribute and/or modify this document
21 % under the terms of the GNU Free Documentation License, Version 1.2
22 % or any later version published by the Free Software Foundation;
23 % with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
24 % A copy of the license is included in the section entitled ``GNU
25 % Free Documentation License''.
26 %
27 % This program consists of the files dramatist.dtx and dramatist.ins
28 %
29 %<*driver>
30 \documentclass[a4paper]{ltxdoc}
31 \usepackage[T1]{fontenc}
32 \usepackage[latin1]{inputenc}
33 \usepackage{ae}
34 \usepackage{dramatist}
35 \GetFileInfo{dramatist.sty}
36 \makeatletter
37 \c@IndexColumns=2
38 \def\DescribeOpt{\leavevmode\@bsphack\begingroup\MakePrivateLetters
39 \Describe@Opt}
40 \def\Describe@Opt#1{\endgroup
41 \marginpar{\raggedleft\PrintDescribeOpt{#1}}%
42 \SpecialOptIndex{#1}\@esphack\ignorespaces}
43 \def\SpecialOptIndex#1{\@bsphack
44 \index{#1\actualchar{\protect\ttfamily#1}
45 (option)\encapchar usage}%
46 \index{options:\levelchar{\protect\ttfamily#1}\encapchar
47 usage}\@esphack}
48 \newcommand{\PrintDescribeOpt}{\PrintDescribeEnv}
49 \makeatother
50 \OnlyDescription
51 \EnableCrossrefs
52 \CodelineIndex
53 \RecordChanges
54 \providecommand\envname[1]{\textsf{#1}}
55 \providecommand\clsname[1]{\textsf{#1}}
56 \providecommand\pkgname[1]{\textsf{#1}}
57 \providecommand\Filename[1]{\textsf{#1}}
58 %\renewcommand{\theenumi}{\alph{enumi}}
59 \begin{document}
60 \DocInput{dramatist.dtx}
61 \end{document}
62 %</driver>
63 %\fi
64 % \CheckSum{523}
65 %% \CharacterTable%% {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
66 %% 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
67 %% Digits \0\1\2\3\4\5\6\7\8\9
68 %% Exclamation \! Double quote \" Hash (number) \#
69 %% Dollar \$ Percent \% Ampersand \&
70 %% Acute accent \' Left paren \( Right paren \)
71 %% Asterisk \* Plus \+ Comma \,
72 %% Minus \- Point \. Solidus \/
73 %% Colon \: Semicolon \; Less than \<
74 %% Equals \= Greater than \> Question mark \?
75 %% Commercial at \@ Left bracket \[ Backslash \\
76 %% Right bracket \] Circumflex \^ Underscore \_
77 %% Grave accent \` Left brace \{ Vertical bar \|
78 %% Right brace \} Tilde \~}
79 %%
80 %
81 %\changes{v1.0}{2003/08/03}{First public release.}
82 %\changes{v1.1}{2004/01/19}{Added support for line numbering; added
83 %a \cs{speaker} command; changes made to the \envname{drama*}
84 %environment; made \cs{act}, \cs{scene} and \cs{DramPer} more compliant
85 %to the standard document division commands.}
86 %\changes{v1.2}{2004/05/10}{Added support for \pkgname{poemscol}
87 %package; introduced an \emph{uppercase} series of sectioning
88 %commands; first argument in \cs{Character} made optional; added
89 %environment (\envname{CharacterGroup}) for characters groups in
90 %the \emph{Dramatis Person\ae} list; added various hooks for user
91 %customization.}
92 %\changes{v1.2a}{2005/05/21}{Fixed a bug in the vertical spacing of
93 %\cs{DramPer}. Changed name of counter \textsf{linenumber} in
94 %\textsf{verselinenumber} in order to mantain compatibility with
95 %package \pkgname{poemscol}}
96 %\changes{v1.2c}{2005/07/26}{Fixed two bugs: now the package works
97 %correctly with the spanish extension of \pkgname{babel} and a
98 %\cs{\meta{name}} command at the end of a \cs{direct} macro no more gives
99 %an unwanted space. Fixed a typo in the author e-mail address.}
100 %\changes{v1.2d}{2005/12/01}{Fixed three bugs: restored a missing
101 %backslash in \cs{dirdelimiter}; customized lengths in character groups
102 %inside a Dramatis Personae list now work correctly; \cs{speaksdel} is
103 %now appended to characters' label in verse drama environment too.}
104 %
105 %\DoNotIndex{\@afterheading,\@afterindentfalse,\@break@tfor,\@empty}
106 %\DoNotIndex{\@ifstar,\@let@token,\@namedef,\@nameuse,\@nil}
107 %\DoNotIndex{\@tempswafalse,\@tempswatrue,\@tfor,\\}
108 %\DoNotIndex{\ae,\baselineskip,\begin,\bgroup,\centering}
109 %\DoNotIndex{\csname,\def,\do,\egroup,\else,\emph,\end}
110 %\DoNotIndex{\expandafter,\fi,\futurelet,\hspace,\if@tempswa}
111 %\DoNotIndex{\ifnum,\ifvmode,\ifx,\InputIfFileExists,\item}
112 %\DoNotIndex{\itemindent,\itemsep,\labelsep,\labelwidth}
113 %\DoNotIndex{\Large,\large,\leftmargin,\let,\makelabel}
114 %\DoNotIndex{\NeedsTeXFormat,\newcommand,\newcounter,\newenvironment}
115 %\DoNotIndex{\newif,\newlength,\newpage,\nobreak,\normalfont,\normallineskip}
116 %\DoNotIndex{\PackageError,\PackageWarningNoLine,\par,\parbox,\parindent}
117 %\DoNotIndex{\ProvidesPackage,\refstepcounter,\relax,\renewcommand}
118 %\DoNotIndex{\reserved@a,\reserved@b,\reserved@c,\roman,\scshape,\setlength}
119 %\DoNotIndex{\space,\stepcounter,\textwidth,\unskip,\value,\vskip,\vspace,\z@}
120 %\DoNotIndex{\@centercr,\@ifundefined,\addcontentsline,\addvspace,\DeclareOption}
121 %\DoNotIndex{\endcsname,\if@openright,\secdef,\setcounter,\providecommand,\ProcessOptions}
122 %\DoNotIndex{\parskip,\PackageWarning,\@ifpackageloaded,\clearpage,\cleardoublepage,\em}
123 %\DoNotIndex{\global,\ht,\left,\leftmargini,\newsavebox,\raggedright,\right,\Roman,\rule}
124 %\DoNotIndex{\tbox,\usebox,\xdef,\@undefined,\c@secnumdepth,\endlist,\list,\m@ne,\newdimen}
125 %\DoNotIndex{\parsep,\thispagestyle}
126 %\expandafter\DoNotIndex\expandafter{\string\}}
127 % \begingroup
128 % \makeatletter
129 % \lccode`9=32\relax
130 % \lowercase{%^^A
131 % \edef\x{\noexpand\DoNotIndex{\@backslashchar9}}%^^A
132 % }%^^A
133 % \expandafter\endgroup\x%
134 %\title{The \Filename{dramatist} package\thanks{This file has version
135 %number \fileversion{} dated \filedate{}.} \\User Guide}
136 %\author{Massimiliano Dominici\\\texttt{[email protected]}}
137 %\date{\filedate}
138 %\maketitle
139 %
140 %\begin{abstract}
141 %The present package provides support for drama both in verse and
142 %in prose. The following facilities are given: two environments for
143 %typesetting dialogues in prose or in verse; new document divisions
144 %corresponding to acts and scenes; macros that control the
145 %appearance of characters and stage directions; and automatical
146 %generation of a \emph{dramatis person\ae} list.
147 %\end{abstract}
148 %
149 %\tableofcontents
150 %
151 %\section{Introduction}
152 %
153 %The edition of a drama requires special treatment for many
154 %typographical elements. The purpose of the present package is that
155 %of providing full support for these specialities. So, besides the
156 %standard document divisions, new ones are introduced reflecting
157 %the peculiar nature of the document itself; environments are
158 %provided for introducing dialogues, and a set of macros is placed
159 %at the user's disposal to handle characters, automatically
160 %generate a \emph{dramatis person\ae} list, and control the
161 %appearance of stage directions. All these features I have tried to
162 %make fully customizable, with the idea that typographical
163 %conventions are hints rather than laws, and the fully conscious
164 %user should be enabled to override them.
165 %
166 %The decision to write a package rather than a class is due to
167 %similar considerations about user's freedom. The package strictly
168 %provides what is meant in his name and doesn't involve itself in
169 %the layout design of the document. This task is left to the class
170 %chosen by the user. In particular, the package does not provide
171 %explicit support for text in verse, though it provides support for
172 %those features that are peculiar to a \emph{drama} in verse.
173 %However, \pkgname{dramatist} is integrated with the main packages
174 %dealing with verse (such as \pkgname{verse} or
175 %\pkgname{poemscol}), so that the user can, for instance, use line
176 %numbering defined by one of the aforesaid packages in a meaningful
177 %way inside a \envname{drama*} environment.
178 %
179 %\section{User interface}
180 %
181 %\subsection{Package Options}
182 %\DescribeOpt{lnpa}\DescribeOpt{lnps} The package provides two
183 %options, both concerning line numbering in verse drama. By default
184 %none of the options is used and the counter holding the line
185 %number is not reset throughout the document. If you like it better
186 %you can choose line numbering per act or per scene issuing one of
187 %the options, namely: |lnpa| or |lnps|. Issuing the options when
188 %typesetting a play in prose, has no effect on the document, but a
189 %package warning is typed in the |log| file every time a |drama|
190 %environment is called.
191 %
192 %\subsection{The \envname{drama} environment}
193 %
194 %The |drama| environment is the heart of the package. Two versions,
195 %of this environment, are provided: the normal version, used for
196 %typesetting dramas in prose, and the starred version
197 %(\envname{drama*}) for typesetting dramas in verse.
198 %\DescribeEnv{drama} The unstarred form arranges the items given by
199 %the macros for defining characters (see Section~\ref{sec:cdc}) in
200 %a sort of description-like environment -- but the parameters can
201 %be managed and adjusted to get every kind of list the user
202 %desires. These are the hooks provided for customizing the look of
203 %the environment\footnote{For this parametrization of the
204 %\envname{drama} environment I'm in debt with Christian Ebert.}:
205 %\begin{description}
206 % \item[\cs{speakswidth}] is the width of the label in which the
207 % name of the character is printed;
208 % \item[\cs{speaksindent}] is the indentation of that label;
209 % \item[\cs{Dlabelsep}] is the space between the label and the
210 % text;
211 % \item[\cs{Dparsep}] is the space between paragraphs inside the
212 % dialogue;
213 % \item[\cs{speechskip}] is the space between two subsequent
214 % speeches.
215 %\end{description}
216 %You can see default settings for these macros in
217 %Table~\ref{tab:drama}. A conditional expression checks the
218 %eventual presence of a line numbering option, in which case a
219 %warning is sent to the user in the |log| file about the
220 %meaninglessness of the option.
221 %
222 %\begin{table}
223 %\begin{center}
224 %\DeleteShortVerb{\|}
225 %\begin{tabular}{|c|c|}
226 %\hline
227 % \textbf{Commands} & \textbf{Default settings} \\
228 %\hline
229 %\hline
230 % \verb+\speakswidth+ & \verb+\z@+ \\
231 %\hline
232 % \verb+\speaksindent+ & \verb+-\leftmargin+ \\
233 %\hline
234 % \verb+\speechskip+ & \verb+\itemsep+ \\
235 %\hline
236 % \verb+\Dparsep+ & \verb+\z@+ \\
237 %\hline
238 % \verb+\Dlabelsep+ & \verb+\labelsep+ \\
239 %\hline
240 %\end{tabular}
241 %\caption{Sectioning commands}\label{tab:drama}
242 %\end{center}
243 %\end{table}
244 %\MakeShortVerb{\|}
245 %
246 %\DescribeEnv{drama*} The starred form switches to |\@drversetrue|
247 %(this is used by the commands that define characters -- see
248 %Section~\ref{sec:cdc}), calls the \envname{verse} environment --
249 %or the \envname{poem} environment if \pkgname{poemscol} package
250 %has been loaded: this is automatically recognized by the package
251 %and needs no additional option --, and, if |\poemlines| is
252 %defined\footnote{This is provided by the \clsname{memoir}
253 %\cite{mem} class and the \pkgname{verse} \cite{ver} package for
254 %line numbering purpose.}, the value of the |poemline| counter is
255 %restored at the beginning and saved at the end of the environment
256 %(this is needed because, by default, the aforesaid counter is
257 %reset to 1 every time the \envname{verse} environment is called).
258 %In case \pkgname{poemscol} has been loaded, the same operations
259 %are performed for counters \textsf{linenumber} and
260 %\textsf{printlineindex}.
261 %
262 %\subsection{Sectioning Commands}
263 %
264 %The package provides two series of commands in order to get a
265 %proper sectioning of the text: a \emph{lowercase} series and an
266 %\emph{uppercase} series. The difference between them is that the
267 %\emph{lowercase} form takes no mandatory argument and can be used
268 %absolutely, while the \emph{uppercase} form take one mandatory
269 %argument and should be used only when a title is specified as a
270 %part of the act/scene heading. I chose to introduce this peculiar
271 %form of sectioning commands without argument (and as the default
272 %one) because I think that in most cases the user only wants to get
273 %something like \emph{Act I} and should not bore himself issuing a
274 %pair of curly braces.
275 %
276 %So \DescribeMacro{\act}|\act| and \DescribeMacro{\scene}|\scene|
277 %print by default only the act or scene name (e.g.: Act) and its
278 %ordinal number. They (and |\DramPer| also) may take an optional
279 %argument: this feature is useful for inserting footnotes or
280 %endnotes in the act/scene headings, but causes an undesirable
281 %consequence: the user should issue a blank line after each of
282 %these commands when used without argument (two blank lines for
283 %|\DramPer| followed by a void |\scene|).
284 %
285 %\DescribeMacro{\Act}|\Act| and \DescribeMacro{\Scene}|\Scene| take
286 %as mandatory argument the title of the act or of the scene. An
287 %optional argument has the same meaning as for standard sectioning
288 %commands (|\chapter|, |\section|, etc.). The title is printed by means
289 %of |\printacttitle| or |\printscenetitle|.
290 %
291 %Each command is fully customizable, in the style of Peter Wilson's
292 %|memoir| class (see for the documentation \cite{mem}), via
293 %commands like \DescribeMacro{\printactname}|\printactname| or
294 %\DescribeMacro{\printactnum}|\printactnum|. These commands can be
295 %redefined by the user according with his own desire. Table
296 %\ref{tab:com} shows the commands and their default settings.
297 %
298 %\begin{table}
299 %\begin{center}
300 %\DeleteShortVerb{\|}
301 %\begin{tabular}{|c|c|}
302 %\hline
303 % \textbf{Commands} & \textbf{Default settings} \\
304 %\hline
305 %\hline
306 % \verb+\printactname+ & \verb+\centering\actnamefont \actname+ \\
307 %\hline
308 % \verb+\printactnum+ & \verb+\actnumfont \theact+ \\
309 %\hline
310 % \verb+\printacttitle+ & \verb+\acttitlefont #1+ \\
311 %\hline
312 % \verb+\actname+ & Act \\
313 %\hline
314 % \verb+\actnamefont+ & \verb+\scshape\Large+ \\
315 %\hline
316 % \verb+\actnumfont+ & \verb+\actnamefont+ \\
317 %\hline
318 % \verb+\acttitlefont+ & \verb+\actnamefont+ \\
319 %\hline
320 % \verb+\theact+ & \verb+\roman{act}+ \\
321 %\hline
322 % \verb+\actcontentsline+ & \verb+\actname\ \theact+ \\
323 %\hline
324 % \verb+\printscenename+ & \verb+\centering\scenenamefont \scenename+ \\
325 %\hline
326 % \verb+\printscenenum+ & \verb+\scenenumfont \theact\intersep\thescene+ \\
327 %\hline
328 % \verb+\printscenetitle+ & \verb+\scenetitlefont #1+ \\
329 %\hline
330 % \verb+\scenenamefont+ & \verb+\scshape\large+ \\
331 %\hline
332 % \verb+\scenenumfont+ & \verb+\scenenamefont+ \\
333 %\hline
334 % \verb+\scenetitlefont+ & \verb+\scenenamefont+ \\
335 %\hline
336 % \verb+\scenename+ & Scene \\
337 %\hline
338 % \verb+\thescene+ & \verb+\roman{scene}+ \\
339 %\hline
340 %\verb+\scenecontentsline+ & \verb+\scenename\ \thescene+ \\
341 %\hline
342 % \verb+\printsep+ & \verb*+\ + \\
343 %\hline
344 % \verb+\intersep+ & \verb*+\ --\ + \\
345 %\hline
346 %\end{tabular}
347 %\caption{Sectioning commands}\label{tab:com}
348 %\end{center}
349 %\end{table}
350 %\MakeShortVerb{\|}
351 %
352 %\DescribeMacro{\actmark}|\actmark| and \DescribeMacro{\scenemark}
353 %|\scenemark|, defined by default to do nothing, can be useful for
354 %printing marks in the headers, and have the same meaning of
355 %|\chaptermark| and |\sectionmark| in the standard classes.
356 %
357 %A starred version also is provided for |\Act|, |\act|, |\Scene|
358 %and |\scene|. As in standard classes the starred form does not
359 %make an entry for the table of contents, and does not print the
360 %section mark in the headers.
361 %
362 %\subsection{Defining characters\label{sec:cdc}}
363 %
364 %The introduction of a new character is made by the command
365 %\DescribeMacro{\Character} |\Character|. It takes three arguments:
366 %the first, optional\footnote{The argument, mandatory until version
367 %1.1, has been made optional by suggestion of Christian Ebert in
368 %version 1.2. This avoids issuing a \cs{Character} command with a
369 %dummy first argument \emph{after} \cs{DramPer} when you need a
370 %character not appearing in the \emph{Dramatis Person\ae} list.},
371 %is the entry for the list of \emph{Dramatis Person\ae}, the second
372 %is the name appearing in the text and the third is the base for
373 %the construction of the commands typesetting the occurrence of
374 %that name in the stage direction and as a speaker. Shortly, if
375 %\meta{name} is given as third argument, the macro will return the
376 %following commands: \verb|\|\meta{name} is used in stage
377 %direction, \verb|\|\meta{name}|speaks| is used as speaker.
378 %
379 %The first argument, when present, is passed to the macro
380 %\DescribeMacro{\DramPer}|\DramPer|, printing the list of
381 %\emph{Dramatis Person\ae}. The parameters of this macro are also
382 %customizable; the list of default settings can be seen in
383 %Table~\ref{tab:char}. Other parameters related to the
384 %customization of \verb|\|\meta{name} and
385 %\verb|\|\meta{name}|speaks| commands are added.
386 %
387 %You can also use a \DescribeMacro{\speaker}
388 %|\speaker{|\meta{name}|}| command in the place you want the
389 %character with name \meta{name} to appear (in this case no command
390 %is defined to print the name of the character inside a stage
391 %direction).
392 %
393 %\subsubsection{Grouped characters}
394 %
395 %Characters, in the \emph{Dramatis Person\ae} list, may need to be
396 %grouped under a common denomination\footnote{Thanks to Christian
397 %Ebert for having submitted the problem to my attention.}. For this
398 %occurrence the package provides an environment,
399 %\DescribeMacro{CharacterGroup} \envname{CharacterGroup}, taking,
400 %as mandatory argument the denomination common to each character
401 %belonging to the current group. Inside this environment the
402 %characters have to be defined by \DescribeMacro{\GCharacter}
403 %|\GCharacter| whose syntax is the same of |\Character|, except
404 %that the first argument is here, obviously, mandatory. The result
405 %will be that the characters will be grouped by a big parentheses
406 %on whose right will be printed, centered, the common denomination.
407 %The user can define the amount of space reserved to the characters
408 %names, the parentheses and the common denomination by means of
409 %\DescribeMacro{\CharWidth} |\CharWidth|,
410 %\DescribeMacro{\ParenWidth} |\ParenWidth| and
411 %\DescribeMacro{\GroupWidth} |\GroupWidth|.
412 %
413 %\bigskip
414 %
415 %The commands appearing in this section (especially |\DramPer| and
416 %|\Character|, i.e. the most crucial part of the whole work) have
417 %been inspired by Matt Swift's package |drama|.
418 %
419 %\begin{table}
420 %\begin{center}
421 %\DeleteShortVerb{\|}
422 %\begin{tabular}{|c|c|}
423 %\hline
424 % \textbf{Commands} & \textbf{Default settings} \\
425 %\hline
426 %\hline
427 % \verb+\printcasttitle+ & \verb+\centering\casttitlefont \casttitlename+ \\
428 %\hline
429 % \verb+\casttitlefont+ & \verb+\Large\scshape+ \\
430 %\hline
431 % \verb+\casttitlename+ & Dramatis Person\ae \\
432 %\hline
433 % \verb+\castfont+ & \verb+\normalfont+ \\
434 %\hline
435 % \verb+\namefont+ & \verb+\scshape+ \\
436 %\hline
437 % \verb+\speaksfont+ & \verb+\scshape+ \\
438 %\hline
439 % \verb+\speaksdel+ & \\
440 %\hline
441 %\end{tabular}
442 %\caption{Parameters for characters commands}\label{tab:char}
443 %\end{center}
444 %\end{table}
445 %\MakeShortVerb{\|}
446 %
447 %\subsection{Stage direction}
448 %
449 %Two commands are provided for printing stage directions: the
450 %first, \DescribeMacro{\StageDir}|\StageDir| is used for the very
451 %setting of the stage and calls a |quote| environment. The second,
452 %\DescribeMacro{\direct} is used for specifications in the middle
453 %of the speaker's text. In connection with the |verse| environment
454 %a starred version exists also to be used at the end of a
455 %stanza\DescribeMacro{\direct*}\footnote{This works only with the
456 %|verse| environment provided by the |verse| package and by the
457 %|memoir| class. You can use the normal, not starred version of the
458 %command with the standard |verse| environment}. A
459 %\DescribeEnv{stagedir} |stagedir| environment is finally provided
460 %for extremely long stage directions: it differs in nothing from
461 %his command version.
462 %
463 %|\StageDir| and the |stagedir| environment can be customized by
464 %means of \DescribeMacro{\StageDirConf} |\StageDirConf|. The
465 %command takes two arguments related to the code to be executed at
466 %the beginning and at the end of |\StageDir| or |stagedir|.
467 %
468 %\subsection{Local configuration file}
469 %
470 %As my chief aim has been the one of giving the user the support
471 %for a complete customization of the provided commands, I have
472 %taken under consideration the case of a stable local configuration
473 %set up by the user. So I introduced the possibility of reading a
474 %set of user definitions from a local configuration file called
475 %\marginpar{\raggedleft\small |dramatist.cfg|}|dramatist.cfg|. You
476 %must create this file, if you need it, and place it in a suitable
477 %directory (either the working directory or the package directory);
478 %if you don't need it, no problem: the package will merely print in
479 %your log file a message claiming the absence of such a file, but
480 %nor interruptions neither error will take place.
481 %
482 %\subsection{Acknowledgements}
483 %
484 %I must acknowledge a debt of inspiration toward both Peter
485 %Wilson's all purpose class package |memoir| and Matt Swift's
486 %|drama|. While the former inspired me with a peculiar care toward
487 %complete customization, the latter was the formal model and the
488 %source of solution for many among the problems which arose in the
489 %proceeding of the code writing. I highly recommend the use of the
490 %class |memoir| and the study of Matt Swift's ambitious bundle
491 %|Frankenstein| (but I hope you want use |dramatist| package instead!).
492 %
493 %I also wish to thank Christian Ebert, whose suggestions have been
494 %so useful to me in solving -- and often in merely recognizing --
495 %many problems, and whose help and stimulating conversation is at
496 %the basis of the present (v1.2) revision of the package.
497 %
498 %\subsection{Known bugs}
499 %
500 %The user should issue an empty line after |\act| or |\scene| and
501 %\emph{two} empty lines after |\DramPer| (especially when it's
502 %followed by |\scene| used without argument).
503 %
504 %Using option |lnpa| or |lnps| together whith package
505 %\pkgname{hyperref} causes a long series of warning to be typed in
506 %the |log| file. This is due, I think, because \pkgname{hyperref}
507 %finds duplicates of the same entry every time the \envname{drama*}
508 %environment resets the |poemline| counter. However, there are no
509 %effects on the document, because the counter itself is by no way
510 %used by \pkgname{hyperref}.
511 %
512 %If you encounter new bugs, or have suggestions about the solution
513 %of the known ones, please send me a mail to this address:
514 %\texttt{[email protected].}
515 %
516 %\section{Code}
517 %
518 %\subsection{Package identification}
519 %
520 % \begin{macrocode}
521 %<*dramatist>
522 \ProvidesPackage{dramatist}[2014/12/18 v1.2e Package for typesetting drama -- Author: Massimiliano Dominici]
523 \NeedsTeXFormat{LaTeX2e}
524 \RequirePackage{xspace}
525 % \end{macrocode}
526 %\subsection{Conditionals, options and counters}
527 %The following line checks wether a class defining |\if@openright|
528 %has been loaded; if not, it defines that conditional expression.
529 % \begin{macrocode}
530 \@ifundefined{if@openright}{\newif\if@openright}{}
531 \newif\if@drverse
532 % \end{macrocode}
533 %The following lines provide support for the \pkgname{poemscol}
534 %package.
535 % \begin{macrocode}
536 \newif\if@poemscol
537 \@ifpackageloaded{poemscol}{\@poemscoltrue}{\@poemscolfalse}
538 % \end{macrocode}
539 %The conditional |\if@stagedir| is switched to true at the end of a
540 %stage direction.
541 % \begin{macrocode}
542 \newif\if@stagedir
543 % \end{macrocode}
544 %The two options for line numbering are defined to switch to true a
545 %conditional expression.
546 % \begin{macrocode}
547 \newif\if@lnpa
548 \newif\if@lnps
549 \newif\if@lnpd
550 \DeclareOption{lnpa}{\@lnpatrue}
551 \DeclareOption{lnps}{\@lnpstrue}
552 \ProcessOptions
553 % \end{macrocode}
554 %This is needed for saving and restoring the value of the
555 %|poemline| counter in the case it is defined and used.
556 % \begin{macrocode}
557 \newcounter{storelineno}
558 \setcounter{storelineno}{0}
559 \if@poemscol\else
560 \refstepcounter{storelineno}\fi
561 \newcounter{storeprintlineindex}
562 % \end{macrocode}
563 % \begin{macrocode}
564 \newcounter{character}
565 \newcounter{temp}
566 \newcounter{gtemp}
567 \newcounter{act}
568 \newcounter{scene}[act]
569 \renewcommand{\theact}{\roman{act}}
570 \renewcommand{\thescene}{\roman{scene}}
571 % \end{macrocode}
572 %\subsection{Environments}
573 %\begin{macro}{drama}
574 %\changes{v1.2}{2004/05/10}{Added hooks for customization.}
575 %The unstarred version of the |drama| environment defines a list
576 %with negative item indentation and whose label is the speaker's
577 %name. A previous check is made for an option and, in the case it
578 %has been issued, a warning is typed out to the |log| file. Hooks
579 %for user customization are provided: \DescribeMacro{\speakswidth}
580 %|\speakswidth| is the width of a label in which the name of the
581 %character is printed; \DescribeMacro{\speaksindent}|\speaksindent|
582 %is the indentation of the same label;
583 %\DescribeMacro{\Dlabelsep}|\Dlabelsep| is the space between this
584 %label and the text of the dialogue;
585 %\DescribeMacro{\Dparsep}|\Dparsep| controls the space between
586 %paragraphs inside the
587 %dialogue;\DescribeMacro{\speechskip}|\speechskip| controls the
588 %space between two subsequent
589 %speeches.\DescribeMacro{\speakslabel}|\speakslabel| formats the
590 %appearance of the name of the character.
591 % \begin{macrocode}
592 \newenvironment{drama}{%
593 \if@lnpa
594 \PackageWarning{dramatist}{\lnpwarning{a}}
595 \fi
596 \if@lnps
597 \PackageWarning{dramatist}{\lnpwarning{s}}
598 \fi
599 \list{}{%
600 \labelwidth\speakswidth
601 \itemindent\speaksindent
602 \itemsep\speechskip
603 \parsep\Dparsep
604 \labelsep\Dlabelsep
605 \let\makelabel\speakslabel}
606 } {\endlist}
607 % \end{macrocode}
608 %\end{macro}
609 %\begin{macro}{drama*}
610 %\changes{v1.1}{2004/01/19}{Environment \envname{drama*} has been
611 %completely restyled. Now, it automatically calls environment
612 %\envname{verse}.}
613 %\changes{v1.2}{2004/05/10}{Added support for \pkgname{poemscol}.}
614 %The starred version calls the \envname{verse} environment (or the
615 %\envname{poem} environment if \pkgname{poemscol} is loaded), after
616 %switching to |\@drversetrue|, controls line numbering, if any,
617 %and, after closing \envname{verse}, restores |\@drversefalse|.
618 % \begin{macrocode}
619 \@namedef{drama*}{%
620 \@drversetrue
621 \if@poemscol
622 \begin{poem}
623 \setcounter{verselinenumber}{\value{storelineno}}
624 \setcounter{printlineindex}{\value{storeprintlineindex}}
625 \else
626 \begin{verse}
627 \fi
628 \ifx\poemlines\@undefined\else
629 \setcounter{poemline}{\value{storelineno}}
630 \fi}
631 \@namedef{enddrama*}{%
632 \ifx\poemlines\@undefined\else
633 \setcounter{storelineno}{\value{poemline}}
634 \fi
635 \if@poemscol
636 \end{poem}
637 \setcounter{storelineno}{\value{verselinenumber}}
638 \setcounter{storeprintlineindex}{\value{printlineindex}}
639 \else
640 \end{verse}
641 \fi
642 \@drversefalse}
643 % \end{macrocode}
644 %\end{macro}
645 %\subsection{Sectioning commands}
646 %
647 %The sectioning commands |\act| and |\scene| have been made wholly
648 %customizable via |\m@ke@cthead| and |\m@kescenehead| just like the
649 %sectioning commands of |memoir| class (see \cite{mem} for further
650 %details).
651 %
652 %|\phantomsection| is needed for compatibility with the
653 %\envname{hyperref} package. It is defined to do nothing when
654 %\envname{hyperref} is not loaded.
655 % \begin{macrocode}
656 \providecommand\phantomsection{}
657 \newcommand\actmark[1]{}
658 \newcommand\scenemark[1]{}
659 \newcommand\drampermark[1]{}
660 % \end{macrocode}
661 %\begin{macro}{\@openact}
662 %|\@openact| must check if a class defining |\if@openright| has
663 %been loaded. In this case it provides an if statement to control
664 %switching between \textsf{openany} and \textsf{openright}
665 %behaviour. By default, the option loaded with the class is
666 %inherited. If the class loaded behaves like \clsname{article} only
667 %the \textsf{openany} option is allowed. According to the option
668 %loaded for line numbering, |\@openact| performs the needed
669 %operations.
670 % \begin{macrocode}
671 \newcommand\@openact{%
672 \@ifundefined{if@openright}{\clearpage}{%
673 \if@openright
674 \clearpage{\thispagestyle{empty}\cleardoublepage}
675 \else
676 \clearpage
677 \fi}
678 \thispagestyle{plain}
679 \refstepcounter{act}
680 \if@lnpa
681 \setcounter{storelineno}{0}
682 \if@poemscol
683 \setcounter{storeprintlineindex}{0}
684 \else
685 \refstepcounter{storelineno}
686 \fi
687 \fi
688 }
689 % \end{macrocode}
690 %\end{macro}
691 %\begin{macro}{\act}
692 %\changes{v1.1}{2004/01/19}{\cs{act} is now defined in a standard way
693 %and has an optional argument (to use for footnotes and the like).}
694 %\changes{v1.2}{2004/05/10}{Shared code moved to \cs{@openact}.}
695 %\changes{v1.2e}{2014/12/18}{Now \cs{act} actually uses \cs{actcontentsline}.}
696 %|\act| switches between |\@act| and |\@sact|; in the first case a
697 %line is added to the table of contents and an argument is assigned
698 %to |\actmark|. The actual task of printing the heading is left to
699 %|\m@ke@cthead|.
700 % \begin{macrocode}
701 \newcommand\act{%
702 \@openact
703 \secdef\@act\@sact}
704 \newcommand\@act[1][]{%
705 \phantomsection
706 \addcontentsline{toc}{chapter}{\actcontentsline}
707 \actmark{\actname\ \theact}
708 \m@ke@cthead{#1}
709 \@afterindentfalse
710 \@afterheading}
711 \newcommand\@sact[1][]{%
712 \m@ke@cthead{#1}
713 \@afterindentfalse
714 \@afterheading}
715 % \end{macrocode}
716 %\end{macro}
717 %\begin{macro}{\Act}
718 %\changes{v1.2}{2004/05/10}{Introduced macro \cs{Act} for sections
719 %with a title.}
720 %\changes{v1.2e}{2014/12/18}{Now \cs{Act} actually uses \cs{actcontentsline}.}
721 %|\Act| is defined in the standard way for sectioning commands. For
722 %its starred version relies upon |\@sact|
723 % \begin{macrocode}
724 \newcommand\Act{%
725 \@openact
726 \secdef\@Act\@sact}
727 \def\@Act[#1]#2{%
728 \phantomsection
729 \ifnum\c@secnumdepth>\m@ne
730 \addcontentsline{toc}{chapter}{\actcontentsline~#1}
731 \else
732 \addcontentsline{toc}{chapter}{#1}
733 \fi
734 \actmark{\actname\ \theact\ #1}
735 \m@ke@cthead{#2}
736 \@afterindentfalse
737 \@afterheading}
738 % \end{macrocode}
739 %\end{macro}
740 %\begin{macro}{\m@ke@cthead}
741 %|\m@ke@cthead| actually prints the headings.
742 % \begin{macrocode}
743 \newcommand\m@ke@cthead[1]{%
744 \actheadstart
745 {\parindent \z@
746 \ifnum\c@secnumdepth>\m@ne
747 \printactname \printsep \printactnum
748 \fi
749 \printacttitle{#1}
750 \afteract}
751 }
752 % \end{macrocode}
753 %\end{macro}
754 %\begin{macro}{\@openscene}
755 %According to the option loaded for line numbering, |\@openscene|
756 %performs the needed operations.
757 % \begin{macrocode}
758 \newcommand\@openscene{%
759 \stepcounter{scene}
760 \if@lnps
761 \setcounter{storelineno}{0}
762 \if@poemscol
763 \setcounter{storeprintlineindex}{0}
764 \else
765 \refstepcounter{storelineno}
766 \fi
767 \fi
768 }
769 % \end{macrocode}
770 %\end{macro}
771 %\begin{macro}{\scene}
772 %\changes{v1.1}{2004/01/19}{\cs{scene} is now defined in a standard
773 %way and has an optional argument (to use for footnotes and the
774 %like).}
775 %\changes{v1.2}{2004/05/10}{Shared code moved to \cs{@penscene}.}
776 %\changes{v1.2e}{2014/12/18}{Now \cs{scene} actually uses \cs{scenecontentsline}.}
777 %|\scene| switches between |\@scene| and |\@sscene|; in the first case a
778 %line is added to the table of contents and an argument is assigned
779 %to |\scenemark|. The actual task of printing the heading is left to
780 %|\m@kescenehead|.
781 % \begin{macrocode}
782 \newcommand\scene{%
783 \@openscene
784 \secdef\@scene\@sscene}
785 \newcommand\@scene[1][]{%
786 \phantomsection
787 \addcontentsline{toc}{section}{\scenecontentsline}
788 \scenemark{\scenename\ \thescene}
789 \m@kescenehead{#1}
790 \@afterindentfalse
791 \@afterheading}
792 \newcommand\@sscene[1][]{%
793 \m@kescenehead{#1}
794 \@afterindentfalse
795 \@afterheading}
796 % \end{macrocode}
797 %\end{macro}
798 %\begin{macro}{\Scene}
799 %\changes{v1.2}{2004/05/10}{Introduced macro \cs{Scene} for sections
800 %with a title.}
801 %\changes{v1.2e}{2014/12/18}{Now \cs{Scene} actually uses \cs{scenecontentsline}.}
802 %|\Scene| is defined in the standard way for sectioning commands. For
803 %its starred version relies upon |\@sscene|
804 % \begin{macrocode}
805 \newcommand\Scene{%
806 \@openscene
807 \secdef\@Scene\@sscene}
808 \def\@Scene[#1]#2{%
809 \phantomsection
810 \ifnum\c@secnumdepth>\z@
811 \addcontentsline{toc}{section}{\scenecontentsline~#1}
812 \else
813 \addcontentsline{toc}{section}{#1}
814 \fi
815 \scenemark{\scenename\ \thescene\ #1}
816 \m@kescenehead{#2}
817 \@afterindentfalse
818 \@afterheading}
819 % \end{macrocode}
820 %\end{macro}
821 %\begin{macro}{\m@kescenehead}
822 %|\m@kescenehead| actually prints the headings.
823 % \begin{macrocode}
824 \newcommand\m@kescenehead[1]{%
825 \sceneheadstart
826 {\parindent \z@
827 \ifnum\c@secnumdepth>\z@
828 \printscenename \printsep \printscenenum
829 \fi
830 \printscenetitle{#1}
831 \afterscene}
832 }
833 % \end{macrocode}
834 %\end{macro}
835 %\subsection{Defining characters}
836 %
837 %\begin{macro}{\Character}
838 %The macro |\Character| performs three different tasks. First,
839 %it creates, being \meta{name} the third argument, the command
840 %|\|\meta{name}, for use in stage directions; in order to achieve
841 %this task it uses |\@namedef| (see the latex source).
842 %
843 %In second place it creates a |\|\meta{name}|speaks| command, used
844 %for printing the speaker's name. It uses, for this purpose a
845 %|\n@me@ppend@nddef| macro which is similar to |\@namedef|. A
846 %conditional |\if@drverse| produces different formatting for the verse
847 %and the prose environment.
848 %
849 %Finally, in third place, if the first optional argument is given
850 %and |\@xcharacter| is called, it creates an internal command,
851 %still using |\n@me@ppend@nddef|, in the form
852 %|\persona|\meta{count}, where \meta{count} is a counter expressed
853 %in roman lowercase numerals increasing by one every time
854 %|\Character| is called. This family of commands is used by
855 %|\DramPer| when it prints the list of the characters.
856 %\changes{v1.2}{2004/05/10}{The first argument of \cs{Character} has
857 %been made optional so that documents printed with previous
858 %versions are not compatible with the present and the future
859 %versions.}
860 %\changes{v1.2}{2004/05/10}{Added hook for inserting a delimiter
861 %after the character's name: \cs{speakdel}.}
862 % \begin{macrocode}
863 \newcommand\Character{%
864 \@ifnextchar[{\@xcharacter}{\@character}}
865 \def\@xcharacter[#1]#2#3{%
866 \stepcounter{character}
867 \@character{#2}{#3}
868 \n@me@ppend@nddef{persona}{@\Roman{character}}{\castfont #1}
869 }
870 \def\@character#1#2{%
871 \@namedef{#2}{{\namefont #1}\xspace}
872 \n@me@ppend@nddef{#2}{\@ppendname}{%
873 \if@drverse
874 {\speakstab\speaksfont{#1}\speaksdel\par\nobreak\addvspace{-\parskip}}
875 \else
876 \item[#1\speaksdel]
877 \fi}
878 }
879 % \end{macrocode}
880 % \begin{macrocode}
881 \newcommand{\n@me@ppend@nddef}[2]{%
882 \expandafter\def\csname#1#2\endcsname}
883 \newcommand{\@ppendname}{speaks}
884 % \end{macrocode}
885 %\end{macro}
886 %\begin{macro}{CharacterGroup}
887 %\changes{v1.2}{2004/05/10}{Added environment for characters groups
888 %in the \emph{dramatis person\ae} list.}
889 %This environment is used for groups of characters in the
890 %\emph{Dramatis Person\ae} list. The main idea is that each group
891 %of characters should be treated as a single |\persona|\meta{count}
892 %when called by |\DramPer|, while inside it should behave like
893 %|\DramPer| itself -- in this case |\dogrouplist|, which is
894 %identical in structure. The main feature is that every instance of
895 %\envname{CharacterGroup} defines an internal counter whose name
896 %depends by another counter -- namely: \textsf{character} -- and
897 %this is used by the correspondent `call' to |\dogrouplist|.
898 % \begin{macrocode}
899 \newenvironment{CharacterGroup}[1]{%
900 \stepcounter{character}
901 \newcounter{g\Roman{character}}
902 \grouplist{#1}
903 }{}
904 % \end{macrocode}
905 %The name and the first specification of the characters, the big
906 %parentheses, and the common denomination are arranged in boxes
907 %whose length can be specified by the user by means of \emph{ad
908 %hoc} commands.
909 % \begin{macrocode}
910 \newsavebox{\tbox}
911 \newcommand\grouplist[1]{%
912 \global\n@me@ppend@nddef{persona}{@\Roman{character}}{%
913 \begin{lrbox}{\tbox}
914 \begin{minipage}[c]{\CharWidth}\raggedright
915 \leftmargini=0pt
916 \begin{list}{}{\itemsep=0pt}
917 \dogrouplist
918 \end{list}
919 \end{minipage}
920 \end{lrbox}
921 \parbox{\CharWidth}{\usebox{\tbox}}%
922 \parbox{\ParenWidth}{$\left.\rule{0pt}{\ht\tbox}\right\}$}
923 \parbox{\CastWidth}{\castfont #1\strut}}
924 }
925 % \end{macrocode}
926 % \begin{macrocode}
927 \newcommand{\dogrouplist}{%
928 \ifnum\value{g\Roman{temp}}>\value{gtemp}
929 \stepcounter{gtemp}
930 \item\@nameuse{gpersona@\Roman{temp}@\Roman{gtemp}}\strut
931 \dogrouplist
932 \fi
933 \setcounter{gtemp}{0}
934 }
935 % \end{macrocode}
936 %\end{macro}
937 %\begin{macro}{\GCharacter}
938 %\changes{v1.2}{2004/05/10}{Added macro for introducing a single
939 %character inside a group in the \emph{dramatist person\ae} list.}
940 %This is the version of |\Character| to be used inside a
941 %\envname{CharacterGroup} environment. In this case the first
942 %argument is, obviously, mandatory.
943 % \begin{macrocode}
944 \newcommand\GCharacter[3]{
945 \stepcounter{g\Roman{character}}
946 \global\@namedef{#3}{{\namefont #2}\xspace}
947 \global\n@me@ppend@nddef{#3}{\@ppendname}{%
948 \if@drverse
949 {\speakstab\speaksfont #2\speaksdel\par\nobreak\addvspace{-\parskip}}
950 \else
951 \item[#2\speaksdel]
952 \fi}
953 \global\n@me@ppend@nddef{gpersona@\Roman{character}}{%
954 @\Roman{g\Roman{character}}}{\castfont #1}
955 }
956 % \end{macrocode}
957 %\end{macro}
958 %\begin{macro}{\speaker}
959 %\changes{v1.1}{2004/01/19}{Command \cs{speaker} added.}
960 %This command is provided for defining characters which must not
961 %appear in the `Dramatis Person\ae' list and are not mentioned in
962 %stage directions.
963 % \begin{macrocode}
964 \newcommand\speaker[1]{%
965 \if@drverse
966 {\speakstab\speaksfont #1\speaksdel\par\nobreak\addvspace{-\parskip}}
967 \else
968 \item[#1\speaksdel]
969 \fi}
970 % \end{macrocode}
971 %\end{macro}
972 %\begin{macro}{\DramPer}
973 %\changes{v1.1}{2004/01/19}{\cs{DramPer} is now defined in a standard
974 %way and has an optional argument (to use for footnotes and the
975 %like).}
976 %The macro |\DramPer| prints in the list of \emph{Dramatis
977 %Person\ae} the characters previously defined by the first argument
978 %of |\Character|. This is done via the |\dodramperlist| macro,
979 %which recursively calls the |\persona|\meta{count} commands and
980 %put them in the list defined by |\DramPer|.
981 % \begin{macrocode}
982 \newcommand{\DramPer}{%
983 \@ifundefined{if@openright}{\clearpage}{%
984 \if@openright\cleardoublepage\else\clearpage\fi}
985 \secdef\@dramper\@sdramper}
986 % \end{macrocode}
987 % \begin{macrocode}
988 \newcommand\@dramper[1][]{%
989 \phantomsection
990 \addcontentsline{toc}{chapter}{\casttitlename}
991 \drampermark{\casttitlename}
992 \m@kedramperhead{#1}}
993 % \end{macrocode}
994 % \begin{macrocode}
995 \newcommand\@sdramper[1][]{%
996 \m@kedramperhead{#1}}
997 % \end{macrocode}
998 % \begin{macrocode}
999 \newcommand\m@kedramperhead[1]{
1000 \castheadstart
1001 {\printcasttitle #1
1002 \aftercasttitle}
1003 \begin{list}{}{\leftmargin=0pt \itemsep=0pt}
1004 \dodramperlist
1005 \end{list}
1006 }
1007 % \end{macrocode}
1008 % \begin{macrocode}
1009 \newcommand{\dodramperlist}{%
1010 \ifnum\value{character}>\value{temp}
1011 \stepcounter{temp}
1012 \item\@nameuse{persona@\Roman{temp}}\strut
1013 \dodramperlist
1014 \fi
1015 }
1016 % \end{macrocode}
1017 %\end{macro}
1018 %\subsection{Stage direction}
1019 %\begin{macro}{\direct}
1020 %In the prose environment |\direct| merely encloses its argument in
1021 %plain braces and emphasizes it; and has no starred version. In the
1022 %verse environment things are a little more complicated, a
1023 %|\parbox| is involved and I have to admit the result is not really
1024 %perfect -- yet I found no better solution. The starred version
1025 %must be used at the end of a stanza.
1026 %\changes{v1.2}{2004/05/10}{Parbox length made customizable.}
1027 % \begin{macrocode}
1028 \newcommand{\direct}{%
1029 \@ifstar\@sdirect\@direct}
1030 % \end{macrocode}
1031 % \begin{macrocode}
1032 \newcommand{\@direct}[1]{%
1033 \if@drverse
1034 \vskip2\normallineskip
1035 \parbox[b]{\dirwidth}{\dirdelimiter{{\itshape #1}}}\@centercr
1036 \else
1037 \dirdelimiter{{\itshape #1}}\unskip
1038 \fi
1039 }
1040 % \end{macrocode}
1041 % \begin{macrocode}
1042 \newcommand{\@sdirect}[1]{%
1043 \if@drverse
1044 \vskip2\normallineskip
1045 \parbox[b]{\dirwidth}{\dirdelimiter{\itshape #1}}\\!
1046 \else
1047 \starrederror
1048 \fi
1049 }
1050 % \end{macrocode}
1051 % \begin{macrocode}
1052 \newcommand{\dirdelimiter}[1]{(#1)}
1053 % \end{macrocode}
1054 %\end{macro}
1055 %\begin{macro}{\StageDir}
1056 %It's a very simple command |\StageDir|: it merely calls the
1057 %\envname{stagedir} environment. No more talking of it.
1058 % \begin{macrocode}
1059 \newcommand{\StageDir}[1]{%
1060 \begin{stagedir}
1061 #1
1062 \end{stagedir}
1063 }
1064 % \end{macrocode}
1065 %\end{macro}
1066 %\begin{macro}{stagedir}
1067 %The \envname{stagedir} environment calls by default the
1068 %\envname{quote} environment, but can be redefined by the user to
1069 %do everything by means of |\StageDirConf|. I use here |\em|
1070 %instead of |\emph| in order to avoid strange indentations --
1071 %thanks to Christian Ebert for having recognized and solved the
1072 %problem.
1073 % \begin{macrocode}
1074 \newenvironment{stagedir}{%
1075 \StageDirOpenSettings}{%
1076 \StageDirCloseSettings\global\@stagedirtrue}
1077 \newcommand\StageDirOpenSettings{\begin{quote}\em}
1078 \newcommand\StageDirCloseSettings{\end{quote}}
1079 % \end{macrocode}
1080 % \begin{macrocode}
1081 \newcommand\StageDirConf[2]{%
1082 \renewcommand\StageDirOpenSettings{#1}
1083 \renewcommand\StageDirCloseSettings{#2}
1084 }
1085 % \end{macrocode}
1086 %\end{macro}
1087 %\subsection{Configuration settings}
1088 % \begin{macrocode}
1089 \newcommand\actcontentsline{\actname\ \theact}
1090 \newcommand{\actnamefont}{\scshape\Large}
1091 \newcommand{\actnumfont}{\actnamefont}
1092 \newcommand{\acttitlefont}{\actnamefont}
1093 \newcommand{\actname}{Act}
1094 \newcommand{\printactname}{\centering\actnamefont \actname}
1095 \newcommand{\printactnum}{\actnumfont \theact}
1096 \newcommand{\printacttitle}[1]{\acttitlefont\ #1}
1097 \newcommand\scenecontentsline{\scenename\ \thescene}
1098 \newcommand{\scenenamefont}{\scshape\large}
1099 \newcommand{\scenenumfont}{\scenenamefont}
1100 \newcommand{\scenetitlefont}{\scenenamefont}
1101 \newcommand{\scenename}{Scene}
1102 \newcommand{\printscenename}{\centering\scenenamefont \scenename}
1103 \newcommand{\printscenenum}{\scenenumfont \theact\intersep\thescene}
1104 \newcommand{\printscenetitle}[1]{\scenetitlefont\ #1}
1105 \newcommand{\intersep}{\ --\ }
1106 \newcommand{\printsep}{\ }
1107 \newcommand{\printcasttitle}{\centering\casttitlefont \casttitlename}
1108 \newcommand{\casttitlefont}{\Large\scshape}
1109 \newcommand{\casttitlename}{Dramatis Person\ae}
1110 \newcommand{\castfont}{\normalfont}
1111 \newcommand{\namefont}{\scshape}
1112 \newcommand{\speaksfont}{\scshape}
1113 \newcommand{\speaksdel}{}
1114 \newlength{\CharWidth}
1115 \setlength{\CharWidth}{.3\textwidth}
1116 \newlength{\ParenWidth}
1117 \setlength{\ParenWidth}{.05\textwidth}
1118 \newlength{\CastWidth}
1119 \setlength{\CastWidth}{.6\textwidth}
1120 % \end{macrocode}
1121 % \begin{macrocode}
1122 \def\actheadstart{\vspace*{\beforeactskip}}
1123 \def\afteract{\par\nobreak\vskip\afteractskip}
1124 \def\sceneheadstart{\vspace*{\beforesceneskip}}
1125 \def\afterscene{\par\nobreak\vskip\aftersceneskip}
1126 \def\castheadstart{\vspace*{\beforecastskip}}
1127 \def\aftercasttitle{\par\nobreak\vskip\aftercasttitleskip}
1128 \newcommand{\speakstab}{\hspace{\speaksskip}}
1129 \newlength{\beforeactskip}
1130 \setlength{\beforeactskip}{\baselineskip}
1131 \newlength{\afteractskip}
1132 \setlength{\afteractskip}{\baselineskip}
1133 \newlength{\beforesceneskip}
1134 \setlength{\beforesceneskip}{0pt}
1135 \newlength{\aftersceneskip}
1136 \setlength{\aftersceneskip}{\baselineskip}
1137 \newlength{\beforecastskip}
1138 \setlength{\beforecastskip}{0pt}
1139 \newlength{\aftercasttitleskip}
1140 \setlength{\aftercasttitleskip}{0pt}
1141 \newlength{\speaksskip}
1142 \setlength{\speaksskip}{1em}
1143 \newlength{\dirwidth}
1144 \setlength{\dirwidth}{.6\textwidth}
1145 % \end{macrocode}
1146 %Default settings for the \envname{drama} environment.
1147 % \begin{macrocode}
1148 \newdimen\speakswidth
1149 \speakswidth\z@
1150 \newdimen\speaksindent
1151 \speaksindent=-\leftmargin
1152 \newdimen\speechskip
1153 \speechskip\itemsep
1154 \newdimen\Dparsep
1155 \Dparsep\z@
1156 \newdimen\Dlabelsep
1157 \Dlabelsep\labelsep
1158 \newcommand{\speakslabel}[1]{%
1159 \hspace\labelsep \speaksfont{#1}}
1160 % \end{macrocode}
1161 %\subsection{Error messages handling}
1162 % \begin{macrocode}
1163 \newcommand{\starrederror}{\PackageError{dramatist}{%
1164 The starred version of this command is not available under the
1165 option you have chosen}
1166 {You probably misspelled the command.^^J%
1167 Only the `verse' option supports a starred version of this
1168 command.}
1169 }
1170 \newcommand{\lnpwarning}[1]{The option `lnp#1' is meaningless outside the%
1171 `drama*' environment}
1172 \newcommand{\inputfilewarning}{\PackageWarningNoLine{dramatist}{^^J^^J%
1173 ********************************************************^^J%
1174 * No Configuration file found, using default settings. *^^J%
1175 ********************************************************^^J%
1176 }}
1177 \newcommand{\foundfile}{\PackageWarningNoLine{dramatist}{^^J^^J%
1178 *******************************************^^J%
1179 * Using Configuration file dramatist.cfg. *^^J%
1180 *******************************************^^J%
1181 }}
1182 % \end{macrocode}
1183 %\subsection{Local configuration file}
1184 %The following code inputs the local configuration file
1185 %|dramatist.cfg|.
1186 % \begin{macrocode}
1187 \InputIfFileExists{dramatist.cfg}{\foundfile}{\inputfilewarning}
1188 %</dramatist>
1189 % \end{macrocode}
1190 %
1191 %\appendix
1192 %In Appendix are given the terms under which the package and his documentation are released.
1193 %%\section{The GNU General Public License}
1194 %
1195 %\begin{center}
1196 %{\parindent 0in
1197 %
1198 %{\scshape The GNU General Public License}
1199 %
1200 %Version 2, June 1991
1201 %
1202 %Copyright \copyright\ 1989, 1991 Free Software Foundation, Inc.
1203 %
1204 %\bigskip
1205 %
1206 %59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
1207 %
1208 %\bigskip
1209 %
1210 %Everyone is permitted to copy and distribute verbatim copies of
1211 %this license document, but changing it is not allowed. }
1212 %\end{center}
1213 %
1214 %\begin{center}
1215 %{\bf\large Preamble}
1216 %\end{center}
1217 %
1218 %
1219 %The licenses for most software are designed to take away your
1220 %freedom to share and change it. By contrast, the GNU General
1221 %Public License is intended to guarantee your freedom to share and
1222 %change free software---to make sure the software is free for all
1223 %its users. This General Public License applies to most of the
1224 %Free Software Foundation's software and to any other program whose
1225 %authors commit to using it. (Some other Free Software Foundation
1226 %software is covered by the GNU Library General Public License
1227 %instead.) You can apply it to your programs, too.
1228 %
1229 %When we speak of free software, we are referring to freedom, not
1230 %price. Our General Public Licenses are designed to make sure that
1231 %you have the freedom to distribute copies of free software (and
1232 %charge for this service if you wish), that you receive source code
1233 %or can get it if you want it, that you can change the software or
1234 %use pieces of it in new free programs; and that you know you can
1235 %do these things.
1236 %
1237 %To protect your rights, we need to make restrictions that forbid
1238 %anyone to deny you these rights or to ask you to surrender the
1239 %rights. These restrictions translate to certain responsibilities
1240 %for you if you distribute copies of the software, or if you modify
1241 %it.
1242 %
1243 %For example, if you distribute copies of such a program, whether
1244 %gratis or for a fee, you must give the recipients all the rights
1245 %that you have. You must make sure that they, too, receive or can
1246 %get the source code. And you must show them these terms so they
1247 %know their rights.
1248 %
1249 %We protect your rights with two steps: (1) copyright the software,
1250 %and (2) offer you this license which gives you legal permission to
1251 %copy, distribute and/or modify the software.
1252 %
1253 %Also, for each author's protection and ours, we want to make
1254 %certain that everyone understands that there is no warranty for
1255 %this free software. If the software is modified by someone else
1256 %and passed on, we want its recipients to know that what they have
1257 %is not the original, so that any problems introduced by others
1258 %will not reflect on the original authors' reputations.
1259 %
1260 %Finally, any free program is threatened constantly by software
1261 %patents. We wish to avoid the danger that redistributors of a free
1262 %program will individually obtain patent licenses, in effect making
1263 %the program proprietary. To prevent this, we have made it clear
1264 %that any patent must be licensed for everyone's free use or not
1265 %licensed at all.
1266 %
1267 %The precise terms and conditions for copying, distribution and
1268 %modification follow.
1269 %
1270 %\begin{center}
1271 %{\Large \sc Terms and Conditions For Copying, Distribution and
1272 % Modification}
1273 %\end{center}
1274 %
1275 %
1276 %\begin{enumerate}
1277 %
1278 %\addtocounter{enumi}{-1}
1279 %
1280 %\item
1281 %This License applies to any program or other work which contains a
1282 %notice placed by the copyright holder saying it may be distributed
1283 %under the terms of this General Public License. The ``Program'',
1284 %below, refers to any such program or work, and a ``work based on
1285 %the Program'' means either the Program or any derivative work
1286 %under copyright law: that is to say, a work containing the Program
1287 %or a portion of it, either verbatim or with modifications and/or
1288 %translated into another language. (Hereinafter, translation is
1289 %included without limitation in the term ``modification''.) Each
1290 %licensee is addressed as ``you''.
1291 %
1292 %Activities other than copying, distribution and modification are
1293 %not covered by this License; they are outside its scope. The act
1294 %of running the Program is not restricted, and the output from the
1295 %Program is covered only if its contents constitute a work based on
1296 %the Program (independent of having been made by running the
1297 %Program). Whether that is true depends on what the Program does.
1298 %
1299 %\item You may copy and distribute verbatim copies of the Program's source
1300 % code as you receive it, in any medium, provided that you conspicuously
1301 % and appropriately publish on each copy an appropriate copyright notice
1302 % and disclaimer of warranty; keep intact all the notices that refer to
1303 % this License and to the absence of any warranty; and give any other
1304 % recipients of the Program a copy of this License along with the Program.
1305 %
1306 %You may charge a fee for the physical act of transferring a copy,
1307 %and you may at your option offer warranty protection in exchange
1308 %for a fee.
1309 %
1310 %\item
1311 %
1312 %You may modify your copy or copies of the Program or any portion
1313 %of it, thus forming a work based on the Program, and copy and
1314 %distribute such modifications or work under the terms of Section 1
1315 %above, provided that you also meet all of these conditions:
1316 %
1317 %\begin{enumerate}
1318 %
1319 %\item
1320 %
1321 %You must cause the modified files to carry prominent notices
1322 %stating that you changed the files and the date of any change.
1323 %
1324 %\item
1325 %
1326 %You must cause any work that you distribute or publish, that in
1327 %whole or in part contains or is derived from the Program or any
1328 %part thereof, to be licensed as a whole at no charge to all third
1329 %parties under the terms of this License.
1330 %
1331 %\item
1332 %If the modified program normally reads commands interactively when
1333 %run, you must cause it, when started running for such interactive
1334 %use in the most ordinary way, to print or display an announcement
1335 %including an appropriate copyright notice and a notice that there
1336 %is no warranty (or else, saying that you provide a warranty) and
1337 %that users may redistribute the program under these conditions,
1338 %and telling the user how to view a copy of this License.
1339 %(Exception: if the Program itself is interactive but does not
1340 %normally print such an announcement, your work based on the
1341 %Program is not required to print an announcement.)
1342 %
1343 %\end{enumerate}
1344 %
1345 %
1346 %These requirements apply to the modified work as a whole. If
1347 %identifiable sections of that work are not derived from the
1348 %Program, and can be reasonably considered independent and separate
1349 %works in themselves, then this License, and its terms, do not
1350 %apply to those sections when you distribute them as separate
1351 %works. But when you distribute the same sections as part of a
1352 %whole which is a work based on the Program, the distribution of
1353 %the whole must be on the terms of this License, whose permissions
1354 %for other licensees extend to the entire whole, and thus to each
1355 %and every part regardless of who wrote it.
1356 %
1357 %Thus, it is not the intent of this section to claim rights or
1358 %contest your rights to work written entirely by you; rather, the
1359 %intent is to exercise the right to control the distribution of
1360 %derivative or collective works based on the Program.
1361 %
1362 %In addition, mere aggregation of another work not based on the
1363 %Program with the Program (or with a work based on the Program) on
1364 %a volume of a storage or distribution medium does not bring the
1365 %other work under the scope of this License.
1366 %
1367 %\item
1368 %You may copy and distribute the Program (or a work based on it,
1369 %under Section 2) in object code or executable form under the terms
1370 %of Sections 1 and 2 above provided that you also do one of the
1371 %following:
1372 %
1373 %\begin{enumerate}
1374 %
1375 %\item
1376 %
1377 %Accompany it with the complete corresponding machine-readable
1378 %source code, which must be distributed under the terms of Sections
1379 %1 and 2 above on a medium customarily used for software
1380 %interchange; or,
1381 %
1382 %\item
1383 %
1384 %Accompany it with a written offer, valid for at least three years,
1385 %to give any third party, for a charge no more than your cost of
1386 %physically performing source distribution, a complete
1387 %machine-readable copy of the corresponding source code, to be
1388 %distributed under the terms of Sections 1 and 2 above on a medium
1389 %customarily used for software interchange; or,
1390 %
1391 %\item
1392 %
1393 %Accompany it with the information you received as to the offer to
1394 %distribute corresponding source code. (This alternative is
1395 %allowed only for noncommercial distribution and only if you
1396 %received the program in object code or executable form with such
1397 %an offer, in accord with Subsection b above.)
1398 %
1399 %\end{enumerate}
1400 %
1401 %
1402 %The source code for a work means the preferred form of the work
1403 %for making modifications to it. For an executable work, complete
1404 %source code means all the source code for all modules it contains,
1405 %plus any associated interface definition files, plus the scripts
1406 %used to control compilation and installation of the executable.
1407 %However, as a special exception, the source code distributed need
1408 %not include anything that is normally distributed (in either
1409 %source or binary form) with the major components (compiler,
1410 %kernel, and so on) of the operating system on which the executable
1411 %runs, unless that component itself accompanies the executable.
1412 %
1413 %If distribution of executable or object code is made by offering
1414 %access to copy from a designated place, then offering equivalent
1415 %access to copy the source code from the same place counts as
1416 %distribution of the source code, even though third parties are not
1417 %compelled to copy the source along with the object code.
1418 %
1419 %\item
1420 %You may not copy, modify, sublicense, or distribute the Program
1421 %except as expressly provided under this License. Any attempt
1422 %otherwise to copy, modify, sublicense or distribute the Program is
1423 %void, and will automatically terminate your rights under this
1424 %License. However, parties who have received copies, or rights,
1425 %from you under this License will not have their licenses
1426 %terminated so long as such parties remain in full compliance.
1427 %
1428 %\item
1429 %You are not required to accept this License, since you have not
1430 %signed it. However, nothing else grants you permission to modify
1431 %or distribute the Program or its derivative works. These actions
1432 %are prohibited by law if you do not accept this License.
1433 %Therefore, by modifying or distributing the Program (or any work
1434 %based on the Program), you indicate your acceptance of this
1435 %License to do so, and all its terms and conditions for copying,
1436 %distributing or modifying the Program or works based on it.
1437 %
1438 %\item
1439 %Each time you redistribute the Program (or any work based on the
1440 %Program), the recipient automatically receives a license from the
1441 %original licensor to copy, distribute or modify the Program
1442 %subject to these terms and conditions. You may not impose any
1443 %further restrictions on the recipients' exercise of the rights
1444 %granted herein. You are not responsible for enforcing compliance
1445 %by third parties to this License.
1446 %
1447 %\item
1448 %If, as a consequence of a court judgment or allegation of patent
1449 %infringement or for any other reason (not limited to patent
1450 %issues), conditions are imposed on you (whether by court order,
1451 %agreement or otherwise) that contradict the conditions of this
1452 %License, they do not excuse you from the conditions of this
1453 %License. If you cannot distribute so as to satisfy simultaneously
1454 %your obligations under this License and any other pertinent
1455 %obligations, then as a consequence you may not distribute the
1456 %Program at all. For example, if a patent license would not permit
1457 %royalty-free redistribution of the Program by all those who
1458 %receive copies directly or indirectly through you, then the only
1459 %way you could satisfy both it and this License would be to refrain
1460 %entirely from distribution of the Program.
1461 %
1462 %If any portion of this section is held invalid or unenforceable
1463 %under any particular circumstance, the balance of the section is
1464 %intended to apply and the section as a whole is intended to apply
1465 %in other circumstances.
1466 %
1467 %It is not the purpose of this section to induce you to infringe
1468 %any patents or other property right claims or to contest validity
1469 %of any such claims; this section has the sole purpose of
1470 %protecting the integrity of the free software distribution system,
1471 %which is implemented by public license practices. Many people
1472 %have made generous contributions to the wide range of software
1473 %distributed through that system in reliance on consistent
1474 %application of that system; it is up to the author/donor to decide
1475 %if he or she is willing to distribute software through any other
1476 %system and a licensee cannot impose that choice.
1477 %
1478 %This section is intended to make thoroughly clear what is believed
1479 %to be a consequence of the rest of this License.
1480 %
1481 %\item
1482 %If the distribution and/or use of the Program is restricted in
1483 %certain countries either by patents or by copyrighted interfaces,
1484 %the original copyright holder who places the Program under this
1485 %License may add an explicit geographical distribution limitation
1486 %excluding those countries, so that distribution is permitted only
1487 %in or among countries not thus excluded. In such case, this
1488 %License incorporates the limitation as if written in the body of
1489 %this License.
1490 %
1491 %\item
1492 %The Free Software Foundation may publish revised and/or new
1493 %versions of the General Public License from time to time. Such
1494 %new versions will be similar in spirit to the present version, but
1495 %may differ in detail to address new problems or concerns.
1496 %
1497 %Each version is given a distinguishing version number. If the
1498 %Program specifies a version number of this License which applies
1499 %to it and ``any later version'', you have the option of following
1500 %the terms and conditions either of that version or of any later
1501 %version published by the Free Software Foundation. If the Program
1502 %does not specify a version number of this License, you may choose
1503 %any version ever published by the Free Software Foundation.
1504 %
1505 %\item
1506 %If you wish to incorporate parts of the Program into other free
1507 %programs whose distribution conditions are different, write to the
1508 %author to ask for permission. For software which is copyrighted
1509 %by the Free Software Foundation, write to the Free Software
1510 %Foundation; we sometimes make exceptions for this. Our decision
1511 %will be guided by the two goals of preserving the free status of
1512 %all derivatives of our free software and of promoting the sharing
1513 %and reuse of software generally.
1514 %
1515 %\begin{center}
1516 %{\Large\sc No Warranty }
1517 %\end{center}
1518 %
1519 %\item
1520 %{\sc Because the program is licensed free of charge, there is no
1521 %warranty for the program, to the extent permitted by applicable
1522 %law. Except when otherwise stated in writing the copyright
1523 %holders and/or other parties provide the program ``as is'' without
1524 %warranty of any kind, either expressed or implied, including, but
1525 %not limited to, the implied warranties of merchantability and
1526 %fitness for a particular purpose. The entire risk as to the
1527 %quality and performance of the program is with you. Should the
1528 %program prove defective, you assume the cost of all necessary
1529 %servicing, repair or correction.}
1530 %
1531 %\item
1532 %{\sc In no event unless required by applicable law or agreed to in
1533 %writing will any copyright holder, or any other party who may
1534 %modify and/or redistribute the program as permitted above, be
1535 %liable to you for damages, including any general, special,
1536 %incidental or consequential damages arising out of the use or
1537 %inability to use the program (including but not limited to loss of
1538 %data or data being rendered inaccurate or losses sustained by you
1539 %or third parties or a failure of the program to operate with any
1540 %other programs), even if such holder or other party has been
1541 %advised of the possibility of such damages.}
1542 %
1543 %\end{enumerate}
1544 %
1545 %
1546 %\begin{center}
1547 %{\Large\sc End of Terms and Conditions}
1548 %\end{center}
1549 %
1550 %
1551 %\pagebreak[2]
1552 %
1553 %\subsection*{Appendix: How to Apply These Terms to Your New Programs}
1554 %
1555 %If you develop a new program, and you want it to be of the
1556 %greatest possible use to the public, the best way to achieve this
1557 %is to make it free software which everyone can redistribute and
1558 %change under these terms.
1559 %
1560 % To do so, attach the following notices to the program. It is safest to
1561 % attach them to the start of each source file to most effectively convey
1562 % the exclusion of warranty; and each file should have at least the
1563 % ``copyright'' line and a pointer to where the full notice is found.
1564 %
1565 %\begin{quote}
1566 %one line to give the program's name and a brief idea of what it does. \\
1567 %Copyright (C) yyyy name of author \\
1568 %
1569 %This program is free software; you can redistribute it and/or
1570 %modify it under the terms of the GNU General Public License as
1571 %published by the Free Software Foundation; either version 2 of the
1572 %License, or (at your option) any later version.
1573 %
1574 %This program is distributed in the hope that it will be useful,
1575 %but WITHOUT ANY WARRANTY; without even the implied warranty of
1576 %MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1577 %General Public License for more details.
1578 %
1579 %You should have received a copy of the GNU General Public License
1580 %along with this program; if not, write to the Free Software
1581 %Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1582 %02111-1307, USA.
1583 %\end{quote}
1584 %
1585 %Also add information on how to contact you by electronic and paper
1586 %mail.
1587 %
1588 %If the program is interactive, make it output a short notice like
1589 %this when it starts in an interactive mode:
1590 %
1591 %\begin{quote}
1592 %Gnomovision version 69, Copyright (C) yyyy name of author \\
1593 %Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. \\
1594 %This is free software, and you are welcome to redistribute it
1595 %under certain conditions; type `show c' for details.
1596 %\end{quote}
1597 %
1598 %
1599 %The hypothetical commands {\tt show w} and {\tt show c} should
1600 %show the appropriate parts of the General Public License. Of
1601 %course, the commands you use may be called something other than
1602 %{\tt show w} and {\tt show c}; they could even be mouse-clicks or
1603 %menu items---whatever suits your program.
1604 %
1605 %You should also get your employer (if you work as a programmer) or
1606 %your school, if any, to sign a ``copyright disclaimer'' for the
1607 %program, if necessary. Here is a sample; alter the names:
1608 %
1609 %\begin{quote}
1610 %Yoyodyne, Inc., hereby disclaims all copyright interest in the program \\
1611 %`Gnomovision' (which makes passes at compilers) written by James Hacker. \\
1612 %
1613 %signature of Ty Coon, 1 April 1989 \\
1614 %Ty Coon, President of Vice
1615 %\end{quote}
1616 %
1617 %
1618 %This General Public License does not permit incorporating your
1619 %program into proprietary programs. If your program is a
1620 %subroutine library, you may consider it more useful to permit
1621 %linking proprietary applications with the library. If this is
1622 %what you want to do, use the GNU Library General Public License
1623 %instead of this License.
1624 %
1625 %\section{GNU Free Documentation License}
1626 %
1627 %\begin{center}
1628 %
1629 %{\scshape GNU Free Documentation License}
1630 %
1631 %Version 1.2, November 2002
1632 %
1633 %Copyright \copyright 2000,2001,2002 Free Software Foundation, Inc.
1634 %
1635 %\bigskip
1636 %
1637 %59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1638 %
1639 %\bigskip
1640 %
1641 %Everyone is permitted to copy and distribute verbatim copies
1642 %of this license document, but changing it is not allowed.
1643 %\end{center}
1644 %
1645 %
1646 %\begin{center}
1647 %{\bf\large Preamble}
1648 %\end{center}
1649 %
1650 %The purpose of this License is to make a manual, textbook, or other
1651 %functional and useful document ``free'' in the sense of freedom: to
1652 %assure everyone the effective freedom to copy and redistribute it,
1653 %with or without modifying it, either commercially or noncommercially.
1654 %Secondarily, this License preserves for the author and publisher a way
1655 %to get credit for their work, while not being considered responsible
1656 %for modifications made by others.
1657 %
1658 %This License is a kind of ``copyleft'', which means that derivative
1659 %works of the document must themselves be free in the same sense. It
1660 %complements the GNU General Public License, which is a copyleft
1661 %license designed for free software.
1662 %
1663 %We have designed this License in order to use it for manuals for free
1664 %software, because free software needs free documentation: a free
1665 %program should come with manuals providing the same freedoms that the
1666 %software does. But this License is not limited to software manuals;
1667 %it can be used for any textual work, regardless of subject matter or
1668 %whether it is published as a printed book. We recommend this License
1669 %principally for works whose purpose is instruction or reference.
1670 %
1671 %\begin{center}
1672 %{\Large\bf 1. APPLICABILITY AND DEFINITIONS}
1673 %\end{center}
1674 %
1675 %This License applies to any manual or other work, in any medium, that
1676 %contains a notice placed by the copyright holder saying it can be
1677 %distributed under the terms of this License. Such a notice grants a
1678 %world-wide, royalty-free license, unlimited in duration, to use that
1679 %work under the conditions stated herein. The \textbf{``Document''}, below,
1680 %refers to any such manual or work. Any member of the public is a
1681 %licensee, and is addressed as \textbf{``you''}. You accept the license if you
1682 %copy, modify or distribute the work in a way requiring permission
1683 %under copyright law.
1684 %
1685 %A \textbf{``Modified Version''} of the Document means any work containing the
1686 %Document or a portion of it, either copied verbatim, or with
1687 %modifications and/or translated into another language.
1688 %
1689 %A \textbf{``Secondary Section''} is a named appendix or a front-matter section of
1690 %the Document that deals exclusively with the relationship of the
1691 %publishers or authors of the Document to the Document's overall subject
1692 %(or to related matters) and contains nothing that could fall directly
1693 %within that overall subject. (Thus, if the Document is in part a
1694 %textbook of mathematics, a Secondary Section may not explain any
1695 %mathematics.) The relationship could be a matter of historical
1696 %connection with the subject or with related matters, or of legal,
1697 %commercial, philosophical, ethical or political position regarding
1698 %them.
1699 %
1700 %The \textbf{``Invariant Sections''} are certain Secondary Sections whose titles
1701 %are designated, as being those of Invariant Sections, in the notice
1702 %that says that the Document is released under this License. If a
1703 %section does not fit the above definition of Secondary then it is not
1704 %allowed to be designated as Invariant. The Document may contain zero
1705 %Invariant Sections. If the Document does not identify any Invariant
1706 %Sections then there are none.
1707 %
1708 %The \textbf{``Cover Texts''} are certain short passages of text that are listed,
1709 %as Front-Cover Texts or Back-Cover Texts, in the notice that says that
1710 %the Document is released under this License. A Front-Cover Text may
1711 %be at most 5 words, and a Back-Cover Text may be at most 25 words.
1712 %
1713 %A \textbf{``Transparent''} copy of the Document means a machine-readable copy,
1714 %represented in a format whose specification is available to the
1715 %general public, that is suitable for revising the document
1716 %straightforwardly with generic text editors or (for images composed of
1717 %pixels) generic paint programs or (for drawings) some widely available
1718 %drawing editor, and that is suitable for input to text formatters or
1719 %for automatic translation to a variety of formats suitable for input
1720 %to text formatters. A copy made in an otherwise Transparent file
1721 %format whose markup, or absence of markup, has been arranged to thwart
1722 %or discourage subsequent modification by readers is not Transparent.
1723 %An image format is not Transparent if used for any substantial amount
1724 %of text. A copy that is not ``Transparent'' is called \textbf{``Opaque''}.
1725 %
1726 %Examples of suitable formats for Transparent copies include plain
1727 %ASCII without markup, Texinfo input format, LaTeX input format, SGML
1728 %or XML using a publicly available DTD, and standard-conforming simple
1729 %HTML, PostScript or PDF designed for human modification. Examples of
1730 %transparent image formats include PNG, XCF and JPG. Opaque formats
1731 %include proprietary formats that can be read and edited only by
1732 %proprietary word processors, SGML or XML for which the DTD and/or
1733 %processing tools are not generally available, and the
1734 %machine-generated HTML, PostScript or PDF produced by some word
1735 %processors for output purposes only.
1736 %
1737 %The \textbf{``Title Page''} means, for a printed book, the title page itself,
1738 %plus such following pages as are needed to hold, legibly, the material
1739 %this License requires to appear in the title page. For works in
1740 %formats which do not have any title page as such, ``Title Page'' means
1741 %the text near the most prominent appearance of the work's title,
1742 %preceding the beginning of the body of the text.
1743 %
1744 %A section \textbf{``Entitled XYZ''} means a named subunit of the Document whose
1745 %title either is precisely XYZ or contains XYZ in parentheses following
1746 %text that translates XYZ in another language. (Here XYZ stands for a
1747 %specific section name mentioned below, such as \textbf{``Acknowledgements''},
1748 %\textbf{``Dedications''}, \textbf{``Endorsements''}, or \textbf{``History''}.)
1749 %To \textbf{``Preserve the Title''}
1750 %of such a section when you modify the Document means that it remains a
1751 %section ``Entitled XYZ'' according to this definition.
1752 %
1753 %The Document may include Warranty Disclaimers next to the notice which
1754 %states that this License applies to the Document. These Warranty
1755 %Disclaimers are considered to be included by reference in this
1756 %License, but only as regards disclaiming warranties: any other
1757 %implication that these Warranty Disclaimers may have is void and has
1758 %no effect on the meaning of this License.
1759 %
1760 %\begin{center}
1761 %{\Large\bf 2. VERBATIM COPYING}
1762 %\end{center}
1763 %
1764 %You may copy and distribute the Document in any medium, either
1765 %commercially or noncommercially, provided that this License, the
1766 %copyright notices, and the license notice saying this License applies
1767 %to the Document are reproduced in all copies, and that you add no other
1768 %conditions whatsoever to those of this License. You may not use
1769 %technical measures to obstruct or control the reading or further
1770 %copying of the copies you make or distribute. However, you may accept
1771 %compensation in exchange for copies. If you distribute a large enough
1772 %number of copies you must also follow the conditions in section 3.
1773 %
1774 %You may also lend copies, under the same conditions stated above, and
1775 %you may publicly display copies.
1776 %
1777 %\begin{center}
1778 %{\Large\bf 3. COPYING IN QUANTITY}
1779 %\end{center}
1780 %
1781 %If you publish printed copies (or copies in media that commonly have
1782 %printed covers) of the Document, numbering more than 100, and the
1783 %Document's license notice requires Cover Texts, you must enclose the
1784 %copies in covers that carry, clearly and legibly, all these Cover
1785 %Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
1786 %the back cover. Both covers must also clearly and legibly identify
1787 %you as the publisher of these copies. The front cover must present
1788 %the full title with all words of the title equally prominent and
1789 %visible. You may add other material on the covers in addition.
1790 %Copying with changes limited to the covers, as long as they preserve
1791 %the title of the Document and satisfy these conditions, can be treated
1792 %as verbatim copying in other respects.
1793 %
1794 %If the required texts for either cover are too voluminous to fit
1795 %legibly, you should put the first ones listed (as many as fit
1796 %reasonably) on the actual cover, and continue the rest onto adjacent
1797 %pages.
1798 %
1799 %If you publish or distribute Opaque copies of the Document numbering
1800 %more than 100, you must either include a machine-readable Transparent
1801 %copy along with each Opaque copy, or state in or with each Opaque copy
1802 %a computer-network location from which the general network-using
1803 %public has access to download using public-standard network protocols
1804 %a complete Transparent copy of the Document, free of added material.
1805 %If you use the latter option, you must take reasonably prudent steps,
1806 %when you begin distribution of Opaque copies in quantity, to ensure
1807 %that this Transparent copy will remain thus accessible at the stated
1808 %location until at least one year after the last time you distribute an
1809 %Opaque copy (directly or through your agents or retailers) of that
1810 %edition to the public.
1811 %
1812 %It is requested, but not required, that you contact the authors of the
1813 %Document well before redistributing any large number of copies, to give
1814 %them a chance to provide you with an updated version of the Document.
1815 %
1816 %\begin{center}
1817 %{\Large\bf 4. MODIFICATIONS}
1818 %\end{center}
1819 %
1820 %You may copy and distribute a Modified Version of the Document under
1821 %the conditions of sections 2 and 3 above, provided that you release
1822 %the Modified Version under precisely this License, with the Modified
1823 %Version filling the role of the Document, thus licensing distribution
1824 %and modification of the Modified Version to whoever possesses a copy
1825 %of it. In addition, you must do these things in the Modified Version:
1826 %
1827 %\begin{itemize}
1828 %\item[A.]
1829 % Use in the Title Page (and on the covers, if any) a title distinct
1830 % from that of the Document, and from those of previous versions
1831 % (which should, if there were any, be listed in the History section
1832 % of the Document). You may use the same title as a previous version
1833 % if the original publisher of that version gives permission.
1834 %
1835 %\item[B.]
1836 % List on the Title Page, as authors, one or more persons or entities
1837 % responsible for authorship of the modifications in the Modified
1838 % Version, together with at least five of the principal authors of the
1839 % Document (all of its principal authors, if it has fewer than five),
1840 % unless they release you from this requirement.
1841 %
1842 %\item[C.]
1843 % State on the Title page the name of the publisher of the
1844 % Modified Version, as the publisher.
1845 %
1846 %\item[D.]
1847 % Preserve all the copyright notices of the Document.
1848 %
1849 %\item[E.]
1850 % Add an appropriate copyright notice for your modifications
1851 % adjacent to the other copyright notices.
1852 %
1853 %\item[F.]
1854 % Include, immediately after the copyright notices, a license notice
1855 % giving the public permission to use the Modified Version under the
1856 % terms of this License, in the form shown in the Addendum below.
1857 %
1858 %\item[G.]
1859 % Preserve in that license notice the full lists of Invariant Sections
1860 % and required Cover Texts given in the Document's license notice.
1861 %
1862 %\item[H.]
1863 % Include an unaltered copy of this License.
1864 %
1865 %\item[I.]
1866 % Preserve the section Entitled ``History'', Preserve its Title, and add
1867 % to it an item stating at least the title, year, new authors, and
1868 % publisher of the Modified Version as given on the Title Page. If
1869 % there is no section Entitled ``History'' in the Document, create one
1870 % stating the title, year, authors, and publisher of the Document as
1871 % given on its Title Page, then add an item describing the Modified
1872 % Version as stated in the previous sentence.
1873 %
1874 %\item[J.]
1875 % Preserve the network location, if any, given in the Document for
1876 % public access to a Transparent copy of the Document, and likewise
1877 % the network locations given in the Document for previous versions
1878 % it was based on. These may be placed in the ``History'' section.
1879 % You may omit a network location for a work that was published at
1880 % least four years before the Document itself, or if the original
1881 % publisher of the version it refers to gives permission.
1882 %
1883 %\item[K.]
1884 % For any section Entitled ``Acknowledgements'' or ``Dedications'',
1885 % Preserve the Title of the section, and preserve in the section all
1886 % the substance and tone of each of the contributor acknowledgements
1887 % and/or dedications given therein.
1888 %
1889 %\item[L.]
1890 % Preserve all the Invariant Sections of the Document,
1891 % unaltered in their text and in their titles. Section numbers
1892 % or the equivalent are not considered part of the section titles.
1893 %
1894 %\item[M.]
1895 % Delete any section Entitled ``Endorsements''. Such a section
1896 % may not be included in the Modified Version.
1897 %
1898 %\item[N.]
1899 % Do not retitle any existing section to be Entitled ``Endorsements''
1900 % or to conflict in title with any Invariant Section.
1901 %
1902 %\item[O.]
1903 % Preserve any Warranty Disclaimers.
1904 %\end{itemize}
1905 %
1906 %If the Modified Version includes new front-matter sections or
1907 %appendices that qualify as Secondary Sections and contain no material
1908 %copied from the Document, you may at your option designate some or all
1909 %of these sections as invariant. To do this, add their titles to the
1910 %list of Invariant Sections in the Modified Version's license notice.
1911 %These titles must be distinct from any other section titles.
1912 %
1913 %You may add a section Entitled ``Endorsements'', provided it contains
1914 %nothing but endorsements of your Modified Version by various
1915 %parties--for example, statements of peer review or that the text has
1916 %been approved by an organization as the authoritative definition of a
1917 %standard.
1918 %
1919 %You may add a passage of up to five words as a Front-Cover Text, and a
1920 %passage of up to 25 words as a Back-Cover Text, to the end of the list
1921 %of Cover Texts in the Modified Version. Only one passage of
1922 %Front-Cover Text and one of Back-Cover Text may be added by (or
1923 %through arrangements made by) any one entity. If the Document already
1924 %includes a cover text for the same cover, previously added by you or
1925 %by arrangement made by the same entity you are acting on behalf of,
1926 %you may not add another; but you may replace the old one, on explicit
1927 %permission from the previous publisher that added the old one.
1928 %
1929 %The author(s) and publisher(s) of the Document do not by this License
1930 %give permission to use their names for publicity for or to assert or
1931 %imply endorsement of any Modified Version.
1932 %
1933 %\begin{center}
1934 %{\Large\bf 5. COMBINING DOCUMENTS}
1935 %\end{center}
1936 %
1937 %You may combine the Document with other documents released under this
1938 %License, under the terms defined in section 4 above for modified
1939 %versions, provided that you include in the combination all of the
1940 %Invariant Sections of all of the original documents, unmodified, and
1941 %list them all as Invariant Sections of your combined work in its
1942 %license notice, and that you preserve all their Warranty Disclaimers.
1943 %
1944 %The combined work need only contain one copy of this License, and
1945 %multiple identical Invariant Sections may be replaced with a single
1946 %copy. If there are multiple Invariant Sections with the same name but
1947 %different contents, make the title of each such section unique by
1948 %adding at the end of it, in parentheses, the name of the original
1949 %author or publisher of that section if known, or else a unique number.
1950 %Make the same adjustment to the section titles in the list of
1951 %Invariant Sections in the license notice of the combined work.
1952 %
1953 %In the combination, you must combine any sections Entitled ``History''
1954 %in the various original documents, forming one section Entitled
1955 %``History''; likewise combine any sections Entitled ``Acknowledgements'',
1956 %and any sections Entitled ``Dedications''. You must delete all sections
1957 %Entitled ``Endorsements''.
1958 %
1959 %\begin{center}
1960 %{\Large\bf 6. COLLECTIONS OF DOCUMENTS}
1961 %\end{center}
1962 %
1963 %You may make a collection consisting of the Document and other documents
1964 %released under this License, and replace the individual copies of this
1965 %License in the various documents with a single copy that is included in
1966 %the collection, provided that you follow the rules of this License for
1967 %verbatim copying of each of the documents in all other respects.
1968 %
1969 %You may extract a single document from such a collection, and distribute
1970 %it individually under this License, provided you insert a copy of this
1971 %License into the extracted document, and follow this License in all
1972 %other respects regarding verbatim copying of that document.
1973 %
1974 %\begin{center}
1975 %{\Large\bf 7. AGGREGATION WITH INDEPENDENT WORKS}
1976 %\end{center}
1977 %
1978 %A compilation of the Document or its derivatives with other separate
1979 %and independent documents or works, in or on a volume of a storage or
1980 %distribution medium, is called an ``aggregate'' if the copyright
1981 %resulting from the compilation is not used to limit the legal rights
1982 %of the compilation's users beyond what the individual works permit.
1983 %When the Document is included in an aggregate, this License does not
1984 %apply to the other works in the aggregate which are not themselves
1985 %derivative works of the Document.
1986 %
1987 %If the Cover Text requirement of section 3 is applicable to these
1988 %copies of the Document, then if the Document is less than one half of
1989 %the entire aggregate, the Document's Cover Texts may be placed on
1990 %covers that bracket the Document within the aggregate, or the
1991 %electronic equivalent of covers if the Document is in electronic form.
1992 %Otherwise they must appear on printed covers that bracket the whole
1993 %aggregate.
1994 %
1995 %\begin{center}
1996 %{\Large\bf 8. TRANSLATION}
1997 %\end{center}
1998 %
1999 %Translation is considered a kind of modification, so you may
2000 %distribute translations of the Document under the terms of section 4.
2001 %Replacing Invariant Sections with translations requires special
2002 %permission from their copyright holders, but you may include
2003 %translations of some or all Invariant Sections in addition to the
2004 %original versions of these Invariant Sections. You may include a
2005 %translation of this License, and all the license notices in the
2006 %Document, and any Warranty Disclaimers, provided that you also include
2007 %the original English version of this License and the original versions
2008 %of those notices and disclaimers. In case of a disagreement between
2009 %the translation and the original version of this License or a notice
2010 %or disclaimer, the original version will prevail.
2011 %
2012 %If a section in the Document is Entitled ``Acknowledgements'',
2013 %``Dedications'', or ``History'', the requirement (section 4) to Preserve
2014 %its Title (section 1) will typically require changing the actual
2015 %title.
2016 %
2017 %\begin{center}
2018 %{\Large\bf 9. TERMINATION}
2019 %\end{center}
2020 %
2021 %You may not copy, modify, sublicense, or distribute the Document except
2022 %as expressly provided for under this License. Any other attempt to
2023 %copy, modify, sublicense or distribute the Document is void, and will
2024 %automatically terminate your rights under this License. However,
2025 %parties who have received copies, or rights, from you under this
2026 %License will not have their licenses terminated so long as such
2027 %parties remain in full compliance.
2028 %
2029 %\begin{center}
2030 %{\Large\bf 10. FUTURE REVISIONS OF THIS LICENSE}
2031 %\end{center}
2032 %
2033 %The Free Software Foundation may publish new, revised versions
2034 %of the GNU Free Documentation License from time to time. Such new
2035 %versions will be similar in spirit to the present version, but may
2036 %differ in detail to address new problems or concerns. See
2037 %http://www.gnu.org/copyleft/.
2038 %
2039 %Each version of the License is given a distinguishing version number.
2040 %If the Document specifies that a particular numbered version of this
2041 %License ``or any later version'' applies to it, you have the option of
2042 %following the terms and conditions either of that specified version or
2043 %of any later version that has been published (not as a draft) by the
2044 %Free Software Foundation. If the Document does not specify a version
2045 %number of this License, you may choose any version ever published (not
2046 %as a draft) by the Free Software Foundation.
2047 %
2048 %\begin{center}
2049 %{\Large\bf ADDENDUM: How to use this License for your documents}
2050 %\end{center}
2051 %
2052 %To use this License in a document you have written, include a copy of
2053 %the License in the document and put the following copyright and
2054 %license notices just after the title page:
2055 %
2056 %\bigskip
2057 %\begin{quote}
2058 % Copyright \copyright YEAR YOUR NAME.
2059 % Permission is granted to copy, distribute and/or modify this document
2060 % under the terms of the GNU Free Documentation License, Version 1.2
2061 % or any later version published by the Free Software Foundation;
2062 % with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
2063 % A copy of the license is included in the section entitled ``GNU
2064 % Free Documentation License''.
2065 %\end{quote}
2066 %\bigskip
2067 %
2068 %If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
2069 %replace the ``with\dots Texts.'' line with this:
2070 %
2071 %\bigskip
2072 %\begin{quote}
2073 % with the Invariant Sections being LIST THEIR TITLES, with the
2074 % Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
2075 %\end{quote}
2076 %\bigskip
2077 %
2078 %If you have Invariant Sections without Cover Texts, or some other
2079 %combination of the three, merge those two alternatives to suit the
2080 %situation.
2081 %
2082 %If your document contains nontrivial examples of program code, we
2083 %recommend releasing these examples in parallel under your choice of
2084 %free software license, such as the GNU General Public License,
2085 %to permit their use in free software.
2086 %
2087 % \StopEventually{
2088 % \begin{thebibliography}{10}
2089 % \bibitem{knuth} Donald Knuth.
2090 % \newblock \emph{The \TeX book},
2091 % \newblock Addison--Wesley, Reading, MA, 1996.
2092 % \bibitem{mem} Peter Wilson
2093 % \newblock \emph{The Memoir Class},
2094 % \newblock The Herries Press, Normandy Park, WA, 2001
2095 % \newblock (Available from CTAN, \texttt{macros/latex/contrib/supported/memoir})
2096 % \bibitem{ver} Peter Wilson
2097 % \newblock \emph{Typesetting simple verse with \LaTeX},
2098 % \newblock (Available from CTAN, \texttt{macros/latex/contrib/supported/verse})
2099 % \end{thebibliography}
2100 % \PrintChanges
2101 % \PrintIndex
2102 % }
2103 %\iffalse
2104 %<*schiller>
2105 %\fi
2106 % \begin{macrocode}
2107 %% This file shows some basic features of package `dramatist', when
2108 %% typesetting a drama in prose. See the commented line for more
2109 %% informations.
2110 %%
2111 %% The source for this example is taken from Schiller's `The
2112 %% Robbers'.
2113
2114 \documentclass{book}
2115 \usepackage{dramatist}
2116
2117 \pagestyle{plain}
2118 %% Maybe you want acts and scenes print their marks in the headings.
2119 %% The following lines should work.
2120 %%\makeatletter
2121 %%\def\ps@myheadings{%%
2122 %% \renewcommand\drampermark[1]{\markboth{##1}{}}
2123 %% \renewcommand\actmark[1]{\markboth{##1}{}}
2124 %% \renewcommand\scenemark[1]{\markright{##1}}
2125 %% \def\@oddfoot{\hfil\thepage\hfil}
2126 %% \def\@evenfoot{\hfil\thepage\hfil}
2127 %% \def\@evenhead{\hfil\scshape\leftmark\hfil}%%
2128 %% \def\@oddhead{\hfil\scshape\rightmark\hfil}%%
2129 %%}
2130 %%\makeatother
2131 %%\pagestyle{myheadings}
2132
2133 %% We may change some parameters in the look of acts and scenes:
2134 %%\renewcommand{\actnamefont}{\bfseries\Large}
2135 %%\renewcommand{\theact}{\Roman{act}}
2136 %%\renewcommand{\scenenamefont}{\bfseries\large}
2137 %%\renewcommand{\thescene}{\Roman{scene}}
2138
2139 %% We may change some parameters in the look of characters:
2140 %%\renewcommand{\castfont}{\bfseries}
2141 %%\renewcommand{\speaksfont}{\itshape}
2142 %%\renewcommand{\speaksdel}{.\\}
2143 %%\renewcommand{\namefont}{\bfseries}
2144
2145 %% We may change some parameters in the look of stage directions:
2146 %%\StageDirConf{\begin{center}\begin{minipage}{.7\textwidth}\bfseries\centering}{\end{minipage}\end{center}}
2147 %%\renewcommand{\dirdelimiter}[1]{[#1]}
2148
2149 %% If you want the name of character printed centered above the
2150 %% dialogue, you should comment out the following lines.
2151 %%\Dlabelsep=0pt
2152 %%\renewcommand{\speakslabel}[1]{%%
2153 %% \hbox to\textwidth{\hfill\speaksfont{#1}\hfill}}
2154
2155 \author{Friederich Schiller}
2156 \title{The Robbers}
2157 \date{}
2158
2159 \begin{document}
2160 \begin{titlepage}
2161 \maketitle
2162 \end{titlepage}
2163
2164 \tableofcontents
2165
2166 %% We define some characters appearing in the play.
2167 \Character[MAXIMILIAN, COUNT VON MOOR.]{Old Moor}{moor}
2168 %% group of characters.
2169 \begin{CharacterGroup}{his Sons.}
2170 \GCharacter{CHARLES,}{Charles Von Moor}{cha}
2171 \GCharacter{FRANCIS,}{Francis}{fran}
2172 \end{CharacterGroup}
2173 \Character[AMELIA VON EDELREICH, his Niece.]{Amelia}{amelia}
2174 %% group of characters.
2175 \begin{CharacterGroup}{Libertines, afterwards Banditti}
2176 \GCharacter{SPIEGELBERG,}{Spiegelberg}{spie}
2177 \GCharacter{SCHWEITZER,}{Schweitzer}{schwei}
2178 \GCharacter{GRIMM,}{Grimm}{grim}
2179 \GCharacter{RAZMANN,}{Razmann}{raz}
2180 \GCharacter{SCHUFTERLE,}{Schufterle}{schuf}
2181 \GCharacter{ROLLER,}{Roller}{rol}
2182 \GCharacter{KOSINSKY,}{Kosinsky}{kos}
2183 \GCharacter{SCHWARTZ,}{Schwartz}{schwa}
2184 \end{CharacterGroup}
2185 \Character[HERMANN, the natural son of a Nobleman.]{Hermann}{her}
2186 \Character[DANIEL, an old Servant of Count von Moor.]{Daniel}{dan}
2187 \Character[PASTOR MOSER.]{Pastor Moser}{pm}
2188 \Character[FATHER DOMINIC, a Monk.]{Father Dominic}{fd}
2189 %% the following collective character appears in the play as single
2190 %% instances, so we don't need define commands and entries for it.
2191 \Character[BAND OF ROBBERS, SERVANTS, ETC.]{}{}
2192
2193 %% We call the dramatis personae list.
2194 \DramPer
2195
2196 \act
2197
2198 %% Schiller puts some general informations about location in the
2199 %% scene heading. So, we must use uppercase version of `\scene'. On
2200 %% the other hand we don't want this information to appear in
2201 %% headers and table of contents; hence the empty optional argument.
2202 \Scene[]{. -- Franconia}
2203
2204 \StageDir{Apartment in the Castle of COUNT MOOR.\\\fran, \moor}
2205
2206 \begin{drama}
2207 \franspeaks But are you really well, father? You look so pale.
2208
2209 \moorspeaks Quite well, my son -- what have you to tell me?
2210
2211 \franspeaks The post is arrived -- a letter from our correspondent at
2212 Leipsic.
2213
2214 \moorspeaks \direct{eagerly} Any tidings of my son Charles?
2215
2216 \franspeaks Hem! Hem! -- Why, yes. But I fear -- I know not -- whether I dare
2217 -- your health. -- Are you really quite well, father?
2218
2219 \moorspeaks As a fish in water. Does he write of my son? What means this
2220 anxiety about my health? You have asked me that question twice.
2221
2222 \franspeaks If you are unwell -- or are the least apprehensive of being so --
2223 permit me to defer -- I will speak to you at a fitter season. -- \direct{Half
2224 aside.} These are no tidings for a feeble frame.
2225
2226 \moorspeaks Gracious Heavens? what am I doomed to hear?
2227
2228 \franspeaks First let me retire and shed a tear of compassion for my lost
2229 brother. Would that my lips might be forever sealed -- for he is your
2230 son! Would that I could throw an eternal veil over his shame -- for he is
2231 my brother! But to obey you is my first, though painful, duty -- forgive
2232 me, therefore.
2233
2234 \moorspeaks Oh, Charles! Charles! Didst thou but know what thorns thou
2235 plantest in thy father's bosom! That one gladdening report of thee would
2236 add ten years to my life! yes, bring back my youth! whilst now, alas,
2237 each fresh intelligence but hurries me a step nearer to the grave!
2238
2239 \franspeaks Is it so, old man, then farewell! for even this very day we
2240 might all have to tear our hair over your coffin.
2241
2242 \moorspeaks Stay! There remains but one short step more -- let him have his
2243 will! \direct{He sits down.} The sins of the father shall be visited unto the
2244 third and fourth generation -- let him fulfil the decree.
2245
2246 \franspeaks \direct{takes the letter out of his pocket}. You know our
2247 correspondent! See! I would give a finger of my right hand might I
2248 pronounce him a liar -- a base and slanderous liar! Compose yourself!
2249 Forgive me if I do not let you read the letter yourself. You cannot,
2250 must not, yet know all.
2251
2252 \moorspeaks All, all, my son. You will but spare me crutches.
2253
2254 \franspeaks \direct{reads} ``Leipsic, May 1. Were I not bound by an inviolable
2255 promise to conceal nothing from you, not even the smallest particular,
2256 that I am able to collect, respecting your brother's career, never, my
2257 dearest friend, should my guiltless pen become an instrument of torture
2258 to you. I can gather from a hundred of your letters how tidings such as
2259 these must pierce your fraternal heart. It seems to me as though I saw
2260 thee, for the sake of this worthless, this detestable'' -- \direct{\moor covers
2261 his face}. Oh! my father, I am only reading you the mildest passages --
2262 ``this detestable man, shedding a thousand tears.'' Alas! mine flowed -- ay,
2263 gushed in torrents over these pitying cheeks. ``I already picture to
2264 myself your aged pious father, pale as death.'' Good Heavens! and so you
2265 are, before you have heard anything.
2266
2267 \moorspeaks Go on! Go on!
2268 \end{drama}
2269
2270 \begin{center}
2271 [\dots]
2272 \end{center}
2273
2274 \Scene[]{. -- A Tavern on the Frontier of Saxony.}
2275
2276 \StageDir{\cha intent on a book; \spie drinking at the table.}
2277
2278 \begin{drama}
2279 \chaspeaks \direct{lays the book aside}. I am disgusted with this age of
2280 puny scribblers when I read of great men in my Plutarch.
2281
2282 \spiespeaks \direct{places a glass before him, and drinks.} Josephus is the book
2283 you should read.
2284
2285 \chaspeaks The glowing spark of Prometheus is burnt out, and now
2286 they substitute for it the flash of lycopodium, a stage-fire which will
2287 not so much as light a pipe. The present generation may be compared to
2288 rats crawling about the club of Hercules.
2289
2290 A French abbe lays it down that Alexander was a poltroon; a phthisicky
2291 professor, holding at every word a bottle of sal volatile to his nose,
2292 lectures on strength. Fellows who faint at the veriest trifle criticise
2293 the tactics of Hannibal; whimpering boys store themselves with phrases
2294 out of the slaughter at Canna; and blubber over the victories of Scipio,
2295 because they are obliged to construe them.
2296
2297 \spiespeaks Spouted in true Alexandrian style.
2298
2299 \chaspeaks A brilliant reward for your sweat in the battle-field
2300 truly to have your existence perpetuated in gymnasiums, and your
2301 immortality laboriously dragged about in a schoolboy's satchel. A
2302 precious recompense for your lavished blood to be wrapped round
2303 gingerbread by some Nuremberg chandler, or, if you have great luck, to
2304 be screwed upon stilts by a French playwright, and be made to move on
2305 wires! Ha, ha, ha!
2306
2307 \spiespeaks \direct{drinks.} Read Josephus, I tell you.
2308
2309 \chaspeaks Fie! fie upon this weak, effeminate age, fit for nothing
2310 but to ponder over the deeds of former times, and torture the heroes of
2311 antiquity with commentaries, or mangle them in tragedies. The vigor of
2312 its loins is dried up, and the propagation of the human species has
2313 become dependent on potations of malt liquor.
2314 \end{drama}
2315
2316 \begin{center}
2317 [\dots]
2318 \end{center}
2319
2320 \act
2321
2322 \Scene[]{. -- {\scshape Francis von Moor} in his chamber -- in meditation.}
2323
2324 \begin{drama}
2325 \franspeaks It lasts too long -- and the doctor even says is recovering -- an
2326 old man's life is a very eternity! The course would be free and plain
2327 before me, but for this troublesome, tough lump of flesh, which, like
2328 the infernal demon-hound in ghost stories, bars the way to my treasures.
2329
2330 Must, then, my projects bend to the iron yoke of a mechanical system?
2331 Is my soaring spirit to be chained down to the snail's pace of matter?
2332 To blow out a wick which is already flickering upon its last drop of
2333 oil -- 'tis nothing more. And yet I would rather not do it myself, on
2334 account of what the world would say. I should not wish him to be
2335 killed, but merely disposed of. I should like to do what your clever
2336 physician does, only the reverse way -- not stop Nature's course by
2337 running a bar across her path, but only help her to speed a little
2338 faster. Are we not able to prolong the conditions of life? Why,
2339 then, should we not also be able to shorten them? Philosophers and
2340 physiologists teach us how close is the sympathy between the emotions of
2341 the mind and the movements of the bodily machine. Convulsive sensations
2342 are always accompanied by a disturbance of the mechanical vibrations --
2343 passions injure the vital powers -- an overburdened spirit bursts its
2344 shell. Well, then -- what if one knew how to smooth this unbeaten path,
2345 for the easier entrance of death into the citadel of life? -- to work the
2346 body's destruction through the mind -- ha! an original device! -- who can
2347 accomplish this? -- a device without a parallel! Think upon it, Moor!
2348 That were an art worthy of thee for its inventor. Has not poisoning
2349 been raised almost to the rank of a regular science, and Nature
2350 compelled, by the force of experiments, to define her limits, so that
2351 one may now calculate the heart's throbbings for years in advance, and
2352 say to the beating pulse, ``So far, and no farther''? Why should not one
2353 try one's skill in this line?
2354
2355 And how, then, must I, too, go to work to dissever that sweet and
2356 peaceful union of soul and body? What species of sensations should I
2357 seek to produce? Which would most fiercely assail the condition of
2358 life? Anger? -- that ravenous wolf is too quickly satiated. Care? that
2359 worm gnaws far too slowly. Grief? -- that viper creeps too lazily for me.
2360 Fear? -- hope destroys its power. What! and are these the only
2361 executioners of man? is the armory of death so soon exhausted? \direct{In deep
2362 thought.} How now! what! ho! I have it! \direct{Starting up.} Terror! What
2363 is proof against terror? What powers have religion and reason under
2364 that giant's icy grasp! And yet -- if he should withstand even this
2365 assault? If he should! Oh, then, come Anguish to my aid! and thou,
2366 gnawing Repentance! -- furies of hell, burrowing snakes who regorge your
2367 food, and feed upon your own excrements; ye that are forever destroying,
2368 and forever reproducing your poison! And thou, howling Remorse, that
2369 desolatest thine own habitation, and feedest upon thy mother. And come
2370 ye, too, gentle Graces, to my aid; even you, sweet smiling Memory,
2371 goddess of the past -- and thou, with thy overflowing horn of plenty,
2372 blooming Futurity; show him in your mirror the joys of Paradise, while
2373 with fleeting foot you elude his eager grasp. Thus will I work my
2374 battery of death, stroke after stroke, upon his fragile body, until the
2375 troop of furies close upon him with Despair! Triumph! triumph! -- the
2376 plan is complete -- difficult and masterly beyond compare -- sure -- safe; for
2377 then \direct{with a sneer} the dissecting knife can find no trace of wound or
2378 of corrosive poison.
2379
2380 \direct{Resolutely.} Be it so! \direct{Enter \her.} Ha! \emph{Deus ex machina}!
2381 Hermann!
2382
2383 \herspeaks At your service, gracious sir!
2384
2385 \franspeaks \direct{shakes him by the hand.} You will not find it that of an
2386 ungrateful master.
2387
2388 \herspeaks I have proofs of this.
2389
2390 \franspeaks And you shall have more soon -- very soon, Hermann! -- I have
2391 something to say to thee, Hermann.
2392
2393 \herspeaks I am all attention.
2394 \end{drama}
2395
2396 \begin{center}
2397 [\dots]
2398 \end{center}
2399
2400 \end{document}
2401 % \end{macrocode}
2402 %\iffalse
2403 %</schiller>
2404 %\fi
2405 %\iffalse
2406 %<*vmarlowe>
2407 % \begin{macrocode}
2408 %% This file shows some basic features of package `dramatist', when
2409 %% typesetting a drama in verse. Here we use package `verse' as a
2410 %% support for text in verse; if you usually use package `poemscol'
2411 %% instead, you may give a look to file `marlowe-poemscol.tex'.
2412 %%
2413 %% The source for this example is taken from Marlowe's `Jew of
2414 %% Malta'. I took leave to insert division in scenes, which is not
2415 %% present in the original edition, in order to show more features.
2416
2417 \documentclass{book}
2418 \usepackage{verse}
2419 %% Warning: in this document I have used `\\!' (end of stanzas) to
2420 %% mark the end of a speech, so that a space would be inserted
2421 %% between speeches. This works only with the verse package or the
2422 %% memoir class. Otherwise you must insert such a space by hand or
2423 %% try to redefine \speakstab: e.g.
2424 %% \renewcommand{\speakstab}{\bigskip\hspace{\speaksskip}}.
2425
2426 %% Load package `dramatist' after `verse'
2427 \usepackage{dramatist}
2428
2429 %% comment out one of the following lines (and comment out the
2430 %% previous one) if you want line numbering per act or per scene.
2431 %%\usepackage[lnpa]{dramatist}
2432 %%\usepackage[lnps]{dramatist}
2433
2434 \pagestyle{plain}
2435 %% Maybe you want acts and scenes print their marks in the headings.
2436 %% The following lines should work.
2437 %%\makeatletter
2438 %%\def\ps@myheadings{%%
2439 %% \renewcommand\drampermark[1]{\markboth{##1}{}}
2440 %% \renewcommand\actmark[1]{\markboth{##1}{}}
2441 %% \renewcommand\scenemark[1]{\markright{##1}}
2442 %% \def\@oddfoot{\hfil\thepage\hfil}
2443 %% \def\@evenfoot{\hfil\thepage\hfil}
2444 %% \def\@evenhead{\hfil\scshape\leftmark\hfil}%%
2445 %% \def\@oddhead{\hfil\scshape\rightmark\hfil}%%
2446 %%}
2447 %%\makeatother
2448 %%\pagestyle{myheadings}
2449
2450 %% We may change some parameters in the look of acts and scenes:
2451 %%\renewcommand{\actnamefont}{\bfseries\Large}
2452 %%\renewcommand{\theact}{\Roman{act}}
2453 %%\renewcommand{\scenenamefont}{\bfseries\large}
2454 %%\renewcommand{\thescene}{\Roman{scene}}
2455
2456 %% We may change some parameters in the look of characters:
2457 %%\renewcommand{\castfont}{\bfseries}
2458 %%\renewcommand{\speaksfont}{\itshape}
2459 %%\renewcommand{\speaksdel}{:}
2460
2461 %% We may change some parameters in the look of stage directions:
2462 %%\StageDirConf{\begin{center}\begin{minipage}{.4\textwidth}\bfseries}{\end{minipage}\end{center}}
2463
2464 %% This is from verse package (or memoir class), for line numbering.
2465 \poemlines{5}
2466
2467 \author{Christopher Marlowe}
2468 \title{The Jew of Malta}
2469 \date{}
2470
2471 \begin{document}
2472 \begin{titlepage}
2473 \maketitle
2474 \end{titlepage}
2475
2476 \tableofcontents
2477
2478 %% We define some characters appearing in the play.
2479 \Character[FERNEZE, governor of Malta.]{Ferneze}{fer}
2480 \Character[LODOWICK, his son.]{Lodowick}{lod}
2481 \Character[SELIM CALYMATH, son to the Grand Seignior.]{Calymath}{cal}
2482 \Character[MARTIN DEL BOSCO, vice-admiral of Spain.]{Martin Del Bosco}{mar}
2483 \Character[MATHIAS, a gentleman.]{Mathias}{mat}
2484 %% group of characters.
2485 \begin{CharacterGroup}{friars.}
2486 \GCharacter{JACOMO,}{Jacomo}{jac}
2487 \GCharacter{BARNARDINE,}{Barnardine}{barn}
2488 \end{CharacterGroup}
2489 \Character[BARABAS, a wealthy Jew.]{Barabas}{bar}
2490 \Character[ITHAMORE, a slave.]{Ithamore}{ith}
2491 \Character[PILIA-BORZA, a bully, attendant to BELLAMIRA.]{Pilia-Borza}{pb}
2492 %% the following three collective characters appear in the play as
2493 %% single instances, so we don't need define commands and entries
2494 %% for them.
2495 \Character[Two Merchants.]{}{}
2496 \Character[Three Jews.]{}{}
2497 \Character[Knights, Bassoes, Officers, Guard, Slaves, Messenger, and Carpenters]{}{}
2498 \Character[KATHARINE, mother to MATHIAS.]{Katharine}{kat}
2499 \Character[ABIGAIL, daughter to BARABAS.]{Abigail}{abi}
2500 \Character[BELLAMIRA, a courtezan.]{Bellamira}{bel}
2501 \Character[ABBESS.]{Abbess}{abb}
2502 \Character[NUN.]{Nun}{nun}
2503 %% This character doesn't appear in the dramatist personae list.
2504 \Character{Machiavel}{mac}
2505
2506 %% We call the dramatis personae list.
2507 \DramPer
2508
2509 %% The Prologue: we use \Act, but prevent it from printing \actname
2510 %% and \theact.
2511 \setcounter{secnumdepth}{-1}
2512 \renewcommand{\printacttitle}[1]{\centering\acttitlefont #1}
2513 %% This is needed only with myheadings.
2514 %%\renewcommand{\actname}{}
2515 %%\renewcommand{\theact}{}
2516
2517 \Act{Prologue}
2518
2519 \StageDir{Enter \mac.}
2520
2521 \begin{drama*}
2522 \macspeaks
2523 Albeit the world think Machiavel is dead,\\
2524 Yet was his soul but flown beyond the Alps;\\
2525 And, now the Guise is dead, is come from France,\\
2526 To view this land, and frolic with his friends.\\
2527 To some perhaps my name is odious;\\
2528 But such as love me, guard me from their tongues,\\
2529 And let them know that I am Machiavel,\\
2530 And weigh not men, and therefore not men's words.\\
2531 Admir'd I am of those that hate me most:\\
2532 Though some speak openly against my books,\\
2533 Yet will they read me, and thereby attain\\
2534 To Peter's chair; and, when they cast me off,\\
2535 Are poison'd by my climbing followers.\\
2536 I count religion but a childish toy,\\
2537 And hold there is no sin but ignorance.\\
2538 Birds of the air will tell of murders past!\\
2539 I am asham'd to hear such fooleries.\\
2540 Many will talk of title to a crown:\\
2541 What right had Caesar to the empery?\\
2542 Might first made kings, and laws were then most sure\\
2543 When, like the Draco's, they were writ in blood.\\
2544 Hence comes it that a strong-built citadel\\
2545 Commands much more than letters can import:\\
2546 Which maxim had Phalaris observ'd,\\
2547 H'ad never bellow'd, in a brazen bull,\\
2548 Of great ones' envy: o' the poor petty wights\\
2549 Let me be envied and not pitied.\\
2550 But whither am I bound? I come not, I,\\
2551 To read a lecture here in Britain,\\
2552 But to present the tragedy of a Jew,\\
2553 Who smiles to see how full his bags are cramm'd;\\
2554 Which money was not got without my means.\\
2555 I crave but this,--grace him as he deserves,\\
2556 And let him not be entertain'd the worse\\
2557 Because he favours me.\\
2558 \direct*{Exit.}
2559 %% The starred version of \direct can be used only at the end of a
2560 %% speech, when the verse package or the memoir class has been
2561 %% loaded.
2562 \end{drama*}
2563
2564 %% Now we restore the default settings.
2565 \setcounter{act}{0}
2566 \setcounter{secnumdepth}{0}
2567 \renewcommand{\printacttitle}[1]{\acttitlefont #1}
2568 %% This is needed only with myheadings.
2569 %%\renewcommand{\actname}{Act}
2570 %%\renewcommand{\theact}{\roman{act}}
2571 %%\renewcommand{\theact}{\Roman{act}}
2572
2573 %% Without a title, the command to be used is \act. We add a
2574 %% footnote, just to show a feature.
2575 \act[\footnote{This is the first act.}]
2576
2577 \scene
2578 %% Scene are not marked in the original edition. I have introduced
2579 %% them (somehow arbitrarily, I suppose) to give a complete review
2580 %% of the available features.
2581
2582 \StageDir{\bar discovered in his counting-house, with heaps
2583 of gold before him.}
2584
2585 \begin{drama*}
2586 \barspeaks So that of thus much that return was made;\\
2587 And of the third part of the Persian ships\\
2588 There was the venture summ'd and satisfied.\\
2589 As for those Samnites, and the men of Uz,\\
2590 That bought my Spanish oils and wines of Greece,\\
2591 Here have I purs'd their paltry silverlings.\\
2592 Fie, what a trouble 'tis to count this trash!\\
2593 Well fare the Arabians, who so richly pay\\
2594 The things they traffic for with wedge of gold,\\
2595 Whereof a man may easily in a day\\
2596 Tell that which may maintain him all his life.\\
2597 The needy groom, that never finger'd groat,\\
2598 Would make a miracle of thus much coin;\\
2599 But he whose steel-barr'd coffers are cramm'd full,\\
2600 And all his life-time hath been tired,\\
2601 Wearying his fingers' ends with telling it,\\
2602 Would in his age be loath to labour so,\\
2603 And for a pound to sweat himself to death.\\
2604 Give me the merchants of the Indian mines,\\
2605 That trade in metal of the purest mould;\\
2606 The wealthy Moor, that in the eastern rocks\\
2607 Without control can pick his riches up,\\
2608 And in his house heap pearl like pebble-stones,\\
2609 Receive them free, and sell them by the weight;\\
2610 Bags of fiery opals, sapphires, amethysts,\\
2611 Jacinths, hard topaz, grass-green emeralds,\\
2612 Beauteous rubies, sparkling diamonds,\\
2613 And seld-seen costly stones of so great price,\\
2614 As one of them, indifferently rated,\\
2615 And of a carat of this quantity,\\
2616 May serve, in peril of calamity,\\
2617 To ransom great kings from captivity.\\
2618 This is the ware wherein consists my wealth;\\
2619 And thus methinks should men of judgment frame\\
2620 Their means of traffic from the vulgar trade,\\
2621 And, as their wealth increaseth, so inclose\\
2622 Infinite riches in a little room.\\
2623 But now how stands the wind?\\
2624 Into what corner peers my halcyon's bill?\\
2625 Ha! to the east? yes. See how stand the vanes--\\
2626 East and by south: why, then, I hope my ships\\
2627 I sent for Egypt and the bordering isles\\
2628 Are gotten up by Nilus' winding banks;\\
2629 Mine argosy from Alexandria,\\
2630 Loaden with spice and silks, now under sail,\\
2631 Are smoothly gliding down by Candy-shore\\
2632 To Malta, through our Mediterranean sea.--\\
2633 But who comes here?\\
2634 %% We need another character
2635 \Character{Merchant}{mer}
2636 \direct{Enter a \mer.}
2637 How now!\\!
2638
2639 \merspeaks Barabas, thy ships are safe,\\
2640 Riding in Malta-road; and all the merchants\\
2641 With other merchandise are safe arriv'd,\\
2642 And have sent me to know whether yourself\\
2643 Will come and custom them.\\!
2644
2645 \barspeaks The ships are safe thou say'st, and richly fraught?\\!
2646
2647 \merspeaks They are.\\!
2648
2649 \barspeaks Why, then, go bid them come ashore,\\
2650 And bring with them their bills of entry:\\
2651 I hope our credit in the custom-house\\
2652 Will serve as well as I were present there.\\
2653 Go send 'em threescore camels, thirty mules,\\
2654 And twenty waggons, to bring up the ware.\\
2655 But art thou master in a ship of mine,\\
2656 And is thy credit not enough for that?\\!
2657 \end{drama*}
2658
2659 \begin{center}
2660 [\dots]
2661 \end{center}
2662
2663 \scene
2664 %%Other characters.
2665
2666 \Character{knights}{knights}
2667 \Character{officers}{officers}
2668 \Character{bassoes}{bassoes}
2669 \Character{First Basso}{fb}
2670
2671 %% An alternative formulation for \StageDir.
2672 \begin{stagedir}
2673 Enter \fer, governor of Malta, \knights, and \officers;
2674 met by \cal, and \bassoes of the Turk.
2675 \end{stagedir}
2676
2677 \begin{drama*}
2678 \ferspeaks Now, bassoes, what demand you at our hands?\\!
2679
2680 \fbspeaks Know, knights of Malta, that we came from Rhodes,\\
2681 From Cyprus, Candy, and those other isles\\
2682 That lie betwixt the Mediterranean seas.\\!
2683
2684 \ferspeaks What's Cyprus, Candy, and those other isles\\
2685 To us or Malta? what at our hands demand ye?\\!
2686
2687 \calspeaks The ten years' tribute that remains unpaid.\\!
2688
2689 \ferspeaks Alas, my lord, the sum is over-great!\\
2690 I hope your highness will consider us.\\!
2691
2692 \calspeaks I wish, grave governor, 'twere in my power\\
2693 To favour you; but 'tis my father's cause,\\
2694 Wherein I may not, nay, I dare not dally.\\!
2695 \end{drama*}
2696
2697 \begin{center}
2698 [\dots]
2699 \end{center}
2700
2701 \act
2702
2703 \scene
2704
2705 \StageDir{Enter \bar with a light.}
2706
2707 \begin{drama*}
2708 \barspeaks Thus, like the sad-presaging raven, that tolls\\
2709 The sick man's passport in her hollow beak,\\
2710 And in the shadow of the silent night\\
2711 Doth shake contagion from her sable wings,\\
2712 Vex'd and tormented runs poor Barabas\\
2713 With fatal curses towards these Christians.\\
2714 The incertain pleasures of swift-footed time\\
2715 Have ta'en their flight, and left me in despair;\\
2716 And of my former riches rests no more\\
2717 But bare remembrance; like a soldier's scar,\\
2718 That has no further comfort for his maim.--\\
2719 O Thou, that with a fiery pillar ledd'st\\
2720 The sons of Israel through the dismal shades,\\
2721 Light Abraham's offspring; and direct the hand\\
2722 Of Abigail this night! or let the day\\
2723 Turn to eternal darkness after this!--\\
2724 No sleep can fasten on my watchful eyes,\\
2725 Nor quiet enter my distemper'd thoughts,\\
2726 Till I have answer of my Abigail.\\!
2727 \end{drama*}
2728
2729 \StageDir{Enter \abi above.}
2730
2731 \begin{drama*}
2732 \abispeaks Now have I happily espied a time\\
2733 To search the plank my father did appoint;\\
2734 And here, behold, unseen, where I have found\\
2735 The gold, the pearls, and jewels, which he hid.\\!
2736
2737 \barspeaks Now I remember those old women's words,\\
2738 Who in my wealth would tell me winter's tales,\\
2739 And speak of spirits and ghosts that glide by night\\
2740 About the place where treasure hath been hid:\\
2741 And now methinks that I am one of those;\\
2742 For, whilst I live, here lives my soul's sole hope,\\
2743 And, when I die, here shall my spirit walk.\\!
2744 \end{drama*}
2745
2746 \begin{center}
2747 [\dots]
2748 \end{center}
2749
2750 \end{document}
2751 % \end{macrocode}
2752 %\fi
2753 %\iffalse
2754 %</vmarlowe>
2755 %\fi
2756 %\iffalse
2757 %<*pmarlowe>
2758 %\fi
2759 % \begin{macrocode}
2760 %% This file shows some basic features of package `dramatist', when
2761 %% typesetting a drama in verse. Here we use package `poemscol' as a
2762 %% support for text in verse; if you usually use package `verse'
2763 %% instead, you may give a look to file `marlowe-verse.tex'.
2764 %%
2765 %% The source for this example is taken from Marlowe's `Jew of
2766 %% Malta'. I took leave to insert division in scenes, which is not
2767 %% present in the original edition, in order to show more features.
2768
2769 \documentclass{book}
2770 \usepackage{fancyhdr,newmarn,geometry}
2771 \usepackage{keyval,ifthen,newcropmark}
2772 \usepackage{poemscol}
2773
2774 %% Load package `dramatist' after `poemscol'
2775 \usepackage{dramatist}
2776
2777 %% comment out one of the following lines (and comment out the
2778 %% previous one) if you want line numbering per act or per scene.
2779 %%\usepackage[lnpa]{dramatist}
2780 %%\usepackage[lnps]{dramatist}
2781
2782
2783 %% We may change some parameters in the look of acts and scenes:
2784 %%\renewcommand{\actnamefont}{\bfseries\Large}
2785 %%\renewcommand{\theact}{\Roman{act}}
2786 %%\renewcommand{\scenenamefont}{\bfseries\large}
2787 %%\renewcommand{\thescene}{\Roman{scene}}
2788
2789 %% We may change some parameters in the look of characters:
2790 %%\renewcommand{\castfont}{\bfseries}
2791 %%\renewcommand{\speaksfont}{\itshape}
2792 %%\renewcommand{\speaksdel}{:}
2793
2794 %% We may change some parameters in the look of stage directions:
2795 %%\StageDirConf{\begin{center}\begin{minipage}{.4\textwidth}\bfseries}{\end{minipage}\end{center}}
2796
2797 %% Comment out the following lines if you want to insert a vertical
2798 %% space between speeches.
2799 %%\makeatletter
2800 %%\renewcommand{\speakstab}{\if@stagedir\global\@stagedirfalse\else\bigskip\fi\hspace{\speaksskip}}
2801 %%\makeatother
2802
2803 %% Maybe you want acts and scenes print their marks in the headings.
2804 %% The following lines should work.
2805 %%\renewcommand{\drampermark}[1]{\volumeheader{#1}}
2806 %%\renewcommand{\actmark}[1]{\leftheader{#1}}
2807 %%\renewcommand{\scenemark}[1]{\volumeheader{#1}}
2808 %%\fancyhf{}
2809 %%\fancyhead[CO]{\scshape \volumeheadervalue}
2810 %%\fancyhead[CE]{\scshape \leftheadervalue}
2811 %%\fancyfoot[CE]{\thepage}
2812 %%\fancyfoot[CO]{\thepage}
2813
2814 \author{Christopher Marlowe}
2815 \title{The Jew of Malta}
2816 \date{}
2817
2818 \begin{document}
2819 \begin{titlepage}
2820 \maketitle
2821 \end{titlepage}
2822
2823 \tableofcontents
2824
2825 %% We define some characters appearing in the play.
2826 \Character[FERNEZE, governor of Malta.]{Ferneze}{fer}
2827 \Character[LODOWICK, his son.]{Lodowick}{lod}
2828 \Character[SELIM CALYMATH, son to the Grand Seignior.]{Calymath}{cal}
2829 \Character[MARTIN DEL BOSCO, vice-admiral of Spain.]{Martin Del Bosco}{mar}
2830 \Character[MATHIAS, a gentleman.]{Mathias}{mat}
2831 %% group of characters.
2832 \begin{CharacterGroup}{friars.}
2833 \GCharacter{JACOMO,}{Jacomo}{jac}
2834 \GCharacter{BARNARDINE,}{Barnardine}{barn}
2835 \end{CharacterGroup}
2836 \Character[BARABAS, a wealthy Jew.]{Barabas}{bar}
2837 \Character[ITHAMORE, a slave.]{Ithamore}{ith}
2838 \Character[PILIA-BORZA, a bully, attendant to BELLAMIRA.]{Pilia-Borza}{pb}
2839 %% the following three collective characters appear in the play as
2840 %% single instances, so we don't need define commands and entries
2841 %% for them.
2842 \Character[Two Merchants.]{}{}
2843 \Character[Three Jews.]{}{}
2844 \Character[Knights, Bassoes, Officers, Guard, Slaves, Messenger, and Carpenters]{}{}
2845 \Character[KATHARINE, mother to MATHIAS.]{Katharine}{kat}
2846 \Character[ABIGAIL, daughter to BARABAS.]{Abigail}{abi}
2847 \Character[BELLAMIRA, a courtezan.]{Bellamira}{bel}
2848 \Character[ABBESS.]{Abbess}{abb}
2849 \Character[NUN.]{Nun}{nun}
2850 %% This character doesn't appear in the dramatist personae list.
2851 \Character{Machiavel}{mac}
2852
2853 %% We call the dramatis personae list.
2854 \DramPer
2855
2856 %% The Prologue: we use \Act, but prevent it from printing \actname
2857 %% and \theact.
2858 \setcounter{secnumdepth}{-1}
2859 \renewcommand{\printacttitle}[1]{\centering\acttitlefont #1}
2860 %% This is needed only with customized headings.
2861 %%\renewcommand{\actname}{}
2862 %%\renewcommand{\theact}{}
2863 \Act{Prologue}
2864
2865 \StageDir{Enter \mac.}
2866
2867 \begin{drama*}
2868 \macspeaks
2869 Albeit the world think Machiavel is dead,\verseline
2870 Yet was his soul but flown beyond the Alps;\verseline
2871 And, now the Guise is dead, is come from France,\verseline
2872 To view this land, and frolic with his friends.\verseline
2873 To some perhaps my name is odious;\verseline
2874 But such as love me, guard me from their tongues,\verseline
2875 And let them know that I am Machiavel,\verseline
2876 And weigh not men, and therefore not men's words.\verseline
2877 Admir'd I am of those that hate me most:\verseline
2878 Though some speak openly against my books,\verseline
2879 Yet will they read me, and thereby attain\verseline
2880 To Peter's chair; and, when they cast me off,\verseline
2881 Are poison'd by my climbing followers.\verseline
2882 I count religion but a childish toy,\verseline
2883 And hold there is no sin but ignorance.\verseline
2884 Birds of the air will tell of murders past!\verseline
2885 I am asham'd to hear such fooleries.\verseline
2886 Many will talk of title to a crown:\verseline
2887 What right had Caesar to the empery?\verseline
2888 Might first made kings, and laws were then most sure\verseline
2889 When, like the Draco's, they were writ in blood.\verseline
2890 Hence comes it that a strong-built citadel\verseline
2891 Commands much more than letters can import:\verseline
2892 Which maxim had Phalaris observ'd,\verseline
2893 H'ad never bellow'd, in a brazen bull,\verseline
2894 Of great ones' envy: o' the poor petty wights\verseline
2895 Let me be envied and not pitied.\verseline
2896 But whither am I bound? I come not, I,\verseline
2897 To read a lecture here in Britain,\verseline
2898 But to present the tragedy of a Jew,\verseline
2899 Who smiles to see how full his bags are cramm'd;\verseline
2900 Which money was not got without my means.\verseline
2901 I crave but this,--grace him as he deserves,\verseline
2902 And let him not be entertain'd the worse\verseline
2903 Because he favours me.\verseline
2904 \direct{Exit.}
2905 \end{drama*}
2906
2907 %% Now we restore the default settings.
2908 \setcounter{act}{0}
2909 \setcounter{secnumdepth}{0}
2910 \renewcommand{\printacttitle}[1]{\acttitlefont #1}
2911 %% This is needed only with customized headings.
2912 %%\renewcommand{\actname}{Act}
2913 %%\renewcommand{\theact}{\roman{act}}
2914 %%\renewcommand{\theact}{\Roman{act}}
2915
2916 %% Without a title, the command to be used is \act. We add a
2917 %% footnote, just to show a feature.
2918 \act[\footnote{This is the first act.}]
2919
2920 \scene
2921 %% Scene are not marked in the original edition. I have introduced
2922 %% them (somehow arbitrarily, I suppose) to give a complete review
2923 %% of the available features.
2924
2925 \StageDir{\bar discovered in his counting-house, with heaps
2926 of gold before him.}
2927
2928 \begin{drama*}
2929 \barspeaks So that of thus much that return was made;\verseline
2930 And of the third part of the Persian ships\verseline
2931 There was the venture summ'd and satisfied.\verseline
2932 As for those Samnites, and the men of Uz,\verseline
2933 That bought my Spanish oils and wines of Greece,\verseline
2934 Here have I purs'd their paltry silverlings.\verseline
2935 Fie, what a trouble 'tis to count this trash!\verseline
2936 Well fare the Arabians, who so richly pay\verseline
2937 The things they traffic for with wedge of gold,\verseline
2938 Whereof a man may easily in a day\verseline
2939 Tell that which may maintain him all his life.\verseline
2940 The needy groom, that never finger'd groat,\verseline
2941 Would make a miracle of thus much coin;\verseline
2942 But he whose steel-barr'd coffers are cramm'd full,\verseline
2943 And all his life-time hath been tired,\verseline
2944 Wearying his fingers' ends with telling it,\verseline
2945 Would in his age be loath to labour so,\verseline
2946 And for a pound to sweat himself to death.\verseline
2947 Give me the merchants of the Indian mines,\verseline
2948 That trade in metal of the purest mould;\verseline
2949 The wealthy Moor, that in the eastern rocks\verseline
2950 Without control can pick his riches up,\verseline
2951 And in his house heap pearl like pebble-stones,\verseline
2952 Receive them free, and sell them by the weight;\verseline
2953 Bags of fiery opals, sapphires, amethysts,\verseline
2954 Jacinths, hard topaz, grass-green emeralds,\verseline
2955 Beauteous rubies, sparkling diamonds,\verseline
2956 And seld-seen costly stones of so great price,\verseline
2957 As one of them, indifferently rated,\verseline
2958 And of a carat of this quantity,\verseline
2959 May serve, in peril of calamity,\verseline
2960 To ransom great kings from captivity.\verseline
2961 This is the ware wherein consists my wealth;\verseline
2962 And thus methinks should men of judgment frame\verseline
2963 Their means of traffic from the vulgar trade,\verseline
2964 And, as their wealth increaseth, so inclose\verseline
2965 Infinite riches in a little room.\verseline
2966 But now how stands the wind?\verseline
2967 Into what corner peers my halcyon's bill?\verseline
2968 Ha! to the east? yes. See how stand the vanes--\verseline
2969 East and by south: why, then, I hope my ships\verseline
2970 I sent for Egypt and the bordering isles\verseline
2971 Are gotten up by Nilus' winding banks;\verseline
2972 Mine argosy from Alexandria,\verseline
2973 Loaden with spice and silks, now under sail,\verseline
2974 Are smoothly gliding down by Candy-shore\verseline
2975 To Malta, through our Mediterranean sea.--\verseline
2976 But who comes here?\verseline
2977 %% We need another character
2978 \Character{Merchant}{mer}
2979 \direct{Enter a \mer.}
2980 How now!\verseline
2981
2982 \merspeaks Barabas, thy ships are safe,\verseline
2983 Riding in Malta-road; and all the merchants\verseline
2984 With other merchandise are safe arriv'd,\verseline
2985 And have sent me to know whether yourself\verseline
2986 Will come and custom them.\verseline
2987
2988 \barspeaks The ships are safe thou say'st, and richly fraught?\verseline
2989
2990 \merspeaks They are.\verseline
2991
2992 \barspeaks Why, then, go bid them come ashore,\verseline
2993 And bring with them their bills of entry:\verseline
2994 I hope our credit in the custom-house\verseline
2995 Will serve as well as I were present there.\verseline
2996 Go send 'em threescore camels, thirty mules,\verseline
2997 And twenty waggons, to bring up the ware.\verseline
2998 But art thou master in a ship of mine,\verseline
2999 And is thy credit not enough for that?\verseline
3000 \end{drama*}
3001
3002 \begin{center}
3003 [\dots]
3004 \end{center}
3005
3006 \scene
3007 %%Other characters.
3008
3009 \Character{knights}{knights}
3010 \Character{officers}{officers}
3011 \Character{bassoes}{bassoes}
3012 \Character{First Basso}{fb}
3013
3014 %% An alternative formulation for \StageDir.
3015 \begin{stagedir}
3016 Enter \fer, governor of Malta, \knights, and \officers;
3017 met by \cal, and \bassoes of the Turk.
3018 \end{stagedir}
3019
3020 \begin{drama*}
3021 \ferspeaks Now, bassoes, what demand you at our hands?\verseline
3022
3023 \fbspeaks Know, knights of Malta, that we came from Rhodes,\verseline
3024 From Cyprus, Candy, and those other isles\verseline
3025 That lie betwixt the Mediterranean seas.\verseline
3026
3027 \ferspeaks What's Cyprus, Candy, and those other isles\verseline
3028 To us or Malta? what at our hands demand ye?\verseline
3029
3030 \calspeaks The ten years' tribute that remains unpaid.\verseline
3031
3032 \ferspeaks Alas, my lord, the sum is over-great!\verseline
3033 I hope your highness will consider us.\verseline
3034
3035 \calspeaks I wish, grave governor, 'twere in my power\verseline
3036 To favour you; but 'tis my father's cause,\verseline
3037 Wherein I may not, nay, I dare not dally.\verseline
3038 \end{drama*}
3039
3040 \begin{center}
3041 [\dots]
3042 \end{center}
3043
3044 \act
3045
3046 \scene
3047
3048 \StageDir{Enter \bar with a light.}
3049
3050 \begin{drama*}
3051 \barspeaks Thus, like the sad-presaging raven, that tolls\verseline
3052 The sick man's passport in her hollow beak,\verseline
3053 And in the shadow of the silent night\verseline
3054 Doth shake contagion from her sable wings,\verseline
3055 Vex'd and tormented runs poor Barabas\verseline
3056 With fatal curses towards these Christians.\verseline
3057 The incertain pleasures of swift-footed time\verseline
3058 Have ta'en their flight, and left me in despair;\verseline
3059 And of my former riches rests no more\verseline
3060 But bare remembrance; like a soldier's scar,\verseline
3061 That has no further comfort for his maim.--\verseline
3062 O Thou, that with a fiery pillar ledd'st\verseline
3063 The sons of Israel through the dismal shades,\verseline
3064 Light Abraham's offspring; and direct the hand\verseline
3065 Of Abigail this night! or let the day\verseline
3066 Turn to eternal darkness after this!--\verseline
3067 No sleep can fasten on my watchful eyes,\verseline
3068 Nor quiet enter my distemper'd thoughts,\verseline
3069 Till I have answer of my Abigail.\verseline
3070 \end{drama*}
3071
3072 \StageDir{Enter \abi above.}
3073
3074 \begin{drama*}
3075 \abispeaks Now have I happily espied a time\verseline
3076 To search the plank my father did appoint;\verseline
3077 And here, behold, unseen, where I have found\verseline
3078 The gold, the pearls, and jewels, which he hid.\verseline
3079
3080 \barspeaks Now I remember those old women's words,\verseline
3081 Who in my wealth would tell me winter's tales,\verseline
3082 And speak of spirits and ghosts that glide by night\verseline
3083 About the place where treasure hath been hid:\verseline
3084 And now methinks that I am one of those;\verseline
3085 For, whilst I live, here lives my soul's sole hope,\verseline
3086 And, when I die, here shall my spirit walk.\verseline
3087 \end{drama*}
3088
3089 \begin{center}
3090 [\dots]
3091 \end{center}
3092
3093 \end{document}
3094 % \end{macrocode}
3095 %\iffalse
3096 %</pmarlowe>
3097 %\fi
3098 %\Finale
3099 % \PrintIndex \PrintChanges
3100
3101 \endinput