[latex3-commits] [git/LaTeX3-latex3-latex2e] ltnew33: undo most changes (those changing quote chars and the like) (c6e0c0b8)
Frank Mittelbach
frank.mittelbach at latex-project.org
Tue May 18 18:14:54 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : ltnew33
Link : https://github.com/latex3/latex2e/commit/c6e0c0b87c614115d048cc4b370236bffe4220a5
>---------------------------------------------------------------
commit c6e0c0b87c614115d048cc4b370236bffe4220a5
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Tue May 18 18:14:54 2021 +0200
undo most changes (those changing quote chars and the like)
>---------------------------------------------------------------
c6e0c0b87c614115d048cc4b370236bffe4220a5
base/doc/ltnews33.tex | 92 +++++++++++++++++++++------------------------------
1 file changed, 37 insertions(+), 55 deletions(-)
diff --git a/base/doc/ltnews33.tex b/base/doc/ltnews33.tex
index 14371e97..36f54b88 100644
--- a/base/doc/ltnews33.tex
+++ b/base/doc/ltnews33.tex
@@ -1,5 +1,5 @@
%% Temporary: quick draft identification --
-%% This is Draft 3i.
+%% This is Draft 3j.
% \iffalse meta-comment
%
% Copyright 2019-2021
@@ -107,7 +107,7 @@
\tubcommand{\input{tubltmac}}
\publicationmonth{June}
-\publicationyear{2021 --- Draft Version 3i}
+\publicationyear{2021 --- Draft Version 3j}
\publicationissue{33}
@@ -173,7 +173,7 @@ both for file loading (helpful for patching such files) and for
arbitrary environments (the hooks executed within \cs{begin} and
\cs{end}). This concept of \enquote{generic hooks} has now been
extended to provide \hook{/before} and \hook{/after} hooks for any
-(document-level) command—in theory at least.
+(document-level) command---in theory at least.
In practice, these new generic \hook{cmd} hooks, especially the
@@ -186,7 +186,7 @@ However, given that these hooks are mainly meant for developers who
wish to provide better interoperability between different packages,
and between packages and the \LaTeX{} kernel, these restrictions are,
we hope, of minor importance. Indeed, for commands where this
-mechanism can’t be applied, one is in the same situation as before;
+mechanism can't be applied, one is in the same situation as before;
and for all others there will be a noticeable improvement.
These hooks will be especially important for our current project to
@@ -296,7 +296,7 @@ file \file{mychap.tex.tex} for inclusion and tried to
use the file \file{mychap.tex.aux} for internal (auxiliary) information. The reason was that
\cs{include} had to construct both
of these file names from the given
-argument and it didn’t bother to do
+argument and it didn't bother to do
anything special
with the supplied
extension \texttt{.tex}.
@@ -382,28 +382,28 @@ directly instead of using \verb=\d{m}=, etc.
-\subsection{More ``dashes’’ in encodings \texttt{OT1},
+\subsection{More ``dashes'' in encodings \texttt{OT1},
\texttt{T1} and \texttt{TU}}
When pasting in text from external sources, one can encounter these
three Unicode characters
%
-\texttt{“2011} (non-breaking hyphen),
-\texttt{“2012} (figure dash) and
-\texttt{“2015} (horizontal bar),
+\texttt{"2011} (non-breaking hyphen),
+\texttt{"2012} (figure dash) and
+\texttt{"2015} (horizontal bar),
%
in addition to the more common
%
-\texttt{“2013} (en-dash) and \texttt{“2014} (em-dash).
+\texttt{"2013} (en-dash) and \texttt{"2014} (em-dash).
%
In the past, these first three produced an error message when used
with \pdfTeX{} (since they are not available in \texttt{OT1} or
\texttt{T1} encoded fonts). They now typeset an approximation to the
-glyph: e.g., the `figure dash’ is approximated by an en-dash.
+glyph: e.g., the `figure dash' is approximated by an en-dash.
With Unicode engines they either work (when the glyph is contained in
the selected Unicode font) or they typeset nothing, producing a
-``Missing character’’ warning in the log file.
+``Missing character'' warning in the log file.
With all engines these characters can also now be accessed using the
command names \cs{textnonbreakinghyphen}, \cs{textfiguredash} and
@@ -412,14 +412,14 @@ command names \cs{textnonbreakinghyphen}, \cs{textfiguredash} and
\githubissue{404}
-\subsection{Poor man’s \cs{textasteriskcentered}}
+\subsection{Poor man's \cs{textasteriskcentered}}
The \cs{textasteriskcentered} symbol, used as part of the set of
footnote symbols in \LaTeX{}, is assumed to be implemented by every
font with the \texttt{TS1} encoding (when \pdfTeX{} is used) or with
the \texttt{TU} encoding for the Unicode engines. That assumption is
unfortunately not correct for all fonts since, for example, the
-\texttt{stix2} fonts don’t provide this glyph. A result is that one
+\texttt{stix2} fonts don't provide this glyph. A result is that one
gets missing glyph messages when using \cs{thanks}, etc.
Therefore \cs{textasteriskcentered} now checks whether there is such a
@@ -524,7 +524,7 @@ to a fuller sub-encoding, e.g.
\end{verbatim}
The downside is, that \LaTeX{} then believes other glyphs that are in fact
unavailable are also there, so that it is important to check that the
-final document doesn’t have some missing glyphs.
+final document doesn't have some missing glyphs.
\section{New or improved commands}
@@ -631,7 +631,7 @@ We have restored consistency here: now both of the above lines
produce a single \env{tabular} row.
%
As before, you can
-put \cs{raggedright}\cs{arraybackslash} in the \env{tabular}’s
+put \cs{raggedright}\cs{arraybackslash} in the \env{tabular}'s
preamble for a column to ensure that \cs{\textbackslash} is always
interpreted as a tabular row separator when used in that column. And
you can use \cs{tabularnewline} to explicitly ask for a new table row,
@@ -646,7 +646,7 @@ current column.
\subsection{Allow extra space between name and address in \pkg{letter} class}
The \cs{opening} command in the \pkg{letter} class expects the name
-and address to be separated by \verb=\\=, but it didn’t allow the use
+and address to be separated by \verb=\\=, but it didn't allow the use
of an optional argument to add some extra space after the name. The
code has now been slightly altered to allow this.
%
@@ -662,7 +662,7 @@ order to generate an error message in case some character is missing
from a font. In previous years, a warning about a missing character
was silently printed to the \texttt{.log} file (if
$\cs{tracinglostchars}>0$) and to the terminal (if ${}>1$). This
-extension was added for \TL{} and \MiKTeX{} (except in Knuth’s \TeX,
+extension was added for \TL{} and \MiKTeX{} (except in Knuth's \TeX,
of course), so that with $\cs{tracinglostchars}>2$ you now also get an
error message for each missing glyph.
@@ -675,7 +675,7 @@ positive, will add to the tracing information for each
macro a visual indication (using dots) of
its nesting level in the macro expansion stack.
-These changes have both now been added to \LaTeX’s debugging macros
+These changes have both now been added to \LaTeX's debugging macros
\cs{tracingall} and \cs{tracingnone}, so that these two new extensions
are activated/deactivated as appropriate, so long as the \TeX{} engine
supports them. An example document demonstrating these parameters is
@@ -700,14 +700,9 @@ ended without an explicit \cs{par}.
%
\githubissue{489}
-%%FMi that is technically wrong — it matters not at all in what
-%%FMi mode AtEndDocument it matters in what mode its code finally gets executed
-%%FMi — changed albeit longer
-%\subsection{Execute \cs{AtEndDocument}’s code in vertical mode}
-%%CCC What about this?
-\subsection{Execute \cs{AtEndDocument} hook in vertical mode}
+\subsection{Execute \cs{AtEndDocument} hook in vertical mode}
Until now \verb=\end{document}= executed the code from the
\cs{AtEndDocument} hook as its first action. This meant that this
@@ -726,7 +721,7 @@ statement. This was fixed and now \cs{enddocument} first issues a
The use of color in certain \LaTeX{} constructs, especially boxes,
needs an extra layer of grouping to ensure that the color setting does
-not \emph{escape} and continue outside the box when it shouldn’t.
+not \emph{escape} and continue outside the box when it shouldn't.
%
To support this, the \LaTeX{} kernel defines a number of commands,
e.g., \cs{color at begingroup} to be used in such places.
@@ -769,16 +764,16 @@ documented sources~\cite{33:source2e}.
\subsection{New for \pkg{latexrelease}\,: \cs{NewModuleRelease}}
To explain the need for this new feature, we shall consider the
-following example: in the 2020-10-01 release, \LaTeX’s new hook
+following example: in the 2020-10-01 release, \LaTeX's new hook
management system was added to the kernel (see \cite{33:ltnews32})
and, as with all changes to the kernel, it was added to
\pkg{latexrelease}; this made it possible to roll back to a date where
-this module didn’t yet exist, or to roll forward from an older
+this module didn't yet exist, or to roll forward from an older
\LaTeX{} release to get the hook management system (by loading the
\pkg{latexrelease} package).
%
However, this method of rolling back from a later release to the
-2020-10-01 release didn’t quite work because it would try to define
+2020-10-01 release didn't quite work because it would try to define
all the commands from \pkg{lthooks} again; and this would of course
result in the expected errors from commands defined with
\cs{newcommand} or (as in \pkg{lthooks}) \cs{cs\_new:Npn}.
@@ -800,7 +795,7 @@ with \verb|texdoc latexrelease|).
Whereas the \pkg{latexrelease} package can usually emulate an older
\LaTeX{} kernel without much problem, rolling back to before the
-2020-02-02 release didn’t work properly: this is because the
+2020-02-02 release didn't work properly: this is because the
management of the \cs{ExplSyntaxOn/Off} status for packages (after an
\pkg{expl3}-based package is loaded) cannot be removed by the rollback
without messing up the catcodes. This has been fixed so that rollback
@@ -813,9 +808,7 @@ ends.
\section{Changes to packages in the \pkg{graphics} category}
-%%CCC changed
-%%FMi — why?
-%%CCC Length in TOC (as usual:-)
+
\subsection{Removed %%CCC spurious
warning when loading graphics files}
@@ -823,22 +816,17 @@ A previous release sometimes mistakenly caused a (false) warning
message to appear when using a generic graphics rule to find and load
a graphics file with an unknown extension. This warning would
incorrectly say that the file was not found, whereas the file would in
-fact be correctly loaded. The warning now doesn’t show up in that
+fact be correctly loaded. The warning now doesn't show up in that
case.
%
\githubissue{516}
-%%FMi — wrong in my opinion, only PS graphics (eps) can get gzipped not any odd graphic
-%%FMi nothing else was ever supported
-%%FMi yes it makes the TOC 2 lines, but ...
-%%CCC Try this then, see changed body too.
\subsection{Fixed loading of \texttt{gzip}ped
- %%CCC PostScript graphics
PostScript files}
A previous release mistakenly changed the file searching mechanism so
-that compressed %%CCC
+that compressed
PostScript graphics files would raise an error when being loaded
with \cs{includegraphics}. This has been fixed so that
\texttt{gzip}ped graphics files now load correctly.
@@ -889,19 +877,13 @@ debugging possibilities.
\subsection{\pkg{bm}: Better support for commands with optional arguments}
-%%CCC Try again to fix para!
-Some uses of optional arguments in %%CCC that were supported by
-\cs{bm} stopped
-being supported (in 2004) when \cs{kernel at ifnextchar} was used
-internally by the format instead of \cs{@ifnextchar}. This update
-handles both versions of this command and restores
-the original \mbox{behaviour}.
-
-% %%CCC Removed BAD PARA BREAK ?
-% %%FMi clarity before visual imho, so no
-% %%CCC Agreed: fixed otherwise, see above.
+Some uses of optional arguments in \cs{bm} stopped being supported (in
+2004) when \cs{kernel at ifnextchar} was used internally by the format
+instead of \cs{@ifnextchar}. This update handles both versions of this
+command and restores the original \mbox{behaviour}.
+
In addition, package options for guiding the use of \enquote{poor
- man’s bold} in fallback situations were added.
+ man's bold} in fallback situations were added.
%
\githubissue{554}
@@ -916,7 +898,7 @@ The fix for issue 548 was also applied in \pkg{amsmath}, see above.
-%\medskip
+\medskip
\begin{thebibliography}{9}
@@ -942,7 +924,7 @@ The fix for issue 548 was also applied in \pkg{amsmath}, see above.
\iffalse
-%%CCC For Chris’ local system
+%%CCC For Chris' local system
\usepackage[utf8]{inputenc}
\def\githubissue #1{\par\noindent{\small\sl
@@ -952,7 +934,7 @@ The fix for issue 548 was also applied in \pkg{amsmath}, see above.
%%FMi This is the subsubsection from the class (for reference) unchanged
\makeatletter
-% maybe not the greatest design but normally we wouldn’t have subsubsections
+% maybe not the greatest design but normally we wouldn't have subsubsections
\renewcommand{\subsubsection}{%
\@startsection
{subsubsection}{2}{\leftmargini}{-1.5ex \@plus -1ex \@minus -.2ex}%
More information about the latex3-commits
mailing list.