diff options
Diffstat (limited to 'macros/latex-dev/base/ltnews23.tex')
-rw-r--r-- | macros/latex-dev/base/ltnews23.tex | 54 |
1 files changed, 30 insertions, 24 deletions
diff --git a/macros/latex-dev/base/ltnews23.tex b/macros/latex-dev/base/ltnews23.tex index 36f8948e7d..99e9615074 100644 --- a/macros/latex-dev/base/ltnews23.tex +++ b/macros/latex-dev/base/ltnews23.tex @@ -54,6 +54,12 @@ \publicationissue{23} +\providecommand\pkg[1]{\texttt{#1}} +\providecommand\cls[1]{\texttt{#1}} +\providecommand\option[1]{\texttt{#1}} +\providecommand\env[1]{\texttt{#1}} +\providecommand\file[1]{\texttt{#1}} + \begin{document} \maketitle @@ -77,35 +83,35 @@ The main feature of this release is that by default it includes allocators for \hologo{LuaTeX}-provided features, such as Lua functions, bytecode registers, catcode tables and Lua callbacks. Previously these features have been provided by the contributed -\package{luatex} (Heiko Oberdiek) and \package{luatexbase} +\pkg{luatex} (Heiko Oberdiek) and \pkg{luatexbase} (\'{E}lie Roux, Manuel P\'{e}gouri\'{e}-Gonnard and Philipp Gesang) packages. However, just as -noted with the \package{etex} package in the previous release, it is +noted with the \pkg{etex} package in the previous release, it is better if allocation is handled by the format to avoid problems with conflicts between different allocation schemes, or definitions made before a package-defined allocation scheme is enabled. The facilities incorporated into the format with this release, and -described below, are closely modelled on the \package{luatexbase} +described below, are closely modelled on the \pkg{luatexbase} package and we thank the authors, and especially \'{E}lie Roux, for help in arranging this transition. The implementation of these \hologo{LuaTeX} features has been redesigned to match the allocation system introduced in the 2015/01/01 \LaTeX\ release, and there are some other differences from the previous -\package{luatexbase} package. However, as noted below, -\package{luatexbase} is being updated in line with this \LaTeX\ release +\pkg{luatexbase} package. However, as noted below, +\pkg{luatexbase} is being updated in line with this \LaTeX\ release to provide the previous interface as a wrapper around the new implementation, so we expect the majority of documents using -\package{luatexbase} to work without change. +\pkg{luatexbase} to work without change. \subsection{Names of \hologo{LuaTeX} primitive commands} The 2015/01/01 \LaTeX\ release for the first time initialised -\hologo{LuaTeX} in \textsf{latex.ltx} if \hologo{LuaTeX} is being +\hologo{LuaTeX} in \file{latex.ltx} if \hologo{LuaTeX} is being used. Following the convention used in the contributed -\textsf{lualatex.ini} file used to set up the format for earlier +\file{lualatex.ini} file used to set up the format for earlier releases, most \hologo{LuaTeX}-specific primitives were defined with names prefixed by \texttt{luatex}. This was designed to minimize name clashes but had the disadvantage that names did not match the @@ -136,7 +142,7 @@ then you can add: \end{verbatim} to your document. -Note the compatibility layer offered by the \package{luatexbase} package +Note the compatibility layer offered by the \pkg{luatexbase} package described below makes several commands available under both names. As always, this change can be reverted using:\\ @@ -147,8 +153,8 @@ at the start of the document. \subsection{\TeX\ commands for allocation in \hologo{LuaTeX}} For detailed descriptions of the new allocation commands see the -documented sources in \textsf{ltluatex.dtx} or chapter N of -\textsf{source2e}; however, the following new allocation commands are +documented sources in \file{ltluatex.dtx} or chapter N of +\file{source2e}; however, the following new allocation commands are defined by default in \hologo{LuaTeX}: \verb|\newattribute|, \verb|\newcatcodetable|, @@ -165,13 +171,13 @@ several catcode tables are predefined: \subsection{Predefined Lua functions} If used with \hologo{LuaTeX}, \LaTeX\ will initialise a Lua table, -\textsf{luatexbase}, with functions supporting allocation and also +\texttt{luatexbase}, with functions supporting allocation and also the registering of Lua callback functions. \subsection{Support for older releases and plain \TeX} The \hologo{LuaTeX} allocation functionality made available in this release is also available in plain \TeX\ and older \LaTeX\ releases -in the files \textsf{ltluatex.tex} and \textsf{ltluatex.lua} which may be +in the files \file{ltluatex.tex} and \file{ltluatex.lua} which may be used simply by including the \TeX\ file: \verb|\input{ltluatex}|. An alternative for old \LaTeX\ releases is to use:\\ \verb|\RequirePackage[2015/10/01]{latexrelease}|\\ @@ -181,21 +187,21 @@ which will update the kernel to the current release, including \subsection{Additional \hologo{LuaTeX} support packages} In addition to the base \LaTeX\ release two packages have been contributed to the \textsf{contrib} area on CTAN. The -\package{ctablestack} package offers some commands to help package -writers control the \hologo{LuaTeX} \textsf{catcodetable} -functionality, and the \package{luatexbase} package replaces the +\pkg{ctablestack} package offers some commands to help package +writers control the \hologo{LuaTeX} \texttt{catcodetable} +functionality, and the \pkg{luatexbase} package replaces the previously available package of the same name, providing a compatible -interface but implemented over the \package{ltluatex} code. +interface but implemented over the \pkg{ltluatex} code. \section{More Floats and Inserts} If \hologo{eTeX} is available, the number of registers allocated in the format to hold floats such as figures is increased from 18 to 52. The extended allocation system introduced in 2015/01/01 means that in -most cases it is no longer necessary to load the \package{etex} +most cases it is no longer necessary to load the \pkg{etex} package. Many classes and packages that previously loaded this package no longer do so. Unfortunately in some circumstances where a package -or class previously used the \package{etex} \verb|\reserveinserts| +or class previously used the \pkg{etex} \verb|\reserveinserts| command, it is possible for a document that previously worked to generate an error ``no room for a new insert''. In practice this error can always be avoided by declaring inserts earlier, before the @@ -213,7 +219,7 @@ insert allocations which is more than enough for practical documents \section{Updated Unicode data} -The file \textsf{unicode-letters.def} recording catcodes, upper and +The file \file{unicode-letters.def} recording catcodes, upper and lower case mappings and other properties for Unicode characters has been regenerated using the data files from Unicode~8.0.0. @@ -223,8 +229,8 @@ This is mainly used for the Romanian letters \textcommabelow{S}\textcommabelow{s}\textcommabelow{T}\textcommabelow{t}. This was requested in latex/4414 in the \LaTeX\ bug tracker. -\section{Extended \package{inputenc}} -The \texttt{utf8} option for \package{inputenc} has been extended to support +\section{Extended \pkg{inputenc}} +The \option{utf8} option for \pkg{inputenc} has been extended to support the letters s and t with comma accent, U+0218\,--\,U+021b. Similarly circumflex w and y U+0174\,--\,U+0177 are defined. Also U+00a0 and U+00ad are declared by default, and defined to be @@ -250,8 +256,8 @@ level. \section{Updates in tools} -The \package{multicol} package has been updated to fix the interaction +The \pkg{multicol} package has been updated to fix the interaction with ``here'' floats that land on the same page as the start or end of -a \textsf{multicols} environment. +a \env{multicols} environment. \end{document} |