-
-
Notifications
You must be signed in to change notification settings - Fork 249
/
ltnews33.tex
301 lines (203 loc) · 8.42 KB
/
ltnews33.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
% \iffalse meta-comment
%
% Copyright 2019-2020
% The LaTeX Project and any individual authors listed elsewhere
% in this file.
%
% This file is part of the LaTeX base system.
% -------------------------------------------
%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% https://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX
% version 2008 or later.
%
% This file has the LPPL maintenance status "maintained".
%
% The list of all files belonging to the LaTeX base distribution is
% given in the file `manifest.txt'. See also `legal.txt' for additional
% information.
%
% The list of derived (unpacked) files belonging to the distribution
% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
%
% \fi
% Filename: ltnews33.tex
%
% This is issue 33 of LaTeX News.
\NeedsTeXFormat{LaTeX2e}[2020-02-02]
\documentclass{ltnews}
\usepackage[T1]{fontenc}
\usepackage{lmodern,url,hologo}
\usepackage{csquotes}
\usepackage{multicol}
\providecommand\meta[1]{$\langle$\textrm{\itshape#1}$\rangle$}
\providecommand\option[1]{\texttt{#1}}
\providecommand\env[1]{\texttt{#1}}
\providecommand\Arg[1]{\texttt\{\meta{#1}\texttt\}}
\providecommand\eTeX{\hologo{eTeX}}
\providecommand\XeTeX{\hologo{XeTeX}}
\providecommand\LuaTeX{\hologo{LuaTeX}}
\providecommand\pdfTeX{\hologo{pdfTeX}}
\providecommand\MiKTeX{\hologo{MiKTeX}}
\providecommand\CTAN{\textsc{ctan}}
\providecommand\TL{\TeX\,Live}
\providecommand\githubissue[2][]{\ifhmode\unskip\fi
\quad\penalty500\strut\nobreak\hfill
\mbox{\small\slshape(%
\href{https://github.com/latex3/latex2e/issues/\getfirstgithubissue#2 \relax}%
{github issue#1 #2}%
)}%
\par\smallskip}
% simple solution right now (just link to the first issue if there are more)
\def\getfirstgithubissue#1 #2\relax{#1}
\providecommand\sxissue[1]{\ifhmode\unskip\fi
\quad\penalty500\strut\nobreak\hfill
\mbox{\small\slshape(\url{https://tex.stackexchange.com/#1})}\par}
\providecommand\gnatsissue[2]{\ifhmode\unskip\fi
\quad\penalty500\strut\nobreak\hfill
\mbox{\small\slshape(%
\href{https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=#1\%2F#2}%
{gnats issue #1/#2}%
)}%
\par}
\let\cls\pkg
\providecommand\env[1]{\texttt{#1}}
\vbadness=1400 % accept slightly empty columns
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\providecommand\tubcommand[1]{}
\tubcommand{\input{tubltmac}}
\publicationmonth{May}
\publicationyear{2021}
\publicationissue{33}
\begin{document}
\tubcommand{\addtolength\textheight{4.2pc}} % only for TUB
\maketitle
{\hyphenpenalty=10000 \spaceskip=3.33pt \hbadness=10000 \tableofcontents}
\setlength\rightskip{0pt plus 3em}
\medskip
\section{Introduction}
\emph{to be written}
\section{Other changes to the \LaTeX{} kernel}
\subsection{\cs{end}\texttt{\textbraceleft document\textbraceright}
should always start in v-mode}
Until now \verb=\end{document}= executed the code from the
\cs{AtEndDocument} hook as its first action. This meant that it was
executed in horizontal mode if the user left no empty line after the
last paragraph. As a result one could get a spurious space added, for
example, when that code contained a \cs{write} statement. This was
fixed and now \cs{enddocument} first issues a \cs{par} to ensure that
it always starts out in vertical mode.
%
\githubissue{385}
\subsection{Allow extra space between name and address in \pkg{letter} class}
The \cs{opening} command in the the \pkg{letter} class expects the
name and address to be separated by \verb=\\= but it didn't allow to
use an optional argument at this point to add some extra space after
the name. The coding has now been slightly altered to allow for this.
%
\githubissue{427}
\subsection{Add a Lua callback to ltshipout to provide a uniform location for applying custom attributes}
Just before shipping out a page, a new \LuaTeX{} callback
``\texttt{pre\_shipout\_filter}'' is now called to allow final
adjustments to the box to be shipped out. This is particularly for
Lua\TeX\ packages which flag certain elements of the page (e.g. using
attributes or properties) in order to apply certain effects to these
elements at shipout. An example for this is the \pkg{luacolor}
package which could insert the color commands using this callback.
\subsection{Provide hook in \cs{selectfont}}
After \cs{selectfont} has altered the font we run a hook so that
packages can make final adjustments. This functionality was originally
provided by the \pkg{everysel} package, the new implementation is
slightly different and uses the standard hook management.
%
\githubissue{444}
\subsection{Delay change of font series and shape to \cs{selectfont} call}
With the NFSS extensions introduced in 2020 the font series and shape
settings be be influenced by changes to the font family. The setting
is therefore delayed until \cs{selectfont} is executed to avoid
unnecessary or incorrect substitutions that may otherwise happen due
to the order of declarations.
%
\githubissue{444}
\subsection{Allow \cs{nocite} in preamble}
A natural place for \verb=\nocite{*}= would be the preamble of the
document, but for historical reasons \LaTeX{} issued an error message
if it was placed there. From the new release on it is now allowed in
the preamble.
%
\githubissue{424}
\subsection{Shipping out a page while bypassing hooks}
In the 2020 October release several hooks were added to the page
shipout process, e.g., to add some background or foreground material
to some or all pages. We now also added a \cs{RawShipout} command that
bypasses most of these hooks during the shipout. Some essential
internal bookkeeping still takes place such as updating the
\texttt{totalpages} counter or adding \texttt{shipout/firstpage} or
\texttt{shipout/lastpage} material if the page happens to be the first
or last.
\subsection{Robust commands in filename arguments}
The filename handling has been modified so that \verb|\string| is
applied while normalising robust commands while detetermining the file
name. Previously \verb|\input{\sqrt{2}}| would cause \LaTeX\ to loop indefinitely.
With the new behaviour it accesses \verb|sqrt {2}.tex|.
%
\githubissue{481}
\subsection{Additional support for Unicode characters from the
Latin Extended Additional block}
\LaTeX\ is quite capable of typesetting characters such as
\enquote{\d{m}}, but until now it lacked the Unicode mappings for some
characters that are used to write Sanskrit words in Latin
transliteration (as seen in books about yoga, Buddhist philosophy,
etc.). These have now been added so that such characters can be
entered directly instead of resorting to \verb=\d{m}= and so forth.
%
\githubissue{484}
\subsection{\ldots}
\emph{to be written}
%
\githubissue{xxx}
\subsection{\class{ltxdoc} us now using new beta version of new \pkg{doc}}
We are now internally using the \pkg{doc} package in version 3 and
will make that the default version in the Fall release. For now it
exists as \pkg{doc-v3beta} and is used internally to format the
\LaTeX{} sources. We also now distribute the \texttt{ltxdco.cfg}
configuration file we use to format them.
\section{Changes to packages in the \pkg{graphics} category}
\subsection{\ldots}
%
\githubissue{xxx}
\section{Changes to packages in the \pkg{tools} category}
\subsection{\pkg{layout}: Support Japanese as a language option}
The package now recognizes \texttt{japanese} as a language option.
%
\githubissue{353}
\subsection{\ldots}
%
\githubissue{xxx}
\section{Changes to packages in the \pkg{amsmath} category}
\subsection{\ldots}
%
\githubissue{xxx}
\end{document}
\medskip
\begin{thebibliography}{9}
\fontsize{9.3}{11.3}\selectfont
\bibitem{32:ltnews31} \LaTeX{} Project Team:
\emph{\LaTeXe{} news 31}.\\
\url{https://latex-project.org/news/latex2e-news/ltnews31.pdf}
\bibitem{32:site-doc}
\emph{\LaTeX{} documentation on the \LaTeX{} Project Website}.\\
\url{https://latex-project.org/help/documentation/}
\bibitem{32:issue-tracker}
\emph{\LaTeX{} issue tracker}.
\url{https://github.com/latex3/latex2e/issues/}
\bibitem{32:babel}
Javier Bezos and Johannes Braams.
\emph{Babel---Localization and internationalization}.\\
\url{https://www.ctan.org/pkg/babel}
\end{thebibliography}