diff options
author | Karl Berry <karl@freefriends.org> | 2015-06-30 21:27:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-06-30 21:27:12 +0000 |
commit | 3248fe623d991adc97c06036de7d66a10b130e44 (patch) | |
tree | 8017fc8af43456a95edd8a002bc2b2c693ee3e5b /Master | |
parent | 0ced05e5b1a36fbd26eb3c0965a73dfd8f97b54f (diff) |
poemscol (30jun15)
git-svn-id: svn://tug.org/texlive/trunk@37724 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/poemscol/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/poemscol/poemscol.pdf | bin | 582767 -> 610861 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/poemscol/poemscolcheatsheet.pdf | bin | 54837 -> 54810 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/poemscol/poemscol.dtx | 1592 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/poemscol/poemscol.sty | 614 |
5 files changed, 1861 insertions, 347 deletions
diff --git a/Master/texmf-dist/doc/latex/poemscol/README b/Master/texmf-dist/doc/latex/poemscol/README index f493cbafdb2..11b61f61e07 100644 --- a/Master/texmf-dist/doc/latex/poemscol/README +++ b/Master/texmf-dist/doc/latex/poemscol/README @@ -1,5 +1,5 @@ POEMSCOL.STY -(c) John Burt 2002 +(c) John Burt 2015 Released under the LaTeX public license poemscol.sty is a set of LaTeX macros for typesetting critical editions of diff --git a/Master/texmf-dist/doc/latex/poemscol/poemscol.pdf b/Master/texmf-dist/doc/latex/poemscol/poemscol.pdf Binary files differindex 477f7fd14e0..ec80e2d672a 100644 --- a/Master/texmf-dist/doc/latex/poemscol/poemscol.pdf +++ b/Master/texmf-dist/doc/latex/poemscol/poemscol.pdf diff --git a/Master/texmf-dist/doc/latex/poemscol/poemscolcheatsheet.pdf b/Master/texmf-dist/doc/latex/poemscol/poemscolcheatsheet.pdf Binary files differindex d59c0419631..1070d60508a 100644 --- a/Master/texmf-dist/doc/latex/poemscol/poemscolcheatsheet.pdf +++ b/Master/texmf-dist/doc/latex/poemscol/poemscolcheatsheet.pdf diff --git a/Master/texmf-dist/source/latex/poemscol/poemscol.dtx b/Master/texmf-dist/source/latex/poemscol/poemscol.dtx index 9be56367ef4..cc01a3d1492 100644 --- a/Master/texmf-dist/source/latex/poemscol/poemscol.dtx +++ b/Master/texmf-dist/source/latex/poemscol/poemscol.dtx @@ -1,11 +1,11 @@ % \iffalse meta-comment % !TEX TS-program = dtxmk % -% Copyright (C) 2013 by John Burt <burt@brandeis.edu> +% Copyright (C) 2015 by John Burt <burt@brandeis.edu> % -------------------------------------------------- % % This file may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.2 +% conditions of the LaTeX Project Public License, either version 1.3 % of this license or (at your option) any later version. % The latest version of this license is in: % @@ -19,7 +19,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1997/12/01] %<package>\ProvidesPackage{poemscol} -%<package> [2015/6/18 v2.7 poemscol file] +%<package> [2015/6/18 v2.72 poemscol file] % %<*driver> \documentclass{ltxdoc} @@ -33,7 +33,7 @@ %</driver> % \fi % -% \CheckSum{6702} +% \CheckSum{7758} % % \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 @@ -205,6 +205,8 @@ % corrections to manual.} % \changes{v2.66}{2015/5/14}{Change to page styles} % \changes{v2.7}{2015/6/18}{Improvements to parallel texts.} +% \changes{v2.72}{2015/6/25}{Improvements to parallel texts. Generic note types for parallel texts. +% corrections to manual.} % % \DoNotIndex{\newcommand,\newenvironment,\def,\edef,\else,\renewcommand,\makeatletter,\makeatother} % \DoNotIndex{\abovedisplayskip,\belowdisplayskip,\abovedisplayshortskip,\belowdisplayshortskip} @@ -238,15 +240,15 @@ % \textsc, \unskip} % \setcounter{IndexColumns}{2} % \MakeShortVerb{|} -% \def\fileversion{2.7} -% \def\filedate{17 June 2015} -% \def\docdate{17 June 2015} +% \def\fileversion{2.72} +% \def\filedate{29 June 2015} +% \def\docdate{29 June 2015} % \title{Typesetting Poetry Collections with % \textsf{poemscol}\thanks{This document corresponds to % \textsf{poemscol}~\fileversion, dated \filedate.}} % \author{John Burt % \\ \texttt{burt@brandeis.edu}} -% \date{17 June 2015} +% \date{29 June 2015} % \maketitle % \begin{abstract} \textsf{poemscol} provides macros for \LaTeX\ for % setting collections of poetry. It is especially suited for setting @@ -263,7 +265,7 @@ % works. \textsf{poemscol} numbers the lines, and produces separate, % formatted endnote sections for emendations, textual collations, and % explanatory notes (or, optionally, multi-layered footnotes), tying -% each note the number of the line upon which it is a comment. It +% each note to the number of the line upon which it is a comment. It % also automatically generates a table of contents, an index of titles % and first lines, and divider pages for the sections of the volumes. % It produces running headers of the form ``Emendations to pp.~xx-yy'' @@ -352,17 +354,21 @@ % other packages are available, including the \texttt{EDMAC} format, a % \TeX\ format analogous to but distinct from \LaTeX, by John % Lavagnino and Dominik Wujastyk, or \textsf{ledmac}, a port of -% \texttt{EDMAC} into \LaTeX\ by Peter Wilson, or \textsf{ednotes}, a +% \texttt{EDMAC} into \LaTeX\ originally by Peter Wilson and +% now maintained as \textsf{eledmac} by Ma\"{\i}eul Rouquette, or \textsf{ednotes}, a % completely independent set of macros for critical editions which % builds on \textsf{manypar} and \textsf{lineno}, by Uwe L\"{u}ck. % % \section{Dependencies and compatibility with other packages} % +%\subsection{~General} % \textsf{poemscol} depends upon several other packages, which you % should be sure you have in your preamble and search path: % \textsf{fancyhdr} for managing the running headers, \textsf{makeidx} % and \textsf{multicol} for managing the index, \textsf{geometry}, and -% \textsf{ifthen} and \textsf{keyval} to simplify page geometry. If +% \textsf{ifthen} and \textsf{keyval} to simplify page geometry. +% +% If % you are using the |\JHpoemtitle| alternate form of the |\poemtitle| % command, you need to add \textsf{mparhack} to your package list, to % make sure that the marginal references |\JHpoemtitle| adds appear on @@ -404,8 +410,9 @@ % emendations sections also have multiple paragraph notes, you should % re-define them in order to produce footnotes in plain rather than in % para mode, if you wish to produce footnotes rather than endnotes. +% % \textsf{manyfoot} sometimes gets into conflicts with other packages -% over the number of |\counts| it uses, causeing \LaTeX\ to complain +% over the number of |\counts| it uses, causing \LaTeX\ to complain % that there is no room for a |\newcount|. If this happens, % issue |\usepackage{etex}| and |\reserveinserts|. % @@ -415,6 +422,43 @@ % Versions 1.2a or later of \textsf{dramatist} are compatible with % versions 2.3 or later of \textsf{poemscol}. % +% +% \subsection{~Parallel Text Editions} If you are using the |\keeptitlestraight| +% hack described below at \ref{parallelhack}, you should add \textsf{etoolbox} +% to your package list. If you are using the six pre-defined endnote sections +% for parallel text editions (|\rectotexnote|, |\versotextnote|, |\rectoemendation|, |\versoemendation|, +% |\rectoexplanatory|, |\versoexplanatory| and their prose equivalents |\rectoprosetextnote| +% and so on) you do not need to use this hack. You only need to use this hack if +% you are defining your own endnote sections using |\definenewnotetype|. +% +% \subsection{~Crop marks} +% \textsf{poemscol} no longer provides cropmarks, but is compatible with +% the style packages that do. I use \textsf{crop}, with the +% letter,pdftex,cam, and center options. +% +% +% \subsection{~Incompatibility with \textsf{memoir} and \textsf{verse}} +% Unfortunately, \textsf{poemscol} is not compatible with the +% \textsf{memoir} class and the \textsf{verse} package, because they +% share some command names. I am preparing a workaround for this +% problem. +% +% \subsection{~Conflict with \textsf{BibLaTeX} } +% \BibTeX\ works with \textsf{poemscol} with no problem. But a bug I haven't +% yet tracked down (probably involving |\makeatletter|) +% complicates the use of \textsf{BibLaTeX}. To use \textsf{BibLaTeX} +% you will need to open up the .bbl file. You will find near the top +% the following lines:\\ +% |\makeatletter|\\ +% |\@ifundefined{ver@biblatex.sty}|\\ +% | {\@latex@error|\\ +% |{Missing 'biblatex' package}|\\ +% | {The bibliography requires the 'biblatex' package.}|\\ +% | \aftergroup\endinput}|\\ +% |{}|\\ +% Just comment out these lines and you will be able to use the .bbl file as usual. +% +% % \subsection{~Compatibility with earlier versions of % \textsf{poemscol}} Making \textsf{poemscol} compatible with % \textsf{lineno} required me also to change the commands for turning @@ -449,37 +493,6 @@ % see the details at section \ref{definingnewnotes}, page % \pageref{definingnewnotes}. % -% \subsection{~Incompatibility with \textsf{memoir} and \textsf{verse}} -% Unfortunately, \textsf{poemscol} is not compatible with the -% \textsf{memoir} class and the \textsf{verse} package, because they -% share some command names. I am preparing a workaround for this -% problem. -% -% \subsection{~Parallel Text Editions} If you are using the |\keepttitlestraight| -% hack described below at \ref{parallelhack}, you should add \textsf{etoolbox} -% to your package list. -% -% \subsection{~Crop marks} -% \textsf{poemscol} no longer provides cropmarks, but is compatible with -% the style packages that do. I use \textsf{crop}, with the -% letter,pdftex,cam, and center options. -% -% \subsection{~Conflict with \textsf{BibLaTeX} } -% \BibTeX\ works with \textsf{poemscol} with no problem. But a bug I haven't -% yet tracked down (probably involving |\makeatletter|) -% complicates the use of \textsf{BibLaTeX}. To use \textsf{BibLaTeX} -% you will need to open up the .bbl file. You will find near the top -% the following lines:\\ -% |\makeatletter|\\ -% |\@ifundefined{ver@biblatex.sty}|\\ -% | {\@latex@error|\\ -% |{Missing 'biblatex' package}|\\ -% | {The bibliography requires the 'biblatex' package.}|\\ -% | \aftergroup\endinput}|\\ -% |{}|\\ -% Just comment out these lines and you will be able to use the .bbl file as usual. -% -% % \section{Marking up individual poems} % First, a word about the command names. The command names may seem % ugly and long. And there are separate commands for many tasks that @@ -513,12 +526,24 @@ % \subsection{~The title of the poem} % % \DescribeMacro{\poemtitle}|\poemtitle{}|, as its name implies, sets -% the title of the poem. \textsf{poemscol} gives default values for +% the title of the poem. +%The macro takes one +% argument --- the title, of course. The macro typesets the title in +% the body of the volume (testing first to see whether there is enough +% space at the bottom of the page to get the title and a couple of +% lines of the poem in), typesets the title in the table of contents +% (with the page number), typesets the title in the textual notes +% (adding the page number, and checking to see whether there is room +% enough on the page), and prepares similar entries in the lists of +% emendations and in the explanatory notes (if you need them). +% \textsf{poemscol} gives default values for % such things as the font size, the separation between the top of the % title and the bottom of the previous poem, the separation between % the bottom of the title and the first line, and so on. It also sets % penalties in order to encourage page breaks just before a title, and -% to discourage page breaks between a title and a poem. You can +% to discourage page breaks between a title and a poem. +% +% You can % change all these values in your header file by changing the value of % the parameters listed below in the implementation section using % either |\setlength| or |\renewcommand| (depending upon what you are @@ -529,24 +554,19 @@ % sets the vertical separation between a poem and its title. % |\afterpoemskip| sets the vertical separation between the end of a % poem and the title of the next poem. |\poemtitlepenalty| encourages -% but does not require a page break just before a poem title. A +% but does not require a page break just before a poem title. +% If you don't want the entry in the notes section for this poem to include +% the page number of the poem, issue |\putpagenumberinnotesfalse|. A % complete list of all of the special commands for setting font sizes, % skips, and penalties, is in section \ref{changingfontsandleading} below. % -% In the actual text of the poem, you need only use the |\poemtitle{}| -% macro to specify the title of the poem. The macro takes one -% argument --- the title, of course. The macro typesets the title in -% the body of the volume (testing first to see whether there is enough -% space at the bottom of the page to get the title and a couple of -% lines of the poem in), typesets the title in the table of contents -% (with the page number), typesets the title in the textual notes -% (adding the page number, and checking to see whether there is room -% enough on the page), and prepares similar entries in the lists of -% emendations and in the explanatory notes (if you need them). -% Multiple line titles, titles of subsections of poems, titles of + +% Multiple line titles (if it matters how they are broken up on page), +% titles of subsections of poems, titles of % sequences of poems, and titles of the elements of a sequence of % poems are all special cases, with special commands, which will be -% dealt with below. You can also create new varieties of title. For instructions +% dealt with below at sections \ref{multilinetitles} and \ref{poeticsequences}. +%You can also create new varieties of title. For instructions % on how to do this, see section \ref{customizing titles} below, page \pageref{customizing titles}. % % \DescribeMacro{\poemsubtitle} Subtitles of poems should be issued as @@ -693,7 +713,7 @@ % |\pmclsideparvshift|. The default value is % |\setlength{\pmclsideparvshift}{0ex}|. % -% \subsection{~Special features} +% \subsection{~Special line markup} % \DescribeMacro{\linebend} \textsf{poemscol} automatically runs over % long lines, indenting the run over portion on the next physical % line. If you are unhappy with where \textsf{poemscol} has run over @@ -865,6 +885,7 @@ % the page number of the page on which the label appears. % % \section{Making a table of contents} +% \subsection{~Setup} % \DescribeMacro{\makepoemcontents} % I found the normal \LaTeX\ macros for making tables of contents % unsuited to poetry, so I have provided my own. To make a table of @@ -939,29 +960,34 @@ % \emph{after} issuing |\putpoemcontents|. % % \subsection{~Contents entries for notes sections and the index} -% \DescribeMacro{\putpoemindex} -% Remember that if you are making an index of titles and first lines -% you may need to run your file through \LaTeX\ after running -% MakeIndex, to put the entry for the index into your table of -% contents. |\putpoemindex| inputs the formatted index, and adds an entry -% for it into the table of contents. Use |\putmultiplepoemindex| if -% you are making several indices. For instructions about -% |\putmultiplepoemindex| see section \ref{multipleindex}, -% p.~\pageref{multipleindex}. % % \begin{sloppypar}\DescribeMacro{\puttextnotes} % \DescribeMacro{\putemendations} % \DescribeMacro{\putexplanatory} % |\puttextnotes|, and its siblings |\putemendations| and -% |\putexplanatory|, like |\putpoemindex|, input the formatted notes -% sections, and put entries for them into your table of contents. As -% with |\putpoemindex|, you will have to run \LaTeX\ again to set the +% |\putexplanatory|, linput the formatted notes +% sections, and put entries for them into your table of contents. +% You will have to run \LaTeX\ again to set the % table of contents properly. The first run sets a label to find the % page number to add to the table of contents, and the second run % actually sets the table of contents. (These commands are described % below, in section \ref{putexternalfiles}.) All of these commands % also restore normal hyphenation. \end{sloppypar} % +% \DescribeMacro{\putpoemindex} +% |\putpoemindex| inputs the formatted index, and adds an entry +% for it into the table of contents. +% Remember that if you are making an index of titles and first lines +% you may need to run your file through \LaTeX\ after running +% MakeIndex, to put the entry for the index into your table of +% contents. +% +% \DescribeMacro{\putmultiplepoemindex} +%Use |\putmultiplepoemindex| instead if +% you are making several indices. For instructions about +% |\putmultiplepoemindex| see section \ref{multipleindex}, +% p.~\pageref{multipleindex}. +% % \DescribeMacro{\finish} Rather than issuing |\putpoemcontents| in % the proper place, and |\puttextnotes| and its siblings in their % proper places, you can issue the |\finish| command just after your @@ -981,6 +1007,7 @@ % % % \section{Making an index of titles and first lines} +% \subsection{~Setup} % \DescribeMacro{\indexingontrue} To set up the Index section of your % volume, issue |\indexingontrue| in your preamble. This will create % the external file for your index information and send that file the @@ -1013,7 +1040,7 @@ % information (such as italicization) in titles or first lines without % messing up their sort order. % -% \subsection{Making Multiple Indices}\label{multipleindex} +% \subsection{~Making Multiple Indices}\label{multipleindex} % \textsf{poemscol} can work with \textsf{splitindex} to generate % more than one index. You might, for instance, wish a separate index % of titles and index of first lines, or an index of proper names. To @@ -1107,7 +1134,8 @@ % pages, the table of contents, the notes sections, and other special % cases). Normally that is the name of the entire book. % -% \section{Recording textual notes} \subsection{~Setup for sections for +% \section{Recording textual notes}\label{recordingtextualnotes} +% \subsection{~Setup for sections for % textual notes, emendations, and explanatory notes.} % \DescribeMacro{\makeemendations} \DescribeMacro{\maketextnotes} % \DescribeMacro{\makeexplanatorynotes} @@ -1201,8 +1229,6 @@ % |\sources{}|. % % \DescribeMacro{\textnote} -% \DescribeMacro{\sameword} -% \DescribeMacro{\missingpunct} % \DescribeMacro{\emendation} % \DescribeMacro{\explanatory} % |\textnote{}| is used to capture variants and tie them to the @@ -1212,7 +1238,16 @@ % the line you wish to comment upon. Put the text of your note (which % may be simply the recording of a variant in standard notation) into % the argument of the macro. You should put both the lemma and the -% variants or comment in the argument to the |\textnote{}| macro. To +% variants or comment in the argument to the |\textnote{}| macro. +% For emendations, use |\emendation{}|, and for explanatory notes, +% use |\explanatory{}|. These notes go to their own endnote sections. The +% only difference is that each poem opens a new paragraph for its own +% textual notes, but paragraphs for explanatory notes or emendations are only +% opened if there actually are explanatory notes or emendations for that poem. +% +% \DescribeMacro{\sameword} +% \DescribeMacro{\missingpunct} +% To % put the $\sim$ glyph in your note (used for recording places where % the variant and the copy text have the same word, as for instance % when recording a variation of punctuation) use |\sameword|. To put @@ -1231,7 +1266,7 @@ % line, and ending at the fourth line after it. If that |\textnote| % were issued after line 214, this is to say, the output in the % textual notes would be: 214--218: lemma] rest of note. -% +% % \begin{sloppypar} It seems clumsy to count the lines referred to by % a note, especially since you don't have to count lines to set where % the note begins. A more sophisticated way, and one which involves @@ -1247,6 +1282,20 @@ % compatibility with earlier versions. If you use the label method, % you will have to run your file through \LaTeX\ twice, once to define % the labels, and once to set the text.\end{sloppypar} +% +% Here is a complete example: +%\begin{verbatim} +%Yes, then I met the beast. Well, better, indeed,\verseline +%\textnote[had it been the]{better, indeed, / Had it been the] better if +%it / Had been the 1953TS (revised in black pencil +%on 1953TS to 1953)} +%Had it been the manifest beast and the circumstantial\verseline +%\poemlinelabel{had it been the} +%Avatar of destruction. But no beast then: the towering\verseline +%Definition, angelic, arrogant, abstract,\verseline +%Greaved in glory, thewed with light, the bright\verseline +%Brow tall as dawn. I could not see the eyes.\end{stanza} +% \end{verbatim} % % Overlapping lemmas, or lemmas that % include stanza breaks, do not pose any difficulties for |poemscol|. @@ -1606,7 +1655,7 @@ % different handling. To provide line numbers and notes for such % prose sections, see section \ref{prosesections}. % -% \subsection{~Multiline poem titles} +% \subsection{~Multiline poem titles}\label{multilinetitles} % \DescribeMacro{\poemtitlefirstline} % \DescribeMacro{\poemtitlemiddleline} % \DescribeMacro{\poemtitlelastline} @@ -1695,7 +1744,7 @@ % |\poemsectiontitlebaretitle{}| and |\literalcontents{}| and its % siblings.\end{sloppypar} % -% \subsection{~Poetic sequences} +% \subsection{~Poetic sequences}\label{poeticsequences} % % \DescribeMacro{\sequencetitle} \DescribeMacro{\sequencesectiontitle} % \DescribeMacro{\sequencefirstsectiontitle} Sequences of related @@ -1973,10 +2022,14 @@ % such as in the textual notes, you will sometimes have to enlarge or % shrink a page by one line in order to avoid an intractable widow or % club line, and when one does so one must be careful to do the same to -% the other member of the two-page spread of which that page is a part. +% the other member of the two-page spread of which that page is a part +% so that the spread will be properly balanced. % These commands enable one to wiggle pagelength enough to handle these % problems. Since verse sections should be set with |\raggedbottom| % in effect, the commands are not necessary in verse sections. +% +% |\longpage| and |\shortpage| are cumulative: issuing |\longpage| twice lengthens the +% page by two lines, and issuing |\shortpage| twice shortens the page by two lines. % % \section{Customizing page geometry} % @@ -2063,40 +2116,35 @@ % % You have to give geometry the values that suit you. I include the % values I used in my own book, just to give you a starting place. -% Using these numbers out of the box might make your page look -% strange, since I also used the now obsolete \textsf{cropmarks} -% package, which defined a few other lengths and moved the page box -% around on the page. Also, the default values for marginparsep and +% The default values for marginparsep and % marginparwidth are different now (18pt and 10pt respectively). With % that warning, here is a list of the values I used: % % \bigskip % % \begin{tabular}{l l} -% tmargin& 33pt\\ -% textwidth&318.21pt\\ -% textheight&550pt\\ -% marginparsep&7pt\\ -% marginparwidth&10pt\\ -% headheight& 15pt\\ -% headsep&19pt\\ +% textheight&6.75in\\ +% marginparsep&0pc\\ +% marginparwidth&0pc\\ +% headheight& 14pt\\ +% paperwidth&6in\\ +% paperheight& 9in\\ +% inner&4.5pc\\ +% outer&4.5pc\\ % footskip&15pt\\ -% lmargin&132pt\\ % \end{tabular} % %\bigskip % -% You can reproduce this geometry by issuing the command -% |\tightgeometry|. -% -% In my own book I also, strictly to save money, and at the price of -% some ugliness, changed the definition of |\normalsize| and |\small|, -% so that the former was 10 pt type on 11 pt leading (rather than 12 -% pt), and that the latter was 9 pt type on 10 pt leading. You can -% reproduce this setting by issuing |\tightleading|, although I would -% advise not doing so unless you are under financial constraints. +%% +%% In my own book I also, strictly to save money, and at the price of +%% some ugliness, changed the definition of |\normalsize| and |\small|, +%% so that the former was 10 pt type on 11 pt leading (rather than 12 +%% pt), and that the latter was 9 pt type on 10 pt leading. You can +%% reproduce this setting by issuing |\tightleading|, although I would +%% advise not doing so unless you are under financial constraints. % -% \section{Prose Sections} \label{prosesections} \textsf{poemscol} +% \section{Prose Sections with Line Numbers} \label{prosesections} \textsf{poemscol} % uses the \textsf{lineno} package to make marginal line numbers for % prose sections such as the Author's Introduction, Afterword, % Author's Notes, or such prose interludes or prose poems the volume @@ -2270,6 +2318,7 @@ % \LaTeX\ has generated the .aux file at the end of the first run. % % \section{Paragraph and Sentence Annotation}\label{paragraphsentence} +% \subsection{~Setup} % Annotating a prose section by sentence number, or by paragraph number and % sentence number, has some advantages over annotating it by line % number. The principal advantage is that the annotation and reference @@ -2358,7 +2407,7 @@ % |\runningsentencenumberformat| sets the format of running sentence % numbers. Currently it is |\textsuperscript| and |\tiny|. You can % change this with |\renewcommand|. The format of marginal sentence -% numers is set by |\marginsentencenumberformat|. Currently it is +% numbers is set by |\marginsentencenumberformat|. Currently it is % |\tiny|. You can change this with |\renewcommmand|. % % \DescribeMacro{\pmpara} @@ -2381,7 +2430,7 @@ % assume that you intend to include the paragraph number in your % notes (in the form \emph{paragraph: sentence:} for simple % references, or \emph{firstparagraph: firstsentence: -- -% ;astparagraph: lastentence:} for ranges of sentences) even if you do not reset +% lastparagraph: lastentence:} for ranges of sentences) even if you do not reset % the sentence number at the beginning of each paragraph. Normally % you would not issue |\pmpara| if you are not resetting the sentence % number at the beginning of each paragraph, since under those @@ -2401,7 +2450,7 @@ % |\textbf| and |\small|. Either can % be changed with |\renewcommand|. % -% \subsection{Cross Reference by Sentence and Paragraph} +% \subsection{~Cross Reference by Sentence and Paragraph} % \DescribeMacro{\sentencelabel} % To make labels that refer to sentences or paragraphs, issue % |\sentencelabel{}|. The label will be either both the paragraph @@ -2409,7 +2458,7 @@ % by paragraph), or only the sentence number (if you are not resetting % sentence numbers by paragraph). % -% \subsection{End notes by Sentence and Paragraph} +% \subsection{~End notes by Sentence and Paragraph} % % \begin{sloppypar} % \DescribeMacro{\pmtextnote} @@ -2444,164 +2493,271 @@ % |\sources| needs no special handling if you are annotating by % sentence and paragraph. % -% \subsection{Footnotes by Sentence and Paragraph} +% \subsection{~Footnotes by Sentence and Paragraph} % |\textnoteatfoot| shifts |\pmtextnotes| to the foot, as with % |\prosetextnote|. |\emendationsatfoot| and |\explanationsatfoot| % work the same way. -% \subsection{Bible Chapter and Verse} +% \subsection{~Bible Chapter and Verse} % Since |\pmsentence| and |\pmpar| are the moral equivalents of bible % verse and chapter, |\biblechapter| and |\bibleverse| are provided % for convenience. % \section{Parallel Text Editions} \label{parallelhack} -% \subsection{Parallel Texts in Verse} -% \textsf{poemscol} does not make parallel texts in which the texts are -% set in parallel on the same page, but it can help one make parallel +% \subsection{~Setup for Parallel Texts in Verse} +% \textsf{poemscol} can make parallel % text editions in which the contrasting versions are set on facing -% verso and recto pages. \textsf{poemscol} does not provide the page +% verso and recto pages. \textsf{poemscol} does not automatically provide the page % breaks for parallel editions, and even if it did, one would still % probably have to specify page breaks every two or three pages to keep -% the texts in register. If you are willing to set the page breaks -% yourself, however, it does provide macros for keeping the line count +% the texts in register anyway, so you will have to use |\newpage| +% to mark every page break. If you are willing to set the page breaks +% yourself, however, \textsf{poemscol} does provide macros for keeping the line count % correct on successive recto or verso pages, and for keeping track of % whether or not one was in the middle of a stanza when one closed the -% previous page on a particular side of the book. And it provides, in +% previous verso or recto page (as the case may be). And it provides, in % the |\synchrolabel| and |\synchroref| commands, a way of marking which % lines on the recto side correspond to particular lines on the verso % side. |\synchroref| will even tag the marginal line number it makes % with a marker to specify the text to which it refers. % % \DescribeMacro{\startparalleltexts} -% \DescribeMacro{\startrectopage} -% \DescribeMacro{\finishrectopage} -% \DescribeMacro{\startversopage} -% \DescribeMacro{\finishversopage} % \DescribeMacro{\finishparalleltexts} % \DescribeEnv{parallelverse} % You must begin a region of parallel text on a \emph{verso} page. +% A parallel text region must begin with +% |\startparalleltexts| and end with |\finishparalleltexts|. % Setting parallel texts requires one to redefine the poem and stanza -% environments. A parallel text region must begin with -% |\startparalleltexts| to redefine those environments. Verso pages -% should begin with |\startversopage| and end with |\finishversopage|. -% Recto pages should begin with |\startrectopage| and end with -% |\finishrectopage|. You have to declare the page breaks manually, -% so be sure you are putting the two |\finish| commands in places which -% will work. |\finishparalleltexts| just makes certain that stanzas, and poems -% that you opened in a region of parallel texts are closed when you leave it. +% environments, and |\startparalleltexts| redefines those environments. +% You can make those changes local to the parallel text region by using +% |\begin{parallelverse}| and |\end{parallelverse}| rather than |\startparalleltexts| +% and |\finishparalleltexts|. % |\startparalleltexts| and |\finishparalleltexts| can be issued on their own -% but I have combined them to make the |parallelverse| environment. -% +% but I have combined them to make the |parallelverse| environment. +% % Although usually with \textsf{poemscol} it is up to you where to put % the marginal line numbers, when you issue |\startparalleltexts| the % positions are fixed as follows: marginal line numbers are in the left % margin, line cross references (marking which lines in the recto text -% correspond to which lines in the verso text) are in the right margin. +% correspond to which lines in the verso text, which +% are made with |\synchroref|) are in the right margin. +% +% +% \DescribeMacro{\startrectopage} +% \DescribeMacro{\finishrectopage} +% \DescribeMacro{\startversopage} +% \DescribeMacro{\finishversopage} +% Verso pages +% should begin with |\startversopage| and end with |\finishversopage|. +% Recto pages should begin with |\startrectopage| and end with +% |\finishrectopage|. You have to declare the page breaks manually, +% so be sure you are putting the |\finishversopage| or |\finishrectopage| commands +% in places which +% will work. |\finishparalleltexts| just makes certain that stanzas, and poems +% that you opened in a region of parallel texts are closed when you leave it. % % \DescribeMacro{\versopoemtitle} % \DescribeMacro{\rectopoemtitle} % \DescribeMacro{\versopoemtitlenocontents} % \DescribeMacro{\rectopoemtitlenocontents} -% If you are making a parallel text edition, you will probably need to +% Use |\versopoemtitle| and |\rectopoemtitle| +% rather than |\poemtitle| for the title of the poem (or prose passage) +% on the verso or recto pages. +% if you are making a parallel text of Wordsworth's 1805 and 1850 +% versions of \emph{The Prelude}, you might want to use something +% like |\versopoemtitle{The Prelude (1805 Version)}| and +% |\rectopoemtitle{The Prelude{1850 Version)}|. +% I have also made versions of these commands that do not make +% entries in the table of contents, should the need arise for them. +% If you wish to make titles for other things, +% such as poetic sequences or sequence sections, you can use the techniques +% described in section \ref{customizing titles} above, page \pageref{customizing titles}, +% except substitute the macro |\versoset@p@emtitle| +% or |\rectoset@p@emtitle| for |\set@p@emtitle|, using +% all the same arguments you would have used with |\set@p@emtitle|. +% +%\subsection{~Parallel Texts and on the fly note types} +% If you are making a parallel text edition, you may need to % use |\definenewnotetype| to make the different kinds of endnote -% for the parallel texts. For instance, you may use something like |\rectoexplanatory| -% and |\versoexplanatory| for explanatory notes for the poems on the recto -% and verso pages. Without special care, \textsf{poemscol} may become -% confused about whether it has seen, for example, a |\rectoexplanatory| for -% a particular poem or not, and, if |\settitleinnotes| is set, may neglect to put the -% title in the notes for the first note for that poem. To remedy this, use |\versopoemtitle| -% and |\rectopoemtitle| rather than |\poemtitle| in sections of parallel texts. +% for the parallel texts. For instance, +% if you are making a parallel text of Wordsworth's 1805 and 1850 +% versions of \emph{The Prelude}, you may use something like |\fiveexplanatory| +% and |\fiftyexplanatory| for explanatory notes for the poems on the verso +% and recto pages. +% % % \DescribeMacro{\keeptitlestraight} -% \DescribeMacro{\resetitleinnotes} +% Without special care, \textsf{poemscol} may become +% confused about whether it has seen, for example, a |\fiveexplanatory| for +% a particular book of \emph{The Prelude} or not, and, if |\settitleinnotes| is set, +% may neglect to put the +% title of that book of \emph{The Prelude} in the notes +% for the first note for that book. To remedy this, |\versopoemtitle| +% and |\rectopoemtitle| set up a way of keeping track whether each species +% of note has appeared already or not. % While setting parallel texts \textsf{poemscol} checks at the beginning of every % verso or recto page whether the the different species of endnote for the poem on % that page has appeared before. On rare occasions this turns out not to be frequently -% enough. In this case, the following hack, |\keeptitlesstraight| will check whether the verso or recto +% enough in cases +% where you are defining your own kinds of endnote. +% In this case, the following hack, |\keeptitlesstraight|, will check whether the verso or recto % poem has set that species of note each time it is issued. Suppose, for instance, +% going back to our Wordsworth example, % that you have defined, using |\definenewnotetype|, the following six -% kinds of endnotes: |\versotextnote| |\versoemendation|, |\versoexplanatory|, -% |\rectotextnote|, |\rectoemendation|, and |\rectoexplanatory|. You should +% kinds of endnotes: |\fivetextnote| |\fiveemendation|, |\fiveexplanatory|, +% |\fiftytextnote|, |\fiftyemendation|, and |\fiftyexplanatory|. You should % define a new command called |\keeptitlesstraight| to keep track of these six -% kinds of note. Here is how it might look:\\ -% |\newcommand{\keeptitlesstraight}{|\\ -% |\pretocmd{\versotextnote}{\versotitleinnotescheck}{\relax}{\relax}| -% |\pretocmd{\versoemendation}{\versotitleinnotescheck}{\relax}{\relax}| -% |\pretocmd{\versoexplanatory}{\versotitleinnotescheck}{\relax}{\relax}| -% |\pretocmd{\rectotextnote}{\rectotitleinnotescheck}{\relax}{\relax}| -% |\pretocmd{\rectoemendation}{\rectotitleinnotescheck}{\relax}{\relax}| -% |\pretocmd{\rectoexplanatory}{\rectotitleinnotescheck}{\relax}{\relax}| -% |}|\\ +% kinds of note. Here is how it might look: +% +% \medskip +% +% \noindent|\newcommand{\keeptitlesstraight}{|\\ +% |\pretocmd{\fivetextnote}{\versotitleinnotescheck}{\relax}{\relax}| +% |\pretocmd{\fiveemendation}{\versotitleinnotescheck}{\relax}{\relax}| +% |\pretocmd{\fiveexplanatory}{\versotitleinnotescheck}{\relax}{\relax}| +% |\pretocmd{\fiftytextnote}{\rectotitleinnotescheck}{\relax}{\relax}| +% |\pretocmd{\fiftyemendation}{\rectotitleinnotescheck}{\relax}{\relax}| +% |\pretocmd{\fiftyexplanatory}{\rectotitleinnotescheck}{\relax}{\relax}| +% |}| +% +% \medskip +% % All those fields filled with |\relax| are for reporting the success of failure % |\pretocmd| has had in appending |\versotitleinnotescheck| (or |\rectotitleinnotescheck|) % to the different endnotes commands. You may wish to replace -% the |\relax| with something like |\typeout{versotextnote modified}| or -% |\typeout{versotextnote not modified}|. +% the |\relax| with something like |\typeout{fiftytextnote modified}| or +% |\typeout{fiftytextnote not modified}|. +% +%If you are using the |\keeptitlestraight| +% hack described here, you should add \textsf{etoolbox} +% to your package list. % -% Should a section of non-parallel texts follow a section of parallel texts, you -% will need to issue the following hack after the parallel texts close:\\ +% \DescribeMacro{\resettitleinnotes} +% If you are defining new kinds of note, and a section of +% non-parallel texts follow a section of parallel texts, you +% will need to issue the following hack after the parallel texts close +% (again I am using the Wordsworth example):\\ % |\newcommand{\resettitleinnotes}{|\\ -% |\noversoemendationyettrue%|\\ -% |\noversoexplanatoryyettrue%|\\ -% |\noversotextnoteyettrue%|\\ -% |\norectoemendationyettrue%|\\ -% |\norectoexplanatoryyettrue%|\\ -% |\norectotextnoteyettrue%|\\ +% |\nofiveemendationyettrue%|\\ +% |\nofiveexplanatoryyettrue%|\\ +% |\nofivetextnoteyettrue%|\\ +% |\nofiftyemendationyettrue%|\\ +% |\nofiftyexplanatoryyettrue%|\\ +% |\nofiftytextnoteyettrue%|\\ % |}| % +% \subsection{~Parallel Texts and Generic Note types} +% \DescribeMacro{\rectotexnote} +% \DescribeMacro{\rectoemendation} +% \DescribeMacro{\rectoexplanatory} +% \DescribeMacro{\versotexnote} +% \DescribeMacro{\versoemendation} +% \DescribeMacro{\versoexplanatory} +% In case you find using these hacks a bit burdensome, +% I have defined for your convenience six generic kinds of endnote for use in parallel text +% editions: |\rectotextnote|, |\rectoeemendation|, |\rectoexplanatory|, +% |\versotextnote|, |\versoemendation|, and |\versoexplanatory,| as well as |\rectoprosetexnote|, +% |\versoprosetextnote,| |\rectoproseemendation,| |\versoproseemendation|, +% |\rectoproseexplanatory|, and |\versoproseexplanatory.| (I have also defined +% |\literalrectotextnote|, |\literalversotextnote|, |\literalrectoemendation|, |\literalversoemendation|, +% |\literalrectoexplain|, and |\literalversoexplain| for sending material other than formal +% endnotes to these endnote sections. +% You can use all of these without issuing the moral equivalent of |\keeptitlesstraight| and +% |\resettitleinnotes|. +% +% \DescribeMacro{\makerectotexnote} +% \DescribeMacro{\makerectoemendation} +% \DescribeMacro{\makerectoexplanatory} +%To use these +% kind of note, issue |\makeversotextnotes|, |\makeversoemendations|, +% |\makeversoexplanatorynotes| or their recto equivalents in your preamble. You can mark +% up your texts with these notes +% just as you would do with |\textnote|, |\emendation| or |\explanatory| (or |\literalversotextnote| +% |\literalversoemend| and |\literalversoexplain|), without any of the special hacks +% I have just described. % +% \DescribeMacro{\changerectotextnotesname} +% \DescribeMacro{\changerectotextnotesheader} +% \DescribeMacro{\rectotextnotessinglepar} +% \DescribeMacro{\rectotextnotessingletwocol} +% I have given the endnotes sections generated by these notes rather +% generic names (|\rectotextnote| and |\versotextnote| for instance, both open endnote sections +% with the title TEXTUAL NOTES, with a running header of the form ``Textual Notes to pp.~xx--yy'' +% an a contents entry of Textual Notes). You will probably need to change +% those to something more descriptive. You can change any of these with +% |\changeversotextnotesname{Your Title}|, |\changeversotextnotesheader{Your running header}|, +% and |\changeversotextnotescontentsname{Your contents entry}|. +% You can change the appearance of these notes +% by changing the values of the booleans |\versotextnotessinglepar| and |\versotextnotestwocol|. +% Similar sets of commands are available for |\versoemendation| and |\versoexplanatory| +% and their recto equivalents. % +% \DescribeMacro{\putrectotextnotes} +% To include these note sections in your document, issue |\putversotextnotes|, |\putrectotextnotes|, +% |\putversoemendations|, |\putrectoemendations|, |\putversoexplanatorynotes|, or +% |\putrectoexplanatorynotes| at the point where you wish them to appear. These commands +% behave exactly like |\puttextnotes|. +% +% \subsection{~Parallel Text Labels} % \DescribeMacro{\synchrolabel} \DescribeMacro{\synchroref} -% \DescribeMacro{\setsynchroflag} To mark these cross references, you -% need to make a label on the verso side, and a corresponding -% reference on the recto side. You may also wish to add a mark to -% that reference to specify what edition it refers to. So, for +% \DescribeMacro{\setsynchroflag} You may want to mark cross references +% to make it clear to the reader which line of the poem on the recto side +% of the spread corresponds to a particular line on the verso side. +% To mark these cross references, you +% need to make a label on the verso side (using |\syncrolabel|), and a corresponding +% reference on the recto side (using |\synchroref|). You may also wish to add a mark to +% that reference (using |\setsynchroflag|) to specify to the reader what edition it refers to. So, for % instance, if your verso text is the 1805 version of Wordsworth's % \emph{The Prelude}, and your recto text is the 1850 version, you may -% wish to specify |\setsynchroflag{1850: }|, which will preface the -% references put out by the |\synchroref| command with `1850: '. -% Suppose you wished to tie the line ``Oh, what can ail thee, man at -% arms?'' on the verso side to the line ``Oh, what can ail thee, -% wretched wight?'' on the recto. To make the label, issue the -% |\synchrolabel| command on the verso side just after the +% wish to specify |\setsynchroflag{1805: }|, which will preface the +% references put out by the |\synchroref| command with~`1805:~'. +% Suppose you wished to tie these corresponding passages from the ``Boy of Winander'' +% episode in Book 3. To make the label, issue the +% |\synchrolabel| command on the verso side (the 1805 side) just after the % |\verseline| or |\end{stanza}| which closes the line you wish to % label: % % \begin{verbatim} -% Oh, what can ail thee, man at arms?\verseline -% \synchrolabel{Oh, what can ail thee, man at arms?} +%This boy was taken from his mates, and died \verseline +%In childhood ere he was full ten years old \verseline +% \synchrolabel{full ten years old} % \end{verbatim} % You don't have to quote the whole line in the label, but it should be % long enough to uniquely pick out that line in the poem. (If the line % is repeated in the poem, you will have to exercise your ingenuity in % making up a unique label.) % -% Over on the recto side, you will want to use |\synchroref| in order +% Over on the recto side (the 1850 side), you will want to use |\synchroref| in order % to print the marginal cross reference. The |\synchroref| command % should come \emph{before} the |\verseline| that closes the line it is % tied to, as follows: % % \begin{verbatim} -% Oh, what can ail thee, wretched wight? -% \synchroref{Oh what can ail thee, knight at arms?}\verseline +%This Boy was taken from his mates, and died\verseline +%In childhood, ere he was full twelve years old. +% \synchroref{full ten years old}}\verseline % \end{verbatim} % -% \subsection{Parallel Prose Passages} +% \subsection{~Parallel Prose Passages} +% \DescribeMacro{parallelprose} % \DescribeMacro{\startparalleltextprose} % \DescribeMacro{\finishparalleltextprose} -% \DescribeMacro{\startversoprosepage} -% \DescribeMacro{\finishversoprosepage} -% \DescribeMacro{\startrectoprosepage} -% \DescribeMacro{\finishrectoprosepage} % \textsf{poemscol} is not designed to manage long parallel texts in prose, % but for shorter texts up to a couple of dozen pages, such as % two versions of an Author's Preface, say, \textsf{poemscol} has the |parallelprose| % environment. (You can also use |\startparalleltextprose| and |\finishparalleltextprose|.) % Like passages of parallel text in verse, parallel prose passages must start -% on a verso page. Each verso page must start with |\startversoprosepage| and finish with +% on a verso page. +% +% \DescribeMacro{\startversoprosepage} +% \DescribeMacro{\finishversoprosepage} +% \DescribeMacro{\startrectoprosepage} +% \DescribeMacro{\finishrectoprosepage} +% Each verso page must start with |\startversoprosepage| and finish with % |\finishversoprosepage|, and each recto page must start with |\startrectoprosepage| % and finish with |\finishrectoprosepage|. If a page continues a paragraph from the previous % page, say, from a previous recto page, put the beginning of the -% text on the second page right after the |\startrectopage| command. (Alternatively, you could just +% text on the second page right after the |\startrectopage| command with +% no blank line. (Alternatively, you could just % begin that page with |\noindent|.) % % \DescribeMacro{\parastart} @@ -2613,7 +2769,8 @@ % \LaTeX\ would naturally break the page. Because how \LaTeX\ justifies text is a little % unpredictable, however, you may find that the line before the page break, which filled % the line before you added the page break, is actually a little shorter, and thus is -% no longer justified. To fix this, add an |\hfil| between each word of the last line. +% no longer justified, once you add the page break. +% To fix this, add an |\hfil| between each word of the last line. % % \section{Using \textsf{poemscol} in a Multilingual World} % @@ -2708,9 +2865,9 @@ % \input promises1.tex % \input promises2.tex % \input promises3.tex -% \input yeo1.tex.tex -% \input yeo2.tex.tex -% \input yeo3.tex.tex +% \input yeo1.tex +% \input yeo2.tex +% \input yeo3.tex % \input tale1.tex % \input tale2.tex % \input incarnations.tex @@ -2722,9 +2879,9 @@ % \input beinghere.tex % \input rumor1.tex % \input rumor2.tex -% \input cj1.tex.tex -% \input cj2.tex.tex -% \input altitudes.tex.tex +% \input cj1.tex +% \input cj2.tex +% \input altitudes.tex % \input poems1943_1989.tex % \input introduction.tex % \finish @@ -2904,7 +3061,7 @@ % \subsection{~Page geometry and crop marks} -% \begin{macro}{\tightgeometry} There's no reason why you should use the +% \begin{macro}{\tightgeometry} There's no reason why you should use the % page geometry I specify here. If you issue |\tightgeometry| in your % preamble, you will have the geometry I have used. If you issue % |\tightleading| you will @@ -3256,22 +3413,24 @@ % First, the default running headers: the right side (|\volumeheader|) % is the title of the volume in a multivolume edition, and the left % (|\leftheader|) is the title of the general collection. -% \begin{macro}{\volumeheader} \begin{macro}{\leftheader} -% \begin{macrocode} +% \begin{macro}{\volumeheader} +% \begin{macrocode} \newcommand{\volumeheader}[1]{\global\edef\volumeheadervalue{#1} } +% \end{macrocode} +% \end{macro} +% \begin{macro}{\leftheader} +% \begin{macrocode} \newcommand{\leftheader}[1]{\global\edef\leftheadervalue{#1} } \leftheader{\relax} \volumeheader{\relax} \newcommand{\rightheader}[1]{\volumeheader{#1}} % \end{macrocode} -% \end{macro} -% \end{macro} - +% \end{macro} % The default page style. Note the use of the mark mechanism to keep % track of cases where the stanza breaks and page breaks overlap. -% \begin{macro}{\pagestyle{fancy}} +% \begin{macro}{\pagestyle{fancy}} % \begin{macrocode} \newlength{\headoffsetlength} \setlength{\headoffsetlength}{-1sp} @@ -3303,7 +3462,7 @@ \renewcommand{\footrulewidth}{0pt} } % \end{macrocode} -% \end{macro} +% \end{macro} % Style for the first page of every volume in a Collected Poems. You % don't have to call this style explicitly. It is called by the |\volumetitlepage| @@ -3335,12 +3494,12 @@ } % \end{macrocode} -% \begin{macro}{\resetpagestyle} +% \begin{macro}{\resetpagestyle} % |\resetpagestyle| restores the fancy page style of the main sections of the % book. |\putpoemcontents| changes the fancy page style, and |\resetpagestyle|, % which is called by |\putpoemcontents| as it finishes, restores the original % style -% \begin{macrocode} +% \begin{macrocode} \newcommand{\resetpagestyle}{\pagestyle{main} % \fancyhead{} % \fancyfoot{} @@ -3361,8 +3520,8 @@ \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} % % \end{macrocode} -% \end{macro} -% \begin{macro}{\mymarks} +% \end{macro} +% \begin{macro}{\mymarks} % Here the marks mechanism keeps track of pages from which notes % come. Marks are used different in the notes sections and in the body % of the volume. In the body, they are used to keep track of cases @@ -3381,11 +3540,11 @@ {\unskip ~\the\multiplepageabbrev~\firstmark--\botmark}}%if not equal \newcommand{\poemdotfill}{\dotfill} % \end{macrocode} -% \end{macro} +% \end{macro} % \subsection{~Environments: poem, and stanza} Here are definitions % of the poem and stanza environments, and of the |\verseline| and % |\stanzalinestraddle| macros. -% \begin{macro}{stanza} +% \begin{macro}{stanza} % Page breaks are slightly encouraged in stanza breaks. Notice that % entering a stanza sets the mark to |\relax| and leaving it sets the % mark to * (the default value of |\stanzaatbottom|). If you want to @@ -3450,7 +3609,7 @@ % sets the value of |\mark| in the footer, which is * if the page break % happens at a stanza break, and |\relax| if the page break happens % anywhere else. -% \begin{macro}{poem} +% \begin{macro}{poem} % \begin{macrocode} % \newenvironment{poem}{\raggedright% % \language=255%no hyphenation in verse @@ -3478,7 +3637,7 @@ } % \end{macrocode} % \end{macro} -% \begin{macro}{rightflushverse} +% \begin{macro}{rightflushverse} % Sets verse with the runover portions of long lines flushed to the right. Each line % must begin with |\rightversebegin|.This code was suggested to me by Mark Wooding % on comp.text.tex, who describes the code as ``very unpleasant.'' @@ -3487,13 +3646,13 @@ \leftskip=1 \leftskip\advance\leftskip by 0pt plus 1fill}% {\let\leftskip=\oldleftskip} % \end{macrocode} -% \end{macro} +% \end{macro} % \subsection{~Environments: main title page, divider pages} % Environments for the main title page, and for the divider pages for % individual volumes in a Collected Poems. -% \begin{macro}{volumetitlepage} -% \begin{macro}{maintitlepage} -% \begin{macro}{booksectionpage} +% \begin{macro}{volumetitlepage} +% \begin{macro}{maintitlepage} +% \begin{macro}{booksectionpage} % \begin{macrocode} \newenvironment{volumetitlepage} {\par\clearpage{\pagestyle{volumetitlestyle}\cleardoublepage} @@ -3526,7 +3685,7 @@ % \end{macrocode} % Next, code for |\pmclsidepar|, taken from the memoir class, by % Peter Wilson. Modified by Dan Luecking. -% \begin{macro}{\pmclsidepar} +% \begin{macro}{\pmclsidepar} % \begin{macrocode} \newcommand{\pmclsidepar}{\@dblarg{\@pmclsidepar}} %\long\def\@pmclsidepar[#1]#2{\@bsphack\leavevmode\vadjust{% @@ -3574,15 +3733,15 @@ % \end{macrocode} -% \end{macro} -% \begin{macro}{\thepmemc@@page} +% \end{macro} +% \begin{macro}{\thepmemc@@page} % The value of the page counter. % \begin{macrocode} \gdef\thepmemc@@page{\the\c@page} % \end{macrocode} -% \end{macro} -% \begin{macro}{\pmemlabel} +% \end{macro} +% \begin{macro}{\pmemlabel} % A version of |\label| that uses |\pmemprotected@write|. % \begin{macrocode} \providecommand{\pmemlabel}[1]{\@bsphack @@ -3590,8 +3749,8 @@ {\string\newpmemlabel{#1}{\thepmemc@@page}}% \@esphack} % \end{macrocode} -% \end{macro} -% \begin{macro}{\pmemprotected@write} +% \end{macro} +% \begin{macro}{\pmemprotected@write} % |\pmemprotected@write| is a modified version of the kernel's % |\protected@write|. % @@ -3607,9 +3766,9 @@ \if@nobreak\ifvmode\nobreak\fi\fi} % \end{macrocode} -% \end{macro} -% \begin{macro}{\newpmemlabel} -% \begin{macro}{\pmemlabelref} +% \end{macro} +% \begin{macro}{\newpmemlabel} +% \begin{macro}{\pmemlabelref} % We have to be able to cope with a particular label % not (yet) being in the the aux file when we come to check % the page number. @@ -3623,15 +3782,15 @@ \fi} % \end{macrocode} -% \end{macro} -% \end{macro} -% \begin{macro}{\@memcnta} +% \end{macro} +% \end{macro} +% \begin{macro}{\@memcnta} % We need a scratch count register. % \begin{macrocode} \newcount\@memcnta % \end{macrocode} -% \end{macro} -% \begin{macro}{\checkoddpage} +% \end{macro} +% \begin{macro}{\checkoddpage} % This is the user level command to check for odd/even page. It does % a robust check for |\strictpagecheck| otherwise the simple minded % check. It sets |\ifoddpage| to TRUE if the page is odd, otherwise @@ -3654,9 +3813,9 @@ \fi} % \end{macrocode} -% \end{macro} -% \begin{macro}{\ifpmclreversesidepar} -% \begin{macro}{\ifpmclsideparswitch} +% \end{macro} +% \begin{macro}{\ifpmclreversesidepar} +% \begin{macro}{\ifpmclsideparswitch} % Analogues of |\marginpar| controls. % \begin{macrocode} \newif\ifpmclreversesidepar @@ -3667,12 +3826,12 @@ \if@twoside \pmclsideparswitchtrue \fi % \end{macrocode} -% \end{macro} -% \end{macro} -% \begin{macro}{\ifoddpage} -% \begin{macro}{\ifstrictpagecheck} -% \begin{macro}{\c@cp@cntr} -% \begin{macro}{\cplabel} +% \end{macro} +% \end{macro} +% \begin{macro}{\ifoddpage} +% \begin{macro}{\ifstrictpagecheck} +% \begin{macro}{\c@cp@cntr} +% \begin{macro}{\cplabel} % The boolean |\ifoddpage| is TRUE if the checked page is odd. The % boolean |\ifstrictpagecheck| is for turning on (TRUE) and off (FALSE) % the strictest method of page checking. The counter |cp@cntr| is used @@ -3684,15 +3843,15 @@ \newcounter{cp@cntr} \newcommand{\cplabel}{^_} % \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % Two-column and one-column printing is again realized via a switch % which is defined in the kernel. The default is single column printing. % % -% \begin{macro}{\pmclsideparvshift} +% \begin{macro}{\pmclsideparvshift} % Vertical shift for sidepar to align with text line % \begin{macrocode} \newlength{\pmclsideparvshift} @@ -3700,7 +3859,7 @@ %\setlength{\pmclsideparvshift}{-2.58ex} \setlength{\pmclsideparvshift}{0ex} % \end{macrocode} -% \end{macro} +% \end{macro} % My code resumes here % \begin{macro}{\verselinenumberstoleft} % \begin{macro}{\verselinenumberstoright} @@ -3766,7 +3925,7 @@ } % \end{macrocode} % \end{macro} -% \begin{macro}{\verseline} +% \begin{macro}{\verseline} % \begin{macrocode} \newif\ifspeciallinelock \speciallinelockfalse @@ -3792,8 +3951,8 @@ \addtocounter{lineindexrepeat}{-1}% } % \end{macrocode} -% \end{macro} -% \begin{macro}{\linebend} +% \end{macro} +% \begin{macro}{\linebend} % A linebend is a a normal linebreak from \LaTeX, with no incrementing % of the line number counter, but the indentation makes the line look % like a run over line. If you change the value of the run over in the @@ -3806,11 +3965,11 @@ \hspace{\runoverindentvalue}% } % \end{macrocode} -% \end{macro} +% \end{macro} % |\saveverselinenumber| and |\restoreverselinenumber| are useful for setting % prose interjections in the midst of poems. -% \begin{macro}{\saveverselinenumber} -% \begin{macro}{\restoreverselinenumber} +% \begin{macro}{\saveverselinenumber} +% \begin{macro}{\restoreverselinenumber} % \begin{macrocode} \newcommand{\saveverselinenumber}{\setcounter{verselinenumberscratch}% {\value{verselinenumber}}% @@ -3821,7 +3980,7 @@ % \end{macrocode} % \end{macro} % \end{macro} -% \begin{macro}{\rightversebegin} +% \begin{macro}{\rightversebegin} % By default, \textsf{poemscol} indents the runover portion of long lines by the % amount |\runoverindent| (by default 6 em). It is possible to set verse so that % the runover portion is flushed to the right margin. To do this, you should @@ -3831,14 +3990,14 @@ \newcommand{\rightversebegin} {\leavevmode\nobreak\hskip0pt plus -1fill\ignorespaces} % \end{macrocode} -% \end{macro} -% \begin{macro}{\hour} +% \end{macro} +% \begin{macro}{\hour} % |\hour{}| is useful for typesetting the AM and the PM in the time. % \begin{macrocode} \newcommand{\hour}[1]{{{\textsc{#1}}\ $\!\!\!$} } % \end{macrocode} -% \end{macro} +% \end{macro} % \begin{macro}{\brokenline} % \begin{macro}{\versephantom} % |\brokenline| and |\versephantom{}| are a pair, useful for setting @@ -3948,7 +4107,7 @@ \@esphack } % \end{macrocode} -% \end{macro} +% \end{macro} % \subsection{~Setup for contents, textual notes, emendations, and explanatory notes} % First, the table of contents: % \begin{macro}{\makepoemcontents} @@ -3991,10 +4150,10 @@ \lefthyphenmin=2\backmatterafterheadersink\tolerance=500\language=0} \literalcontents{ \relax}} % \end{macrocode} -% \end{macro} +% \end{macro} % Next, the textual collations: -% \begin{macro}{\maketextnotes} Like the |\makecontents| macro, +% \begin{macro}{\maketextnotes} Like the |\makecontents| macro, % |\maketextnotes| opens an external file using |\jobname|, this time with the extension .ent. It % makes sure that line numbering is on (since it makes no sense to make % notes without numbering the lines, particularly since the @@ -4118,9 +4277,9 @@ } % \end{macrocode} -% \end{macro} +% \end{macro} -% \begin{macro}{\makeemendations} +% \begin{macro}{\makeemendations} % Next, the emendations section: % \begin{macrocode} % tokens for changing the names of these notes @@ -4161,9 +4320,9 @@ } } % \end{macrocode} -% \end{macro} +% \end{macro} -% \begin{macro}{\makeexplanatorynotes} +% \begin{macro}{\makeexplanatorynotes} % And the explanatory notes: % \begin{macrocode} % Tokens to change names of these notes @@ -4204,7 +4363,7 @@ } % \end{macrocode} -% \end{macro} +% \end{macro} % % Auxiliary commands for note and title sections % \begin{macrocode} @@ -4223,8 +4382,8 @@ % % \subsection{~Book, volume, and volume section titles} -% \begin{macro}{\wholebooktitle} -% \begin{macro}{\booksection} +% \begin{macro}{\wholebooktitle} +% \begin{macro}{\booksection} % \begin{macrocode} \newcommand{\wholebooktitle}[1]{{\Huge\begin{center} \hbox{#1}\end{center}} @@ -4233,7 +4392,7 @@ % \end{macrocode} % \end{macro} % \end{macro} -% \begin{macro}{\volumetitle{}} +% \begin{macro}{\volumetitle{}} % \begin{macrocode} \newcommand{\volumetitle}[1]{% \set@p@emtitle{#1}{\volumetitlesink\par}{\volumetitlefont} @@ -4319,10 +4478,10 @@ \fi\fi } % \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % \subsection{~Commands for setting titles of poems and sequences} % First, commands for sending labels to the table of contents and to @@ -4476,8 +4635,8 @@ {\relax}{\nobreak\par\nobreak\afterpoemtitleskip\nobreak}{\z@}% } % \end{macrocode} -% \end{macro} -% \begin{macro}{\poemtitleitalic} Poems with italic titles or other +% \end{macro} +% \begin{macro}{\poemtitleitalic} Poems with italic titles or other % formatting (such as |\hour{}|) take two arguments. The second % argument is discarded. This command is to maintain backward compatibility % with earlier versions. @@ -4550,15 +4709,15 @@ \restoresinglelinesettings } % \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % Titles for sections of poems, and multi-line titles of sections % of poems -% \begin{macro}{\poemsectiontitle} -% \begin{macro}{\poemsectiontitlefirstline} -% \begin{macro}{\poemsectiontitlemiddleline} -% \begin{macro}{\poemsectiontitlelastline} +% \begin{macro}{\poemsectiontitle} +% \begin{macro}{\poemsectiontitlefirstline} +% \begin{macro}{\poemsectiontitlemiddleline} +% \begin{macro}{\poemsectiontitlelastline} % \begin{macrocode} \newcommand{\poemsectiontitle}[1]{% \set@p@emtitle{#1}{\poemtitlepenalty}{\subsectiontitlefont}% @@ -4597,15 +4756,15 @@ \restoresinglelinesettings } % \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \begin{macro}{\poemsectiontitlenocontents} -% \begin{macro}{\poemsectionbaretitle} -% \begin{macro}{\poemsubsectiontitle} -% \begin{macro}{\poemtitlenotitle} -% \begin{macro}{\poemtitlenotitleitalic} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \begin{macro}{\poemsectiontitlenocontents} +% \begin{macro}{\poemsectionbaretitle} +% \begin{macro}{\poemsubsectiontitle} +% \begin{macro}{\poemtitlenotitle} +% \begin{macro}{\poemtitlenotitleitalic} % \begin{macrocode} \newcommand{\poemsectiontitlenocontents}[1]{% \sequencesubsectiontitlenocontents{#1}}% @@ -4651,7 +4810,7 @@ % \end{macro} % % \subsubsection{Poetic Sequences: Setting the Main Title} -% \begin{macro}{\sequencetitle} +% \begin{macro}{\sequencetitle} % Variants here for multiple line titles and titles with font % commands. Also some all-purpose kludges to work around other problems. % \begin{macrocode} @@ -4665,11 +4824,11 @@ \t@xtnotesinfo{#1} } % \end{macrocode} -% \end{macro} +% \end{macro} -% \begin{macro}{\sequencetitlefirstline} -% \begin{macro}{\sequencetitlemiddleline} -% \begin{macro}{\sequencetitlelastline} +% \begin{macro}{\sequencetitlefirstline} +% \begin{macro}{\sequencetitlemiddleline} +% \begin{macro}{\sequencetitlelastline} % To set the title of a poetic sequence if it requires several lines % to do so. % \begin{macrocode} @@ -4705,7 +4864,7 @@ % \end{macro} % \end{macro} % \subsubsection{Sections of poetic sequences} -% \begin{macro}{\sequencesectiontitle} +% \begin{macro}{\sequencesectiontitle} % First, the easy case: a simple section of a poetic sequence. % \begin{macrocode} \newcommand{\sequencesectiontitle}[1]{ @@ -4834,8 +4993,8 @@ } % \end{macrocode} -% \begin{macro}{\sequencesectionsubtitle} -% \begin{macro}{\poemsubtitle} +% \begin{macro}{\sequencesectionsubtitle} +% \begin{macro}{\poemsubtitle} % \begin{macrocode} \newcommand{\sequencesectionsubtitle}[1]{{\subsectiontitlefont \hbox{\titleindent #1}} \nobreak\par\nobreak\afterpoemtitleskip\nobreak @@ -4854,7 +5013,7 @@ % Italic titles used to require two arguments. These commands % are retained only for backward compatibility. % -% \begin{macro}{\sequencesectiontitleitalic} +% \begin{macro}{\sequencesectiontitleitalic} % \begin{macrocode} \newcommand{\sequencesectiontitleitalic}[2]{ \sequencesectiontitle{#1}} @@ -4870,7 +5029,7 @@ % \subsubsection{Subsections of sequences} -% \begin{macro}{\sequencesubsectiontitle} +% \begin{macro}{\sequencesubsectiontitle} % Continuing several levels down: macros for setting subsections and % subsubsections of sequences. @@ -4974,7 +5133,7 @@ \newcommand{\sequencefirstsubsectiontitlelastline}[1]{ \sequencesubsectiontitlelastline{#1}} % \end{macrocode} -% \end{macro} +% \end{macro} % Interjections in sequences, as in Robert Penn Warren's \emph{Or Else}. % \begin{macrocode} @@ -5198,13 +5357,13 @@ % \subsection{~Epigraphs, headnotes, attributions, dedications} % Notice that epigraphs to volumes are handled differently from % epigraphs to poems. -% \begin{macro}{\epigraph} -% \begin{macro}{\headnote} -% \begin{macro}{\attribution} -% \begin{macro}{\poemdedication} -% \begin{macro}{\volumededication} -% \begin{macro}{\volumeepigraph} -% \begin{macro}{\volumeattribution} +% \begin{macro}{\epigraph} +% \begin{macro}{\headnote} +% \begin{macro}{\attribution} +% \begin{macro}{\poemdedication} +% \begin{macro}{\volumededication} +% \begin{macro}{\volumeepigraph} +% \begin{macro}{\volumeattribution} % \begin{macrocode} \newcommand{\epigraph}[1]{\nopagebreak\afterpoemtitleskip\begin{epigraphquote} \emph{#1}\end{epigraphquote}\afterpoemtitleskip\nopagebreak} @@ -5288,7 +5447,7 @@ \newcommand{\sameword}{$\sim$} \newcommand{\missingpunct}{${}_{\wedge}$} % \end{macrocode} -% \begin{macro}{\pmccheckifinteger} +% \begin{macro}{\pmccheckifinteger} % |\pmccheckifinteger{|\meta{num}|}| checks if \meta{num} is an integer. % If it is, then |\ifinteger| is set TRUE, otherwise it is set FALSE. % (Code taken from memoir class, and based on Donald Arseneau's @@ -5303,7 +5462,7 @@ \fi% } \newif\ifinteger -% \begin{macro}{\pmcgobm} +% \begin{macro}{\pmcgobm} % |\pmcgobm{|\meta{num}|}| is defined as \meta{num}. It could be defined as: \\ % |\newcommand{\pmcgobm}[1]{\ifx-#1\expandafter\gobm\else#1\fi}| \\ % which would remove a leading minus sign (hyphen) from its argument @@ -5312,9 +5471,9 @@ % \begin{macrocode} \newcommand{\pmcgobm}[1]{#1} % \end{macrocode} -% \end{macro} +% \end{macro} % \subsection{~Commands to make notes and send info to contents} -% \begin{macro}{\setlemmarange} +% \begin{macro}{\setlemmarange} % |\setlemmarange| calculates the range of line numbers for multi-line % lemmas. % \begin{macrocode} @@ -5337,7 +5496,7 @@ \makeatother} % \end{macrocode} % \end{macro} -% \begin{macro}{\citerange} +% \begin{macro}{\citerange} % |\citerange| sets the range of line numbers for multi-line lemmas % \begin{macrocode} \newcommand{\citerange}{% @@ -5348,7 +5507,7 @@ \fi} % \end{macrocode} % \end{macro} -% \begin{macro}{\resetlemmacounters} +% \begin{macro}{\resetlemmacounters} % |\resetlemmacounters| resets the counts for multiline lemmas. % \begin{macrocode} \newcommand{\resetlemmacounters}{\rangelemmafalse @@ -5357,7 +5516,7 @@ } % \end{macrocode} % \end{macro} -% \begin{macro}{\checknoteheaders} +% \begin{macro}{\checknoteheaders} % |\checknoteheaders| Checks and corrects the values in the running % headers of notes sections. The running headers are of the form % ``Notes to pages xx--yy.'' Every title and every note checks @@ -5379,7 +5538,7 @@ % \end{macrocode} % \end{macro} -% \begin{macro}{\textnote} +% \begin{macro}{\textnote} % The % basic |\textnote{}| command, on which everything else is based, has % several parts. First, it writes out a little program @@ -5496,7 +5655,7 @@ % If there have not been prior notes, then a new paragraph must be % opened and the page number and title of the poem set in the note % section. -% \begin{macro}{\titletoothernotes} +% \begin{macro}{\titletoothernotes} % |\titletoothernotes| sends the page and title information to the % Emendations or Explanatory Notes sections. It is called only for % the first emendation or explanatory note for a poem. It is designed @@ -5514,7 +5673,7 @@ \string\textbf\string{\ \the\fulltitleholder\string}}% % \end{macrocode} % \end{macro} -% \begin{macro}{\emendation} +% \begin{macro}{\emendation} % \begin{macrocode} \newif\ifemendationssinglepar \newcommand{\emendation}[2][0]{ @@ -5545,7 +5704,7 @@ \resetlemmacounters } % \end{macrocode} -% \end{macro} +% \end{macro} % This next is an internal command, % called by |\emendation|. There's no need to use it explicitly. % \begin{macrocode} @@ -5578,11 +5737,11 @@ } % \end{macrocode} -% \end{macro} +% \end{macro} % % \subsection{~Making new notes sections} % -% \begin{macro}{\definenewnotetype} This monster macro has nine +% \begin{macro}{\definenewnotetype} This monster macro has nine % sections, and does all of the things required to set up a new end % notes section. If you decide to mark a new kind of note in your % text with, say |\mynote|, but decide at the last moment against @@ -5590,7 +5749,7 @@ % the point it might have appeared, and neither the notes section nor % the contents entry for it will be included. % -% \begin{macrocode} +% \begin{macrocode} \makeatletter \long\def\appendtomacro#1#2{% \begingroup @@ -6529,16 +6688,16 @@ r@#2\endcsname{}{}\@nil \hbox{}\thispagestyle{empty}% \newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi} % \end{macrocode} -% \end{macro} +% \end{macro} % -% \begin{macro}{\cleartoverso} +% \begin{macro}{\cleartoverso} % Clears to a verso (even-numbered) page. % \begin{macrocode} \def\cleartoverso{\clearpage\if@twoside \ifodd\c@page\hbox{}\thispagestyle{empty}% \newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi} % \end{macrocode} -% \end{macro} +% \end{macro} % % % \begin{macro}{\ifenv} @@ -6561,7 +6720,7 @@ r@#2\endcsname{}{}\@nil % |\marginpar|, do not float. This code is modeled after code from % the memoir class, by Peter Wilson. % -% \begin{macro}{\pmclleftsidepar} +% \begin{macro}{\pmclleftsidepar} % As in the memoir class, these sidepars do not float. % \begin{macrocode} \newdimen\pmclsavsk @@ -6626,7 +6785,7 @@ r@#2\endcsname{}{}\@nil \kern-\dp\strutbox \kern-\ht0 \box0 \vss}}}\pmclesphack}% changed % \end{macrocode} -% \end{macro} +% \end{macro} % Booleans for parallel texts % \begin{macrocode} @@ -6719,7 +6878,7 @@ r@#2\endcsname{}{}\@nil \newcounter{versoindexscratch} \setcounter{versoindexscratch}{1} % \end{macrocode} -% \begin{macro}{\startparalleltexts} +% \begin{macro}{\startparalleltexts} % Clears to a verso (even-numbered) page, fixes where to put line % numbers, modifies poem and stanza environments, changes where % marginal line numbers are set, sets the booleans. @@ -6807,7 +6966,8 @@ r@#2\endcsname{}{}\@nil \c@ntentsinfo{#1}{\contentsindentone}{\contentspoemtitlefont}% {\contentsindenttwoamount}% } -\newcommand{\versoset@p@emtitle}[6]{\setlength{\titleentryoverrun}{#6}% +\newcommand{\versoset@p@emtitle}[6]{\pmclversoresetsettitleinnotes% +\setlength{\titleentryoverrun}{#6}% {#2}% {#3 \begin{titleentryenvironment}% {\ifcentertitleson\begin{center}#4 #1\end{center}\else #4 #1\fi}% @@ -6864,7 +7024,8 @@ r@#2\endcsname{}{}\@nil \c@ntentsinfo{#1}{\contentsindentone}{\contentspoemtitlefont}% {\contentsindenttwoamount}% } -\newcommand{\rectoset@p@emtitle}[6]{\setlength{\titleentryoverrun}{#6}% +\newcommand{\rectoset@p@emtitle}[6]{\pmclrectoresetsettitleinnotes +\setlength{\titleentryoverrun}{#6}% {#2}% {#3 \begin{titleentryenvironment}% {\ifcentertitleson\begin{center}#4 #1\end{center}\else #4 #1\fi}% @@ -7123,9 +7284,755 @@ r@#2\endcsname{}{}\@nil \end{quotedverse} \fi \rectofalse\versofalse\paralleltextsfalse +\makeatletter\pmclresetsettitleinnotes\makeatother +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\makeversotextnotes} +% Next, the versotextnotes section: +% \begin{macrocode} +% tokens for changing the names of these notes +\newtoks{\versotextnotesname} +\versotextnotesname={TEXTUAL NOTES} +\newcommand{\changeversotextnotesname}[1]{\versotextnotesname={#1}} +\newtoks{\versotextnotesheadername} +\versotextnotesheadername={Textual Notes to} +\newcommand{\changeversotextnotesheader}[1]{\versotextnotesheadername={#1}} +\newtoks{\versotextnotescontentsname} +\versotextnotescontentsname={Textual Notes} +\newcommand{\changeversotextnotescontentsname}[1]{% +\versotextnotescontentsname={#1}} +% two column notes +\newif\ifversotextnotestwocol +\versotextnotestwocolfalse +% versotextnotes section setup +\newcommand{\makeversotextnotes}{\global\textnotesontrue + \newwrite\versotextnotes + \global\verselinenumberstrue + \immediate\openout\versotextnotes=\jobname.vtn + \literalversotextnote{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead{} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\versotextnotesheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\versotextnotesheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\versotextnotesname}{versotextnotes} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifversotextnotestwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\versotextnote} +% \begin{macrocode} +\newif\ifversotextnotessinglepar +\newif\ifnoversotextnoteyet +\newcommand{\literalversotextnote}[1]{\begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\versotextnotes{\expandafter\strip\meaning\next}% + \endgroup +} +\newcommand{\firstversotextnote}{\immediate\write\versotextnotes{\versotitletoothernotes} + \ifversotextnotessinglepar% + \literalversotextnote{\par}% + \fi% ifversotextnotessinglepa + } +\newcommand{\versotextnote}[2][0]{\versotitleinnotescheck + \setlemmarange{#1}% + \ifnoversotextnoteyet % firstversotextnote + \firstversotextnote + \fi %noversotextnoteyet + \global\noversotextnoteyetfalse +\immediate\write\versotextnotes{\checknoteheaders}% + \literalversotextnote{#2}% + \ifversotextnotessinglepar% + \literalversotextnote{\par}% + \fi% ifversotextnotessinglepar +\resetlemmacounters } % \end{macrocode} % \end{macro} +% \begin{macro}{\makerectotextnotes} +% Next, the rectotextnotes section: +% \begin{macrocode} +% tokens for changing the names of these notes +\newtoks{\rectotextnotesname} +\rectotextnotesname={TEXTUAL NOTES} +\newcommand{\changerectotextnotesname}[1]{\rectotextnotesname={#1}} +\newtoks{\rectotextnotesheadername} +\rectotextnotesheadername={Textual Notes to} +\newcommand{\changerectotextnotesheader}[1]{\rectotextnotesheadername={#1}} +\newtoks{\rectotextnotescontentsname} +\rectotextnotescontentsname={Textual Notes} +\newcommand{\changerectotextnotescontentsname}[1]{% +\rectotextnotescontentsname={#1}} +% two column notes +\newif\ifrectotextnotestwocol +\rectotextnotestwocolfalse +% rectotextnotes section setup +\newcommand{\makerectotextnotes}{\global\textnotesontrue + \newwrite\rectotextnotes + \global\verselinenumberstrue + \immediate\openout\rectotextnotes=\jobname.rtn + \literalrectotextnote{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead{} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\rectotextnotesheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\rectotextnotesheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\rectotextnotesname}{rectotextnotes} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifrectotextnotestwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\rectotextnote} +% \begin{macrocode} +\newif\ifrectotextnotessinglepar +\newif\ifnorectotextnoteyet +\newcommand{\literalrectotextnote}[1]{\begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\rectotextnotes{\expandafter\strip\meaning\next}% + \endgroup +} +\newcommand{\firstrectotextnote}{\immediate\write\rectotextnotes{\rectotitletoothernotes} + \ifrectotextnotessinglepar% + \literalrectotextnote{\par}% + \fi% ifrectotextnotessinglepar +} +\newcommand{\rectotextnote}[2][0]{\rectotitleinnotescheck + \setlemmarange{#1}% + \ifnorectotextnoteyet % firstrectotextnote + \firstrectotextnote + \fi %norectotextnoteyet + \global\norectotextnoteyetfalse +\immediate\write\rectotextnotes{\checknoteheaders}% + \literalrectotextnote{#2}% + \ifrectotextnotessinglepar% + \literalrectotextnote{\par}% + \fi% ifrectotextnotessinglepar +\resetlemmacounters +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\makeversoemendations} +% Next, the versoemendations section: +% \begin{macrocode} +% tokens for changing the names of these notes +\newtoks{\versoemendationsname} +\versoemendationsname={EMENDATIONS} +\newcommand{\changeversoemendationsname}[1]{\versoemendationsname={#1}} +\newtoks{\versoemendationsheadername} +\versoemendationsheadername={Emendations to} +\newcommand{\changeversoemendationsheader}[1]{\versoemendationsheadername={#1}} +\newtoks{\versoemendationscontentsname} +\versoemendationscontentsname={Emendations} +\newcommand{\changeversoemendationscontentsname}[1]{% +\versoemendationscontentsname={#1}} +% two column notes +\newif\ifversoemendationstwocol +\versoemendationstwocolfalse +% versoemendations section setup +\newcommand{\makeversoemendations}{\global\emendationsontrue + \newwrite\versoemendations + \global\verselinenumberstrue + \immediate\openout\versoemendations=\jobname.vem + \literalversoemendation{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead{} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\versoemendationsheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\versoemendationsheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\versoemendationsname}{versoemendations} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifversoemendationstwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\versoemendation} +% \begin{macrocode} +\newif\ifversoemendationssinglepar +\newif\ifnoversoemendationyet +\newcommand{\literalversoemendation}[1]{\begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\versoemendations{\expandafter\strip\meaning\next}% + \endgroup +} +\newcommand{\firstversoemendation}{\immediate\write\versoemendations{\versotitletoothernotes} + \ifversoemendationssinglepar% + \literalversoemendation{\par}% + \fi% ifversoemendationssinglepar +} +\newcommand{\versoemendation}[2][0]{\versotitleinnotescheck% + \setlemmarange{#1}% + \ifnoversoemendationyet % firstversoemendation + \firstversoemendation + \fi %noversoemendationyet + \global\noversoemendationyetfalse +\immediate\write\versoemendations{\checknoteheaders}% + \literalversoemendation{#2}% + \ifversoemendationssinglepar% + \literalversoemendation{\par}% + \fi% ifversoemendationssinglepar +\resetlemmacounters +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\makerectoemendations} +% Next, the rectoemendations section: +% \begin{macrocode} +% tokens for changing the names of these notes +\newtoks{\rectoemendationsname} +\rectoemendationsname={EMENDATIONS} +\newcommand{\changerectoemendationsname}[1]{\rectoemendationsname={#1}} +\newtoks{\rectoemendationsheadername} +\rectoemendationsheadername={Emendations to} +\newcommand{\changerectoemendationsheader}[1]{\rectoemendationsheadername={#1}} +\newtoks{\rectoemendationscontentsname} +\rectoemendationscontentsname={Emendations} +\newcommand{\changerectoemendationscontentsname}[1]{% +\rectoemendationscontentsname={#1}} +% two column notes +\newif\ifrectoemendationstwocol +\rectoemendationstwocolfalse +% rectoemendations section setup +\newcommand{\makerectoemendations}{\global\emendationsontrue + \newwrite\rectoemendations + \global\verselinenumberstrue + \immediate\openout\rectoemendations=\jobname.rem + \literalrectoemendation{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead{} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\rectoemendationsheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\rectoemendationsheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\rectoemendationsname}{rectoemendations} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifrectoemendationstwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\rectoemendation} +% \begin{macrocode} +\newif\ifrectoemendationssinglepar +\newif\ifnorectoemendationyet +\newcommand{\literalrectoemendation}[1]{\begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\rectoemendations{\expandafter\strip\meaning\next}% + \endgroup +} +\newcommand{\firstrectoemendation}{\immediate\write\rectoemendations{\rectotitletoothernotes} + \ifrectoemendationssinglepar% + \literalrectoemendation{\par}% + \fi% ifrectoemendationssinglepar +} +\newcommand{\rectoemendation}[2][0]{\rectotitleinnotescheck + \setlemmarange{#1}% + \ifnorectoemendationyet % firstrectoemendation + \firstrectoemendation + \fi %norectoemendationyet + \global\norectoemendationyetfalse +\immediate\write\rectoemendations{\checknoteheaders}% + \literalrectoemendation{#2}% + \ifrectoemendationssinglepar% + \literalrectoemendation{\par}% + \fi% ifrectoemendationssinglepar +\resetlemmacounters +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\makeversoexplanatorynotes} +% And the verso explanatory notes: +% \begin{macrocode} +% Tokens to change names of these notes +\newtoks{\versoexplanationsname} +\versoexplanationsname={EXPLANATORY NOTES} +\newcommand{\changeversoexplanationsname}[1]{\versoexplanationsname={#1}} +\newtoks{\versoexplanationsheadername} +\versoexplanationsheadername={Explanatory Notes to} +\newcommand{\changeversoexplanationsheader}[1]{\versoexplanationsheadername={#1}} +\newtoks{\versoexplanationscontentsname} +\versoexplanationscontentsname={Explanatory Notes} +\newcommand{\changeversoexplanationscontentsname}[1]{% +\versoexplanationscontentsname={#1}} +% Two column notes +\newif\ifversoexplanationstwocol +\versoexplanationstwocolfalse +% versoexplanatory notes setup +\newcommand{\makeversoexplanatorynotes}{\global\explanontrue + \global\verselinenumberstrue + \newwrite\versoexplanations + \immediate\openout\versoexplanations=\jobname.vex + \literalversoexplain{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\versoexplanationsheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\versoexplanationsheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\versoexplanationsname}{versoexplanatorynotes} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifversoexplanationstwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +% \begin{macro}{\versoexplanatory} +% Again, |\firstversoexplanatory| is internal, called by |\versoexplanatory|. +% \begin{macrocode} +\newcommand{\literalversoexplain}[1]{ + \begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\versoexplanations{\expandafter\strip\meaning\next}% + \endgroup +} +\newif\ifversoexplanationssinglepar +\newcommand{\firstversoexplanatory}{\immediate\write\versoexplanations{\versotitletoothernotes} + \ifversoexplanationssinglepar% + \literalversoexplain{\par}% +\fi} +\newif\ifnoversoexplainyet +\newcommand{\versoexplanatory}[2][0]{\versotitleinnotescheck% +\ifexplanon + \setlemmarange{#1}% + \ifnoversoexplainyet % first versoexplanation + \firstversoexplanatory + \fi %noversoexplainyet + \global\noversoexplainyetfalse +\immediate\write\versoexplanations{\checknoteheaders}% + \literalversoexplain{#2}% + \ifversoexplanationssinglepar% + \literalversoexplain{\par}% + \fi% + \fi % ifexplanon +\resetlemmacounters +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\makerectoexplanatorynotes} +% And the recto explanatory notes: +% \begin{macrocode} +% Tokens to change names of these notes +\newtoks{\rectoexplanationsname} +\rectoexplanationsname={EXPLANATORY NOTES} +\newcommand{\changerectoexplanationsname}[1]{\rectoexplanationsname={#1}} +\newtoks{\rectoexplanationsheadername} +\rectoexplanationsheadername={Explanatory Notes to} +\newcommand{\changerectoexplanationsheader}[1]{\rectoexplanationsheadername={#1}} +\newtoks{\rectoexplanationscontentsname} +\rectoexplanationscontentsname={Explanatory Notes} +\newcommand{\changerectoexplanationscontentsname}[1]{% +\rectoexplanationscontentsname={#1}} +% Two column notes +\newif\ifrectoexplanationstwocol +\rectoexplanationstwocolfalse +% rectoexplanatory notes setup +\newcommand{\makerectoexplanatorynotes}{\global\explanontrue + \global\verselinenumberstrue + \newwrite\rectoexplanations + \immediate\openout\rectoexplanations=\jobname.rex + \literalrectoexplain{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\rectoexplanationsheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\rectoexplanationsheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\rectoexplanationsname}{rectoexplanatorynotes} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifrectoexplanationstwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +% \begin{macro}{\rectoexplanatory} +% Again, |\firstrectoexplanatory| is internal, called by |\rectoexplanatory|. +% \begin{macrocode} +\newcommand{\literalrectoexplain}[1]{ + \begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\rectoexplanations{\expandafter\strip\meaning\next}% + \endgroup +} +\newif\ifrectoexplanationssinglepar +\newcommand{\firstrectoexplanatory}{\immediate\write\rectoexplanations{\rectotitletoothernotes} + \ifrectoexplanationssinglepar% + \literalrectoexplain{\par}% + \fi% +} +\newif\ifnorectoexplainyet +\newcommand{\rectoexplanatory}[2][0]{\rectotitleinnotescheck% +\ifexplanon + \setlemmarange{#1}% + \ifnorectoexplainyet % first rectoexplanation + \firstrectoexplanatory + \fi %norectoexplainyet + \global\norectoexplainyetfalse +\immediate\write\rectoexplanations{\checknoteheaders}% + \literalrectoexplain{#2}% + \ifrectoexplanationssinglepar% + \literalrectoexplain{\par}% + \fi% + \fi % ifexplanon +\resetlemmacounters +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\versoprosetextnote} +% \begin{macrocode} +\newcommand{\versoprosetextnote}[3][0]{% +\iftextnoteson% +\versotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifnoversotextnoteyet % firstversotextnote + \firstversotextnote + \fi %noversotextnoteyet + \global\noversotextnoteyetfalse +\immediate\write\versotextnotes{\checkprosenoteheaders}% +\literalversotextnote{#3}% +\ifversotextnotessinglepar% +\literalversotextnote{\par}% +\fi% +\resetlemmacounters% +\fi\unskip% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\versoproseemendation} +% Notice that it calls |\firstemendation| as usual. +% \begin{macrocode} +\newcommand{\versoproseemendation}[3][0]{% +\ifemendationson% +\versotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifredundantemendations + \iftextnoteson + \ifrangelemma + \versoprosetextnote[#1]{#2}{#3}% + \else + \versoprosetextnote{#2}{#3}% + \fi % ifrangelemma} + \fi %iftextnoteson +\ifversotextnotessinglepar% +\literalversotextnote{\par}% +\fi% iftextnotessinglepar + \fi % ifredundantemendations + \ifnoversoemendationyet % firstemendation + \firstversoemendation + \fi%noemendyet + \global\noversoemendationyetfalse +\immediate\write\versoemendations{\checkprosenoteheaders}% + \literalversoemendation{#3}% +\ifversoemendationssinglepar% +\literalversoemendation{\par}% +\fi% ifemendationssinglep + \resetlemmacounters% +\fi\unskip% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\versoproseexplanatory} +% \begin{macrocode} +\newcommand{\versoproseexplanatory}[3][0]{% +\ifexplanon% +\versotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifnoversoexplainyet% firstexplanation + \firstversoexplanatory% + \fi%noexplainyet + \global\noversoexplainyetfalse% +\immediate\write\versoexplanations{\checkprosenoteheaders}% + \literalversoexplain{#3}% +\ifversoexplanationssinglepar% + \literalversoexplain{\par}% + \fi% ifexplanationssinglepar + \resetlemmacounters% +\fi\unskip% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\rectoprosetextnote} +% \begin{macrocode} +\newcommand{\rectoprosetextnote}[3][0]{% +\iftextnoteson% +\rectotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifnorectotextnoteyet % firstrectotextnote + \firstrectotextnote + \fi %norectotextnoteyet + \global\norectotextnoteyetfalse +\immediate\write\rectotextnotes{\checkprosenoteheaders}% +\literalrectotextnote{#3}% +\ifrectotextnotessinglepar% +\literalrectotextnote{\par}% +\fi% +\resetlemmacounters% +\fi\unskip% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\rectoproseemendation} +% Notice that it calls |\firstemendation| as usual. +% \begin{macrocode} +\newcommand{\rectoproseemendation}[3][0]{% +\ifemendationson% +\rectotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifredundantemendations + \iftextnoteson + \ifrangelemma + \rectoprosetextnote[#1]{#2}{#3}% + \else + \rectoprosetextnote{#2}{#3}% + \fi % ifrangelemma} + \fi %iftextnoteson +\ifrectotextnotessinglepar% +\literalrectotextnote{\par}% +\fi% iftextnotessinglepar + \fi % ifredundantemendations + \ifnorectoemendationyet % firstemendation + \firstrectoemendation + \fi%noemendyet + \global\norectoemendationyetfalse +\immediate\write\rectoemendations{\checkprosenoteheaders}% + \literalrectoemendation{#3}% +\ifrectoemendationssinglepar% +\literalrectoemendation{\par}% +\fi% ifemendationssinglep + \resetlemmacounters% +\fi\unskip% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\rectoproseexplanatory} +% \begin{macrocode} +\newcommand{\rectoproseexplanatory}[3][0]{% +\ifexplanon% +\rectotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifnorectoexplainyet% firstexplanation + \firstrectoexplanatory% + \fi%noexplainyet + \global\norectoexplainyetfalse% +\immediate\write\rectoexplanations{\checkprosenoteheaders}% + \literalrectoexplain{#3}% +\ifrectoexplanationssinglepar% + \literalrectoexplain{\par}% + \fi% ifexplanationssinglepar + \resetlemmacounters% +\fi\unskip% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmclresetsettitleinnotes} +% \begin{macrocode} +\newcommand{\pmclresetsettitleinnotes}{% +\noversoemendationyettrue% +\noversoexplainyettrue% +\noversotextnoteyettrue% +\norectoemendationyettrue% +\norectoexplainyettrue% +\norectotextnoteyettrue% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmclversoresetsettitleinnotes} +% \begin{macrocode} +\newcommand{\pmclversoresetsettitleinnotes}{% +\noversoemendationyettrue% +\noversoexplainyettrue% +\noversotextnoteyettrue% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmclrectoresetsettitleinnotes} +% \begin{macrocode} +\newcommand{\pmclrectoresetsettitleinnotes}{% +\norectoemendationyettrue% +\norectoexplainyettrue% +\norectotextnoteyettrue% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\literalexplain} +% \begin{macrocode} +\let\literalexplanatory=\literalexplain +\let\literalversoexplanatory=\literalversoexplain +\let\literalrectoexplanatory=\literalrectoexplain +% \end{macrocode} +% \end{macro} +% \begin{macro}{\putversotextnotes} Does the same for textual notes. +% +% \begin{macrocode} +\newcommand{\putversotextnotes}{ +\iftextnoteson +\ifversotextnotestwocol +\literalversotextnote{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\versotextnotes + \input \jobname.vtn +\contentsendnotestitle{\the\versotextnotescontentsname}{versotextnotes} +\else + \relax +\fi} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\putrectotextnotes} Does the same for recto textual notes. +% +% \begin{macrocode} +\newcommand{\putrectotextnotes}{ +\iftextnoteson +\ifrectotextnotestwocol +\literalrectotextnote{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\rectotextnotes + \input \jobname.rtn +\contentsendnotestitle{\the\rectotextnotescontentsname}{rectotextnotes} +\else + \relax +\fi} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\putversoemendations} This macro closes external file +% for verso emendations, +% reads it in, and puts an entry for the emendations into the table of contents +% file. The macro tests to see whether there is an .aux file from a previous run +% before doing this, and complains in the .log file if the .aux file does not +% exist. +% +% \begin{macrocode} +\newcommand{\putversoemendations}{ +\ifemendationson +\ifversoemendationstwocol +\literalversoemendation{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\versoemendations + \input \jobname.vem +\contentsendnotestitle{\the\versoemendationscontentsname}{versoemendations} +\else + \relax +\fi} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\putrectoemendations} This macro closes external file +% for recto emendations, +% reads it in, and puts an entry for the emendations into the table of contents +% file. The macro tests to see whether there is an .aux file from a previous run +% before doing this, and complains in the .log file if the .aux file does not +% exist. +% +% \begin{macrocode} +\newcommand{\putrectoemendations}{ +\ifemendationson +\ifrectoemendationstwocol +\literalrectoemendation{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\rectoemendations + \input \jobname.rem +\contentsendnotestitle{\the\rectoemendationscontentsname}{rectoemendations} +\else + \relax +\fi} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\putversoexplanatorynotes} Does the same for verso explanatory notes. +% \begin{macrocode} +\newcommand{\putversoexplanatorynotes}{ +\ifexplanon +\ifversoexplanationstwocol +\literalversoexplain{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\versoexplanations + \input \jobname.vex +\ifpoemcontentson + \ifexplanon +\contentsendnotestitle{\the\versoexplanationscontentsname}{versoexplanatorynotes} + \fi +\fi +\else + \relax +\fi}% \end{macrocode} +% \end{macro} +% \begin{macro}{\putrectoexplanatorynotes} Does the same for recto explanatory notes. +% \begin{macrocode} +\newcommand{\putrectoexplanatorynotes}{ +\ifexplanon +\ifrectoexplanationstwocol +\literalrectoexplain{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\rectoexplanations + \input \jobname.rex +\ifpoemcontentson + \ifexplanon +\contentsendnotestitle{\the\rectoexplanationscontentsname}{rectoexplanatorynotes} + \fi +\fi +\else + \relax +\fi} +% \end{macrocode} +% \end{macro} % \subsection{~Parallel Texts in Prose} % First, some booleans. % \begin{macro}{\ifversopassagestillopen} @@ -7249,7 +8156,7 @@ r@#2\endcsname{}{}\@nil % \end{macrocode} % \end{macro} % \subsection{~Finishing up} -% \begin{macro}{\finish} +% \begin{macro}{\finish} % The |\finish| macro reads in the notes, % the index (previously created from your .aux file by MakeIndex), and % the contents sections and sets them. The notes sections send page @@ -7347,12 +8254,12 @@ wherever such spaces are lost in pagination. \cleardoublepage } % \end{macrocode} -% \end{macro} -% \begin{macro}{\testforauxonfirstrun} Put this in the preamble. It suppresses +% \end{macro} +% \begin{macro}{\testforauxonfirstrun} Put this in the preamble. It suppresses % |\finish|, |\puttextnotes|, |\putemendations|, and |\putexplanatory| unless % there is an .aux file from a previous run, this avoiding some error messages. % -% \begin{macrocode} +% \begin{macrocode} \newcommand{\testforauxonfirstrun}{\IfFileExists{\jobname.aux}{\relax} {\let\finish=\relax \let\puttextnotes=\relax @@ -7360,8 +8267,8 @@ wherever such spaces are lost in pagination. \let\putemendations=\relax \typeout{Run again to read in endnotes files}}} % \end{macrocode} -% \end{macro} -% \begin{macro}{\putpoemcontents} +% \end{macro} +% \begin{macro}{\putpoemcontents} % You may wish to do the tasks done by |\finish| separately. This will give you % more flexibility. |\putpoemcontents| inserts the table of contents file from a % prior run. Be sure to issue it \emph{before} you issue |\makepoemcontents.| @@ -7373,22 +8280,22 @@ wherever such spaces are lost in pagination. {\typeout{Run again to input contents file here}} } % \end{macrocode} -% \end{macro} -% \begin{macro}{\hyphenationforsmall} This command restores hyphenation for the +% \end{macro} +% \begin{macro}{\hyphenationforsmall} This command restores hyphenation for the % backmatter sections of the book. Hyphenation is turned off in the main body of % the book, because verse should not be hyphenated. This macro turns hyphenation % on, but only for small roman, italic, and bold fonts. Backmatter sections are % all set in |\small|. |\putemendations|, |\puttextnotes|, and % |\putexplanatory| all call |\hyphenationforsmall|. % -% \begin{macrocode} +% \begin{macrocode} \newcommand{\hyphenationforsmall}{\small\bf \hyphenchar\font=45 \small\it \hyphenchar\font=45 \small\rm \hyphenchar\font=45 } % \end{macrocode} -% \end{macro} -% \begin{macro}{\putemendations} This macro closes external file for emendations, +% \end{macro} +% \begin{macro}{\putemendations} This macro closes external file for emendations, % reads it in, and puts an entry for the emendations into the table of contents % file. The macro tests to see whether there is an .aux file from a previous run % before doing this, and complains in the .log file if the .aux file does not @@ -7409,8 +8316,8 @@ wherever such spaces are lost in pagination. \relax \fi} % \end{macrocode} -% \end{macro} -% \begin{macro}{\putexplanatory} Does the same for explanatory notes. +% \end{macro} +% \begin{macro}{\putexplanatory} Does the same for explanatory notes. % % \begin{macrocode} \newcommand{\putexplanatory}{ @@ -7431,8 +8338,8 @@ wherever such spaces are lost in pagination. \relax \fi} % \end{macrocode} -% \end{macro} -% \begin{macro}{\puttextnotes} Does the same for textual notes. +% \end{macro} +% \begin{macro}{\puttextnotes} Does the same for textual notes. % % \begin{macrocode} \newcommand{\puttextnotes}{ @@ -7449,8 +8356,8 @@ wherever such spaces are lost in pagination. \relax \fi} % \end{macrocode} -% \end{macro} -% \begin{macro}{\putpoemindex} Reads in the index of titles and first lines +% \end{macro} +% \begin{macro}{\putpoemindex} Reads in the index of titles and first lines % and adds an entry for the index % into the table of contents. % @@ -7503,7 +8410,7 @@ a space between sections of a poem wherever such spaces are lost in pagination. \end{volumetitlepage}} % \end{macrocode} -% \end{macro} +% \end{macro} % \subsection{~Visual formatting} The ideal in \LaTeX\ is to separate % content markup and formatting as completely as possible. In the text % itself you simply mark the logical units (a poem, a title, a stanza, @@ -7527,7 +8434,7 @@ wherever such spaces are lost in pagination. % % \goodbreak % -% \begin{macro}{cjquotation} +% \begin{macro}{cjquotation} % \begin{macrocode} \newenvironment{cjquotation} {\tolerance=2000% @@ -7600,6 +8507,7 @@ wherever such spaces are lost in pagination. \item\relax} {\endlist} % \end{macrocode} +% \clearpage % \Finale \endinput --------------060108090809060900030409-- diff --git a/Master/texmf-dist/tex/latex/poemscol/poemscol.sty b/Master/texmf-dist/tex/latex/poemscol/poemscol.sty index 825ae7c4c68..b64355fa848 100644 --- a/Master/texmf-dist/tex/latex/poemscol/poemscol.sty +++ b/Master/texmf-dist/tex/latex/poemscol/poemscol.sty @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e}[1997/12/01] \ProvidesPackage{poemscol} - [2015/6/18 v2.7 poemscol file] + [2015/6/18 v2.72 poemscol file] @@ -30,6 +30,14 @@ +%% +%% In my own book I also, strictly to save money, and at the price of +%% some ugliness, changed the definition of |\normalsize| and |\small|, +%% so that the former was 10 pt type on 11 pt leading (rather than 12 +%% pt), and that the latter was 9 pt type on 10 pt leading. You can +%% reproduce this setting by issuing |\tightleading|, although I would +%% advise not doing so unless you are under financial constraints. + \newcommand{\tightgeometry}{\geometry{verbose, tmargin= 33pt, @@ -234,7 +242,6 @@ \leftheader{\relax} \volumeheader{\relax} \newcommand{\rightheader}[1]{\volumeheader{#1}} - \newlength{\headoffsetlength} \setlength{\headoffsetlength}{-1sp} \raggedbottom @@ -2499,7 +2506,8 @@ r@#2\endcsname{}{}\@nil \c@ntentsinfo{#1}{\contentsindentone}{\contentspoemtitlefont}% {\contentsindenttwoamount}% } -\newcommand{\versoset@p@emtitle}[6]{\setlength{\titleentryoverrun}{#6}% +\newcommand{\versoset@p@emtitle}[6]{\pmclversoresetsettitleinnotes% +\setlength{\titleentryoverrun}{#6}% {#2}% {#3 \begin{titleentryenvironment}% {\ifcentertitleson\begin{center}#4 #1\end{center}\else #4 #1\fi}% @@ -2552,7 +2560,8 @@ r@#2\endcsname{}{}\@nil \c@ntentsinfo{#1}{\contentsindentone}{\contentspoemtitlefont}% {\contentsindenttwoamount}% } -\newcommand{\rectoset@p@emtitle}[6]{\setlength{\titleentryoverrun}{#6}% +\newcommand{\rectoset@p@emtitle}[6]{\pmclrectoresetsettitleinnotes +\setlength{\titleentryoverrun}{#6}% {#2}% {#3 \begin{titleentryenvironment}% {\ifcentertitleson\begin{center}#4 #1\end{center}\else #4 #1\fi}% @@ -2739,7 +2748,604 @@ r@#2\endcsname{}{}\@nil \end{quotedverse} \fi \rectofalse\versofalse\paralleltextsfalse +\makeatletter\pmclresetsettitleinnotes\makeatother +} +\newtoks{\versotextnotesname} +\versotextnotesname={TEXTUAL NOTES} +\newcommand{\changeversotextnotesname}[1]{\versotextnotesname={#1}} +\newtoks{\versotextnotesheadername} +\versotextnotesheadername={Textual Notes to} +\newcommand{\changeversotextnotesheader}[1]{\versotextnotesheadername={#1}} +\newtoks{\versotextnotescontentsname} +\versotextnotescontentsname={Textual Notes} +\newcommand{\changeversotextnotescontentsname}[1]{% +\versotextnotescontentsname={#1}} +\newif\ifversotextnotestwocol +\versotextnotestwocolfalse +\newcommand{\makeversotextnotes}{\global\textnotesontrue + \newwrite\versotextnotes + \global\verselinenumberstrue + \immediate\openout\versotextnotes=\jobname.vtn + \literalversotextnote{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead{} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\versotextnotesheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\versotextnotesheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\versotextnotesname}{versotextnotes} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifversotextnotestwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +\newif\ifversotextnotessinglepar +\newif\ifnoversotextnoteyet +\newcommand{\literalversotextnote}[1]{\begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\versotextnotes{\expandafter\strip\meaning\next}% + \endgroup +} +\newcommand{\firstversotextnote}{\immediate\write\versotextnotes{\versotitletoothernotes} + \ifversotextnotessinglepar% + \literalversotextnote{\par}% + \fi% ifversotextnotessinglepa + } +\newcommand{\versotextnote}[2][0]{\versotitleinnotescheck + \setlemmarange{#1}% + \ifnoversotextnoteyet % firstversotextnote + \firstversotextnote + \fi %noversotextnoteyet + \global\noversotextnoteyetfalse +\immediate\write\versotextnotes{\checknoteheaders}% + \literalversotextnote{#2}% + \ifversotextnotessinglepar% + \literalversotextnote{\par}% + \fi% ifversotextnotessinglepar +\resetlemmacounters +} +\newtoks{\rectotextnotesname} +\rectotextnotesname={TEXTUAL NOTES} +\newcommand{\changerectotextnotesname}[1]{\rectotextnotesname={#1}} +\newtoks{\rectotextnotesheadername} +\rectotextnotesheadername={Textual Notes to} +\newcommand{\changerectotextnotesheader}[1]{\rectotextnotesheadername={#1}} +\newtoks{\rectotextnotescontentsname} +\rectotextnotescontentsname={Textual Notes} +\newcommand{\changerectotextnotescontentsname}[1]{% +\rectotextnotescontentsname={#1}} +\newif\ifrectotextnotestwocol +\rectotextnotestwocolfalse +\newcommand{\makerectotextnotes}{\global\textnotesontrue + \newwrite\rectotextnotes + \global\verselinenumberstrue + \immediate\openout\rectotextnotes=\jobname.rtn + \literalrectotextnote{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead{} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\rectotextnotesheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\rectotextnotesheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\rectotextnotesname}{rectotextnotes} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifrectotextnotestwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +\newif\ifrectotextnotessinglepar +\newif\ifnorectotextnoteyet +\newcommand{\literalrectotextnote}[1]{\begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\rectotextnotes{\expandafter\strip\meaning\next}% + \endgroup +} +\newcommand{\firstrectotextnote}{\immediate\write\rectotextnotes{\rectotitletoothernotes} + \ifrectotextnotessinglepar% + \literalrectotextnote{\par}% + \fi% ifrectotextnotessinglepar +} +\newcommand{\rectotextnote}[2][0]{\rectotitleinnotescheck + \setlemmarange{#1}% + \ifnorectotextnoteyet % firstrectotextnote + \firstrectotextnote + \fi %norectotextnoteyet + \global\norectotextnoteyetfalse +\immediate\write\rectotextnotes{\checknoteheaders}% + \literalrectotextnote{#2}% + \ifrectotextnotessinglepar% + \literalrectotextnote{\par}% + \fi% ifrectotextnotessinglepar +\resetlemmacounters +} +\newtoks{\versoemendationsname} +\versoemendationsname={EMENDATIONS} +\newcommand{\changeversoemendationsname}[1]{\versoemendationsname={#1}} +\newtoks{\versoemendationsheadername} +\versoemendationsheadername={Emendations to} +\newcommand{\changeversoemendationsheader}[1]{\versoemendationsheadername={#1}} +\newtoks{\versoemendationscontentsname} +\versoemendationscontentsname={Emendations} +\newcommand{\changeversoemendationscontentsname}[1]{% +\versoemendationscontentsname={#1}} +\newif\ifversoemendationstwocol +\versoemendationstwocolfalse +\newcommand{\makeversoemendations}{\global\emendationsontrue + \newwrite\versoemendations + \global\verselinenumberstrue + \immediate\openout\versoemendations=\jobname.vem + \literalversoemendation{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead{} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\versoemendationsheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\versoemendationsheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\versoemendationsname}{versoemendations} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifversoemendationstwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +\newif\ifversoemendationssinglepar +\newif\ifnoversoemendationyet +\newcommand{\literalversoemendation}[1]{\begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\versoemendations{\expandafter\strip\meaning\next}% + \endgroup +} +\newcommand{\firstversoemendation}{\immediate\write\versoemendations{\versotitletoothernotes} + \ifversoemendationssinglepar% + \literalversoemendation{\par}% + \fi% ifversoemendationssinglepar +} +\newcommand{\versoemendation}[2][0]{\versotitleinnotescheck% + \setlemmarange{#1}% + \ifnoversoemendationyet % firstversoemendation + \firstversoemendation + \fi %noversoemendationyet + \global\noversoemendationyetfalse +\immediate\write\versoemendations{\checknoteheaders}% + \literalversoemendation{#2}% + \ifversoemendationssinglepar% + \literalversoemendation{\par}% + \fi% ifversoemendationssinglepar +\resetlemmacounters +} +\newtoks{\rectoemendationsname} +\rectoemendationsname={EMENDATIONS} +\newcommand{\changerectoemendationsname}[1]{\rectoemendationsname={#1}} +\newtoks{\rectoemendationsheadername} +\rectoemendationsheadername={Emendations to} +\newcommand{\changerectoemendationsheader}[1]{\rectoemendationsheadername={#1}} +\newtoks{\rectoemendationscontentsname} +\rectoemendationscontentsname={Emendations} +\newcommand{\changerectoemendationscontentsname}[1]{% +\rectoemendationscontentsname={#1}} +\newif\ifrectoemendationstwocol +\rectoemendationstwocolfalse +\newcommand{\makerectoemendations}{\global\emendationsontrue + \newwrite\rectoemendations + \global\verselinenumberstrue + \immediate\openout\rectoemendations=\jobname.rem + \literalrectoemendation{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead{} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\rectoemendationsheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\rectoemendationsheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\rectoemendationsname}{rectoemendations} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifrectoemendationstwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +\newif\ifrectoemendationssinglepar +\newif\ifnorectoemendationyet +\newcommand{\literalrectoemendation}[1]{\begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\rectoemendations{\expandafter\strip\meaning\next}% + \endgroup +} +\newcommand{\firstrectoemendation}{\immediate\write\rectoemendations{\rectotitletoothernotes} + \ifrectoemendationssinglepar% + \literalrectoemendation{\par}% + \fi% ifrectoemendationssinglepar +} +\newcommand{\rectoemendation}[2][0]{\rectotitleinnotescheck + \setlemmarange{#1}% + \ifnorectoemendationyet % firstrectoemendation + \firstrectoemendation + \fi %norectoemendationyet + \global\norectoemendationyetfalse +\immediate\write\rectoemendations{\checknoteheaders}% + \literalrectoemendation{#2}% + \ifrectoemendationssinglepar% + \literalrectoemendation{\par}% + \fi% ifrectoemendationssinglepar +\resetlemmacounters +} +\newtoks{\versoexplanationsname} +\versoexplanationsname={EXPLANATORY NOTES} +\newcommand{\changeversoexplanationsname}[1]{\versoexplanationsname={#1}} +\newtoks{\versoexplanationsheadername} +\versoexplanationsheadername={Explanatory Notes to} +\newcommand{\changeversoexplanationsheader}[1]{\versoexplanationsheadername={#1}} +\newtoks{\versoexplanationscontentsname} +\versoexplanationscontentsname={Explanatory Notes} +\newcommand{\changeversoexplanationscontentsname}[1]{% +\versoexplanationscontentsname={#1}} +\newif\ifversoexplanationstwocol +\versoexplanationstwocolfalse +\newcommand{\makeversoexplanatorynotes}{\global\explanontrue + \global\verselinenumberstrue + \newwrite\versoexplanations + \immediate\openout\versoexplanations=\jobname.vex + \literalversoexplain{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\versoexplanationsheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\versoexplanationsheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\versoexplanationsname}{versoexplanatorynotes} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifversoexplanationstwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +\newcommand{\literalversoexplain}[1]{ + \begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\versoexplanations{\expandafter\strip\meaning\next}% + \endgroup +} +\newif\ifversoexplanationssinglepar +\newcommand{\firstversoexplanatory}{\immediate\write\versoexplanations{\versotitletoothernotes} + \ifversoexplanationssinglepar% + \literalversoexplain{\par}% +\fi} +\newif\ifnoversoexplainyet +\newcommand{\versoexplanatory}[2][0]{\versotitleinnotescheck% +\ifexplanon + \setlemmarange{#1}% + \ifnoversoexplainyet % first versoexplanation + \firstversoexplanatory + \fi %noversoexplainyet + \global\noversoexplainyetfalse +\immediate\write\versoexplanations{\checknoteheaders}% + \literalversoexplain{#2}% + \ifversoexplanationssinglepar% + \literalversoexplain{\par}% + \fi% + \fi % ifexplanon +\resetlemmacounters +} +\newtoks{\rectoexplanationsname} +\rectoexplanationsname={EXPLANATORY NOTES} +\newcommand{\changerectoexplanationsname}[1]{\rectoexplanationsname={#1}} +\newtoks{\rectoexplanationsheadername} +\rectoexplanationsheadername={Explanatory Notes to} +\newcommand{\changerectoexplanationsheader}[1]{\rectoexplanationsheadername={#1}} +\newtoks{\rectoexplanationscontentsname} +\rectoexplanationscontentsname={Explanatory Notes} +\newcommand{\changerectoexplanationscontentsname}[1]{% +\rectoexplanationscontentsname={#1}} +\newif\ifrectoexplanationstwocol +\rectoexplanationstwocolfalse +\newcommand{\makerectoexplanatorynotes}{\global\explanontrue + \global\verselinenumberstrue + \newwrite\rectoexplanations + \immediate\openout\rectoexplanations=\jobname.rex + \literalrectoexplain{\flushbottom{\par\clearpage + {\pagestyle{volumetitlestyle}\cleardoublepage} +\thispagestyle{volumetitlestyle}} +\fancyhead[RO,LE]{{\small\textrm{\thepage}}} +\fancyhead[CO]{{\small{\em \the\rectoexplanationsheadername~\mymarks}}} +\fancyhead[CE]{{\small{\em \the\rectoexplanationsheadername~\mymarks}}} +\fancyfoot{} +\mark{3} +\setendnotessectiontitle{\the\rectoexplanationsname}{rectoexplanatorynotes} +\tolerance=500\language=0 +\normalfont \backmattertextfont +\ifrectoexplanationstwocol +\begin{multicols}{2} +\fi +\setlength{\parindent}{-10pt} +} +} +\newcommand{\literalrectoexplain}[1]{ + \begingroup + \def\next{#1}% + \newlinechar='40 + \immediate\write\rectoexplanations{\expandafter\strip\meaning\next}% + \endgroup +} +\newif\ifrectoexplanationssinglepar +\newcommand{\firstrectoexplanatory}{\immediate\write\rectoexplanations{\rectotitletoothernotes} + \ifrectoexplanationssinglepar% + \literalrectoexplain{\par}% + \fi% +} +\newif\ifnorectoexplainyet +\newcommand{\rectoexplanatory}[2][0]{\rectotitleinnotescheck% +\ifexplanon + \setlemmarange{#1}% + \ifnorectoexplainyet % first rectoexplanation + \firstrectoexplanatory + \fi %norectoexplainyet + \global\norectoexplainyetfalse +\immediate\write\rectoexplanations{\checknoteheaders}% + \literalrectoexplain{#2}% + \ifrectoexplanationssinglepar% + \literalrectoexplain{\par}% + \fi% + \fi % ifexplanon +\resetlemmacounters +} +\newcommand{\versoprosetextnote}[3][0]{% +\iftextnoteson% +\versotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifnoversotextnoteyet % firstversotextnote + \firstversotextnote + \fi %noversotextnoteyet + \global\noversotextnoteyetfalse +\immediate\write\versotextnotes{\checkprosenoteheaders}% +\literalversotextnote{#3}% +\ifversotextnotessinglepar% +\literalversotextnote{\par}% +\fi% +\resetlemmacounters% +\fi\unskip% +} +\newcommand{\versoproseemendation}[3][0]{% +\ifemendationson% +\versotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifredundantemendations + \iftextnoteson + \ifrangelemma + \versoprosetextnote[#1]{#2}{#3}% + \else + \versoprosetextnote{#2}{#3}% + \fi % ifrangelemma} + \fi %iftextnoteson +\ifversotextnotessinglepar% +\literalversotextnote{\par}% +\fi% iftextnotessinglepar + \fi % ifredundantemendations + \ifnoversoemendationyet % firstemendation + \firstversoemendation + \fi%noemendyet + \global\noversoemendationyetfalse +\immediate\write\versoemendations{\checkprosenoteheaders}% + \literalversoemendation{#3}% +\ifversoemendationssinglepar% +\literalversoemendation{\par}% +\fi% ifemendationssinglep + \resetlemmacounters% +\fi\unskip% +} +\newcommand{\versoproseexplanatory}[3][0]{% +\ifexplanon% +\versotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifnoversoexplainyet% firstexplanation + \firstversoexplanatory% + \fi%noexplainyet + \global\noversoexplainyetfalse% +\immediate\write\versoexplanations{\checkprosenoteheaders}% + \literalversoexplain{#3}% +\ifversoexplanationssinglepar% + \literalversoexplain{\par}% + \fi% ifexplanationssinglepar + \resetlemmacounters% +\fi\unskip% +} +\newcommand{\rectoprosetextnote}[3][0]{% +\iftextnoteson% +\rectotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifnorectotextnoteyet % firstrectotextnote + \firstrectotextnote + \fi %norectotextnoteyet + \global\norectotextnoteyetfalse +\immediate\write\rectotextnotes{\checkprosenoteheaders}% +\literalrectotextnote{#3}% +\ifrectotextnotessinglepar% +\literalrectotextnote{\par}% +\fi% +\resetlemmacounters% +\fi\unskip% +} +\newcommand{\rectoproseemendation}[3][0]{% +\ifemendationson% +\rectotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifredundantemendations + \iftextnoteson + \ifrangelemma + \rectoprosetextnote[#1]{#2}{#3}% + \else + \rectoprosetextnote{#2}{#3}% + \fi % ifrangelemma} + \fi %iftextnoteson +\ifrectotextnotessinglepar% +\literalrectotextnote{\par}% +\fi% iftextnotessinglepar + \fi % ifredundantemendations + \ifnorectoemendationyet % firstemendation + \firstrectoemendation + \fi%noemendyet + \global\norectoemendationyetfalse +\immediate\write\rectoemendations{\checkprosenoteheaders}% + \literalrectoemendation{#3}% +\ifrectoemendationssinglepar% +\literalrectoemendation{\par}% +\fi% ifemendationssinglep + \resetlemmacounters% +\fi\unskip% +} +\newcommand{\rectoproseexplanatory}[3][0]{% +\ifexplanon% +\rectotitleinnotescheck +\unskip\proselinelabel{#2}% +\setproselemmarange{#2}{#1}% + \ifnorectoexplainyet% firstexplanation + \firstrectoexplanatory% + \fi%noexplainyet + \global\norectoexplainyetfalse% +\immediate\write\rectoexplanations{\checkprosenoteheaders}% + \literalrectoexplain{#3}% +\ifrectoexplanationssinglepar% + \literalrectoexplain{\par}% + \fi% ifexplanationssinglepar + \resetlemmacounters% +\fi\unskip% } +\newcommand{\pmclresetsettitleinnotes}{% +\noversoemendationyettrue% +\noversoexplainyettrue% +\noversotextnoteyettrue% +\norectoemendationyettrue% +\norectoexplainyettrue% +\norectotextnoteyettrue% +} +\newcommand{\pmclversoresetsettitleinnotes}{% +\noversoemendationyettrue% +\noversoexplainyettrue% +\noversotextnoteyettrue% +} +\newcommand{\pmclrectoresetsettitleinnotes}{% +\norectoemendationyettrue% +\norectoexplainyettrue% +\norectotextnoteyettrue% +} +\let\literalexplanatory=\literalexplain +\let\literalversoexplanatory=\literalversoexplain +\let\literalrectoexplanatory=\literalrectoexplain +\newcommand{\putversotextnotes}{ +\iftextnoteson +\ifversotextnotestwocol +\literalversotextnote{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\versotextnotes + \input \jobname.vtn +\contentsendnotestitle{\the\versotextnotescontentsname}{versotextnotes} +\else + \relax +\fi} +\newcommand{\putrectotextnotes}{ +\iftextnoteson +\ifrectotextnotestwocol +\literalrectotextnote{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\rectotextnotes + \input \jobname.rtn +\contentsendnotestitle{\the\rectotextnotescontentsname}{rectotextnotes} +\else + \relax +\fi} +\newcommand{\putversoemendations}{ +\ifemendationson +\ifversoemendationstwocol +\literalversoemendation{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\versoemendations + \input \jobname.vem +\contentsendnotestitle{\the\versoemendationscontentsname}{versoemendations} +\else + \relax +\fi} +\newcommand{\putrectoemendations}{ +\ifemendationson +\ifrectoemendationstwocol +\literalrectoemendation{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\rectoemendations + \input \jobname.rem +\contentsendnotestitle{\the\rectoemendationscontentsname}{rectoemendations} +\else + \relax +\fi} +\newcommand{\putversoexplanatorynotes}{ +\ifexplanon +\ifversoexplanationstwocol +\literalversoexplain{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\versoexplanations + \input \jobname.vex +\ifpoemcontentson + \ifexplanon +\contentsendnotestitle{\the\versoexplanationscontentsname}{versoexplanatorynotes} + \fi +\fi +\else + \relax +\fi}% \end{macrocode} +\newcommand{\putrectoexplanatorynotes}{ +\ifexplanon +\ifrectoexplanationstwocol +\literalrectoexplain{\end{multicols}} +\fi %\iftextnotetwocol + \newpage + \hyphenationforsmall + \immediate\closeout\rectoexplanations + \input \jobname.rex +\ifpoemcontentson + \ifexplanon +\contentsendnotestitle{\the\rectoexplanationscontentsname}{rectoexplanatorynotes} + \fi +\fi +\else + \relax +\fi} \newif\ifversopassagestillopen \versopassagestillopenfalse \newif\ifrectopassagestillopen |