diff options
Diffstat (limited to 'macros/latex/base/tlc3.err')
-rw-r--r-- | macros/latex/base/tlc3.err | 261 |
1 files changed, 234 insertions, 27 deletions
diff --git a/macros/latex/base/tlc3.err b/macros/latex/base/tlc3.err index d4f94705d7..a7f8af1bfa 100644 --- a/macros/latex/base/tlc3.err +++ b/macros/latex/base/tlc3.err @@ -1,4 +1,4 @@ -\newcommand\erratafiledate{2023/10/30} % needs / and not - +\newcommand\erratafiledate{2024/08/07} % needs / and not - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % To produce a printed version of this errata file run this file through @@ -320,12 +320,15 @@ \let\u\underline % needs resetting after hyperref +\usepackage{hologo} +\providecommand\XeTeX{\hologo{XeTeX}} + \begin{document} \erratatitle{The \LaTeX{} Companion, Third Edition, Parts I \& II}{\erratafiledate} - +\begin{small} \begin{verbatim} @book(A-W:MF:2023, author = {Frank Mittelbach and Ulrike Fischer}, @@ -339,10 +342,9 @@ pagenums = {976 (Part I) and 1008 (Part II)}, bibliography = {yes}, index = {yes}, - isbn = {978-0-13-816648-9}, -) + isbn = {978-0-13-816648-9}) \end{verbatim} - +\end{small} \begin{list}{}{\setlength\leftmargin{0cm}% \setlength\rightmargin{3cm}% @@ -372,7 +374,7 @@ or digital edition you own by changing the configuration in the file \texttt{\jobname.cfg}. \begin{center} - \Large \bfseries To Err is Human --- Bug Contest + \large \bfseries To Err is Human --- Bug Contest \end{center} Any mistake found and reported is a gain for all readers of our book. @@ -398,7 +400,7 @@ Good luck! \begin{center} \begin{tabular}{clr} Contest period ends & Winner \\[4pt] -2023/?? & & ??? suggestions\\ +2024/03 & Bernd Burghardt & 52 suggestions\\ \end{tabular} \end{center} @@ -441,7 +443,7 @@ digital differing only in that respect. \erroronpage{}{}{FMi}{2023/07/30}{} -Text or graphics typeset in the the spot color (blue) are not always +Text or graphics typeset in the spot color (blue) are not always perfectly aligned. This is a side-effect of the printing technology. On most pages everything is fine, but occasionally blue text in a paragraph seems to be slightly above or below the baseline or blue @@ -467,6 +469,10 @@ beyond \> \u{B}eyond \erroronpage{I-xx\ldots I-xxi}{}{FMi}{2023/04/04}{s} Dot leaders have been changed on all sections. +\erroronpage{xxv}{footnote}{FMi}{2024/07/11}{s} +The package implementing the Silly Walk is called \u{\texttt{sillypage}} +not \u{\texttt{sillywalk}} as claimed in the footnote. + \CHAPTER{Bibliography (Part I)} @@ -556,7 +562,12 @@ ones. %\CHAPTER{General} % -%\CHAPTER{Front matter} + +\CHAPTER{Front matter} + +\erroronpage{I-xli}{footnote}{FMi}{2024/07/11}{s} +The package implementing the Silly Walk is called \u{\texttt{sillypage}} +not \u{\texttt{sillywalk}} as claimed in the footnote. \CHAPTER{Bibliography} @@ -592,20 +603,43 @@ the index is always fully regenerated for new printings. English. Personally, I prefer the version with accent (as does Don Knuth) so it is deliberate and will not change. + +\CHAPTER{Preface} + +\erroronpage{I-xlii}{para 1, l.3}{FMi}{2024/04/01}{s} +\u{the designer} of the Lato fonts \> \u{a co-designer} of the Lato fonts + + \CHAPTER{Chapter 1 --- Introduction} \erroronpage{I-5}{para 4, l.4}{kb}{2023/04/04}{s} \u{of} the bugs \> \u{with} the bugs - - \erroronpage{I-5}{para 5, l.5}{kb}{2023/04/04}{s} not least \> \u{but} not least +\erroronpage{I-10}{para -1, l.2}{ACa}{2024/06/05}{s} + +The value should have been shown with an upright mu, using +\verb=\qty{0.01}{\micro\metre}= from the \pkg{siunitx} package. + +\erroronpage{I-18}{before 1.3.3}{ACa/FMi}{2024/06/05}{s} + +Add paragraph:\\ +% +There are also two sections (2.2.8 and 2.3.4) providing low-level +background information for reference---useful when looking at existing +code in older document class files. They are set in a slightly smaller +typeface to save space and to indicate their special nature as +reference material, rather than material for daily use. \CHAPTER{Chapter 2 --- The Structure of a \LaTeX{} Document} +\erroronpage{I-31}{para-1,l.-1}{BeB}{2024/03/17}{s} +would have resulted in ``\verb+# .+'' in the output. \> \\ +would have resulted in ``\verb+#+\u{\texttt{\&}}\verb+ .+'' in the output. + \erroronpage{I-34}{l.-1}{FMi}{2023/04/04}{s} Moved first line of page 35 to 34. @@ -614,6 +648,11 @@ Moved first line of page 35 to 34. Moved first line of page 35 to 34. +\erroronpage{I-70}{section 2.3.4}{FMi}{2023/06/05}{s} + +Add footnote: The whole section is set in a smaller font to indicate +that is more a reference — helpful mainly when studying existing code. + \erroronpage{I-113}{listing}{FMi}{2023/05/14}{s} Situation is the same in the 2023 distributions; listing output updated. @@ -624,6 +663,10 @@ Situation is the same in the 2023 distributions; listing output updated. \CHAPTER{Chapter 3 --- Basic Formatting Tools -- Paragraph \ldots} +\erroronpage{I-143}{exa 3-1-18}{BeB}{2024/03/17}{s} +Replace in source: \verb+{ peine+ \> \verb+{peine+ + + \erroronpage{I-160}{para -2, l.1}{BeB}{2023/07/14}{s} Repeated word: keys \u{keys} \> keys @@ -636,18 +679,77 @@ Add a marginal note: \u{No warning if another \LaTeX{} run is necessary!} \erroronpage{I-163}{example 3-3-14}{BeB}{2023/07/25}{s} Output of example misses the page numbers in acronym list \> Run example 3 times (not only twice---there is no warning) +\erroronpage{I-174}{para3,l. -2}{BeB}{2024/03/17}{s} +the exponent is always a \u{power} of 3 \> the exponent is always a +\u{multiple} of 3 + +\seriouserroronpage{I-177}{exa 3-3-39}{BeB/FMi}{2024/03/17}{s} + +The example doesn't really show what the paragraph above discusses +because it was shortend to fit the available space on the page. +Use +\begin{verbatim} +\newcommand\sample[1]{\textnormal{\noindent #1:} + The limit is \qty{30}{\kmh} not $\qty{50}{\kmh}$.\par}} +\end{verbatim} +so that both text and math usage of \verb=\qty= are compared in the example. + + +\erroronpage{I-182}{para 4}{BeB}{2024/03/17}{s} +Add sentence: The command \verb+\textcquote+ is used in Example 16-5-50 on page II-535. +\erroronpage{I-195}{para 2}{FMi}{2024/07/20}{s} +Replace the whole paragraph with:\\ +For the same reason \texttt{soul} was unable to cope with UTF-8 input +characters if they are internally represented by several bytes. If you +used such characters, you had to load \texttt{soulutf8} (by Heiko Oberdiek) +instead of \texttt{soul} — since 2023, both packages are equivalent, thus you may +always use the \texttt{soul} package. \CHAPTER{Chapter 4 --- Basic Formatting Tools -- Larger \ldots} +\erroronpage{I-253}{para 2, l.-3}{YEi}{2023/11/27}{s} +Move comma:\\ +and \textsf{thmtools} packages and \textsf{typed-checklist}\u{,} helps you write \> \\ +and \textsf{thmtools} packages\u{,} and \textsf{typed-checklist} helps you write + +\erroronpage{I-286}{para 1, l.3}{DPC}{2024/07/15}{s} +in this case \texttt{shade\u{d}thm} \> in this case \texttt{shadethm} + +\erroronpage{I-322}{para -1, l.-2}{MBe/FMi}{2024/08/07}{s} + +Change: \texttt{algorithm\u{s}} \> \texttt{algorithm\u{ic}} + +\textit{Reason: The package is called \texttt{algorithmic} and there +is also \texttt{algorithm} to make floats, but the CTAN bundle (and +its documentation) calls it \texttt{algorithms}.} + + \erroronpage{I-323}{Table 4.4, left column}{BeB}{2023/07/25}{s} Typo: Assembler (\u{N}otorola68k, x86masm) \> \\ Assembler (\u{M}otorola68k, x86masm) % Matlab \> Matlab \u{(empty, 5.1)} % könnte auch aktualisiert werden, steht aber in Version 1.8d nicht drin +\erroronpage{I-344}{exa 4-3-16}{CAR/FMi}{2024/01/29}{s} +Use \cs{NewDocumentEnvironment} instead of +\cs{DeclareDocumentEnvironment} because it is always better to check +that the declaration is not accidentally overwriting an existing +environment. \CHAPTER{Chapter 5 --- The Layout of the Page} +\erroronpage{I-365}{paras -3 to -2}{YEi}{2023/11/28}{s} + +Add/replace:\\ +\ldots package and others. \cs{par} The \u{fifth} section then \> \\ +\ldots package and others. +\u{In the fifth section we cover ``static'' page} \\ +\u{decorations such as watermarks.} \cs{par} The \u{sixth} section then + +\erroronpage{I-368}{table 5.1}{YEi}{2023/11/29}{s} +A better approximation for \texttt{b5paper} is \u{$6\frac{7}{8}$}${}\times 9 \frac{7}{8}$ + + \erroronpage{I-386}{exa 5-3-1, l.7}{EOl}{2023/09/09}{s} Change: paragraph over \u{two} pages. \> paragraph over \u{three} pages. @@ -660,6 +762,14 @@ is not shown.} \u{\cs{right}} \> \u{\cs{rightmark}} +\erroronpage{I-393}{Documentation of \rlap{\cs{IfMarksEqualTF}}}{FMi}{2024/05/31}{s} + +Add paragraph: +Note that two retrieved mark values are only considered equal if they +originated from the same \cs{InsertMark} command — it is not enough +that they contain the same data, as that may be conincidental. + + \CHAPTER{Chapter 6 --- Tabular Material} @@ -675,13 +785,28 @@ text can be interpreted as a value, a somewhat ``random'' number and the rest is dropped. For example, \texttt{31 December 2022} would result in ``31.00'', which is probably not desired. +\erroronpage{I-491}{exa 6-7-22, Booklet 114}{EOl}{2024/05/13}{s} + Change: remove `0,00' in `actual' column for item `loss'. (This +is not really an error, but it looks better---and is consistent with the +`actual' item of `profit' for Booklet 113.) + +\erroronpage{I-492}{footnote}{DPC}{2024/07/15}{s} +called \u{\texttt{threetableex}} \> called \u{\texttt{threeparttablex}} + +\erroronpage{I-494}{para -2, l.3}{MRu}{2024/03/16}{s} +Use plural: The allowed key\u{s} are \ldots + \CHAPTER{Chapter 7 --- Mastering Floats} -\erroronpage{I-520}{paragraph 4, l.3}{EOl}{2023/09/09}{s} +\erroronpage{I-520}{para 4, l.3}{EOl}{2023/09/09}{s} Change: For \u{a} example \> For example +\erroronpage{I-612}{para -2, l.1}{EOl}{2024/05/13}{s} +Change: up \u{do} several \> up to several + + \CHAPTER{Chapter 8 --- Graphics Generation and Manipulation} \erroronpage{I-619}{para -2, l.2}{FMi}{2023/05/30}{s} @@ -698,11 +823,18 @@ start from full red, i.e., \> \verb*/left color=red/ instead. \erroronpage{I-644}{syntaxbox for \cs{foreach}}{BeB}{2023/07/14}{s} superfluous ``in'': \ldots\{\textsl{commands}\} \u{in} \> \ldots\{\textsl{commands}\} +\erroronpage{I-645}{para 3, l.4}{EOl}{2024/05/13}{s} +Correct hyphenation: stan-dalone \> stand-alone + \CHAPTER{Chapter 9 --- Font Selection and Encodings} +\erroronpage{I-687}{table 9.6, l.21}{YvH}{2024/06/19}{s} + cmdh \> lmdh + + \erroronpage{I-688}{para -2, l. 1}{BeB}{2023/08/13}{s} acronym PSNFSS not explained: PSNFSS \> PostScript New Font Selection Scheme (PSNFSS) @@ -716,12 +848,34 @@ Missing space: Theproblem \> The problem \erroronpage{I-708}{listing}{FMi}{2023/05/14}{s} Situation is the same in the 2023 distributions; listing output updated. +\erroronpage{I-726}{para 4, l.5}{MRu}{2024/04/07}{s} +Add word: more than hundred \> more than \u{one} hundred + \erroronpage{I-759}{l.1}{BeB}{2023/08/20}{s} in the range of 0000 to \u{00FF} \> in the range of 0000 to \u{007F} +\erroronpage{I-797}{exa 9-6-3}{BYu/FMi}{2024/04/08}{s} + +This example may fail with \XeTeX{} because of a deficiency in +older versions of \pkg{fontspec}. With versions prior 2.9e one has to +use the \texttt{Extension} key and omit the extension on the other +lines: +\begin{verbatim} +\setmainfont{Alegreya}[ + Extension = .otf, + UprightFont = *-Medium, + ItalicFont = *-MediumItalic, + BoldFont = *-ExtraBold, + BoldItalicFont = *-ExtraBoldItalic +] +\end{verbatim} + \CHAPTER{Chapter 10 --- Text and Symbol Fonts} +\erroronpage{II-3}{para-1, l.-2}{BeB}{2024/03/17}{s} +line first \> first line + \erroronpage{II-5}{table 10.1, l. 5}{BeB/FMi}{2023/08/13}{s} official \u{companion} family name \> \u{related} official \u{font} family name @@ -732,7 +886,7 @@ then this structure is repeated \u{for the related font families} as often as ne \erroronpage{II-24}{para 3, l. -2}{BeB}{2023/08/13}{s} -There is no slanted shape in Grande Mono: \\ +There is no slanted shape in Grande Mono (so it should be in blue): \\ \u{\textsl{naïve}} \> \u{\textsl{\bl naïve}} @@ -741,8 +895,11 @@ Open Type font is available: \\ \u{— no Open Type —} \> \u{Lucida Handwriting OT} \erroronpage{II-25}{para -2, l.-2}{BeB}{2023/08/13}{s} -There are no italic blackletters: \\ -\textit{phœnix's official rôle}\> \textit{\bl phœnix's official rôle} +There are no italic blackletters (so it should be in blue): \\ +\textit{phœnix's official rôle} \> \textit{\bl phœnix's official rôle} + +\erroronpage{II-27}{para 1, l.1}{MBe/FMi}{2024/08/02}{s} +Package was renamed: \texttt{droidmono} \> \texttt{droid\u{sans}mono} \erroronpage{II-28}{table 10.14, l. 3}{BeB}{2023/08/13}{s} Inconsistent order: sl, l \> l, sl @@ -773,6 +930,8 @@ bold) or in some families for \textttu{ub} (ultra bold).} \erroronpage{II-40}{table 10.24}{FMi}{2023/08/15}{s} In table note: \textit{Unfortunately, \u{\texttt{sco}}} \> \textit{Unfortunately, \u{\textttu{sco}}} +\erroronpage{II-42}{para 3, l.4}{MRu}{2024/04/12}{s} +rudimentary \> rudimentarily \erroronpage{II-50}{font sample Cambria}{FMi}{2023/08/14}{s} @@ -786,7 +945,7 @@ Because of problems with the font names, the Cambria family currently requires a BoldItalicFont = cambriaz.ttf} \end{verbatim} Without it, the bold fonts are not correctly set up, which is why -\textbf{almost anything} is not in bold and \textbf{Fields} is not typeset in +\textbf{almost anything} was not in bold and \textbf{Fields} was not typeset in bold small caps in the sample even though Cambria supports these typefaces. @@ -928,37 +1087,37 @@ not showing in the example. \erroronpage{II-114}{table 10.89}{FMi}{2023/04/04}{s} Added missing \texttt{U+00Fx} line. -There was a bug in code generating it. +There was a bug in the code generating it. \erroronpage{II-117}{table 10.92}{FMi}{2023/04/04}{s} Added missing \texttt{U+00Fx} line. -There was a bug in code generating it. +There was a bug in the code generating it. \erroronpage{II-121}{table 10.96}{FMi}{2023/04/04}{s} Added missing \texttt{U+00Fx} line. -There was a bug in code generating it. +There was a bug in the code generating it. \erroronpage{II-122}{table 10.98}{FMi}{2023/04/04}{s} Added missing \texttt{U+00Fx} line. -There was a bug in code generating it. +There was a bug in the code generating it. \erroronpage{II-122}{table 10.99}{FMi}{2023/04/04}{s} Added missing \texttt{U+00Fx} line. -There was a bug in code generating it. +There was a bug in the code generating it. \erroronpage{II-123}{table 10.100}{FMi}{2023/04/04}{s} Added missing \texttt{U+00Fx} line. -There was a bug in code generating it. +There was a bug in the code generating it. \erroronpage{II-124}{table 10.103}{FMi}{2023/04/04}{s} Added missing \texttt{U+00Fx} line. -There was a bug in code generating it. +There was a bug in the code generating it. @@ -1063,6 +1222,10 @@ point in front of the display, thus \cs{predisplaypenalty} is no longer honored. +\erroronpage{II-149}{para 2, l.4}{DPC}{2024/07/15}{s} +package \texttt{flex\u{y}sym} \> +package \texttt{flex\u{i}sym} + \erroronpage{II-167}{para. 3, l. -2}{BeB}{2023/08/13}{s} option\u e \> option\u{s} @@ -1073,7 +1236,8 @@ option\u e \> option\u{s} \erroronpage{II-178}{Tab. 11.3, l.10}{BeB}{2023/08/13}{s} in the description column: \u{array}-symbol-arrow \> \u{arrow}-symbol-arrow - +\erroronpage{II-189}{footnote}{DPC}{2024/07/15}{s} +\texttt{oubrace} package \> \texttt{oubrace\u{s}} package @@ -1240,6 +1404,10 @@ The keyword \texttt{Harf\u{b}uzz} should be spelled \texttt{Harf\u{B}uzz}. Both names are supported, but the recommended spelling is \texttt{HarfBuzz}. +\erroronpage{II-341}{para -4, l.4}{DPC/FMi}{2024/07/15}{s} +\texttt{devnag} \u{package} \> \texttt{devnag} \u{program} + + \CHAPTER{Chapter 14 --- Index Generation} % Das Beispiel von S. II-352 als File wäre schön, dann könnte man das mit @@ -1276,6 +1444,8 @@ Changes the output of example 16-7-31 on page II-560 as well. the \cs{MakeUpper}\texttt{\u{C}ase} trick \> the \cs{MakeUpper}\texttt{\u{c}ase} trick +\erroronpage{II-423}{table 15.9}{MBe/FMi}{2024/08/04}{s} +Drop \texttt{nature.bst} line. Style no longer supported. \erroronpage{II-435}{code}{FMi}{2023/05/26}{s} \verb=\textcolor{See= \> \cs{textcolor}\u{\texttt{\{blue\}}}\texttt{\{See} @@ -1302,6 +1472,10 @@ is created only if the entry \u{contains} a shorttitle \u{field} and the title a is created only if the entry \u{has been referenced (prior to typesetting}\\ \u{the bibliography), contains} a shorttitle \u{field,} and the title and shorttitle fields differ. +\erroronpage{II-535}{footnote}{FMi}{2024/01/07}{s} +Extend the explanation:\\ +\u{you can} use \cs{mancite} \u{in front of any citation command} to avoid this. + \erroronpage{II-560}{exa 16-7-31}{FMi}{2023/08/31}{s} Jane Doe.\ \textit{A\u{n} second book.}\ 2020.\> Jane Doe.\ \textit{A second book.}\ 2020. @@ -1319,7 +1493,8 @@ Jane Doe.\ \textit{A\u{n} second book.}\ 2020.\> Jane Doe.\ \textit{A second boo \CHAPTER{Appendix A --- \LaTeX{} Overview for Preamble, \ldots} \erroronpage{II-624--629}{}{BeB/FMi}{2023/08/31}{s} -Replace for consistency with section 1.4: \u{command definition} \> \u{code} +Replace for consistency with section 1.4: \u{command definition} \> \u{code} \\ +(in the various syntax boxes) \erroronpage{II-629}{para 1, l.3}{FMi}{2023/08/31}{s} \u{An} warning \> \u{A} warning @@ -1328,10 +1503,34 @@ Replace for consistency with section 1.4: \u{command definition} \> \u{code} \erroronpage{II-633}{para 2}{BeB/FMi}{2023/08/31}{s} Add at the end: A maximum of nine ``argument'' letters is supported. +\erroronpage{II-657}{par -2, l. -2}{BeB}{2024/03/17}{s} +a few that \> a few \u{commands} that + + +\erroronpage{II-658}{first item in the list}{BeB}{2024/03/17}{s} +square root $\sqrt{x}$ \> square root \texttt{sqrt} $x$ -\erroronpage{II-682}{para -2, l.3}{FMi}{2023/04/28}{s} +\erroronpage{II-663}{A-3-7}{MRu}{2024/05/01}{} +In the code, text should read either ``This is the content'' or ``These are the contents''. + +\erroronpage{II-682}{para -2, l .3}{FMi}{2023/04/28}{s} \texttt{Harf\u{b}uzz} \> \texttt{Harf\u{B}uzz} +\erroronpage{II-678}{para -1, l. -1}{BeB}{2024/03/17}{s} +it is better use\> it is better \u{to} use + + +\erroronpage{II-687}{l .1}{BeB}{2024/03/17}{s} +Two further tests should be listed in the syntax box: \verb+\ifVTeX+ \verb+\ifAlephTeX+ + + +\seriouserroronpage{II-701}{l. 6}{BeB}{2024/03/17}{s} +Name changed after the book was typeset: \verb+.notif+\>\verb+.ifnot+ + +\erroronpage{II-701}{para 3, l. 4; para -2, l. 1; and margin}{BeB}{2024/03/17}{s} +\verb+.notif+\>\verb+.ifnot+ + + \CHAPTER{Appendix B --- Tracing and Resolving Problems} @@ -1349,29 +1548,37 @@ Appendix title not properly capitalized. \end{erratalist} +\newpage -\section*{Notes on this errata document} +\section{Notes on this errata document} \setcounter{collectmore}{3} \begin{multicols}{3}[Thanks to all who have found errors or omissions. Listed are the people who found an errata entry first.] +\contributor{ACa}{Alfredo Canziani} \contributor{BeB}{Bernd Burghardt} +\contributor{BYu}{Boshi Yuan} \contributor{CAR}{Chris Rowley} +\contributor{DPC}{David Carlisle} \contributor{DC}{Davide Campagnari} \contributor{DFl}{Daniel Flipo} \contributor{EOl}{Edgar Olthof} \contributor{FMi}{Frank Mittelbach} +\contributor{MBe}{Matthew Bertucci} \contributor{MJo}{Maciej Jończyk} +\contributor{MRu}{Mark Rudolph} \contributor{YFu}{FUJIMURA Yukitoshi} \contributor{YvH}{Yvon Henel} +\contributor{YEi}{Yaakov Eisenberg} \contributor{bb}{Barbara Beeton} \contributor{kb}{Karl Berry} \end{multicols} + Other people have sent us corrections for errors already found. Thanks to all of you! |