summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-10 22:06:47 +0000
committerKarl Berry <karl@freefriends.org>2019-11-10 22:06:47 +0000
commit4ab01cda77a3fdac24eed009dd4681a8e5247d28 (patch)
tree15cf50f70da7a8c123f47c1c801af74a5e7005ee /Master/texmf-dist/source
parentaab89493103eee4673adc09ca1cb724b08d8ce98 (diff)
poetry (10nov19)
git-svn-id: svn://tug.org/texlive/trunk@52723 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/poetry/poetry.dtx11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/poetry/poetry.dtx b/Master/texmf-dist/source/latex/poetry/poetry.dtx
index de710f32393..774c2842ba5 100644
--- a/Master/texmf-dist/source/latex/poetry/poetry.dtx
+++ b/Master/texmf-dist/source/latex/poetry/poetry.dtx
@@ -22,7 +22,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<package>\ProvidesPackage{poetry}[2019/05/02 v2.0 support for typesetting poetry]
+%<package>\ProvidesPackage{poetry}[2019/05/02 v2.1 support for typesetting poetry]
%<*driver>
\documentclass{ltxdoc}
@@ -77,7 +77,7 @@
%</driver>
% \fi
%
-% \title{The |poetry| Package, v2.0}
+% \title{The |poetry| Package, v2.1}
% \author{Donald P.\ Goodman III}
% \date{\today}
%
@@ -1314,7 +1314,6 @@
% \label{sect:implem}
%
% \begin{macrocode}
-\ProvidesPackage{poetry}%
\RequirePackage{modulus}%
\newcounter{poemline}%
\newcount\poemlineno%
@@ -1336,8 +1335,8 @@
\newcounter{poemrtlinenumsevery}\setcounter{poemrtlinenumsevery}{1}%
\newcount\poem@rt@linenumsevery\poem@rt@linenumsevery=\value{poemrtlinenumsevery}%
\newlength{\poemindent}\setlength{\poemindent}{0pt}%
-\newlength{\poemtopskip}{\setlength{\poemtopskip}{1em}%
-\newlength{\poembotskip}{\setlength{\poembotskip}{1em}%
+\newlength{\poemtopskip}\setlength{\poemtopskip}{1em}%
+\newlength{\poembotskip}\setlength{\poembotskip}{1em}%
\newdimen\poem@topskip\newdimen\poem@botskip%
\newdimen\poem@defleftskip\poem@defleftskip=\the\poemindent%
\newdimen\poem@maxlinewd%
@@ -1716,6 +1715,7 @@
% |imakeidx| package for this, so as not to interfere with
% any existing indices.
% \begin{macrocode}
+\ifx\theindex\@undefined\else%
\RequirePackage{imakeidx}
\makeindex[intoc,columns=1,name={\jobname-iofl},title={\poemioflname}]
\def\poemioflname{Index of First Lines}%
@@ -1729,6 +1729,7 @@
\def\printiofl{%
\printindex[\jobname-iofl]%
}%
+\fi%
% \end{macrocode}
% \listofpoems
% \PrintIndex