diff options
Diffstat (limited to 'macros')
170 files changed, 406 insertions, 200 deletions
diff --git a/macros/latex-dev/base/README.md b/macros/latex-dev/base/README.md index 538308afb5..769562d502 100644 --- a/macros/latex-dev/base/README.md +++ b/macros/latex-dev/base/README.md @@ -1,7 +1,7 @@ The LaTeX kernel ================ -Release 2022-06-01 pre-release 4 +Release 2022-11-01 pre-release 0 Overview -------- diff --git a/macros/latex-dev/base/alltt.pdf b/macros/latex-dev/base/alltt.pdf Binary files differindex bc983daed3..22d164744b 100644 --- a/macros/latex-dev/base/alltt.pdf +++ b/macros/latex-dev/base/alltt.pdf diff --git a/macros/latex-dev/base/cfgguide.pdf b/macros/latex-dev/base/cfgguide.pdf Binary files differindex 8315ec1650..b1b3d28e57 100644 --- a/macros/latex-dev/base/cfgguide.pdf +++ b/macros/latex-dev/base/cfgguide.pdf diff --git a/macros/latex-dev/base/changes.txt b/macros/latex-dev/base/changes.txt index a201a2a5af..ce72312d3d 100644 --- a/macros/latex-dev/base/changes.txt +++ b/macros/latex-dev/base/changes.txt @@ -6,6 +6,67 @@ completeness or accuracy and it contains some references to files that are not part of the distribution. ================================================================================ +================================================================================ +All changes above are only part of the development branch for the next release. +================================================================================ + +2022-06-16 Joseph Wright <Joseph.Wright@latex-proejct.org> + + * ltkeys.dtx (subsection{Main mechanism}) + Remove key name but avoid touching key value in \@unusedoptionlist + +2022-06-15 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * lthooks.dtx (subsubsection{Disabling and providing hooks}): + Ensure that a newly activated generic hook gets its execution code set + +2022-06-14 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltxdoc.dtx: Delay definitions of \enquote etc in case they get defined in + the preamble of existing documents. + +######################### +# 2022-06-01 Release +######################### + +2022-06-07 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * utf8ienc.dtx (subsection{The mapping table}): + Fix \guillemetleft and \guillemetright also in dfu files (gh/65) + +2022-06-03 David Carlisle <David.Carlisle@latex-project.org> + + * doc.dtx: adjust ltxdoc.cls and doc.dtx to process existing + use of L3 names and \pkg in base dtx files + +2022-06-02 David Carlisle <David.Carlisle@latex-project.org> + + * ltfinal.dtx: add \NoCaseChange (previously available in the + textcase package) + +2022-06-01 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltmarks.dtx (subsection{Updating mark structures}): + Be more careful when unpackage a \vbox for mark detection, it might + contain infinite shrink glue (gh/836) + +2022-05-27 David Carlisle <David.Carlisle@latex-project.org> + + * ltfiles.dtx, ltoutenc.dtx: + save the original version string in \ver@@... + Usable by \listfiles if the standard \ver@... command has been set to \relax + (as in fontenc.sty) gh/825 + +2022-05-27 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltxdoc.dtx (section{Customisation}): + Added option doc2 so that old doc version can be requested (gh/822) + +2022-05-27 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * doc.dtx (subsection{Processing the package keys}): + Adjusted doc to use \ProcessKeyOptions (not the older l3keys2e variant) + 2022-05-17 Phelype Oleinik <phelype.oleinik@latex-project.org> * lthooks.dtx (subsection{Setting rules for hooks code}): @@ -287,11 +348,6 @@ are not part of the distribution. Added our default .cfg for extraction. Added option "nocfg" to bypass a system cfg. - -================================================================================ -All changes above are only part of the development branch for the next release. -================================================================================ - ######################### # 2021-11-15 PL1 Release ######################### diff --git a/macros/latex-dev/base/classes.pdf b/macros/latex-dev/base/classes.pdf Binary files differindex cbc4d1fb76..a782718ef0 100644 --- a/macros/latex-dev/base/classes.pdf +++ b/macros/latex-dev/base/classes.pdf diff --git a/macros/latex-dev/base/clsguide.pdf b/macros/latex-dev/base/clsguide.pdf Binary files differindex c0ef4af945..e39b67d6f1 100644 --- a/macros/latex-dev/base/clsguide.pdf +++ b/macros/latex-dev/base/clsguide.pdf diff --git a/macros/latex-dev/base/cmfonts.pdf b/macros/latex-dev/base/cmfonts.pdf Binary files differindex 2807736b25..16babe34e8 100644 --- a/macros/latex-dev/base/cmfonts.pdf +++ b/macros/latex-dev/base/cmfonts.pdf diff --git a/macros/latex-dev/base/cyrguide.pdf b/macros/latex-dev/base/cyrguide.pdf Binary files differindex 1b82918cf5..8f10c4a5b3 100644 --- a/macros/latex-dev/base/cyrguide.pdf +++ b/macros/latex-dev/base/cyrguide.pdf diff --git a/macros/latex-dev/base/doc-code.pdf b/macros/latex-dev/base/doc-code.pdf Binary files differindex 4ac1ea4981..01ee8fae11 100644 --- a/macros/latex-dev/base/doc-code.pdf +++ b/macros/latex-dev/base/doc-code.pdf diff --git a/macros/latex-dev/base/doc.dtx b/macros/latex-dev/base/doc.dtx index 7c602327ef..d6b21744df 100644 --- a/macros/latex-dev/base/doc.dtx +++ b/macros/latex-dev/base/doc.dtx @@ -45,7 +45,7 @@ %<+package> %<+package>\ProvidesPackage{doc} %<+shortvrb>\ProvidesPackage{shortvrb} -%<+package|shortvrb> [2022/06/01 v3.0h +%<+package|shortvrb> [2022/06/08 v3.0j %<+package|shortvrb> Standard LaTeX documentation package V3 (FMi)] %\catcode`\<=12 % @@ -146,11 +146,12 @@ % % \newcommand{\DOC}{\texttt{doc}\xspace} % -% \newcommand\env{\texttt} -% \newcommand\opt{\texttt} -% \newcommand\cls{\texttt} -% \newcommand\pkg{\texttt} -% \newcommand\prg{\textsf} +% \changes{v3.0j}{2022/06/02}{Use \cs{providecommand} to define \cs{pkg}} +% \providecommand\env{\texttt} +% \providecommand\opt{\texttt} +% \providecommand\cls{\texttt} +% \providecommand\pkg{\texttt} +% \providecommand\prg{\textsf} % % \newcommand\DOX{\env{DoX}\xspace} % \newcommand\api{\textsc{api}\xspace} @@ -276,7 +277,7 @@ % that are upwards compatible but hopefully serve well. Most % important modifications are the integration of the % \pkg{hypdoc} package to enable links within the document (in -% particular from the index) is so desired. Also integrated are the +% particular from the index) if so desired. Also integrated are the % ideas from the \DOX package by Didier Verna (although I % offer a different interface that imho fits better with the rest % of \DOC's interfaces). Finally I updated a few odds and ends. @@ -1909,7 +1910,6 @@ % \fmi{cleanup replacement of kvoptions} % % \begin{macrocode} -\RequirePackage{l3keys2e} \ExplSyntaxOn % \end{macrocode} % Some keys are available as options for use in \cs{usepackage} some are @@ -2020,7 +2020,7 @@ % \subsection{Processing the package keys} % % \begin{macrocode} -\ProcessKeysOptions {doc} +\ProcessKeyOptions % \end{macrocode} % % diff --git a/macros/latex-dev/base/doc.pdf b/macros/latex-dev/base/doc.pdf Binary files differindex cc5d0ad4d3..b7f2d52ba1 100644 --- a/macros/latex-dev/base/doc.pdf +++ b/macros/latex-dev/base/doc.pdf diff --git a/macros/latex-dev/base/docstrip.pdf b/macros/latex-dev/base/docstrip.pdf Binary files differindex a71f006131..5891ba52e5 100644 --- a/macros/latex-dev/base/docstrip.pdf +++ b/macros/latex-dev/base/docstrip.pdf diff --git a/macros/latex-dev/base/encguide.pdf b/macros/latex-dev/base/encguide.pdf Binary files differindex 6084673c5d..55a843b9b2 100644 --- a/macros/latex-dev/base/encguide.pdf +++ b/macros/latex-dev/base/encguide.pdf diff --git a/macros/latex-dev/base/exscale.pdf b/macros/latex-dev/base/exscale.pdf Binary files differindex bc20e6ccb6..cb8356298f 100644 --- a/macros/latex-dev/base/exscale.pdf +++ b/macros/latex-dev/base/exscale.pdf diff --git a/macros/latex-dev/base/fix-cm.pdf b/macros/latex-dev/base/fix-cm.pdf Binary files differindex 5c56b6041e..eee7e7d9c3 100644 --- a/macros/latex-dev/base/fix-cm.pdf +++ b/macros/latex-dev/base/fix-cm.pdf diff --git a/macros/latex-dev/base/fntguide.pdf b/macros/latex-dev/base/fntguide.pdf Binary files differindex a5c53bd701..c155ce98b2 100644 --- a/macros/latex-dev/base/fntguide.pdf +++ b/macros/latex-dev/base/fntguide.pdf diff --git a/macros/latex-dev/base/graphpap.pdf b/macros/latex-dev/base/graphpap.pdf Binary files differindex b955b8e02c..8168a99044 100644 --- a/macros/latex-dev/base/graphpap.pdf +++ b/macros/latex-dev/base/graphpap.pdf diff --git a/macros/latex-dev/base/ifthen.pdf b/macros/latex-dev/base/ifthen.pdf Binary files differindex 44e1254fc7..73fe175dc8 100644 --- a/macros/latex-dev/base/ifthen.pdf +++ b/macros/latex-dev/base/ifthen.pdf diff --git a/macros/latex-dev/base/inputenc.pdf b/macros/latex-dev/base/inputenc.pdf Binary files differindex ed4ce98b80..406e3d6fa4 100644 --- a/macros/latex-dev/base/inputenc.pdf +++ b/macros/latex-dev/base/inputenc.pdf diff --git a/macros/latex-dev/base/lamport-manual.pdf b/macros/latex-dev/base/lamport-manual.pdf Binary files differindex b06c9fa36f..4383556908 100644 --- a/macros/latex-dev/base/lamport-manual.pdf +++ b/macros/latex-dev/base/lamport-manual.pdf diff --git a/macros/latex-dev/base/latexrelease.pdf b/macros/latex-dev/base/latexrelease.pdf Binary files differindex 3917a237d8..732bfb26f8 100644 --- a/macros/latex-dev/base/latexrelease.pdf +++ b/macros/latex-dev/base/latexrelease.pdf diff --git a/macros/latex-dev/base/latexsym.pdf b/macros/latex-dev/base/latexsym.pdf Binary files differindex fa2020f802..2dc448b292 100644 --- a/macros/latex-dev/base/latexsym.pdf +++ b/macros/latex-dev/base/latexsym.pdf diff --git a/macros/latex-dev/base/lb2.pdf b/macros/latex-dev/base/lb2.pdf Binary files differindex 94d2e4cb83..ba5f34dd12 100644 --- a/macros/latex-dev/base/lb2.pdf +++ b/macros/latex-dev/base/lb2.pdf diff --git a/macros/latex-dev/base/letter.pdf b/macros/latex-dev/base/letter.pdf Binary files differindex 07fbb31013..ff3ce8c44d 100644 --- a/macros/latex-dev/base/letter.pdf +++ b/macros/latex-dev/base/letter.pdf diff --git a/macros/latex-dev/base/lgc2.pdf b/macros/latex-dev/base/lgc2.pdf Binary files differindex bace4811a6..e2882d2b05 100644 --- a/macros/latex-dev/base/lgc2.pdf +++ b/macros/latex-dev/base/lgc2.pdf diff --git a/macros/latex-dev/base/lppl.pdf b/macros/latex-dev/base/lppl.pdf Binary files differindex 751e539025..9649fdb741 100644 --- a/macros/latex-dev/base/lppl.pdf +++ b/macros/latex-dev/base/lppl.pdf diff --git a/macros/latex-dev/base/ltcmdhooks-code.pdf b/macros/latex-dev/base/ltcmdhooks-code.pdf Binary files differindex 94ce0ae1df..f14ffecd0a 100644 --- a/macros/latex-dev/base/ltcmdhooks-code.pdf +++ b/macros/latex-dev/base/ltcmdhooks-code.pdf diff --git a/macros/latex-dev/base/ltcmdhooks-doc.pdf b/macros/latex-dev/base/ltcmdhooks-doc.pdf Binary files differindex 4bda875791..4c53d8ec8c 100644 --- a/macros/latex-dev/base/ltcmdhooks-doc.pdf +++ b/macros/latex-dev/base/ltcmdhooks-doc.pdf diff --git a/macros/latex-dev/base/ltfilehook-code.pdf b/macros/latex-dev/base/ltfilehook-code.pdf Binary files differindex ed49754bc3..4b061d2a0a 100644 --- a/macros/latex-dev/base/ltfilehook-code.pdf +++ b/macros/latex-dev/base/ltfilehook-code.pdf diff --git a/macros/latex-dev/base/ltfilehook-doc.pdf b/macros/latex-dev/base/ltfilehook-doc.pdf Binary files differindex b49703fba7..046c4c96ab 100644 --- a/macros/latex-dev/base/ltfilehook-doc.pdf +++ b/macros/latex-dev/base/ltfilehook-doc.pdf diff --git a/macros/latex-dev/base/ltfiles.dtx b/macros/latex-dev/base/ltfiles.dtx index 2a87756da5..d99dfdcd48 100644 --- a/macros/latex-dev/base/ltfiles.dtx +++ b/macros/latex-dev/base/ltfiles.dtx @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltfiles.dtx} - [2022/04/01 v1.2q LaTeX Kernel (File Handling)] + [2022/05/27 v1.2r LaTeX Kernel (File Handling)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltfiles.dtx} @@ -1640,6 +1640,7 @@ % % \changes{v1.0o}{1994/11/30} % {Use \cs{@dofilelist}} +% \changes{v1.2r}{2022/05/27}{Try saved version string, if ver@.. is \cs{relax} (gh/825)} % \begin{macrocode} \def\@dofilelist{% \typeout{^^J *File List*}% @@ -1650,6 +1651,15 @@ \ifx\filename@ext\relax tex\else\filename@ext\fi}% \expandafter\let\expandafter\reserved@b \csname ver@\reserved@a\endcsname +% \end{macrocode} +% Packages that \cs{relax} their \cs{ver@...} string to allow for +% multiple loading (e.g., \pkg{fontenc}) can use \cs{ver@@...} to +% store the version information instead. +% \begin{macrocode} + \ifx\reserved@b\relax + \expandafter\let\expandafter\reserved@b + \csname ver@@\reserved@a\endcsname + \fi \expandafter\expandafter\expandafter\@listfiles\expandafter \filename@area\filename@base\\\\\\\\\\\\\\\\\\\@@ \typeout{% diff --git a/macros/latex-dev/base/ltfinal.dtx b/macros/latex-dev/base/ltfinal.dtx index 5857e6cf58..b1b8ff953b 100644 --- a/macros/latex-dev/base/ltfinal.dtx +++ b/macros/latex-dev/base/ltfinal.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltfinal.dtx} - [2022/04/21 v2.2t LaTeX Kernel (Final Settings)] + [2022/06/02 v2.2u LaTeX Kernel (Final Settings)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltfinal.dtx} @@ -273,9 +273,9 @@ % \end{macro} % \end{macro} % -% \begin{macro}{trace_stack_levels} +% \begin{macro}{trace\string_stack\string_levels} % Now define the Lua function to emulate \cs{tracingstacklevels} and -% install it in the \texttt{input_level_string} callback. +% install it in the |input_level_string| callback. % \begin{macrocode} %</2ekernel> %<*2ekernel|latexrelease> @@ -1064,6 +1064,7 @@ % % \begin{macro}{\MakeUppercase} % \begin{macro}{\MakeUppercase} +% \begin{macro}{\NoCaseChange} % \begin{macro}{\@uclclist} % \begin{macro}{\@expl@text@lowercase@@n} % \begin{macro}{\@expl@text@uppercase@@n} @@ -1091,10 +1092,17 @@ \ExplSyntaxOn \protected\def\@expl@text@lowercase@@n{\text_lowercase:n} \protected\def\@expl@text@uppercase@@n{\text_uppercase:n} +% \end{macrocode} +% +% \changes{v2.2u}{2022/06/02}{Add \cs{NoCaseChange}} +% |\NoCaseChange| protects its argument from the case change functions. +% \begin{macrocode} +\tl_put_right:Nn \l_text_case_exclude_arg_tl { \NoCaseChange } +\cs_new_protected:Npn \NoCaseChange #1 {#1} \ExplSyntaxOff % \end{macrocode} - -%% \begin{macrocode} +% +% \begin{macrocode} \DeclareRobustCommand{\MakeUppercase}[1]{{% \def\i{I}\def\j{J}% \def\reserved@a##1##2{\let##1##2\reserved@a}% @@ -1151,6 +1159,7 @@ % \end{macro} % \end{macro} % \end{macro} +% \end{macro} % % \changes{v1.0h}{1994/05/13}{Added output enc stuff} % \changes{v1.0i}{1994/05/16}{moved output enc stuff to lfonts} diff --git a/macros/latex-dev/base/lthooks-code.pdf b/macros/latex-dev/base/lthooks-code.pdf Binary files differindex 525b56beb7..ce35e01745 100644 --- a/macros/latex-dev/base/lthooks-code.pdf +++ b/macros/latex-dev/base/lthooks-code.pdf diff --git a/macros/latex-dev/base/lthooks-doc.pdf b/macros/latex-dev/base/lthooks-doc.pdf Binary files differindex 079168d1ac..2fcdd13703 100644 --- a/macros/latex-dev/base/lthooks-doc.pdf +++ b/macros/latex-dev/base/lthooks-doc.pdf diff --git a/macros/latex-dev/base/lthooks.dtx b/macros/latex-dev/base/lthooks.dtx index 06a0e8258f..cfa1454775 100644 --- a/macros/latex-dev/base/lthooks.dtx +++ b/macros/latex-dev/base/lthooks.dtx @@ -31,8 +31,8 @@ %%% From File: lthooks.dtx % % \begin{macrocode} -\def\lthooksversion{v1.0u} -\def\lthooksdate{2022/05/19} +\def\lthooksversion{v1.0v} +\def\lthooksdate{2022/06/15} % \end{macrocode} % %<*driver> @@ -2649,6 +2649,13 @@ \@@_make_usable:n {#1} \tl_gset:cx { g_@@_#1_reversed_tl } { \@@_if_generic_reversed:nT {#1} { - } } +% \end{macrocode} +% Reflect that we have activated the generic hook and set its +% execution code. +% \changes{v1.0v}{2022/06/15}{Ensure that a newly activated generic hook +% gets its execution code set} +% \begin{macrocode} + \@@_update_hook_code:n {#1} } } } diff --git a/macros/latex-dev/base/ltkeys.dtx b/macros/latex-dev/base/ltkeys.dtx index 00c2600289..c6dfa5f6dd 100644 --- a/macros/latex-dev/base/ltkeys.dtx +++ b/macros/latex-dev/base/ltkeys.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltkeys.dtx} - [2022/02/21 v1.0f LaTeX Kernel (Kevyal options)] + [2022/06/16 v1.0g LaTeX Kernel (Kevyal options)] % \iffalse \documentclass{l3doc} \GetFileInfo{ltkeys.dtx} @@ -277,6 +277,9 @@ % \end{macro} % % \begin{macro}{\@@_options_class:n} +% \changes{v1.0g}{2022/06/16}{Better handling of option removal} +% \begin{macro}{\@@_options_remove:nnn} +% \changes{v1.0g}{2022/06/16}{New function} % For classes, each option (stripped of any content after |=|) % is checked for existence as a key. If found, the option is added to % the combined list for processing. On the other hand, unused options @@ -296,18 +299,26 @@ { \clist_map_inline:cn { opt@ \@currname . \@currext } { - \keys_if_exist:neTF - {#1} { \@@_remove_equals:n {##1} } - { \clist_put_right:Nn \l_@@_options_clist {##1} } - { \clist_put_right:Nn \@unusedoptionlist {##1} } + \@@_options_remove:enn + { \@@_remove_equals:n {##1} } + {##1} {#1} } } } } +\cs_new_protected:Npn \@@_options_remove:nnn #1#2#3 + { + \keys_if_exist:nnTF {#3} {#1} + { \clist_put_right:Nn \l_@@_options_clist {#2} } + { \clist_put_right:Nn \@unusedoptionlist {#1} } + } +\cs_generate_variant:Nn \@@_options_remove:nnn { e } % \end{macrocode} % \end{macro} +% \end{macro} % % \begin{macro}{\@@_options_package:n} +% \changes{v1.0g}{2022/06/16}{Better handling of option removal} % For global options when processing a package, the tasks are slightly % different from those for a class. The check is the same, but here % there is nothing to do if the option is not applicable. Each valid @@ -317,11 +328,9 @@ { \clist_map_inline:Nn \@classoptionslist { - \keys_if_exist:neT {#1} { \@@_remove_equals:n {##1} } - { - \clist_put_right:Nn \l_@@_options_clist {##1} - \clist_remove_all:Nn \@unusedoptionlist {##1} - } + \@@_options_remove:enn + { \@@_remove_equals:n {##1} } + {##1} {#1} } } % \end{macrocode} diff --git a/macros/latex-dev/base/ltluatex.pdf b/macros/latex-dev/base/ltluatex.pdf Binary files differindex fb8c77ee95..ca6e145aba 100644 --- a/macros/latex-dev/base/ltluatex.pdf +++ b/macros/latex-dev/base/ltluatex.pdf diff --git a/macros/latex-dev/base/ltmarks-code.pdf b/macros/latex-dev/base/ltmarks-code.pdf Binary files differindex 984ab8635a..8073a3346f 100644 --- a/macros/latex-dev/base/ltmarks-code.pdf +++ b/macros/latex-dev/base/ltmarks-code.pdf diff --git a/macros/latex-dev/base/ltmarks-doc.pdf b/macros/latex-dev/base/ltmarks-doc.pdf Binary files differindex 73362580a4..478db2f574 100644 --- a/macros/latex-dev/base/ltmarks-doc.pdf +++ b/macros/latex-dev/base/ltmarks-doc.pdf diff --git a/macros/latex-dev/base/ltmarks.dtx b/macros/latex-dev/base/ltmarks.dtx index e8971c9d6c..3dc4b493ac 100644 --- a/macros/latex-dev/base/ltmarks.dtx +++ b/macros/latex-dev/base/ltmarks.dtx @@ -14,8 +14,8 @@ %%% From File: ltmarks.dtx % % \begin{macrocode} -\def\ltmarksversion{v1.0c} -\def\ltmarksdate{2022/05/06} +\def\ltmarksversion{v1.0d} +\def\ltmarksdate{2022/06/01} % \end{macrocode} %<*driver> \documentclass{l3doc} @@ -826,18 +826,25 @@ \dim_set_eq:NN \tex_vfuzz:D \c_max_dim % \end{macrocode} % There is a further complication: if the region contains infinite -% shrinking glue then a \cs{vsplit} operation will balk with a +% shrinking glue then a \tn{vsplit} operation will balk with a % low-level error. Now pages or columns, which are our main concern here, can't % have such infinite shrinkage if they are cut straight from the -% galley, however the use of \cs{enlargethispage} actually does add +% galley, however the use of \tn{enlargethispage} actually does add % some at the very bottom (and also wraps the whole page into a box % by itself, so if we leave it this way then a) we get this error % and b) we don't see any marks because they are hidden one level % down). +% +% Another possible issue are packages or user code that place stray +% \tn{vbox}es directly into the main galley (an example is +% \pkg{marginnote} that attaches its marginals in this way). If such +% boxes end up as the last item on the page we should not unpack +% them. % % We therefore do an \tn{unskip} to get rid of that glue if present and -% also check if we have then a \cs{vbox} as the last item and if so -% unpack that too. All this is temporary, just for getting the +% also check if we have then a \tn{vbox} as the last item and if so +% unpack that too, but only under certain conditions, see +% below. All this is temporary, just for getting the % marks out, so it doesn't affect the final page production. % % In fact, we go one step further and set the box to a large @@ -856,16 +863,50 @@ #2 \tex_unskip:D \box_set_to_last:N \l_@@_box - \box_if_vertical:NT \l_@@_box - { \vbox_unpack:N \l_@@_box } +% \end{macrocode} +% After having removed the last box from the current list (if there +% was one) +% we check if the list is now empty. If not, the the last box is +% definitely not the one from \tn{enlargethispage} and so we can +% and should leave it alone. Otherwise we check if this last box is +% a \tn{vbox}. +% \changes{v1.0d}{2022/06/01}{Extend the logic for detecting the marks +% in the box (gh/836)} +% \begin{macrocode} + \int_compare:nNnT \tex_lastnodetype:D < 0 + { + \box_if_vertical:NT \l_@@_box + { +% \end{macrocode} +% If it is we do a further test and reset the \cs{l_@@_box} +% to check if it contains infinitely shrinkable glue. +% \begin{macrocode} + \vbox_set_to_ht:Nnn \l_@@_box { -.5\c_max_dim } + { + \vbox_unpack:N \l_@@_box + \tex_kern:D \c_zero_dim % ensure that box + % is not empty + } +% \end{macrocode} +% If not, then we unpack it, if yes we still ignore it for the process of +% mark extraction. We do not generate an error though, because in all +% likelihood this is an ordinary box like a marginal that does +% contain something like \tn{vss}. +% \begin{macrocode} + \int_compare:nNnT \tex_badness:D > 0 + { \vbox_unpack:N \l_@@_box } + } + } % \end{macrocode} % If it wasn't a vbox, it was either an hbox or there was no box. % Given that we are only interested in the marks we don't need put -% it back in that case. However, we have to make sure that the box +% it back in that case. However, we have to make sure that the +% outer box under construction % is not totally empty (which it might have been from the start, or % now), because \TeX{} does not report a badness for empty boxes -% which means out test would incorrectly conclude that we have -% infinite shrinking glue. A simple \tn{kern} is enough to avoid this. +% and that means our test would incorrectly conclude that we have +% infinite shrinking glue. A simple \tn{kern} is enough to avoid +% this (the same was already done above). % \begin{macrocode} \tex_kern:D \c_zero_dim } @@ -1165,6 +1206,12 @@ % % \subsection{Messages} % +% Mark errors are LaTeX kernel errors: +% \changes{v1.0d}{2022/06/01}{Marks are kernel errors} +% \begin{macrocode} +\prop_gput:Nnn \g_msg_module_type_prop { mark } { LaTeX } +% \end{macrocode} +% % \begin{macrocode} \msg_new:nnnn { mark } { class-already-defined } { Mark~class~'#1'~already~defined } diff --git a/macros/latex-dev/base/ltnews.pdf b/macros/latex-dev/base/ltnews.pdf Binary files differindex 40747022c8..01eff648b0 100644 --- a/macros/latex-dev/base/ltnews.pdf +++ b/macros/latex-dev/base/ltnews.pdf diff --git a/macros/latex-dev/base/ltnews01.pdf b/macros/latex-dev/base/ltnews01.pdf Binary files differindex 356a298618..e7edf21b38 100644 --- a/macros/latex-dev/base/ltnews01.pdf +++ b/macros/latex-dev/base/ltnews01.pdf diff --git a/macros/latex-dev/base/ltnews02.pdf b/macros/latex-dev/base/ltnews02.pdf Binary files differindex ea00f96fbb..160186c4e1 100644 --- a/macros/latex-dev/base/ltnews02.pdf +++ b/macros/latex-dev/base/ltnews02.pdf diff --git a/macros/latex-dev/base/ltnews03.pdf b/macros/latex-dev/base/ltnews03.pdf Binary files differindex a73a7d9e3a..979e833d5e 100644 --- a/macros/latex-dev/base/ltnews03.pdf +++ b/macros/latex-dev/base/ltnews03.pdf diff --git a/macros/latex-dev/base/ltnews04.pdf b/macros/latex-dev/base/ltnews04.pdf Binary files differindex 123c72c732..f2cfc633fd 100644 --- a/macros/latex-dev/base/ltnews04.pdf +++ b/macros/latex-dev/base/ltnews04.pdf diff --git a/macros/latex-dev/base/ltnews05.pdf b/macros/latex-dev/base/ltnews05.pdf Binary files differindex ca1599791a..a57fa4a6b4 100644 --- a/macros/latex-dev/base/ltnews05.pdf +++ b/macros/latex-dev/base/ltnews05.pdf diff --git a/macros/latex-dev/base/ltnews06.pdf b/macros/latex-dev/base/ltnews06.pdf Binary files differindex 0a31acd64f..657592f310 100644 --- a/macros/latex-dev/base/ltnews06.pdf +++ b/macros/latex-dev/base/ltnews06.pdf diff --git a/macros/latex-dev/base/ltnews07.pdf b/macros/latex-dev/base/ltnews07.pdf Binary files differindex ee5db608c9..7213bf9294 100644 --- a/macros/latex-dev/base/ltnews07.pdf +++ b/macros/latex-dev/base/ltnews07.pdf diff --git a/macros/latex-dev/base/ltnews08.pdf b/macros/latex-dev/base/ltnews08.pdf Binary files differindex 0e09195c8a..4a5dfba987 100644 --- a/macros/latex-dev/base/ltnews08.pdf +++ b/macros/latex-dev/base/ltnews08.pdf diff --git a/macros/latex-dev/base/ltnews09.pdf b/macros/latex-dev/base/ltnews09.pdf Binary files differindex f87f176694..e82d020e2e 100644 --- a/macros/latex-dev/base/ltnews09.pdf +++ b/macros/latex-dev/base/ltnews09.pdf diff --git a/macros/latex-dev/base/ltnews10.pdf b/macros/latex-dev/base/ltnews10.pdf Binary files differindex d28672180f..f30a263d10 100644 --- a/macros/latex-dev/base/ltnews10.pdf +++ b/macros/latex-dev/base/ltnews10.pdf diff --git a/macros/latex-dev/base/ltnews11.pdf b/macros/latex-dev/base/ltnews11.pdf Binary files differindex 3005ecb46f..e4502abab1 100644 --- a/macros/latex-dev/base/ltnews11.pdf +++ b/macros/latex-dev/base/ltnews11.pdf diff --git a/macros/latex-dev/base/ltnews12.pdf b/macros/latex-dev/base/ltnews12.pdf Binary files differindex 571a53690a..7332c60ea9 100644 --- a/macros/latex-dev/base/ltnews12.pdf +++ b/macros/latex-dev/base/ltnews12.pdf diff --git a/macros/latex-dev/base/ltnews13.pdf b/macros/latex-dev/base/ltnews13.pdf Binary files differindex 7f0ce1c390..705c2bba3e 100644 --- a/macros/latex-dev/base/ltnews13.pdf +++ b/macros/latex-dev/base/ltnews13.pdf diff --git a/macros/latex-dev/base/ltnews14.pdf b/macros/latex-dev/base/ltnews14.pdf Binary files differindex 5a1bc2847d..e54e2af71f 100644 --- a/macros/latex-dev/base/ltnews14.pdf +++ b/macros/latex-dev/base/ltnews14.pdf diff --git a/macros/latex-dev/base/ltnews15.pdf b/macros/latex-dev/base/ltnews15.pdf Binary files differindex bf86fe3a1c..3402da5d62 100644 --- a/macros/latex-dev/base/ltnews15.pdf +++ b/macros/latex-dev/base/ltnews15.pdf diff --git a/macros/latex-dev/base/ltnews16.pdf b/macros/latex-dev/base/ltnews16.pdf Binary files differindex c85a7aaa26..10c2ed8725 100644 --- a/macros/latex-dev/base/ltnews16.pdf +++ b/macros/latex-dev/base/ltnews16.pdf diff --git a/macros/latex-dev/base/ltnews17.pdf b/macros/latex-dev/base/ltnews17.pdf Binary files differindex 1e41d77495..d8dc264387 100644 --- a/macros/latex-dev/base/ltnews17.pdf +++ b/macros/latex-dev/base/ltnews17.pdf diff --git a/macros/latex-dev/base/ltnews18.pdf b/macros/latex-dev/base/ltnews18.pdf Binary files differindex 7dccf5bbfc..62051b98de 100644 --- a/macros/latex-dev/base/ltnews18.pdf +++ b/macros/latex-dev/base/ltnews18.pdf diff --git a/macros/latex-dev/base/ltnews19.pdf b/macros/latex-dev/base/ltnews19.pdf Binary files differindex affec120d0..607c5e9362 100644 --- a/macros/latex-dev/base/ltnews19.pdf +++ b/macros/latex-dev/base/ltnews19.pdf diff --git a/macros/latex-dev/base/ltnews20.pdf b/macros/latex-dev/base/ltnews20.pdf Binary files differindex 79845c1b09..c8a813b359 100644 --- a/macros/latex-dev/base/ltnews20.pdf +++ b/macros/latex-dev/base/ltnews20.pdf diff --git a/macros/latex-dev/base/ltnews21.pdf b/macros/latex-dev/base/ltnews21.pdf Binary files differindex b991986c22..28d1f4b390 100644 --- a/macros/latex-dev/base/ltnews21.pdf +++ b/macros/latex-dev/base/ltnews21.pdf diff --git a/macros/latex-dev/base/ltnews22.pdf b/macros/latex-dev/base/ltnews22.pdf Binary files differindex bb70fefd4a..67fa8c18a5 100644 --- a/macros/latex-dev/base/ltnews22.pdf +++ b/macros/latex-dev/base/ltnews22.pdf diff --git a/macros/latex-dev/base/ltnews23.pdf b/macros/latex-dev/base/ltnews23.pdf Binary files differindex c35e6abeec..82d4c1b150 100644 --- a/macros/latex-dev/base/ltnews23.pdf +++ b/macros/latex-dev/base/ltnews23.pdf diff --git a/macros/latex-dev/base/ltnews24.pdf b/macros/latex-dev/base/ltnews24.pdf Binary files differindex a63d4fea58..cb6118e113 100644 --- a/macros/latex-dev/base/ltnews24.pdf +++ b/macros/latex-dev/base/ltnews24.pdf diff --git a/macros/latex-dev/base/ltnews25.pdf b/macros/latex-dev/base/ltnews25.pdf Binary files differindex b238895d21..c637eea5f0 100644 --- a/macros/latex-dev/base/ltnews25.pdf +++ b/macros/latex-dev/base/ltnews25.pdf diff --git a/macros/latex-dev/base/ltnews26.pdf b/macros/latex-dev/base/ltnews26.pdf Binary files differindex 87af0169bf..88a9f99bb7 100644 --- a/macros/latex-dev/base/ltnews26.pdf +++ b/macros/latex-dev/base/ltnews26.pdf diff --git a/macros/latex-dev/base/ltnews27.pdf b/macros/latex-dev/base/ltnews27.pdf Binary files differindex b2ecbfb3d7..296c8d3bea 100644 --- a/macros/latex-dev/base/ltnews27.pdf +++ b/macros/latex-dev/base/ltnews27.pdf diff --git a/macros/latex-dev/base/ltnews28.pdf b/macros/latex-dev/base/ltnews28.pdf Binary files differindex eaf5c12224..aecbb27797 100644 --- a/macros/latex-dev/base/ltnews28.pdf +++ b/macros/latex-dev/base/ltnews28.pdf diff --git a/macros/latex-dev/base/ltnews29.pdf b/macros/latex-dev/base/ltnews29.pdf Binary files differindex 23ab75551a..07f98d4992 100644 --- a/macros/latex-dev/base/ltnews29.pdf +++ b/macros/latex-dev/base/ltnews29.pdf diff --git a/macros/latex-dev/base/ltnews30.pdf b/macros/latex-dev/base/ltnews30.pdf Binary files differindex f0f1c1f2c9..4288ec154d 100644 --- a/macros/latex-dev/base/ltnews30.pdf +++ b/macros/latex-dev/base/ltnews30.pdf diff --git a/macros/latex-dev/base/ltnews31.pdf b/macros/latex-dev/base/ltnews31.pdf Binary files differindex 954a3d8600..1ae3e8c407 100644 --- a/macros/latex-dev/base/ltnews31.pdf +++ b/macros/latex-dev/base/ltnews31.pdf diff --git a/macros/latex-dev/base/ltnews32.pdf b/macros/latex-dev/base/ltnews32.pdf Binary files differindex cbd610146c..901165053f 100644 --- a/macros/latex-dev/base/ltnews32.pdf +++ b/macros/latex-dev/base/ltnews32.pdf diff --git a/macros/latex-dev/base/ltnews33.pdf b/macros/latex-dev/base/ltnews33.pdf Binary files differindex 8f16e14ba9..f77d04b714 100644 --- a/macros/latex-dev/base/ltnews33.pdf +++ b/macros/latex-dev/base/ltnews33.pdf diff --git a/macros/latex-dev/base/ltnews34.pdf b/macros/latex-dev/base/ltnews34.pdf Binary files differindex 3212327c00..667790ca60 100644 --- a/macros/latex-dev/base/ltnews34.pdf +++ b/macros/latex-dev/base/ltnews34.pdf diff --git a/macros/latex-dev/base/ltnews35.pdf b/macros/latex-dev/base/ltnews35.pdf Binary files differindex 2873f9de0a..62476fffbb 100644 --- a/macros/latex-dev/base/ltnews35.pdf +++ b/macros/latex-dev/base/ltnews35.pdf diff --git a/macros/latex-dev/base/ltnews35.tex b/macros/latex-dev/base/ltnews35.tex index 132dcd31b0..0e0cda79b1 100644 --- a/macros/latex-dev/base/ltnews35.tex +++ b/macros/latex-dev/base/ltnews35.tex @@ -77,7 +77,12 @@ % 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 +\providecommand\sxissue[1]{\ifhmode\unskip + \else + % githubissue preceding + \vskip-\smallskipamount + \vskip-\parskip + \fi \quad\penalty500\strut\nobreak\hfill \mbox{\small\slshape(\url{https://tex.stackexchange.com/#1})}\par} @@ -127,7 +132,8 @@ \tubcommand{\addtolength\textheight{4.2pc}} % only for TUB \maketitle -{\hyphenpenalty=10000 \spaceskip=3.33pt \hbadness=10000 \tableofcontents} +{\hyphenpenalty=10000 \exhyphenpenalty=10000 \spaceskip=3.33pt \hbadness=10000 +\tableofcontents} \setlength\rightskip{0pt plus 3em} @@ -145,13 +151,13 @@ approach for options, and the introduction of the \texttt{latex-lab} area for temporary code that can be optionally loaded by a document (when \cs{DocumentMetadata} is used with certain test keys). These additions are described in the first sections. Related to this effort -there are updates to \pkg{hyperref} and \pkg{tagpdf} both of which +there are updates to \pkg{hyperref} and \pkg{tagpdf}, both of which have their own distributions. As usual, we also added a number of smaller improvements and bug fixes in various components of core \LaTeX{}. Perhaps the most interesting ones (for some users) are direct support for floating -point arithmetic (via \cs{fpeval} see below) and the ability to +point arithmetic (via \cs{fpeval}; see below) and the ability to properly color parts of math formulas without introducing spacing problems. For this we now offer the command \cs{mathcolor}; see the description near the end of the newsletter. There is also a new major @@ -182,14 +188,14 @@ i.e., the declaration has to be placed \emph{before} \cs{documentclass} and will issue an error if found later. -At this point in time we only provide the bare command in the format, +At this point in time we provide only the bare command in the format; the actual processing of the key/value is defined externally and the necessary code will be loaded if the command is used. This scheme is chosen for two reasons: by adding the command in the kernel it is available to everybody without the need to load a special package using \cs{RequirePackage}. The actual processing, though, is external so that we can easily extend the code (e.g., offering additional keys -or changing the internal processing) while the above mentioned project +or changing the internal processing) while the above-mentioned project is progressing. Both together allows users to immediately benefit from intermediate results produced as part of the project, as well as offering the \LaTeX{} Project Team the flexibility to enable such @@ -215,29 +221,18 @@ We added a new \pkg{latex-lab}oratory bundle in which we place new code that is going to be available only through a \cs{DocumentMetadata} declaration and that is\Dash most importantly\Dash work under development and subject to -change without further notice. This means, that commands and interfaces provided there may +change without further notice. This means that commands and interfaces provided there may get altered or removed again after some public testing. The code can be accessed through the \cs{DocumentMetadata} key \texttt{testphase}. Currently supported values are \texttt{phase-I} and \texttt{phase-II} -that enable code of the tagged PDF project (phase-I is frozen and -phase-II the phase we are currently working on). With +that enable code of the tagged PDF project (phase~I is frozen, and +phase~II is the phase we are currently working on). With \begin{verbatim} \DocumentMetadata{testphase=phase-II} \end{verbatim} -you currently enable tagging for paragraphs and footnotes, more +you currently enable tagging for paragraphs and footnotes; more document elements will follow soon. -For more detailed testing it is also possible to pass other values to -\texttt{testphase}, for example, the first incarnation of a template -design interface based on \pkg{l3keys} can be accessed through the -value \texttt{prototype}, thus -\begin{verbatim} - \DocumentMetadata - {testphase={phase-II,prototype}} -\end{verbatim} -will enable all of phase-II plus the draft template interface (which -is not yet integrated in phase-II). - Eventually, code will move (once considered stable) from the testphase into the \LaTeX{} kernel itself. Tagging will continue to require a \cs{DocumentMetadata} declaration, but you will then be able @@ -247,7 +242,7 @@ to drop the \texttt{testphase} key setting. \section{A new mark mechanism for \LaTeX{}} The mark mechanism is \TeX{}'s way to pass information to the -page-building process which happens asynchronously in order to +page-building process, which happens asynchronously, in order to communicate relevant data for running headers and footers to the latter, e.g., what is the first section on the page or the last subsection, etc. However, marks may also be @@ -277,8 +272,8 @@ contained two parts with their own interfaces: \cs{markboth} and \cs{markright} to set marks and \cs{leftmark} and \cs{rightmark} to retrieve them. -Unfortunately, this extended mechanism (while supporting scenarios such -as chapter/section marks) was far from general. The mark +Unfortunately, this extended mechanism, while supporting scenarios such +as chapter/section marks, was far from general. The mark situation at the top of a page (i.e., \cs{topmark}) remained unusable and the two marks offered were not really independent of each other because \cs{markboth} (as the name indicates) was @@ -292,15 +287,15 @@ release overcomes both issues: It provides arbitrary many, fully independent named marks, that can be allocated and from that point onwards used. \item - It offers access for each such marks to retrieve its top, + It offers access for each such mark to retrieve its top, first, and bottom value separately. \item Furthermore, the mechanism is augmented to give access to marks - in different ``regions'' which may not be just full pages. + in different ``regions'', which may be other than full pages. \end{itemize} The legacy interfaces, e.g., \cs{markboth}, are kept. Thus classes and -packages making use of them continue to work flawlessly. To make use -of the extended possibility a new set of commands for declaration of +packages making use of them continue to work seamlessly. To make use +of the extended possibility a new set of commands for the declaration of mark classes, setting their values and querying their state (in the output routine) is now available in addition. % @@ -315,7 +310,7 @@ examples and further notes on the mechanism in the file The classical \LaTeXe{} method for handling options, using \cs{ProcessOptions}, treats each entry in the list as a string. Many package authors have sought to extend this handling by treating each entry as a key--value pair (keyval) -instead. To-date, this has required the use of additional packages, for example +instead. To date, this has required the use of additional packages, for example \pkg{kvoptions}. The \LaTeX{} team have for some time offered the package \pkg{l3keys2e} to @@ -327,7 +322,8 @@ has been refined, such that \ProcessKeyOptions \end{verbatim} will now automatically pick up the package name as the key \emph{family}, -unless explicitly given as an optional argument. +%unless explicitly given as an optional argument. +unless explicitly given as an optional argument: \begin{verbatim} \ProcessKeyOptions[family] \end{verbatim} @@ -360,7 +356,7 @@ The L3 programming layer offers expandable commands for calculating floating point and integer values, but so far these functions have only been available to programmers, because they require \cs{ExplSyntaxOn} to be in force. To make them easily available at the -document-level, the small package \pkg{xfp} defined \cs{fpeval} and +document level, the small package \pkg{xfp} defined \cs{fpeval} and \cs{inteval}. @@ -379,12 +375,14 @@ which produces the following output: These two commands have now been moved into the kernel and in addition we also provide \cs{dimeval} and \cs{skipeval}. The details of their syntax are described in \file{usrguide3.pdf}. The command \cs{fpeval} -offers a rich syntax allows for extensive calculations whereas the +offers a rich syntax allowing for extensive calculations, whereas the other three commands are essentially thin wrappers for \cs{numexpr}, \cs{dimexpr}, and \cs{glueexpr} \Dash therefore inheriting some syntax -peculiars and limitations in expressiveness. +%peculiars and limitations in expressiveness. +peculiarities and limitations in expressiveness. +% \newcommand\calulateheight[1]{% \begin{verbatim} - \newcommand\calulateheight[1]{% + \newcommand\calculateheight[1]{% \setlength\textheight{\dimeval{\topskip + \baselineskip * \inteval{#1-1}}}} \end{verbatim} @@ -397,9 +395,9 @@ a given number of text lines. \subsection{CamelCase commands for changing arguments to csnames} It is sometimes helpful to \enquote{construct} a command name on the -fly rather than providing it as a single \cs{...} token. For these -kind of tasks the \LaTeX3 programming layer offers a general mechanism -(in form of \cs{exp\_args:N...} and +fly rather than providing it as a single \cs{...}\ token. For these +kinds of tasks the \LaTeX3 programming layer offers a general mechanism +(in the form of \cs{exp\_args:N...}\ and \cs{cs\_generate\_variant:Nn}). However, when declaring new document-level commands with \cs{NewDocumentCommand} or \cs{NewCommandCopy}, etc.\ the L3 programming layer may not be active, @@ -446,7 +444,7 @@ branch leads to some action. Further details and examples are given in \file{usrguide3.pdf}. This test can also be useful if you set up key/value options and want -to test if a key was specified without giving a value or through +to test if a key was specified without giving a value, vs.\ specifying \enquote{\textit{key}\texttt{ = ,}}. @@ -460,7 +458,7 @@ to define the actual Lua command with \cs{luadef}. After that, the integer is no longer needed. This was inconsistent with other allocators. Therefore we added two new allocators \cs{newluacmd} and \cs{newexpandableluacmd} which directly define a control sequences invoking the allocated Lua function. -The first one defines a non-expandable Lua command, the second one an expandable +The former defines a non-expandable Lua command, the latter an expandable one. Of course, the associated Lua function still has to be defined by assigning a function to the \verb|lua.get_functions_table()| table. The required index is available in \cs{allocationnumber}. @@ -484,8 +482,8 @@ lua.get_functions_table() \subsection{Starred command version for \cs{ref}, \cs{Ref} and \cs{pageref}} -For a long time \pkg{hyperref} provides starred versions for the reference commands -that don't create active links. This syntax extension required users and +For a long time \pkg{hyperref} has provided starred versions for the reference commands +which do not create active links. This syntax extension required users and package authors to check if \pkg{hyperref} was loaded and adjust the coding accordingly or take the starred forms out if text was copied to a document without \pkg{hyperref}. The commands have now been aligned with @@ -500,12 +498,12 @@ in captions and sectioning commands. The package \pkg{ifthen} has been updated t \subsection{Preparation for supporting PDF in backends} At the current point in time, basic support for PDF in -backends is not part of \LaTeX{} core; it is provided by external +backends is not part of \LaTeX{} core; it is provided by an external package like \pkg{hyperref}. At some time in the future that work will be placed into the kernel but for now it is separate and has to be explicitly loaded in the document. To enable class and package authors -to support PDF specific task like the creation of link targets without +to support PDF-specific tasks like the creation of link targets without having to test first if \pkg{hyperref} has been loaded, dummy versions of the commands \cs{MakeLinkTarget}, \cs{LinkTargetOn}, \cs{LinkTargetOff} and \cs{NextLinkTarget} are provided. @@ -520,10 +518,10 @@ layer \texttt{e} and \texttt{x} arguments. Related to this change \cs{MakeUppercase} and \cs{MakeLowercase} have been updated to use the Unicode-aware case changing functions -\cs{text\string_lowercase:n} in place of the \TeX-primitive \cs{lowercase}. -A similar change will be made in the \pkg{textcase} package. +\cs{text\string_lowercase:n} in place of the \TeX\ primitive \cs{lowercase}. +The \cs{NoCaseChange} command from the \pkg{textcase} package has also been added. -Note for technical reasons these low level character handling changes +Note: for technical reasons these low-level character handling changes will not be rolled back if the format version is rolled back using the \pkg{latexrelease} package rollback mechanism. % @@ -538,8 +536,8 @@ that one can then use a trick such as \begin{verbatim} \let\par=\cr \obeylines \halign{... \end{verbatim} -However, redefining \cs{par} like this is not really a great idea in \LaTeX{}, -because it may lead to all kind of problems. We have therefore changed +However, redefining \cs{par} like this +may lead to all kinds of problems in \LaTeX. We have therefore changed the commands to use an indirection: the active characters now execute \cs{obeyedline} and \cs{obeyedspace}, which in turn do what the hardwired solution did before. @@ -547,7 +545,7 @@ hardwired solution did before. \begin{quote} \renewcommand\obeyedspace{\ \textbullet\ } \footnotesize\obeyspaces% -But this means that it is now possible to % +This means that it is now possible to % achieve special effects in a safe way. % This paragraph, for example, was produced by % making \cs{obeyedspace} generate % @@ -561,34 +559,22 @@ Thus, if you are keen to use the plain \TeX{} trick, you need to say \githubissue{367} - -\subsection{\class{ltxdoc} gets a \option{nocfg} option} - -The \LaTeX{} sources are formatted with the \class{ltxdoc} class, -which supports loading a local config file \file{ltxdoc.cfg}. In the -past the \LaTeX{} sources used such a file but it was not distributed. -As a result reprocessing the \LaTeX{} sources elsewhere showed -formatting changes. We now distribute this file which means that it -is loaded by default. With the option \option{nocfg} this can be -prevented. - - \subsection{\pkg{doc} upgraded to version~3} -After roughly three decades the \pkg{doc} package gets a cautious -uplift, as already announced at the TUG conference 2019\Dash changes +After roughly three decades the \pkg{doc} package received a cautious +uplift, as already announced at the 2019 TUG conference\Dash changes to \pkg{doc} are obviously always done in a leisurely manner. Given that most documentation is nowadays viewed on screen, \pkg{hyperref} support is added and by default enabled (suppress it with option \option{nohyperref} or alternatively with -\option{hyperref}\texttt{=false}) so the internal cross-reference are +\option{hyperref}\texttt{=false}) so the internal cross-references are properly resolved including those from the index back into the document. -Furthermore, \pkg{doc} has now a general mechanism to define +Furthermore, \pkg{doc} now has a general mechanism to define additional \enquote{doc} elements besides the two \texttt{Macro} and -\texttt{Env} it did know in the past. This enables better +\texttt{Env} it has known in the past. This enables better documentation because you can now clearly mark different types of objects instead of simply calling them all \enquote{macros}. If desired, they can be collected together under a heading @@ -623,25 +609,41 @@ as the heading (instead of just \meta{version}), when using +\subsection{\class{ltxdoc} gets options \option{nocfg} and \option{doc2}} + +The \LaTeX{} sources are formatted with the \class{ltxdoc} class, +which supports loading a local config file \file{ltxdoc.cfg}. In the +past the \LaTeX{} sources used such a file but it was not distributed. +As a result reprocessing the \LaTeX{} sources elsewhere showed +formatting changes. We now distribute this file which means that it +is loaded by default. With the option \option{nocfg} this can be +prevented. + +We also added a \option{doc2} option to the class so that it is +possible to run old documentation with \pkg{doc} version~2, if +necessary. + + + \subsection{Lua\TeX\ callback improvements} The Lua\TeX\ callbacks \texttt{hpack\_quality} and \texttt{vpack\_quality} are now \texttt{exclusive} and therefore only allow a single handler. The previous type \texttt{list} resulted in incorrect parameters when multiple -handlers were set, therefore this only makes an existing restriction more +handlers were set; therefore, this only makes an existing restriction more explicit. Additionally the return value \texttt{true} for \texttt{list} callbacks is now handled internally and no longer passed on to the engine. This simplifies the handling of these callbacks and makes it -easier to provide consistent interfaces for user defined \texttt{list} +easier to provide consistent interfaces for user-defined \texttt{list} callbacks. \subsection{Class \class{proc} supports \option{twoside}} The document class \class{proc}, which is a small variation on the -\class{article} class, now supports the \option{twoside} option +\class{article} class, now supports the \option{twoside} option, displaying different data in the footer line on recto and verso pages. % \githubissue{704} @@ -665,26 +667,26 @@ the command \cs{UnicodeEncodingName} internally. There was one exception though: \cs{DeclareUnicodeAccent} required an explicit encoding argument. This inconsistency has now been removed and the encoding name is always implicit. To avoid a breaking change for a few -packages on CTAN \cs{DeclareUnicodeAccent} still accepts three +packages on CTAN, \cs{DeclareUnicodeAccent} still accepts three arguments if the second argument is \texttt{TU} or \cs{UnicodeEncodingName}. Once all packages have been updated this code branch will get removed. At the same time we added \cs{DeclareUnicodeCommand} and \cs{DeclareUnicodeSymbol} for consistency. They also use -\cs{UnincodeEncodingName} internally, instead of requiring an encoding +\cs{UnicodeEncodingName} internally, instead of requiring an encoding argument as their general purpose counterparts do. % \githubissue{253} -\subsection{New hook: \hook{include/excluded}} +\subsection{New hook:\ \hook{include/excluded}} A few releases ago we introduced a number of file hooks for different -types of files, see~\cite{35:ltnews32} and in +types of files; see~\cite{35:ltnews32} and in particular~\cite{35:ltfilehook-doc}. % -The hooks for \cs{include} files now got an addition: if such a file +The hooks for \cs{include} files now have an addition: if such a file is not included (because \cs{includeonly} is used and its \meta{name} is not listed in the argument) then the hooks \hook{include/excluded} and \hook{include/\meta{name}/excluded} are executed in that @@ -708,9 +710,9 @@ source file gets normalized under Unicode normalization rules. \section{Bug fixes} \subsection{Using \cs{DeclareUnicodeCharacter} with C1 control points} -An error in the UTF-8 handling for non-Unicode \TeX, has prevented +An error in the UTF-8 handling for non-Unicode \TeX\ has prevented \cs{DeclareUnicodeCharacter} being used with characters in the range -hex 80 to 9F, this has been corrected in this release. +hex 80 to 9F. This has been corrected in this release. % \githubissue{730} @@ -731,7 +733,7 @@ is now fixed. \subsection{Make \cs{cite}\texttt{\textbraceleft\textbraceright} produce a warning} -When the \cs{cite} command can't resolve a citation label it issue a +When the \cs{cite} command can't resolve a citation label it issues a warning \enquote{Citation `\meta{label}' on page \meta{page} undefined}. However, due to some implementation details a completely empty argument was always silently accepted. Given that there are probably @@ -746,7 +748,7 @@ This has finally been corrected and a warning is now generated also in this case \subsection{Fix adding \hook{cmd} hooks to simple macros} -A bug in how \LaTeX{} would detect the type of a command was causing a +A bug in how \LaTeX{} detected the type of a command caused a premature forced expansion of such commands, which, depending on their definition, could be harmless or could cause severe trouble. This has been fixed in the latest release. @@ -772,9 +774,9 @@ given. Using \LuaTeX's \cs{Udelimiterover} to place a horizontally extensible glyph on top of a mathematical expression now causes the expression to be set in cramped -style as used in similar situations by traditional \TeX\ math rendering. -Similarly cramped style is now used for expressions set under such a delimiter -using \cs{Uunderdelimiter} but no longer used when setting an expression on top +style, as used in similar situations by traditional \TeX\ math rendering. +Similarly, cramped style is now used for expressions set under such a delimiter +using \cs{Uunderdelimiter}, but is no longer used when setting an expression on top of such extensible glyphs using \cs{Uoverdelimiter}. This new behavior follows \TeX's rule that cramped style is used whenever something else appears above the expression. @@ -796,7 +798,7 @@ the implementation in that the sorting mechanism was still applied if the \cs{DeclareHookRule} declaration appeared while the one-time hook was executed, causing the spurious typesetting of the code labels and the hook name. This bug is now fixed and an error is raised when a new -sorting rule is added to an already used one-time hook. +sorting rule is added to an already-used one-time hook. A possible scenario in which this new error is raised is the following: package \pkg{AAA} declares a hook rule for \hook{begindocument} (i.e., @@ -817,11 +819,11 @@ is executed at the very end of the preamble but before \section{Changes to packages in the \pkg{amsmath} category} -\subsection{\pkg{amsopn}: Do not reset \cs{operator@font}} +\subsection{\pkg{amsopn}:\ Do not reset \cs{operator@font}} The package \pkg{amsopn} used to define \cs{operator@font} but this -command is already provided by the \LaTeX{} format (for at least 14 -years). As a result the definition in \pkg{amsopn} is equivalent to a +command has been provided by the \LaTeX{} format for at least 14 +years. As a result the definition in \pkg{amsopn} is equivalent to a reset to the kernel definition, which is unnecessary and surprising if you alter the math setup (e.g., by loading a package) and at a later stage add \pkg{amsmath}, which then undoes part of your setup. For @@ -838,7 +840,7 @@ after loading the package. % \githubissue{734} -\subsection{\pkg{amsmath}: Error in \cs{shoveleft}} +\subsection{\pkg{amsmath}:\ Error in \cs{shoveleft}} If \cs{shoveleft} started out with the words \enquote{plus} or \enquote{minus} it was misunderstood as part of a rubber length and @@ -849,7 +851,7 @@ is now prevented. \githubissue{714} -\subsection{\pkg{amsmath} and \pkg{amsopn}: Robustify user commands} +\subsection{\pkg{amsmath} and \pkg{amsopn}:\ Robustify user commands} Most user-level commands have been made robust in the \LaTeX{} kernel during the last years, but variant definitions in \pkg{amsmath} turned @@ -868,10 +870,11 @@ behavior. This also resolves a bug recently discovered in the \subsection{Color in formulas} While it is possible to color parts of a formula using \cs{color} -commands the approach is fairly cumbersome. For example, to color an +commands the approach is fairly cumbersome. For example, to color a summation sign, but not its limits, you need four \cs{color} commands and -some seemingly unnecessary set of braces to get coloring and spacing +some seemingly unnecessary sets of braces to get coloring and spacing right: +{\hfuzz=1pt \begin{verbatim} \[ X = \color{red} \sum % without {{ the superscript below is misplaced @@ -881,7 +884,8 @@ right: \color{black} % without it the x_i is red x_i \] \end{verbatim} -Leave out any of the \cs{color} commands or any of the \verb={{...}}= +}\noindent +Leaving out any of the \cs{color} commands or any of the \verb={{...}}= will give you a wrong result instead of the desired \[ X = \color{red} \sum _{{\color{black} i=1}} % without {{ the superscript is misplaced @@ -912,7 +916,7 @@ For details and further examples, see \file{mathcolor.pdf}. If a call to \cs{includegraphics} asked for a file (say, \file{image}) without extension, and if both \file{A/image.pdf} and \file{B/image.tex} existed (both \file{A/} and \file{B/} in \cs{graphicspath}, but neither -in a folder searched by kpse), then \file{A/image.pdf} would not be +in a folder searched by \TeX), then \file{A/image.pdf} would not be found, and a \enquote{file not found} error would be incorrectly thrown. The issue is now fixed and the graphics file is correctly found. % @@ -924,16 +928,16 @@ The issue is now fixed and the graphics file is correctly found. \section{Changes to packages in the \pkg{tools} category} -\subsection{\pkg{multicol}: Fix \cs{newcolumn}} +\subsection{\pkg{multicol}:\ Fix \cs{newcolumn}} The recently added \cs{newcolumn} didn't work properly if used in vertical mode, where it behaved like \cs{columnbreak}, i.e., spreading -the column material out instead running the column short. +the column material out instead of running the column short. % \sxissue{q/624940} -\subsection{\pkg{bm}: Fix for \pkg{amsmath} operators} +\subsection{\pkg{bm}:\ Fix for \pkg{amsmath} operators} An internal command used in the definition of operator commands such as \cs{sin} in \pkg{amsmath} has been guarded in \cs{bm} to prevent @@ -973,7 +977,7 @@ internal syntax errors due to premature expansion. \emph{\LaTeXe{} news 34}.\\ \url{https://latex-project.org/news/latex2e-news/ltnews34.pdf} -\bibitem{35:ltfilehook-doc} Frank Mittelbach, Phelype Oleinik, \LaTeX{} Project Team: +\bibitem{35:ltfilehook-doc} Frank Mittelbach, Phelype Oleinik, \LaTeX{}~Project~Team: \emph{The \texttt{\upshape ltfilehook} documentation}.\\ Run \texttt{texdoc} \texttt{ltfilehook-doc} to view. \end{thebibliography} diff --git a/macros/latex-dev/base/ltoutenc.dtx b/macros/latex-dev/base/ltoutenc.dtx index 8e4867417b..4dac4e1548 100644 --- a/macros/latex-dev/base/ltoutenc.dtx +++ b/macros/latex-dev/base/ltoutenc.dtx @@ -44,7 +44,7 @@ %<*driver> % \fi \ProvidesFile{ltoutenc.dtx} - [2021/12/12 v2.0y LaTeX Kernel (font encodings)] + [2022/05/27 v2.0z LaTeX Kernel (font encodings)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltoutenc.dtx} @@ -3764,7 +3764,10 @@ \@elt{\csname opt@fontenc.sty\endcsname}} % \end{macrocode} % +% \changes{v2.0z}{2022/05/27}{Save the version string (gh/825)} % \begin{macrocode} +\global\expandafter\let\csname ver@@fontenc.sty\expandafter\endcsname + \csname ver@fontenc.sty\endcsname \global\expandafter\let\csname ver@fontenc.sty\endcsname\relax \global\expandafter\let\csname opt@fontenc.sty\endcsname\relax \global\let\@ifl@ter@@\@ifl@ter diff --git a/macros/latex-dev/base/ltpara-code.pdf b/macros/latex-dev/base/ltpara-code.pdf Binary files differindex 5aebfaa401..fa5199e171 100644 --- a/macros/latex-dev/base/ltpara-code.pdf +++ b/macros/latex-dev/base/ltpara-code.pdf diff --git a/macros/latex-dev/base/ltpara-doc.pdf b/macros/latex-dev/base/ltpara-doc.pdf Binary files differindex 5b7cffad1a..d0e7ee73e8 100644 --- a/macros/latex-dev/base/ltpara-doc.pdf +++ b/macros/latex-dev/base/ltpara-doc.pdf diff --git a/macros/latex-dev/base/ltshipout-code.pdf b/macros/latex-dev/base/ltshipout-code.pdf Binary files differindex f28ce0c27e..a475b7424e 100644 --- a/macros/latex-dev/base/ltshipout-code.pdf +++ b/macros/latex-dev/base/ltshipout-code.pdf diff --git a/macros/latex-dev/base/ltshipout-doc.pdf b/macros/latex-dev/base/ltshipout-doc.pdf Binary files differindex f1daaed4d7..99c24eb7c0 100644 --- a/macros/latex-dev/base/ltshipout-doc.pdf +++ b/macros/latex-dev/base/ltshipout-doc.pdf diff --git a/macros/latex-dev/base/ltvers.dtx b/macros/latex-dev/base/ltvers.dtx index f4075ea2ab..cd228e62b4 100644 --- a/macros/latex-dev/base/ltvers.dtx +++ b/macros/latex-dev/base/ltvers.dtx @@ -115,7 +115,7 @@ {2022-06-01} %</2ekernel|latexrelease> %<*2ekernel> -\def\patch@level{-4} +\def\patch@level{-0} % \end{macrocode} % % \begin{macro}{\development@branch@name} diff --git a/macros/latex-dev/base/ltx3info.pdf b/macros/latex-dev/base/ltx3info.pdf Binary files differindex f0cb7883b5..07563692ff 100644 --- a/macros/latex-dev/base/ltx3info.pdf +++ b/macros/latex-dev/base/ltx3info.pdf diff --git a/macros/latex-dev/base/ltxdoc.dtx b/macros/latex-dev/base/ltxdoc.dtx index 10ddd44828..f68c45ee36 100644 --- a/macros/latex-dev/base/ltxdoc.dtx +++ b/macros/latex-dev/base/ltxdoc.dtx @@ -30,7 +30,7 @@ % %<class>\NeedsTeXFormat{LaTeX2e} %<class>\ProvidesClass{ltxdoc} -%<class> [2021/12/07 v2.1d Standard LaTeX documentation class] +%<class> [2022/06/14 v2.1g Standard LaTeX documentation class] % %<*driver> \documentclass{ltxdoc} @@ -51,6 +51,8 @@ % % \fi % +% \providecommand\pkg[1]{\texttt{#1}} +% % % \changes{v2.0i}{1994/04/29}{Update the documentation.} % \changes{v2.0s}{1998/08/17}{(RmS) Documentation fixes.} @@ -115,10 +117,13 @@ % \AtBeginDocument{\OnlyDescription} %\end{verbatim} % +% If your document relies on using the old \pkg{doc} version, you can +% request that the class loads \pkg{doc} version~2 by passing the +% option \texttt{doc2}. % % If the full source listing |sources2e.tex| is processed, then an index -% and change history are produced by default, however indices are not -% normally produced for individual files. +% and change history are produced by default, however indexes are normally +% not produced for individual files. % % As an example, consider |ltclass.dtx|, which contains the sources for % the new class and package interface commands. With no |cfg| @@ -175,6 +180,13 @@ \DeclareOption{nocfg}{\ltxdoc@load@cfg@false} % \end{macrocode} % +% Support rolling back \pkg{doc} to version 2: +% \changes{v2.1e}{2022/05/27}{Support rolling back doc to version 2} +% \begin{macrocode} +\let\ltxdoc@doc@version\@empty % use current version by default +\DeclareOption{doc2}{\def\ltxdoc@doc@version{=v2}} +% \end{macrocode} +% % \begin{macrocode} \DeclareOption*{% \PassOptionsToClass {\CurrentOption}{article}} @@ -209,8 +221,13 @@ \LoadClass{article} % \end{macrocode} % +% By default, loadthe current \pkg{doc} version +% (\cs{ltxdoc@doc@version} is empty). If option +% \texttt{doc2} is given version 2 is loaded +% (\cs{ltxdoc@doc@version} contains \texttt{=v2}). +% \changes{v2.1e}{2022/05/27}{Support rolling back doc to version 2} % \begin{macrocode} -\RequirePackage{doc} +\RequirePackage{doc}[\ltxdoc@doc@version] % \end{macrocode} % % Make \verb+|+ be a `short verb' character, but not in the document @@ -606,14 +623,33 @@ Bug reports can be opened (category \texttt{#1}) at\\% % \end{macrocode} % \end{macro} % -% \begin{macro}{\url} +% % \begin{macrocode} -\providecommand\url{\texttt} +\def\task#1#2{} +% \end{macrocode} +% +% +% \changes{v2.1f}{2022/06/03}{define \cs{pkg} and other commands} +% \changes{v2.1f}{2022/06/03}{allow \_ in macro names} +% Some feaures from l3doc.cls +% \changes{v2.1g}{2022/06/14}{define \cs{pkg} but delay until begin document} +% \begin{macrocode} +\DeclareRobustCommand\cs[1]{\texttt{\bslash\detokenize{#1}}}% +\AtBeginDocument{% + \renewcommand\PrintMacroName[1]{\MacroFont\detokenize{#1}}% +% \end{macrocode} +% We provide those delated in case somebody has loaded \texttt{csquotes} +% or makes some definitions in the preamble. +% \begin{macrocode} + \providecommand\LuaTeX{Lua\TeX} + \providecommand\cls{\textsf} + \providecommand\pkg{\textsf} + \providecommand\enquote[1]{``#1''} + \providecommand\url{\texttt} +} % \end{macrocode} -% \end{macro} % % \begin{macrocode} -\def\task#1#2{} %</class> % \end{macrocode} % @@ -634,7 +670,7 @@ Bug reports can be opened (category \texttt{#1}) at\\% % \ProvidesFile{ltxdoc.cfg}% - [2021/12/07 v2.0c ltxdoc.cls configuration (LaTeX Project)] + [2022/06/14 v2.0d ltxdoc.cls configuration (LaTeX Project)] \PassOptionsToClass{a4paper}{article} % hyperref and hypdoc are now loaded late (or by the user) so we have to wait diff --git a/macros/latex-dev/base/ltxdoc.pdf b/macros/latex-dev/base/ltxdoc.pdf Binary files differindex 4b3c78e8f1..6d1b06cc5b 100644 --- a/macros/latex-dev/base/ltxdoc.pdf +++ b/macros/latex-dev/base/ltxdoc.pdf diff --git a/macros/latex-dev/base/makeindx.pdf b/macros/latex-dev/base/makeindx.pdf Binary files differindex 7a04fa6783..da0fa7cab9 100644 --- a/macros/latex-dev/base/makeindx.pdf +++ b/macros/latex-dev/base/makeindx.pdf diff --git a/macros/latex-dev/base/modguide.pdf b/macros/latex-dev/base/modguide.pdf Binary files differindex 3e6161a4c3..e085c32c5e 100644 --- a/macros/latex-dev/base/modguide.pdf +++ b/macros/latex-dev/base/modguide.pdf diff --git a/macros/latex-dev/base/nfssfont.pdf b/macros/latex-dev/base/nfssfont.pdf Binary files differindex 9c74cc6472..e0c44536aa 100644 --- a/macros/latex-dev/base/nfssfont.pdf +++ b/macros/latex-dev/base/nfssfont.pdf diff --git a/macros/latex-dev/base/proc.pdf b/macros/latex-dev/base/proc.pdf Binary files differindex 72bd4c5865..93cd6b8c44 100644 --- a/macros/latex-dev/base/proc.pdf +++ b/macros/latex-dev/base/proc.pdf diff --git a/macros/latex-dev/base/slides.pdf b/macros/latex-dev/base/slides.pdf Binary files differindex d1e921e5cd..cbbbfe0132 100644 --- a/macros/latex-dev/base/slides.pdf +++ b/macros/latex-dev/base/slides.pdf diff --git a/macros/latex-dev/base/slifonts.pdf b/macros/latex-dev/base/slifonts.pdf Binary files differindex d5ea0aca29..609139b741 100644 --- a/macros/latex-dev/base/slifonts.pdf +++ b/macros/latex-dev/base/slifonts.pdf diff --git a/macros/latex-dev/base/source2e.pdf b/macros/latex-dev/base/source2e.pdf Binary files differindex e51b3db92d..0a4fe0f023 100644 --- a/macros/latex-dev/base/source2e.pdf +++ b/macros/latex-dev/base/source2e.pdf diff --git a/macros/latex-dev/base/syntonly.pdf b/macros/latex-dev/base/syntonly.pdf Binary files differindex 1cf31029c8..d880fd08ab 100644 --- a/macros/latex-dev/base/syntonly.pdf +++ b/macros/latex-dev/base/syntonly.pdf diff --git a/macros/latex-dev/base/tlc2.pdf b/macros/latex-dev/base/tlc2.pdf Binary files differindex 0faf4c0f54..12b609b372 100644 --- a/macros/latex-dev/base/tlc2.pdf +++ b/macros/latex-dev/base/tlc2.pdf diff --git a/macros/latex-dev/base/tulm.pdf b/macros/latex-dev/base/tulm.pdf Binary files differindex d5747c76c3..e7f39c7338 100644 --- a/macros/latex-dev/base/tulm.pdf +++ b/macros/latex-dev/base/tulm.pdf diff --git a/macros/latex-dev/base/usrguide.pdf b/macros/latex-dev/base/usrguide.pdf Binary files differindex c1296a0a8a..a2e85401fd 100644 --- a/macros/latex-dev/base/usrguide.pdf +++ b/macros/latex-dev/base/usrguide.pdf diff --git a/macros/latex-dev/base/usrguide3.pdf b/macros/latex-dev/base/usrguide3.pdf Binary files differindex 4a2033b353..5cb860dab4 100644 --- a/macros/latex-dev/base/usrguide3.pdf +++ b/macros/latex-dev/base/usrguide3.pdf diff --git a/macros/latex-dev/base/utf8ienc.dtx b/macros/latex-dev/base/utf8ienc.dtx index c6ec89872e..363998a853 100644 --- a/macros/latex-dev/base/utf8ienc.dtx +++ b/macros/latex-dev/base/utf8ienc.dtx @@ -216,7 +216,7 @@ %<+ts1> \ProvidesFile{ts1enc.dfu} %<+x2> \ProvidesFile{x2enc.dfu} %<+all> \ProvidesFile{utf8enc.dfu} -%<-utf8-2018> [2022/05/08 v1.3b UTF-8 support] +%<-utf8-2018> [2022/06/07 v1.3c UTF-8 support] % \end{macrocode} % % \begin{macrocode} @@ -1152,6 +1152,7 @@ % \changes{v1.1r}{2015/12/03}{Add some more ogonek cases} % \changes{v1.1s}{2016/01/11}{Add some more caron and acute} % \changes{v1.1t}{2017/01/28}{Add caron combinations for GgYy} +% \changes{v1.3c}{2022/06/07}{Fix \cs{guillemetleft} and \cs{guillemetright} also in dfu files (gh/65)}% % \begin{macrocode} %<all,t1,ot1,ly1>\DeclareUnicodeCharacter{00A0}{\nobreakspace} %<all,t1,ot1,ly1>\DeclareUnicodeCharacter{00A1}{\textexclamdown} @@ -1165,7 +1166,8 @@ %<all,ts1,utf8>\DeclareUnicodeCharacter{00A9}{\textcopyright} %<all,ts1,ly1,utf8>\DeclareUnicodeCharacter{00AA}{\textordfeminine} %<*all,x2,t2c,t2b,t2a,t1,ot2,ly1,lcy> -\DeclareUnicodeCharacter{00AB}{\guillemotleft} +%\DeclareUnicodeCharacter{00AB}{\guillemotleft} % wrong Adobe name +\DeclareUnicodeCharacter{00AB}{\guillemetleft} %</all,x2,t2c,t2b,t2a,t1,ot2,ly1,lcy> %<all,ts1>\DeclareUnicodeCharacter{00AC}{\textlnot} %<all,t1,ot1,ly1>\DeclareUnicodeCharacter{00AD}{\-} @@ -1183,7 +1185,8 @@ %<all,ts1>\DeclareUnicodeCharacter{00B9}{\textonesuperior} %<all,ts1,ly1,utf8>\DeclareUnicodeCharacter{00BA}{\textordmasculine} %<*all,x2,t2c,t2b,t2a,t1,ot2,ly1,lcy> -\DeclareUnicodeCharacter{00BB}{\guillemotright} +%\DeclareUnicodeCharacter{00BB}{\guillemotright} % wrong Adobe name +\DeclareUnicodeCharacter{00BB}{\guillemetright} %</all,x2,t2c,t2b,t2a,t1,ot2,ly1,lcy> %<all,ts1,ly1>\DeclareUnicodeCharacter{00BC}{\textonequarter} %<all,ts1,ly1>\DeclareUnicodeCharacter{00BD}{\textonehalf} diff --git a/macros/latex-dev/base/utf8ienc.pdf b/macros/latex-dev/base/utf8ienc.pdf Binary files differindex dbda75aaf2..a2bf91d2e5 100644 --- a/macros/latex-dev/base/utf8ienc.pdf +++ b/macros/latex-dev/base/utf8ienc.pdf diff --git a/macros/latex-dev/base/webcomp.pdf b/macros/latex-dev/base/webcomp.pdf Binary files differindex 3f6529458c..9d88470900 100644 --- a/macros/latex-dev/base/webcomp.pdf +++ b/macros/latex-dev/base/webcomp.pdf diff --git a/macros/latex-dev/required/amsmath/README.md b/macros/latex-dev/required/amsmath/README.md index 0dddec034d..5a644bab14 100644 --- a/macros/latex-dev/required/amsmath/README.md +++ b/macros/latex-dev/required/amsmath/README.md @@ -1,7 +1,7 @@ The amsmath bundle for LaTeX ============================ -Release 2022-06-01 pre-release 4 +Release 2022-11-01 pre-release 0 Overview -------- diff --git a/macros/latex-dev/required/amsmath/amsbsy.pdf b/macros/latex-dev/required/amsmath/amsbsy.pdf Binary files differindex 231925b13b..50e11c347b 100644 --- a/macros/latex-dev/required/amsmath/amsbsy.pdf +++ b/macros/latex-dev/required/amsmath/amsbsy.pdf diff --git a/macros/latex-dev/required/amsmath/amscd.pdf b/macros/latex-dev/required/amsmath/amscd.pdf Binary files differindex 1a0305353d..9417f9282e 100644 --- a/macros/latex-dev/required/amsmath/amscd.pdf +++ b/macros/latex-dev/required/amsmath/amscd.pdf diff --git a/macros/latex-dev/required/amsmath/amsgen.pdf b/macros/latex-dev/required/amsmath/amsgen.pdf Binary files differindex 1b86685a45..6d5c36c5f7 100644 --- a/macros/latex-dev/required/amsmath/amsgen.pdf +++ b/macros/latex-dev/required/amsmath/amsgen.pdf diff --git a/macros/latex-dev/required/amsmath/amsldoc.pdf b/macros/latex-dev/required/amsmath/amsldoc.pdf Binary files differindex 72a49e32ee..3db939e1e3 100644 --- a/macros/latex-dev/required/amsmath/amsldoc.pdf +++ b/macros/latex-dev/required/amsmath/amsldoc.pdf diff --git a/macros/latex-dev/required/amsmath/amsmath.pdf b/macros/latex-dev/required/amsmath/amsmath.pdf Binary files differindex 49aea5acf2..bb4d123df4 100644 --- a/macros/latex-dev/required/amsmath/amsmath.pdf +++ b/macros/latex-dev/required/amsmath/amsmath.pdf diff --git a/macros/latex-dev/required/amsmath/amsopn.pdf b/macros/latex-dev/required/amsmath/amsopn.pdf Binary files differindex 02c57ac29d..df9a5db17c 100644 --- a/macros/latex-dev/required/amsmath/amsopn.pdf +++ b/macros/latex-dev/required/amsmath/amsopn.pdf diff --git a/macros/latex-dev/required/amsmath/amstext.pdf b/macros/latex-dev/required/amsmath/amstext.pdf Binary files differindex 07e4bbf504..994546c360 100644 --- a/macros/latex-dev/required/amsmath/amstext.pdf +++ b/macros/latex-dev/required/amsmath/amstext.pdf diff --git a/macros/latex-dev/required/amsmath/amsxtra.pdf b/macros/latex-dev/required/amsmath/amsxtra.pdf Binary files differindex 9d9742ba96..216bd51ed0 100644 --- a/macros/latex-dev/required/amsmath/amsxtra.pdf +++ b/macros/latex-dev/required/amsmath/amsxtra.pdf diff --git a/macros/latex-dev/required/amsmath/changes.txt b/macros/latex-dev/required/amsmath/changes.txt index 388d658572..83d6c6e3a1 100644 --- a/macros/latex-dev/required/amsmath/changes.txt +++ b/macros/latex-dev/required/amsmath/changes.txt @@ -1,3 +1,11 @@ +================================================================================ +All changes above are only part of the development branch for the next release. +================================================================================ + +######################### +# 2022-06-01 Release +######################### + 2022-04-08 Frank Mittelbach <Frank.Mittelbach@latex-project.org> * amsmath.dtx: @@ -23,10 +31,6 @@ * All *.dtx: Replaced \StopEventually by \MaybeStop -================================================================================ -All changes above are only part of the development branch for the next release. -================================================================================ - ######################### # 2021-11-15 Release ######################### diff --git a/macros/latex-dev/required/amsmath/subeqn.pdf b/macros/latex-dev/required/amsmath/subeqn.pdf Binary files differindex bfc8dc8cf1..1b34fc0f9f 100644 --- a/macros/latex-dev/required/amsmath/subeqn.pdf +++ b/macros/latex-dev/required/amsmath/subeqn.pdf diff --git a/macros/latex-dev/required/amsmath/technote.pdf b/macros/latex-dev/required/amsmath/technote.pdf Binary files differindex 801a18437d..8bfa7864b8 100644 --- a/macros/latex-dev/required/amsmath/technote.pdf +++ b/macros/latex-dev/required/amsmath/technote.pdf diff --git a/macros/latex-dev/required/amsmath/testmath.pdf b/macros/latex-dev/required/amsmath/testmath.pdf Binary files differindex 72ca2233a0..a62480992d 100644 --- a/macros/latex-dev/required/amsmath/testmath.pdf +++ b/macros/latex-dev/required/amsmath/testmath.pdf diff --git a/macros/latex-dev/required/graphics/README.md b/macros/latex-dev/required/graphics/README.md index 87b37ba52a..c30c8d390b 100644 --- a/macros/latex-dev/required/graphics/README.md +++ b/macros/latex-dev/required/graphics/README.md @@ -1,7 +1,7 @@ The LaTeX `graphics` bundle =========================== -Release 2022-06-01 pre-release 4 +Release 2022-11-01 pre-release 0 Overview -------- diff --git a/macros/latex-dev/required/graphics/changes.txt b/macros/latex-dev/required/graphics/changes.txt index 2a542dca1b..616f56230f 100644 --- a/macros/latex-dev/required/graphics/changes.txt +++ b/macros/latex-dev/required/graphics/changes.txt @@ -4,6 +4,14 @@ completeness or accuracy and it contains some references to files that are not part of the distribution. ======================================================================= +================================================================================ +All changes above are only part of the development branch for the next release. +================================================================================ + +######################### +# 2022-06-01 Release +######################### + 2022-03-10 Phelype Oleinik <phelype.oleinik@latex-project.org> * graphics.dtx: @@ -16,9 +24,13 @@ are not part of the distribution. Support \mathcolor to correctly color parts of formulas without spacing problems. This command is *only* supported in math mode. -================================================================================ -All changes above are only part of the development branch for the next release. -================================================================================ +2021-12-07 Ulrike Fischer <Ulrike.Fischer@latex-project.org> + + * color.dtx: Remove stray spaces after change for xcolor/gh/10} + +######################### +# 2021-12-14 Release +######################### 2021-12-07 Ulrike Fischer <Ulrike.Fischer@latex-project.org> diff --git a/macros/latex-dev/required/graphics/color.pdf b/macros/latex-dev/required/graphics/color.pdf Binary files differindex 54e74b4c83..de87111c77 100644 --- a/macros/latex-dev/required/graphics/color.pdf +++ b/macros/latex-dev/required/graphics/color.pdf diff --git a/macros/latex-dev/required/graphics/drivers.pdf b/macros/latex-dev/required/graphics/drivers.pdf Binary files differindex 0da38d5353..1c82349c40 100644 --- a/macros/latex-dev/required/graphics/drivers.pdf +++ b/macros/latex-dev/required/graphics/drivers.pdf diff --git a/macros/latex-dev/required/graphics/epsfig.pdf b/macros/latex-dev/required/graphics/epsfig.pdf Binary files differindex b7566a0cfd..d650f59d51 100644 --- a/macros/latex-dev/required/graphics/epsfig.pdf +++ b/macros/latex-dev/required/graphics/epsfig.pdf diff --git a/macros/latex-dev/required/graphics/graphics.pdf b/macros/latex-dev/required/graphics/graphics.pdf Binary files differindex 588da08f43..612c27318a 100644 --- a/macros/latex-dev/required/graphics/graphics.pdf +++ b/macros/latex-dev/required/graphics/graphics.pdf diff --git a/macros/latex-dev/required/graphics/graphicx.pdf b/macros/latex-dev/required/graphics/graphicx.pdf Binary files differindex ed275b948b..87e42ec86c 100644 --- a/macros/latex-dev/required/graphics/graphicx.pdf +++ b/macros/latex-dev/required/graphics/graphicx.pdf diff --git a/macros/latex-dev/required/graphics/grfguide.pdf b/macros/latex-dev/required/graphics/grfguide.pdf Binary files differindex e1d0938213..f487177b50 100644 --- a/macros/latex-dev/required/graphics/grfguide.pdf +++ b/macros/latex-dev/required/graphics/grfguide.pdf diff --git a/macros/latex-dev/required/graphics/keyval.dtx b/macros/latex-dev/required/graphics/keyval.dtx index 233d973201..9fce6267e0 100644 --- a/macros/latex-dev/required/graphics/keyval.dtx +++ b/macros/latex-dev/required/graphics/keyval.dtx @@ -20,7 +20,7 @@ %<driver> \ProvidesFile{keyval.drv} % \fi % \ProvidesFile{keyval.dtx} - [2014/10/28 v1.15 key=value parser (DPC)] + [2022/05/29 v1.15 key=value parser (DPC)] % % \iffalse %</!plain> @@ -177,7 +177,7 @@ % \section{The Internal Interface} % A declaration of the form:\\ % |\define@key{family}{key}{...}|\\ -% Defines a macro |\KV@prefix@key| with one argument. When used in a +% Defines a macro |\KV@family@key| with one argument. When used in a % keyval list, the macro receives the value as its argument. % % A declaration of the form:\\ diff --git a/macros/latex-dev/required/graphics/keyval.pdf b/macros/latex-dev/required/graphics/keyval.pdf Binary files differindex b000287672..5628e90294 100644 --- a/macros/latex-dev/required/graphics/keyval.pdf +++ b/macros/latex-dev/required/graphics/keyval.pdf diff --git a/macros/latex-dev/required/graphics/lscape.pdf b/macros/latex-dev/required/graphics/lscape.pdf Binary files differindex 77b72c1140..f65e366770 100644 --- a/macros/latex-dev/required/graphics/lscape.pdf +++ b/macros/latex-dev/required/graphics/lscape.pdf diff --git a/macros/latex-dev/required/graphics/mathcolor.pdf b/macros/latex-dev/required/graphics/mathcolor.pdf Binary files differindex b7dd7b4f50..64d2f93334 100644 --- a/macros/latex-dev/required/graphics/mathcolor.pdf +++ b/macros/latex-dev/required/graphics/mathcolor.pdf diff --git a/macros/latex-dev/required/graphics/rotating.pdf b/macros/latex-dev/required/graphics/rotating.pdf Binary files differindex f906fd65f1..aad5f49c95 100644 --- a/macros/latex-dev/required/graphics/rotating.pdf +++ b/macros/latex-dev/required/graphics/rotating.pdf diff --git a/macros/latex-dev/required/graphics/rotex.pdf b/macros/latex-dev/required/graphics/rotex.pdf Binary files differindex d48a18bf6f..4dce5855b6 100644 --- a/macros/latex-dev/required/graphics/rotex.pdf +++ b/macros/latex-dev/required/graphics/rotex.pdf diff --git a/macros/latex-dev/required/graphics/trig.pdf b/macros/latex-dev/required/graphics/trig.pdf Binary files differindex 79480e2d93..8a079345fc 100644 --- a/macros/latex-dev/required/graphics/trig.pdf +++ b/macros/latex-dev/required/graphics/trig.pdf diff --git a/macros/latex-dev/required/tools/README.md b/macros/latex-dev/required/tools/README.md index 0f6be397a2..3bf98ed1d4 100644 --- a/macros/latex-dev/required/tools/README.md +++ b/macros/latex-dev/required/tools/README.md @@ -1,7 +1,7 @@ The LaTeX `tools` bundle ======================== -Release 2022-06-01 pre-release 4 +Release 2022-11-01 pre-release 0 Overview -------- diff --git a/macros/latex-dev/required/tools/afterpage.pdf b/macros/latex-dev/required/tools/afterpage.pdf Binary files differindex 46ac616872..3901fce58e 100644 --- a/macros/latex-dev/required/tools/afterpage.pdf +++ b/macros/latex-dev/required/tools/afterpage.pdf diff --git a/macros/latex-dev/required/tools/array.pdf b/macros/latex-dev/required/tools/array.pdf Binary files differindex 92ea1e496e..2842a19709 100644 --- a/macros/latex-dev/required/tools/array.pdf +++ b/macros/latex-dev/required/tools/array.pdf diff --git a/macros/latex-dev/required/tools/bm.pdf b/macros/latex-dev/required/tools/bm.pdf Binary files differindex a1ffd6171c..d9d2f4f2f7 100644 --- a/macros/latex-dev/required/tools/bm.pdf +++ b/macros/latex-dev/required/tools/bm.pdf diff --git a/macros/latex-dev/required/tools/calc.pdf b/macros/latex-dev/required/tools/calc.pdf Binary files differindex 8f121cd064..f7dd22f22f 100644 --- a/macros/latex-dev/required/tools/calc.pdf +++ b/macros/latex-dev/required/tools/calc.pdf diff --git a/macros/latex-dev/required/tools/changes.txt b/macros/latex-dev/required/tools/changes.txt index 51e0858aeb..689d3f4369 100644 --- a/macros/latex-dev/required/tools/changes.txt +++ b/macros/latex-dev/required/tools/changes.txt @@ -5,6 +5,14 @@ completeness or accuracy and it contains some references to files that are not part of the distribution. ======================================================================= +================================================================================ +All changes above are only part of the development branch for the next release. +================================================================================ + +######################### +# 2022-06-01 Release +######################### + 2022-04-12 Ulrike Fischer <Ulrike.Fischer@latex-project.org> * showkeys.dtx: Adapt to starred references, update varioref support. @@ -27,11 +35,6 @@ are not part of the distribution. * All *.dtx: Replaced \StopEventually by \MaybeStop - -================================================================================ -All changes above are only part of the development branch for the next release. -================================================================================ - ######################### # 2021-11-15 Release ######################### @@ -110,7 +113,7 @@ All changes above are only part of the development branch for the next release. 2021-03-28 David Carlisle <David.Carlisle@latex-project.org> * longtable.dtx: \reset@font in captions gh/133 - + * longtable.dtx: Allow paragraphs in footnotes gh/364 2021-03-10 Johannes Braams <Johannes.Braams@latex-project.org> @@ -1926,4 +1929,3 @@ Wed Jul 10 11:15:30 1996 David Carlisle <carlisle@cs.man.ac.uk> Changed driver code slightly. Moved the driver code in front so that the documentation can be processed by simply running the file through LaTeX2e. - diff --git a/macros/latex-dev/required/tools/dcolumn.pdf b/macros/latex-dev/required/tools/dcolumn.pdf Binary files differindex 864f050d31..980518b159 100644 --- a/macros/latex-dev/required/tools/dcolumn.pdf +++ b/macros/latex-dev/required/tools/dcolumn.pdf diff --git a/macros/latex-dev/required/tools/delarray.pdf b/macros/latex-dev/required/tools/delarray.pdf Binary files differindex b3f277fe16..2544787008 100644 --- a/macros/latex-dev/required/tools/delarray.pdf +++ b/macros/latex-dev/required/tools/delarray.pdf diff --git a/macros/latex-dev/required/tools/enumerate.pdf b/macros/latex-dev/required/tools/enumerate.pdf Binary files differindex f79d7c950f..9422805402 100644 --- a/macros/latex-dev/required/tools/enumerate.pdf +++ b/macros/latex-dev/required/tools/enumerate.pdf diff --git a/macros/latex-dev/required/tools/fileerr.pdf b/macros/latex-dev/required/tools/fileerr.pdf Binary files differindex 859f1b0a3b..4a24e93360 100644 --- a/macros/latex-dev/required/tools/fileerr.pdf +++ b/macros/latex-dev/required/tools/fileerr.pdf diff --git a/macros/latex-dev/required/tools/fontsmpl.pdf b/macros/latex-dev/required/tools/fontsmpl.pdf Binary files differindex 05af2c2bb3..1f77f5e389 100644 --- a/macros/latex-dev/required/tools/fontsmpl.pdf +++ b/macros/latex-dev/required/tools/fontsmpl.pdf diff --git a/macros/latex-dev/required/tools/ftnright.pdf b/macros/latex-dev/required/tools/ftnright.pdf Binary files differindex 080cf87812..534ad0fc0b 100644 --- a/macros/latex-dev/required/tools/ftnright.pdf +++ b/macros/latex-dev/required/tools/ftnright.pdf diff --git a/macros/latex-dev/required/tools/hhline.pdf b/macros/latex-dev/required/tools/hhline.pdf Binary files differindex db2d46c3ad..6ca9d7dde2 100644 --- a/macros/latex-dev/required/tools/hhline.pdf +++ b/macros/latex-dev/required/tools/hhline.pdf diff --git a/macros/latex-dev/required/tools/indentfirst.pdf b/macros/latex-dev/required/tools/indentfirst.pdf Binary files differindex cc56f0b0b8..342791bb45 100644 --- a/macros/latex-dev/required/tools/indentfirst.pdf +++ b/macros/latex-dev/required/tools/indentfirst.pdf diff --git a/macros/latex-dev/required/tools/layout.pdf b/macros/latex-dev/required/tools/layout.pdf Binary files differindex 1086a3afca..382b70657e 100644 --- a/macros/latex-dev/required/tools/layout.pdf +++ b/macros/latex-dev/required/tools/layout.pdf diff --git a/macros/latex-dev/required/tools/longtable.pdf b/macros/latex-dev/required/tools/longtable.pdf Binary files differindex 3d7911a5c1..fd00a99a92 100644 --- a/macros/latex-dev/required/tools/longtable.pdf +++ b/macros/latex-dev/required/tools/longtable.pdf diff --git a/macros/latex-dev/required/tools/multicol.pdf b/macros/latex-dev/required/tools/multicol.pdf Binary files differindex 257aa6b678..2b75b23e13 100644 --- a/macros/latex-dev/required/tools/multicol.pdf +++ b/macros/latex-dev/required/tools/multicol.pdf diff --git a/macros/latex-dev/required/tools/rawfonts.pdf b/macros/latex-dev/required/tools/rawfonts.pdf Binary files differindex c16565aef7..69e1babd67 100644 --- a/macros/latex-dev/required/tools/rawfonts.pdf +++ b/macros/latex-dev/required/tools/rawfonts.pdf diff --git a/macros/latex-dev/required/tools/shellesc.pdf b/macros/latex-dev/required/tools/shellesc.pdf Binary files differindex db90b7d5aa..e1626250d2 100644 --- a/macros/latex-dev/required/tools/shellesc.pdf +++ b/macros/latex-dev/required/tools/shellesc.pdf diff --git a/macros/latex-dev/required/tools/showkeys.pdf b/macros/latex-dev/required/tools/showkeys.pdf Binary files differindex 824c58478a..422f3406f4 100644 --- a/macros/latex-dev/required/tools/showkeys.pdf +++ b/macros/latex-dev/required/tools/showkeys.pdf diff --git a/macros/latex-dev/required/tools/somedefs.pdf b/macros/latex-dev/required/tools/somedefs.pdf Binary files differindex 5b535f0346..90e9b07cb1 100644 --- a/macros/latex-dev/required/tools/somedefs.pdf +++ b/macros/latex-dev/required/tools/somedefs.pdf diff --git a/macros/latex-dev/required/tools/tabularx.pdf b/macros/latex-dev/required/tools/tabularx.pdf Binary files differindex 773fc85fff..5f79443a28 100644 --- a/macros/latex-dev/required/tools/tabularx.pdf +++ b/macros/latex-dev/required/tools/tabularx.pdf diff --git a/macros/latex-dev/required/tools/theorem.pdf b/macros/latex-dev/required/tools/theorem.pdf Binary files differindex 5bc34f8f33..19184017f9 100644 --- a/macros/latex-dev/required/tools/theorem.pdf +++ b/macros/latex-dev/required/tools/theorem.pdf diff --git a/macros/latex-dev/required/tools/tools-overview.pdf b/macros/latex-dev/required/tools/tools-overview.pdf Binary files differindex 3d6ef83028..0a0a4a6548 100644 --- a/macros/latex-dev/required/tools/tools-overview.pdf +++ b/macros/latex-dev/required/tools/tools-overview.pdf diff --git a/macros/latex-dev/required/tools/trace.pdf b/macros/latex-dev/required/tools/trace.pdf Binary files differindex 8b1dd48292..4d44c10cbb 100644 --- a/macros/latex-dev/required/tools/trace.pdf +++ b/macros/latex-dev/required/tools/trace.pdf diff --git a/macros/latex-dev/required/tools/varioref.pdf b/macros/latex-dev/required/tools/varioref.pdf Binary files differindex 6d56738350..d7f14f23f7 100644 --- a/macros/latex-dev/required/tools/varioref.pdf +++ b/macros/latex-dev/required/tools/varioref.pdf diff --git a/macros/latex-dev/required/tools/verbatim.pdf b/macros/latex-dev/required/tools/verbatim.pdf Binary files differindex d5b09faa98..365cb51f03 100644 --- a/macros/latex-dev/required/tools/verbatim.pdf +++ b/macros/latex-dev/required/tools/verbatim.pdf diff --git a/macros/latex-dev/required/tools/xr.pdf b/macros/latex-dev/required/tools/xr.pdf Binary files differindex 27b741303f..73937ae13c 100644 --- a/macros/latex-dev/required/tools/xr.pdf +++ b/macros/latex-dev/required/tools/xr.pdf diff --git a/macros/latex-dev/required/tools/xspace.pdf b/macros/latex-dev/required/tools/xspace.pdf Binary files differindex 623bcf3573..6d2d8f474b 100644 --- a/macros/latex-dev/required/tools/xspace.pdf +++ b/macros/latex-dev/required/tools/xspace.pdf diff --git a/macros/latex/contrib/eqexpl/eqexpl.pdf b/macros/latex/contrib/eqexpl/eqexpl.pdf Binary files differindex 33184744bb..e34dcf109a 100644 --- a/macros/latex/contrib/eqexpl/eqexpl.pdf +++ b/macros/latex/contrib/eqexpl/eqexpl.pdf diff --git a/macros/latex/contrib/eqexpl/eqexpl.sty b/macros/latex/contrib/eqexpl/eqexpl.sty index dfdd46779c..b8e46c4580 100644 --- a/macros/latex/contrib/eqexpl/eqexpl.sty +++ b/macros/latex/contrib/eqexpl/eqexpl.sty @@ -1,7 +1,7 @@ %% The package is licenced under Creative Commons Attribution-ShareAlike %% 4.0 International (CC BY-SA 4.0) -\ProvidesPackage{eqexpl}[2019/05/15 v. 1.1] +\ProvidesPackage{eqexpl}[2022/06/17 v. 1.1.1] \RequirePackage{etoolbox} \RequirePackage{xparse} \RequirePackage{calc} diff --git a/macros/latex/contrib/eqexpl/eqexpl.tex b/macros/latex/contrib/eqexpl/eqexpl.tex index ece2fab947..3d5ed1ade4 100644 --- a/macros/latex/contrib/eqexpl/eqexpl.tex +++ b/macros/latex/contrib/eqexpl/eqexpl.tex @@ -6,7 +6,7 @@ \begin{document} -\title{eqexpl v. 1.1} +\title{eqexpl v. 1.1.1} \author{Konstantin Morenko} \maketitle @@ -14,17 +14,17 @@ The package is licenced under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) -The package use \href{https://semver.org/}{semantic versioning}. +The package uses \href{https://semver.org/}{semantic versioning}. \section{The aim of the package} The package was developed as an answer to the question \href{https://tex.stackexchange.com/q/95838/119485}{on tex.stackexchange.com} -Package was developed to give the tool to make <<perfect>> explanation -for formulas, not just the enumeration. +The package was developed in order to give the tool to make the <<perfect>> explanation +for equations, not just the enumeration. -This package allows to describe formula's variables in unified through -the document manner. +This package allows to describe equation's variables in unified manner through +the document. \section{Similar packages} @@ -34,7 +34,7 @@ Nomencl: \href{http://ctan.org/pkg/nomencl}{http://ctan.org/pkg/nomencl} Konstantin Morenko \href{mailto:me@konstantin-morenko.ru}{me@konstantin-morenko.ru} -The package currently hosted on GitHub: +The package is currently hosted on GitHub: \href{https://github.com/konstantin-morenko/latex-equation-explanation}{https://github.com/konstantin-morenko/latex-equation-explanation} \section{Architecture} @@ -45,19 +45,19 @@ The list consist of few lengths: \item width of spaces between elements (default is 2mm); \item width of item block (default is 5mm); \item width of separator (default is '---'); -\item the rest of the width of a text (used to align left side of the +\item the rest of the width of the text block (used to align left side of the explanation text). \end{itemize} \section{Usage} -First, include package into preamble with +First, include the package into preamble with \begin{verbatim} \usepackage{eqexpl} \end{verbatim} -Then write a formula and describe the parameters +Then write an equation and describe the variables \begin{equation} E = m c^2 @@ -97,7 +97,7 @@ This list is used for next examples: \testList \end{eqexpl} -\subsection{Setting eqexplSetSpace} +\subsection{eqexplSetSpace} \noindent Set \verb+\eqexplSetSpace{0mm}+ @@ -126,7 +126,7 @@ This list is used for next examples: \eqexplSetSpace{} -\subsection{Setting eqexplSetIntro} +\subsection{eqexplSetIntro} \noindent Set \verb+\eqexplSetIntro{where}+ @@ -146,7 +146,7 @@ This list is used for next examples: \eqexplSetIntro{} -\subsection{Setting eqexplSetDelim} +\subsection{eqexplSetDelim} \noindent Set \verb+\eqexplSetDelim{---}+ (default) @@ -175,7 +175,7 @@ This list is used for next examples: \eqexplSetDelim{---} -\subsection{Setting eqexplSetItemWidth} +\subsection{eqexplSetItemWidth} \noindent Set \verb+\eqexplSetItemWidth{5mm}+ (default) @@ -195,10 +195,10 @@ This list is used for next examples: \eqexplSetItemWidth{5mm} -\subsection{Setting item width for 'begin-end' block} +\subsection{Item width for 'begin-end' block} When we have a long variable name (for example \verb+very-very-long+), -it could lead us to overhelming the variable name as in example below +it could lead us to overhelming the variable name as in the example below \begin{eqexpl} \item{$long$} just variable @@ -206,7 +206,7 @@ it could lead us to overhelming the variable name as in example below \item{$very-very-long$} just variable \end{eqexpl} -User could set a parameter to environment to use custom item width for +User can set a parameter to the specific environment to use custom item width for current block in opposition to setting it before block to new value and unsetting it to default after the end of the block. For this purpose use \verb+\begin{eqexpl}[width]+. @@ -249,7 +249,7 @@ purpose use \verb+\begin{eqexpl}[width]+. \item{$very-very-long$} just variable \end{eqexpl} -\subsection{Setting eqexplItemAlign} +\subsection{eqexplItemAlign} \noindent Set \verb+\eqexplSetItemAlign{r}+ (default) @@ -278,7 +278,7 @@ purpose use \verb+\begin{eqexpl}[width]+. \eqexplSetItemAlign{r} -\subsection{Setting custom delimiter for individual items} +\subsection{Custom delimiter for individual items} \noindent Setting \verb+\item{U}[=]...+ and \verb+\item[$\to$]{Rs}...+. diff --git a/macros/latex/contrib/europecv/CHANGELOG.rst b/macros/latex/contrib/europecv/CHANGELOG.rst index 7bc2cc0e7a..395885e596 100644 --- a/macros/latex/contrib/europecv/CHANGELOG.rst +++ b/macros/latex/contrib/europecv/CHANGELOG.rst @@ -2,6 +2,11 @@ Changelog for package europecv ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +2022.06.17 +---------- +* Fixed issue related to the `ucs` and `inputenc` (with utf8x option) package (#29) +* Contributors: David Carlisle, Ulrike Fischer, Giuseppe Silano + 2022.03.13 ---------- * Fixed "europass.pdf not found" error on XeLaTeX diff --git a/macros/latex/contrib/europecv/README.md b/macros/latex/contrib/europecv/README.md index 4ef11c39a1..a1ffc1d1c4 100644 --- a/macros/latex/contrib/europecv/README.md +++ b/macros/latex/contrib/europecv/README.md @@ -1,4 +1,4 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-25-orange.svg?style=flat-square)](#contributors) +[![All Contributors](https://img.shields.io/badge/all_contributors-26-orange.svg?style=flat-square)](#contributors) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![first-timers-only](https://img.shields.io/badge/first--timers--only-friendly-blue.svg?style=flat-square)](https://www.firsttimersonly.com/) [![License](https://svgshare.com/i/KPL.svg)](https://spdx.org/licenses/LPPL-1.3c.html) diff --git a/macros/latex/contrib/europecv/europecv.cls b/macros/latex/contrib/europecv/europecv.cls index bfd9dea065..0b84e54ff3 100644 --- a/macros/latex/contrib/europecv/europecv.cls +++ b/macros/latex/contrib/europecv/europecv.cls @@ -7,7 +7,7 @@ % See https://ctan.mirror.garr.it/mirrors/CTAN/help/Catalogue/licenses.lppl.html % for the details of that license \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{europecv}[13/03/2022 (Unicode TeX detection) European curriculum vitae class] +\ProvidesClass{europecv}[17/06/2022 (Unicode TeX detection) European curriculum vitae class] % CV models and instructions: % http://europass.cedefop.eu.int/htm/index.htm @@ -418,8 +418,7 @@ %% start of addition (with permission) by David Carlisle \ifx\Umathchar\@undefined %% encoding support for pdftex and classic TeX -\RequirePackage{ucs} -\RequirePackage[utf8x]{inputenc} +\renewcommand\ecv@utf[1]{{#1}} \else %% do not use ucs/inputenc for lualatex or xelatex %% use UTF-8 input and load a suitable unicode font with fontspec diff --git a/macros/latex/contrib/europecv/europecv.pdf b/macros/latex/contrib/europecv/europecv.pdf Binary files differindex ca999e02a5..085f1843f0 100644 --- a/macros/latex/contrib/europecv/europecv.pdf +++ b/macros/latex/contrib/europecv/europecv.pdf diff --git a/macros/latex/contrib/europecv/europecv.tex b/macros/latex/contrib/europecv/europecv.tex index 357ef66bb9..2571148748 100644 --- a/macros/latex/contrib/europecv/europecv.tex +++ b/macros/latex/contrib/europecv/europecv.tex @@ -52,7 +52,7 @@ Faculty of Electrical Engineering\\ Czech Technical University in Prague, Czech Republic\\ } -\date{March 13, 2022} +\date{June 17, 2022} \begin{document} @@ -156,8 +156,7 @@ The following options can be used with the \texttt{\textbackslash documentclass} \ecvitem{\texttt{utf8}}{Chooses UTF-8 input encoding. This is the default.} \ecvitem[15pt]{Other options}{The other available input encodings are: \texttt{ansinew}, \texttt{applemac}, \texttt{ascii}, \texttt{cp850}, \texttt{cp852}, \texttt{cp858}, \texttt{cp437}, \texttt{cp437de}, \texttt{cp865}, \texttt{cp866}, \texttt{cp1250}, \texttt{cp1251}, \texttt{cp1252}, \texttt{cp1257}, \texttt{decmulti}, \texttt{koi8-r}, \texttt{koi8-ru}, \texttt{koi8-u}, \texttt{latin1}, \texttt{latin2}, \texttt{latin3}, \texttt{latin4}, \texttt{latin5}, \texttt{latin9}, \texttt{latin10}, \texttt{maccyr}, \texttt{macukr}, \texttt{next}.} \ecvitem{Notes}{Any of the above options causes the \textsf{inputenc} package to be loaded with - the specified encoding\footnote{\texttt{utf8}, loads \textsf{inputenc} with the - option~\texttt{utf8x}.} so that you do not have to load that package in your document.} + the specified encoding so that you do not have to load that package in your document.} \section{Font options} \ecvitem{\texttt{helvetica}}{Uses Helvetica as the default font.} @@ -926,7 +925,8 @@ Tsolomitis} for his suggestions into the 2020.01.06 package release. Thanks to \ Davide Peressoni} for the biber support (2020.10.26 package release). Thanks to \textbf{Nuno Fachada} for his help with the Portuguese translation (2021.02.05 package release). Thanks to \textbf{Pancho Horrillo} for his fix ($\#25$, 2021.05.09 package release). Thanks to -\textbf{Alecu Ștefan-Iulian} for his fix ($\#26$ and $\#27$, 2022.03.13 package release). +\textbf{Alecu Ștefan-Iulian} for his fix ($\#26$ and $\#27$, 2022.03.13 package release). Thanks to +\textbf{Scott Kostyshak} for his fix ($\#29$ and $\#30$, 2022.06.17 package release). %%% END SECTION ============================================================ diff --git a/macros/latex/contrib/europecv/examples/europass-cv.pdf b/macros/latex/contrib/europecv/examples/europass-cv.pdf Binary files differindex 9e135c726e..fe9fc9a8d3 100644 --- a/macros/latex/contrib/europecv/examples/europass-cv.pdf +++ b/macros/latex/contrib/europecv/examples/europass-cv.pdf diff --git a/macros/latex/contrib/europecv/examples/greek-utf8.pdf b/macros/latex/contrib/europecv/examples/greek-utf8.pdf Binary files differindex 0945e941a4..cb78f22b8b 100644 --- a/macros/latex/contrib/europecv/examples/greek-utf8.pdf +++ b/macros/latex/contrib/europecv/examples/greek-utf8.pdf diff --git a/macros/latex/contrib/europecv/templates/cv_template_academic_en.pdf b/macros/latex/contrib/europecv/templates/cv_template_academic_en.pdf Binary files differindex de2fbf9a77..2e4ec32408 100644 --- a/macros/latex/contrib/europecv/templates/cv_template_academic_en.pdf +++ b/macros/latex/contrib/europecv/templates/cv_template_academic_en.pdf diff --git a/macros/latex/contrib/europecv/templates/cv_template_en.pdf b/macros/latex/contrib/europecv/templates/cv_template_en.pdf Binary files differindex 6ad3ff49f5..2902c5d1b0 100644 --- a/macros/latex/contrib/europecv/templates/cv_template_en.pdf +++ b/macros/latex/contrib/europecv/templates/cv_template_en.pdf |