summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/l3kernel/l3news.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-31 22:14:18 +0000
committerKarl Berry <karl@freefriends.org>2020-01-31 22:14:18 +0000
commit527bf264c6238978f19cb55441245c6c68aa4ee5 (patch)
tree808e961e46d78e9682a4d9d01ce692c80c0d6093 /Master/texmf-dist/doc/latex/l3kernel/l3news.tex
parentffcfa7a52180e1be3e81d0e0c4ce442e4bc1de02 (diff)
l3kernel (31jan20)
git-svn-id: svn://tug.org/texlive/trunk@53618 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/l3kernel/l3news.tex')
-rw-r--r--Master/texmf-dist/doc/latex/l3kernel/l3news.tex23
1 files changed, 19 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/l3kernel/l3news.tex b/Master/texmf-dist/doc/latex/l3kernel/l3news.tex
index 1c1b9eed797..ba379538e82 100644
--- a/Master/texmf-dist/doc/latex/l3kernel/l3news.tex
+++ b/Master/texmf-dist/doc/latex/l3kernel/l3news.tex
@@ -1,4 +1,4 @@
-% Copyright 2019 The LaTeX3 Project
+% Copyright 2019-2020 The LaTeX3 Project
\providecommand*{\lastissue}{12}
@@ -60,6 +60,21 @@
}%
}]%
}
+
+% show the page number on first page of issues:
+
+\renewcommand{\ps@titlepage}{%
+ \renewcommand{\@oddhead}{\hfill}%
+ \renewcommand{\@evenhead}{\hfill}%
+ \renewcommand{\@oddfoot}{\@indiciafont\@indicia\hfill --\thepage}%
+ \renewcommand{\@evenfoot}{\@indiciafont\@indicia\hfill --\thepage}%
+}
+
+% only needed if the old ltnews class is used
+\renewcommand{\@oddfoot}{\@indiciafont\mbox{}\hfill --\thepage}%
+\renewcommand{\@evenfoot}{\@indiciafont\mbox{}\hfill --\thepage}%
+
+
\makeatother
\begin{document}
@@ -97,7 +112,7 @@
\let\protect\l@paragraph\protect\l@subsection
}%
\fi
- \ifnum\@issue=\lastissue\space
+ \ifnum\@issue>9\space % we may have issue tocs ...
\addtocontents{toc}{%
\let\protect\l@paragraph\protect\saved@l@paragraph
}%
@@ -106,7 +121,7 @@
\addtocontents{toc}{\protect\setcounter{tocdepth}{4}}%
\renewcommand*{\tableofcontents}{%
\section*{\contentsname}%
- \@starttoc{toc\lastissue}%
+ \@starttoc{toc\theissue}%
}%
\let\saved@addtocontents\addtocontents
\renewcommand*{\addtocontents}[2]{%
@@ -114,7 +129,7 @@
\def\temp@toc{toc}%
\def\temp@param{##1}%
\ifx\temp@toc\temp@param
- \saved@addtocontents{toc\lastissue}{##2}%
+ \saved@addtocontents{toc\theissue}{##2}%
\fi
}%
\let\l@subsubsection\l@subsection