diff options
Diffstat (limited to 'macros/latex-dev/base/ltnews21.tex')
-rw-r--r-- | macros/latex-dev/base/ltnews21.tex | 60 |
1 files changed, 33 insertions, 27 deletions
diff --git a/macros/latex-dev/base/ltnews21.tex b/macros/latex-dev/base/ltnews21.tex index 14de47c648..7b363447d9 100644 --- a/macros/latex-dev/base/ltnews21.tex +++ b/macros/latex-dev/base/ltnews21.tex @@ -41,6 +41,12 @@ \publicationissue{21} +\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 @@ -73,7 +79,7 @@ at:\\ \url{http://latex-project.org/cgi-bin/ltxbugs2html} \let\paragraph\subsubsection -\paragraph{\textsf{fixltx2e} updates} +\paragraph{\pkg{fixltx2e} updates} @@ -86,7 +92,7 @@ a particular misfeature. Thus changing the kernel code would break too many existing documents. The corrections for these types of bug have therefore been collected together -in a package that can be loaded only when needed; its name is \textsf{fixltx2e}. +in a package that can be loaded only when needed; its name is \pkg{fixltx2e}. For this release we made the following changes to this package: \begin{itemize} \item @@ -97,7 +103,7 @@ For this release we made the following changes to this package: \item \LaTeX's float handling algorithm can get out of sync if you mix single and double-column floats (as they are placed independently - of each other). This was corrected in \textsf{fixltx2e} a few years ago + of each other). This was corrected in \pkg{fixltx2e} a few years ago but the fix was not perfect as one situation using \verb=\enlargethispage= generated a low-level \TeX{} error. This behaviour of the package is now improved. @@ -106,12 +112,12 @@ For this release we made the following changes to this package: -\paragraph{New \textsf{fltrace} package} +\paragraph{New \pkg{fltrace} package} -For years the file \texttt{ltoutput.dtx} contained some hidden code to +For years the file \file{ltoutput.dtx} contained some hidden code to trace the detailed behaviour of the float placement algorithm of \LaTeX. Prompted by questions on StackExchange we now extract this -code into a new \textsf{fltrace} package. To see the float algorithm +code into a new \pkg{fltrace} package. To see the float algorithm in action (or to understand why it decides to place all your floats at the very end of the document) use \begin{verbatim} @@ -122,33 +128,33 @@ To stop tracing somewhere in the document use parameters use \verb=\tracefloatvals=. As the package is identical to the kernel code with tracing added, it may or may not work if you load any other package that manipulates that part of the kernel code. In such a -case your best bet is to load \textsf{fltrace} first. +case your best bet is to load \pkg{fltrace} first. -\paragraph{\textsf{inputenc} package updates} +\paragraph{\pkg{inputenc} package updates} -The \textsf{inputenc} package allows different input encodings for +The \pkg{inputenc} package allows different input encodings for \LaTeX\ documents to be specified including the important -\texttt{utf8} option used to specify the Unicode UTF-8 encoding. A +\option{utf8} option used to specify the Unicode UTF-8 encoding. A common mistake in documents has been to also include this option when using the Unicode-based \TeX\ engines \hologo{LuaTeX} and \hologo{XeTeX} producing strange errors as these engines natively deal with UTF-8 characters. If a document stored in an 8bit encoding is processed by -\hologo{pdfTeX}, it needs the \textsf{inputenc} package to work +\hologo{pdfTeX}, it needs the \pkg{inputenc} package to work correctly. However, if such a document is processed unchanged by \hologo{LuaTeX} or \hologo{XeTeX}, then accented characters may silently get dropped from the output. The package has been modified so that if used with \hologo{LuaTeX} or -\hologo{XeTeX}, then it just issues a warning if \texttt{utf8} or -\texttt{ascii} is specified, and stops with an error for any other +\hologo{XeTeX}, then it just issues a warning if \option{utf8} or +\option{ascii} is specified, and stops with an error for any other encoding requested. One further improvement has been made to the encoding definition files -(\texttt{.def}) used by \textsf{inputenc}: the catcode of \texttt{@} +(\texttt{.def}) used by \pkg{inputenc}: the catcode of \texttt{@} is now saved and restored when reading them instead of always using \verb=\makeatother= inside the files (latex/4192). @@ -163,9 +169,9 @@ started to provide individual \texttt{.ins} files for each of those packages that are likely to require updates outside a major \LaTeX{} release. -\paragraph{\textsf{multicol} updates} +\paragraph{\pkg{multicol} updates} -Version 1.8 of \textsf{multicol} implements some improvements/fixes +Version 1.8 of \pkg{multicol} implements some improvements/fixes and one extension. In the past the balancing algorithm enlarged the column height until it found a solution that satisfied all constraints. If there were insufficient break points then the final @@ -182,43 +188,43 @@ to allow the execution of code depending on the column in which the command is executed. See the documentation for details. Bug fixes: the new version fixes both a color leak that could happen -in certain situations and the problem that \texttt{multicols} could +in certain situations and the problem that \pkg{multicols} could mess up the positioning of \verb=\marginpar=s that followed the environment. -\paragraph{\textsf{tabularx} updates} +\paragraph{\pkg{tabularx} updates} The restrictions on embedding \verb|\tabularx| \verb|\endtabularx| into the definition of a new environment have been relaxed slightly. See the package documentation for details. -\paragraph{\textsf{showkeys} updates} +\paragraph{\pkg{showkeys} updates} -The \textsf{showkeys} package has been updated to fix problems if used +The \pkg{showkeys} package has been updated to fix problems if used at the start of list items, and to work if brace groups (\verb|{| and \verb|}|) are used in the optional argument of \verb|\cite|. (tools/4162, tools/4173) -\paragraph{\textsf{color} updates} +\paragraph{\pkg{color} updates} The \verb|\nopagecolor| command suggested by Heiko Oberdiek, -available for some years in the \textsf{pdftex} option, has been +available for some years in the \option{pdftex} option, has been added to the core package as suggested in graphics/3873. Currently this is supported in the driver files for \textsf{dvips} and \textsf{pdftex}. Patches to support other drivers are welcome. - \paragraph{\textsf{graphicx} updates} + \paragraph{\pkg{graphicx} updates} -The \textsf{graphicx} version of \verb|\rotatebox| now allows +The \pkg{graphicx} version of \verb|\rotatebox| now allows \verb|\par| (and blank lines) in values, to match the change made -to the \textsf{graphics} version some years ago. See graphics/4296. +to the \pkg{graphics} version some years ago. See graphics/4296. -\paragraph{\textsf{keyval} updates} +\paragraph{\pkg{keyval} updates} -All parsing used in the \textsf{keyval} package has been changed +All parsing used in the \pkg{keyval} package has been changed to allow \verb|\par| (and blank lines) in values. (A second change, to parsing of brace groups in a construct such as \texttt{key=\{\{\{value\}\}\}}, was reverted in v1.15.) |