summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-11 21:39:42 +0000
committerKarl Berry <karl@freefriends.org>2018-09-11 21:39:42 +0000
commitcd4be1f46517d7a1f09fefa0a0b8fe9f22526e22 (patch)
tree2a1f069b059d7c2d605d554e61e02359ced137d6 /Master/texmf-dist/source/latex
parentf4bd18b768f9b15d0cd4c49b5f926a108889ae1c (diff)
poetry (11sep18)
git-svn-id: svn://tug.org/texlive/trunk@48643 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/poetry/poetry.dtx28
-rw-r--r--Master/texmf-dist/source/latex/poetry/poetry.ins4
2 files changed, 21 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/poetry/poetry.dtx b/Master/texmf-dist/source/latex/poetry/poetry.dtx
index 0d552e87d98..49ad9a81308 100644
--- a/Master/texmf-dist/source/latex/poetry/poetry.dtx
+++ b/Master/texmf-dist/source/latex/poetry/poetry.dtx
@@ -1,13 +1,13 @@
% \iffalse
% +AMDG
%
-% This document is copyright 2017 by Donald P. Goodman, and is
+% This document is copyright 2018 by Donald P. Goodman, and is
% released publicly under the LaTeX Project Public License. The
% distribution and modification of this work is constrained by the
% conditions of that license. See
% http://www.latex-project.org/lppl.txt
% for the text of the license. This document is released
-% under version 1.3 of that license, and this work may be distributed
+% under version 1.3c of that license, and this work may be distributed
% or modified under the terms of that license or, at your option, any
% later version.
%
@@ -22,7 +22,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<package>\ProvidesPackage{poetry}[2017/06/19 v1.0 support for typesetting poetry]
+%<package>\ProvidesPackage{poetry}[2018/09/10 v1.1 support for typesetting poetry]
%<*driver>
\documentclass{ltxdoc}
@@ -30,6 +30,7 @@
\usepackage{xellipsis}
\usepackage{parcolumns}
\usepackage{array}
+\usepackage{xcolor}
\usepackage{lettrine}
\setcounter{DefaultLines}{3}
\setlength{\DefaultFindent}{2pt}
@@ -38,8 +39,8 @@
\usepackage{poetry}
\usepackage{spverbatim}
\usepackage[typeone]{dozenal}
-\usepackage[colorlinks]{hyperref}
\usepackage{makeidx}
+\usepackage[colorlinks]{hyperref}
\EnableCrossrefs
\PageIndex
\CodelineNumbered
@@ -76,7 +77,7 @@
%</driver>
% \fi
%
-% \title{The |poetry| Package, v1.0}
+% \title{The |poetry| Package, v1.1}
% \author{Donald P.\ Goodman III}
% \date{\today}
%
@@ -670,11 +671,12 @@
% \def\poemlinenumstyle{}
%
% Labels can be placed on any line of poetry, and refer back
-% to that line. Hyperlinks will work properly, if you're
-% using |hyperref| to produce them. For example, ``line
+% to that line. Make references with the usual \LaTeX\
+% |\ref| and |\label| commands; for example, ``line
% \ref{ln:ex}'' refers to line 4 of the quotation from
-% \textit{Hamlet} we gave you earlier. Make such references
-% with the usual \LaTeX\ |\ref| and |\label| commands.
+% \textit{Hamlet} we gave you earlier. If you've loaded
+% |hyperref|, these will correctly turn into hyperlinks, as
+% well.
%
% \section{Document Structure}
% \label{sect:structure}
@@ -1509,6 +1511,14 @@
}%
\def\l@poemgroup{\poemgrouplopformat}%
% \end{macrocode}
+% Do some magic to ensure that the package works even if
+% |hyperref| isn't loaded.
+% \begin{macrocode}
+ \ifcsname phantomsection\endcsname%
+ \else%
+ \def\phantomsection{\relax}%
+ \fi%
+% \end{macrocode}
% Now let's set up the index of first lines. We use the
% |imakeidx| package for this, so as not to interfere with
% any existing indices.
diff --git a/Master/texmf-dist/source/latex/poetry/poetry.ins b/Master/texmf-dist/source/latex/poetry/poetry.ins
index d6808258f2f..1ed29aa55c2 100644
--- a/Master/texmf-dist/source/latex/poetry/poetry.ins
+++ b/Master/texmf-dist/source/latex/poetry/poetry.ins
@@ -3,13 +3,13 @@
% Apostle, and the Immaculate Heart of Mary, for their
% prayers, and to the Sacred Heart of Jesus, for His mercy.
%
-% This document is copyright 2017 by Donald P. Goodman, and is
+% This document is copyright 2018 by Donald P. Goodman, and is
% released publicly under the LaTeX Project Public License. The
% distribution and modification of this work is constrained by the
% conditions of that license. See
% http://www.latex-project.org/lppl.txt
% for the text of the license. This document is released
-% under version 1.3 of that license, and this work may be distributed
+% under version 1.3c of that license, and this work may be distributed
% or modified under the terms of that license or, at your option, any
% later version.
%