Typos
[latex2e.git] / trunk / doc / ltnews27.tex
blob64beb8561f96c556728bb70268b0105a71dc981d
1 % \iffalse meta-comment
3 % Copyright 2017
4 % The LaTeX3 Project and any individual authors listed elsewhere
5 % in this file.
7 % This file is part of the LaTeX base system.
8 % -------------------------------------------
10 % It may be distributed and/or modified under the
11 % conditions of the LaTeX Project Public License, either version 1.3c
12 % of this license or (at your option) any later version.
13 % The latest version of this license is in
14 % http://www.latex-project.org/lppl.txt
15 % and version 1.3c or later is part of all distributions of LaTeX
16 % version 2005/12/01 or later.
18 % This file has the LPPL maintenance status "maintained".
20 % The list of all files belonging to the LaTeX base distribution is
21 % given in the file `manifest.txt'. See also `legal.txt' for additional
22 % information.
24 % The list of derived (unpacked) files belonging to the distribution
25 % and covered by LPPL is defined by the unpacking scripts (with
26 % extension .ins) which are part of the distribution.
28 % \fi
29 % Filename: ltnews27.tex
31 % This is issue 27 of LaTeX News.
33 \documentclass{ltnews}
34 \usepackage[T1]{fontenc}
36 \usepackage{lmodern,url,hologo}
38 \publicationmonth{May}
39 \publicationyear{2017}
41 \publicationissue{27}
43 \begin{document}
45 \maketitle
46 \tableofcontents
48 \setlength\rightskip{0pt plus 3em}
50 \section{ISO 8601 Date Format}
51 Since before the first releases of \LaTeX2e, \LaTeX\ has used a date
52 format in the form \textsc{yyyy/mm/dd}. This has many advantages over more
53 conventional formats, as it is easy to sort and avoids the unfortunate
54 ambiguity between different communities as to whether 2017/01/02 is the
55 1st of February or 2nd of January.
57 However there is another date format, formalised by the
58 International standard, ISO~8601. The basic format defined by this
59 standard is functionally equivalent to the \LaTeX\ format, but using
60 \texttt{-} rather than \texttt{/}. This date format is now supported
61 in many Operating Systems and applications
62 (for example the \verb|date --iso-8601| command in Linux and similar systems).
64 From this release, \LaTeX\ will accept ISO format date strings in the
65 date argument of \verb|\ProvidesPackage|, \verb|\usepackage| etc.
66 Currently we recommend that you do not use this format in any packages
67 that need to work with older \LaTeX\ releases.
68 The \textsf{latexrelease} package may be used with older releases to
69 add this functionality. This change is handled in a special way by
70 \textsf{latexrelease}: The package always adds support for ISO dates
71 whatever format date is requested, this is required so that the
72 necessary date comparisons may be made.
74 The new functionality can be seen in the startup banner which
75 advertsises \texttt{LaTeX2e 2017-05-01}.
77 \section{Further TU encoding improvements}
78 The 2017/01/01 release saw the introduction of the new TU encoding for
79 specifying Unicode fonts with \hologo{LuaTeX} and
80 \hologo{XeTeX}. There were a number of small corrections and additions
81 in the patch releases updating 2017/01/01, and a further addition in
82 this release, notably extended support for the dot-under accent,
83 \verb|\d|.
86 \section{Disabling Hyphenation}
87 The existing \LaTeX\ code for \verb|\verb| and \verb|verbatim| had some
88 issues when used with fonts that were not loaded with hyphenation
89 disabled via setting \verb|\hyphenchar| to $-1$. In this release these
90 verbatim environments use a \verb|\language| setting,
91 \verb|\l@nohyphenation|, that has no hyphenation patterns associated.
93 The format ensures that a language has been allocated with this name.
94 For most users this will in fact be no change as the standard
95 \textsf{babel} language has for a long time allocated a language with
96 this name.
98 In order that page breaks in \texttt{verbatim} do not influence the
99 language used in the page head and foot, the format now normalises the
100 language used in the output routine to a default language as described
101 below.
104 \section{Default Document Language}
106 A new integer parameter \verb|\document@default@language| is
107 introduced, this is initialised to $-1$ but is set at
108 \verb|\begin{document}| to the language in force at that time if it
109 has not been set by preamble code. This is very similar to the
110 handling of the default color. and is used in a similar way to
111 normalise the settings for page head and foot as described above.
112 users should not normally need to set this explicitly but it expected that
113 language packages such as \textsf{babel} may set this if the default
114 behaviour is not suitable.
115 \end{document}