summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-01-19 01:15:05 +0000
committerKarl Berry <karl@freefriends.org>2007-01-19 01:15:05 +0000
commit16b1721b6156255ee494d66e293a306e3d753846 (patch)
tree7a0423efbf38aaa7826865c5f627ac852af5625c /Master/texmf-dist
parent34d97661b6a6e80101f81b56c53dc4c9690d039f (diff)
endheads update (19jan07)
git-svn-id: svn://tug.org/texlive/trunk@3580 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/endheads/README6
-rw-r--r--Master/texmf-dist/doc/latex/endheads/endheads.pdfbin131248 -> 138060 bytes
-rw-r--r--Master/texmf-dist/source/latex/endheads/endheads.dtx65
-rw-r--r--Master/texmf-dist/tex/latex/endheads/endheads.sty28
-rw-r--r--Master/texmf-dist/tpm/endheads.tpm11
5 files changed, 88 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/latex/endheads/README b/Master/texmf-dist/doc/latex/endheads/README
new file mode 100644
index 00000000000..6872b17bca0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/endheads/README
@@ -0,0 +1,6 @@
+Endheads provides running headers of the form "Notes to
+pp. xx--yy" for endnotes sections. It also enables one to
+reset the endnotes counter, and put a line marking the
+chapter change in the endnotes, at the beginning of every
+chapter. Endheads requires the fancyhdr, needspace,
+ifthen, and endnotes packages. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/endheads/endheads.pdf b/Master/texmf-dist/doc/latex/endheads/endheads.pdf
index a9bc1a89a52..5e29c33468d 100644
--- a/Master/texmf-dist/doc/latex/endheads/endheads.pdf
+++ b/Master/texmf-dist/doc/latex/endheads/endheads.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/endheads/endheads.dtx b/Master/texmf-dist/source/latex/endheads/endheads.dtx
index b2ca2f85a75..21ea3413b15 100644
--- a/Master/texmf-dist/source/latex/endheads/endheads.dtx
+++ b/Master/texmf-dist/source/latex/endheads/endheads.dtx
@@ -18,7 +18,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1997/12/01]
%<package>\ProvidesPackage{endheads}
-%<package> [2006/11/09 v1.152 endheads file]
+%<package> [2007/01/18 v1.2 endheads file]
%
%<*driver>
\documentclass{ltxdoc}
@@ -32,7 +32,7 @@
%</driver>
% \fi
%
-% \CheckSum{286}
+% \CheckSum{327}
%
% \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
@@ -58,6 +58,7 @@
% notes}
% \changes{v1.151}{2005/09/25}{Corrections to user's guide}
% \changes{v1.152}{2006/11/10}{Fixed strange white space error}
+% \changes{v1.2}{2006/11/10}{Added commands for multilingual use}
% \GetFileInfo{endheads.sty}
%
% \DoNotIndex{\newcommand,\newenvironment,\def,\edef,\else,\renewcommand,\makeatletter,\makeatother}
@@ -93,13 +94,13 @@
% \textsc, \unskip}
% \setcounter{IndexColumns}{2}
% \MakeShortVerb{|}
-% \def\fileversion{1.152}
-% \def\filedate{9 November 2006}
-% \def\docdate{9 November 2006}
+% \def\fileversion{1.2}
+% \def\filedate{18 January 2007}
+% \def\docdate{18 January 2007}
% \title{Running Headers for Endnotes\thanks{This document
% corresponds to \textsf{endheads}~\fileversion, dated \filedate.}}
% \author{John Burt \\ \texttt{burt@brandeis.edu}}
-% \date{November 9, 2006}
+% \date{January 18, 2007}
% \maketitle
% \begin{abstract}
% \textsf{endheads} provides running headers of the form ``Notes to
@@ -119,7 +120,7 @@
%
% \textsf{endheads} requires the following packages to work correctly:
% \textsf{endnotes} (obviously), \textsf{fancyhdr} (also obviously),
-% \textsf{ifthem} (for comparing page numbers), \textsf{needspace} (to
+% \textsf{ifthen} (for comparing page numbers), \textsf{needspace} (to
% prevent widowed chapter titles in notes sections when resetting
% notes by chapter using either |\notesbychapter| or
% |\resetendnotes|), and \textsf{titleref} (to send the chapter titles
@@ -161,6 +162,30 @@
% |\notesbychapter| in the preamble if you have a bibliography, or odd
% results will follow.
%
+% \section{Using \textsf{endheads} in a Multilingual World}
+%
+% \begin{sloppypar}
+% \DescribeMacro{\changecontentsname}
+% By default, \textsf{endheads} uses English language running headers.
+% As of version 1.2 these
+% are easily changed. \end{sloppypar}
+%
+% \begin{sloppypar}
+% \DescribeMacro{\changenotesname} To change the name for the endnote
+% section for notes (the default is Notes), issue
+% |\changenotesname{your version}|. To change the running header (by
+% default ``Notes to'') issue |\changenotesheader{your version}|. To
+% change the name for the notes in the table of contents ( by
+% default ``Notes'') issue |\changenotescontentsname{your version}|.
+% \DescribeMacro{\changesinglepageabbrev}
+% \DescribeMacro{\changemultiplepageabbrev} Running headers refer to
+% single pages with the English abbreviation ``p.'' and to multiple
+% pages with the English abbreviation ``pp.'' To change these issue
+% |\changesinglepageabbrev{new abbrev}| or
+% |\changemultiplepageabbrev{new abbrev}| respectively. The ultimate
+% outcome is to translate a header of the form ``Notes to
+% pp.~xx-yy'' to the form appropriate for your
+% language.\end{sloppypar}
%
% \StopEventually{\PrintChanges\PrintIndex}
% \section{Implementation}
@@ -232,10 +257,16 @@ r@#2\endcsname{}{}\@nil
% \begin{macro}{\mymarks}
% A command to set the marks. This will be called by the page style.
% \begin{macrocode}
+\newtoks{\singlepageabbrev}
+\singlepageabbrev={p.}
+\newcommand{\changesinglepageabbrev}[1]{\singlepageabbrev={#1}}
+\newtoks{\multiplepageabbrev}
+\newcommand{\changemultiplepageabbrev}[1]{\multiplepageabbrev={#1}}
+\multiplepageabbrev{pp.}
\newcommand{\mymarks}{%
- \ifthenelse{\equal{\firstmark}{\botmark}}
- {to p.~\firstmark} % if equal
- {to pp.~\firstmark--\botmark}}%if not equal
+ \ifthenelse{\equal{\firstmark}{\botmark}}%
+ {\unskip ~\the\singlepageabbrev~\firstmark}% if equal
+ {\unskip ~\the\multiplepageabbrev~\firstmark--\botmark}}%if not equal
% \end{macrocode}
% \end{macro}
% \begin{macro}{\endnotespagestyle}
@@ -243,6 +274,16 @@ r@#2\endcsname{}{}\@nil
% want to change some aspects of this, such as where to put the page
% number, to make it consistent with the rest of your document.
% \begin{macrocode}
+
+\newtoks{\endnotesname}
+\endnotesname={Notes}
+\newcommand{\changenotesname}[1]{\def\notesname{#1}}
+\newtoks{\notesheadername}
+\notesheadername={Notes to}
+\newcommand{\changenotesheader}[1]{\notesheadername={#1}}
+\newtoks{\notescontentsname}
+\notescontentsname={Notes}
+\newcommand{\changenotescontentsname}[1]{\textnotescontentsname={#1}}
\fancypagestyle{plain}{%
\fancyhf{}
\fancyhead[RO,LE]{{\small\textrm{\thepage}}}
@@ -251,8 +292,8 @@ r@#2\endcsname{}{}\@nil
}
\fancypagestyle{endnotesstyle}{%
\fancyhf{}
-\fancyhead[CO]{{\small{\em Notes~\mymarks}}}
-\fancyhead[CE]{{\small{\em Notes~\mymarks}}}
+\fancyhead[CO]{{\small{\em \the\notesheadername~\mymarks}}}
+\fancyhead[CE]{{\small{\em \the\notesheadername~\mymarks}}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhead[RO,LE]{{\small\textrm{\thepage}}}
diff --git a/Master/texmf-dist/tex/latex/endheads/endheads.sty b/Master/texmf-dist/tex/latex/endheads/endheads.sty
index 90175613be5..70121b66ebf 100644
--- a/Master/texmf-dist/tex/latex/endheads/endheads.sty
+++ b/Master/texmf-dist/tex/latex/endheads/endheads.sty
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}[1997/12/01]
\ProvidesPackage{endheads}
- [2006/11/09 v1.152 endheads file]
+ [2007/01/18 v1.2 endheads file]
\providecommand*{\ifrefundefined}[1]{%
\expandafter\ifx\csname r@#1\endcsname\relax
\expandafter\@firstoftwo
@@ -73,10 +73,26 @@ r@#2\endcsname{}{}\@nil
\newcounter{allendnotes}
\setcounter{allendnotes}{1}
\newcounter{notepageholder}
+\newtoks{\singlepageabbrev}
+\singlepageabbrev={p.}
+\newcommand{\changesinglepageabbrev}[1]{\singlepageabbrev={#1}}
+\newtoks{\multiplepageabbrev}
+\newcommand{\changemultiplepageabbrev}[1]{\multiplepageabbrev={#1}}
+\multiplepageabbrev{pp.}
\newcommand{\mymarks}{%
- \ifthenelse{\equal{\firstmark}{\botmark}}
- {to p.~\firstmark} % if equal
- {to pp.~\firstmark--\botmark}}%if not equal
+ \ifthenelse{\equal{\firstmark}{\botmark}}%
+ {\unskip ~\the\singlepageabbrev~\firstmark}% if equal
+ {\unskip ~\the\multiplepageabbrev~\firstmark--\botmark}}%if not equal
+
+\newtoks{\endnotesname}
+\endnotesname={Notes}
+\newcommand{\changenotesname}[1]{\def\notesname{#1}}
+\newtoks{\notesheadername}
+\notesheadername={Notes to}
+\newcommand{\changenotesheader}[1]{\notesheadername={#1}}
+\newtoks{\notescontentsname}
+\notescontentsname={Notes}
+\newcommand{\changenotescontentsname}[1]{\textnotescontentsname={#1}}
\fancypagestyle{plain}{%
\fancyhf{}
\fancyhead[RO,LE]{{\small\textrm{\thepage}}}
@@ -85,8 +101,8 @@ r@#2\endcsname{}{}\@nil
}
\fancypagestyle{endnotesstyle}{%
\fancyhf{}
-\fancyhead[CO]{{\small{\em Notes~\mymarks}}}
-\fancyhead[CE]{{\small{\em Notes~\mymarks}}}
+\fancyhead[CO]{{\small{\em \the\notesheadername~\mymarks}}}
+\fancyhead[CE]{{\small{\em \the\notesheadername~\mymarks}}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhead[RO,LE]{{\small\textrm{\thepage}}}
diff --git a/Master/texmf-dist/tpm/endheads.tpm b/Master/texmf-dist/tpm/endheads.tpm
index 218b2982222..0e040c12113 100644
--- a/Master/texmf-dist/tpm/endheads.tpm
+++ b/Master/texmf-dist/tpm/endheads.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/endheads.zip">
<TPM:Name>endheads</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2006/11/25 03:58:41</TPM:Date>
+ <TPM:Date>2007/01/18 16:25:00</TPM:Date>
<TPM:Version></TPM:Version>
<TPM:Creator>karl</TPM:Creator>
<TPM:Title>The endheads package.</TPM:Title>
@@ -12,12 +12,15 @@
<TPM:Size>153211</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="6203">
+ <TPM:RunFiles size="6859">
texmf-dist/tex/latex/endheads/endheads.sty
texmf-dist/tpm/endheads.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="131248">texmf-dist/doc/latex/endheads/endheads.pdf</TPM:DocFiles>
- <TPM:SourceFiles size="15760">
+ <TPM:DocFiles size="138375">
+texmf-dist/doc/latex/endheads/README
+texmf-dist/doc/latex/endheads/endheads.pdf
+ </TPM:DocFiles>
+ <TPM:SourceFiles size="17649">
texmf-dist/source/latex/endheads/endheads.dtx
texmf-dist/source/latex/endheads/endheads.ins
</TPM:SourceFiles>