[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: fixed a couple of glitches reported by bnb and kb (fb3ada2b)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Jan 27 20:11:33 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/fb3ada2be68afa53ae637d3f742675046d9fbea1

>---------------------------------------------------------------

commit fb3ada2be68afa53ae637d3f742675046d9fbea1
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Jan 27 20:11:33 2020 +0100

    fixed a couple of glitches reported by bnb and kb


>---------------------------------------------------------------

fb3ada2be68afa53ae637d3f742675046d9fbea1
 base/doc/ltnews.tex   | 11 +++++++++++
 base/doc/ltnews31.tex | 16 ++++++++++------
 base/ltnews.cls       |  5 ++++-
 3 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/base/doc/ltnews.tex b/base/doc/ltnews.tex
index c5f924e5..fd89d7c6 100644
--- a/base/doc/ltnews.tex
+++ b/base/doc/ltnews.tex
@@ -93,6 +93,16 @@
   \number\value{issue}%
 }
 
+
+% show the page number on first page of issues:
+
+\renewcommand{\ps at titlepage}{%
+   \renewcommand{\@oddhead}{\hfill}%
+   \renewcommand{\@evenhead}{\hfill}%
+   \renewcommand{\@oddfoot}{\@indiciafont\@indicia\hfill --\thepage}%
+   \renewcommand{\@evenfoot}{\@indiciafont\@indicia\hfill --\thepage}%
+}
+
 \newcommand*{\MonthJanuary}{01}
 \newcommand*{\MonthFebruary}{02}
 \newcommand*{\MonthMarch}{03}
@@ -159,6 +169,7 @@
 
 \makeatother
 
+
 \begin{document}
 
 %%% Title and Table of Contents
diff --git a/base/doc/ltnews31.tex b/base/doc/ltnews31.tex
index 44679b8d..830a5e2e 100644
--- a/base/doc/ltnews31.tex
+++ b/base/doc/ltnews31.tex
@@ -40,7 +40,6 @@
 \usepackage{csquotes}
 \usepackage{multicol}
 
-\providecommand\acro[1]{\textsc{#1}}
 \providecommand\meta[1]{$\langle$\textit{#1}$\rangle$}
 \providecommand\option[1]{\texttt{#1}}
 \providecommand\env[1]{\texttt{#1}}
@@ -78,6 +77,9 @@
 \let\cls\pkg
 \providecommand\env[1]{\texttt{#1}}
 
+\vbadness=1400  % accept slightly empty columns
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \iffalse % only for TUB production
 \usepackage{graphicx}
@@ -509,7 +511,7 @@ written to the \texttt{.log} file.
 \subsection{UTF-8 characters in package descriptions}
 
 In 2018 we made UTF-8 the default input encoding for \LaTeX{} but we
-overlooked the case of non-\acro{ascii} characters in the short
+overlooked the case of non-ASCII characters in the short
 package descriptions used in declarations, e.g., in the optional argument to
 \cs{ProvidesPackage}.
 They worked (sometimes) before, but the switch to UTF-8 made them always
@@ -519,8 +521,8 @@ This has been corrected.
 \githubissue{52}
 
 
-\subsection[Fix inconsistent hook setting when\\ loading packages]%
-                   {Fix inconsistent hook setting when loading packages}
+\subsection[Fix inconsistent hook setting when\texorpdfstring{\\}{} loading packages]%
+           {Fix inconsistent hook setting when loading packages}
 
 As part of loading a package, the command
 \texttt{\textbackslash}\textit{package}\texttt{.sty-h@@k} gets
@@ -693,9 +695,11 @@ For ease of reference, these primitives will be referred to as the
 present in \pdfTeX{} since the release of version 1.40.0 in 2007; \cs{expanded}
 was added for \TeX{}~Live 2019. Similarly, the full set of these utility primitives
 has been available in \XeTeX{} from the 2019 \TeX{}~Live release, and has
-always been available in \LuaTeX{} (some by Lua emulation). Whilst p\TeX{} and
+always been available in \LuaTeX{} (some by Lua emulation).
+%
+The Japanese p\TeX{} and
 up\TeX{} gained all of the above (except \cs{ifincsname}) for \TeX{}~Live
-2019 and will both have that primitive also from the 2020 release.
+2019 and will both have that primitive also from the 2020 release onward.
 
 At the same time, engines which are fully Unicode-capable must provide
 the following primitives:
diff --git a/base/ltnews.cls b/base/ltnews.cls
index 1ef65297..5818cebe 100644
--- a/base/ltnews.cls
+++ b/base/ltnews.cls
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright 1993-2019
+% Copyright 1993-2020
 % The LaTeX3 Project and any individual authors listed elsewhere
 % in this file. 
 % 
@@ -400,6 +400,9 @@
 % The page style.
  
 \pagestyle{empty}
+\renewcommand{\@oddfoot}{\@indiciafont\mbox{}\hfill --\thepage}%
+\renewcommand{\@evenfoot}{\@indiciafont\mbox{}\hfill --\thepage}%
+
 \setlength{\parindent}{1em}
 % Why \textwidth?
 \setlength{\rightskip}{0pt plus \textwidth}





More information about the latex3-commits mailing list.