diff options
author | Norbert Preining <norbert@preining.info> | 2021-08-05 03:02:12 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-08-05 03:02:12 +0000 |
commit | b7e54219e4294fa527035f0bd2819ca11c3c6964 (patch) | |
tree | 6809ec5fe48f0c77fd85957a212fb223c3c3ab10 /macros | |
parent | da02fd6ad1c5fb45c5ec641bf236d8de4745709f (diff) |
CTAN sync 202108050302
Diffstat (limited to 'macros')
67 files changed, 624 insertions, 381 deletions
diff --git a/macros/latex/contrib/fontsize/fontsize.dtx b/macros/latex/contrib/fontsize/fontsize.dtx index 53dab90cc0..18f4b6d768 100644 --- a/macros/latex/contrib/fontsize/fontsize.dtx +++ b/macros/latex/contrib/fontsize/fontsize.dtx @@ -56,7 +56,7 @@ This work has the LPPL maintenance status "author-maintained". %<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] %<package>\ProvidesPackage{fontsize} %<*package> - [2021/05/21 v0.8.4 'fontsize' package. Set main font sizes (Ivan Valbusa)] + [2021/08/04 v0.8.5 'fontsize' package. Set main font sizes (Ivan Valbusa)] %</package> %<*driver> \documentclass[12pt]{ltxdoc} @@ -190,7 +190,6 @@ This work has the LPPL maintenance status "author-maintained". detect-all = true, round-mode = places, round-precision = 2, - round-integer-to-decimal ]{\getsize[2]{#1}}{}% }% \tabfontsize% @@ -287,6 +286,7 @@ This work has the LPPL maintenance status "author-maintained". % Right brace \} Tilde \~} % % +% \changes{v0.8.5}{2021/08/04}{Updated documentation.} % \changes{v0.8.4}{2021/05/21}{Maintenance release.} % \changes{v0.8.3}{2021/04/18}{Corrected a bug in the \cmd{parindent} option. % Updated documentation.} @@ -351,7 +351,7 @@ This work has the LPPL maintenance status "author-maintained". % on the basis of Sebastian Kosch's Crimson. % The \texttt{typewriter} font is Inconsolata, % designed by Raph Levien and the \textsf{sans serif} text -% is typeset in Linux Biolinum, created by Philipp H.~Pol. +% is typeset in Linux Biolinum, created by Philipp H.~Poll. %\end{minipage} % % \vfill @@ -612,12 +612,12 @@ This work has the LPPL maintenance status "author-maintained". % \tcmd{LARGErrr} & \LARGErrr \fshw \\ % \cmd{huge} & \huge \fshw \\ % \tcmd{huger} & \huger \fshw \\ -% \tcmd{huger} & \hugerr \fshw \\ -% \tcmd{huger} & \hugerrr \fshw \\ +% \tcmd{hugerr} & \hugerr \fshw \\ +% \tcmd{hugerrr} & \hugerrr \fshw \\ % \cmd{Huge} & \Huge \fshw \\ % \tcmd{Huger} & \Huger \fshw \\ % \tcmd{Hugerr} & \Hugerr \fshw \\ -% \tcmd{Hugerr} & \Hugerrr \fshw \\ +% \tcmd{Hugerrr} & \Hugerrr \fshw \\ % \cmd{HUGE} & \HUGE \fshw \\ % \tcmd{HUGEr} & \HUGEr \fshw \\ % \tcmd{HUGErr} & \HUGErr \fshw \\ @@ -749,11 +749,11 @@ This work has the LPPL maintenance status "author-maintained". % command (see section \ref{sec:commands}): %\begin{verbatim} % \printsamples{12.6pt}{10.6pt}[normalsize,normalsizer,normalsizerr, -% normalsizerrr,large,larger,largerr,largerr] +% normalsizerrr,large,larger,largerr,largerrr] %\end{verbatim} % \printsamples{12.6pt}{10.6pt}[% % normalsize,normalsizer,normalsizerr, -% normalsizerrr,large,larger,largerr,largerr] +% normalsizerrr,large,larger,largerr,largerrr] % %^^A--------------------------------------------------------------------- % @@ -2178,7 +2178,7 @@ This work has the LPPL maintenance status "author-maintained". @manual{tufte, title = {\sty{tufte-latex} – Document classes inspired by the work of Edward Tufte}, - author = {Kevin Godby}, + author = {Bil Kleb and Bill Wood and Kevin Godby}, url = {https://www.ctan.org/pkg/tufte-latex}, urldate = {2021-05-18}, date = {2015}, diff --git a/macros/latex/contrib/fontsize/fontsize.pdf b/macros/latex/contrib/fontsize/fontsize.pdf Binary files differindex adfe679760..27549ad95b 100644 --- a/macros/latex/contrib/fontsize/fontsize.pdf +++ b/macros/latex/contrib/fontsize/fontsize.pdf diff --git a/macros/latex/contrib/l3backend/CHANGELOG.md b/macros/latex/contrib/l3backend/CHANGELOG.md index fae21bb66f..4a73476475 100644 --- a/macros/latex/contrib/l3backend/CHANGELOG.md +++ b/macros/latex/contrib/l3backend/CHANGELOG.md @@ -6,6 +6,11 @@ this project uses date-based 'snapshot' version identifiers. ## [Unreleased] +## [2021-08-04] + +## Changed +- Only use `pdfmanagement` module if active + ## [2021-07-12] ### Fixed @@ -186,7 +191,8 @@ this project uses date-based 'snapshot' version identifiers. - Include `l3backend` in file names - Moved backend code to internal for each 'parent' module -[Unreleased]: https://github.com/latex3/latex3/compare/2021-07-12...HEAD +[Unreleased]: https://github.com/latex3/latex3/compare/2021-08-04...HEAD +[2021-08-04]: https://github.com/latex3/latex3/compare/2021-07-12...2021-08-04 [2021-07-12]: https://github.com/latex3/latex3/compare/2021-05-07...2021-07-12 [2021-05-07]: https://github.com/latex3/latex3/compare/2021-03-18...2021-05-07 [2021-03-18]: https://github.com/latex3/latex3/compare/2021-03-02...2021-03-18 diff --git a/macros/latex/contrib/l3backend/README.md b/macros/latex/contrib/l3backend/README.md index fa022b27e6..68b63c3189 100644 --- a/macros/latex/contrib/l3backend/README.md +++ b/macros/latex/contrib/l3backend/README.md @@ -1,7 +1,7 @@ LaTeX3 Backend Drivers ====================== -Release 2021-07-12 +Release 2021-08-04 This package forms parts of `expl3`, and contains the code used to interface with backends (drivers) across the `expl3` codebase. The functions here are diff --git a/macros/latex/contrib/l3backend/l3backend-basics.dtx b/macros/latex/contrib/l3backend/l3backend-basics.dtx index ef02b741e0..6f21c964c2 100644 --- a/macros/latex/contrib/l3backend/l3backend-basics.dtx +++ b/macros/latex/contrib/l3backend/l3backend-basics.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -70,27 +70,27 @@ % \begin{macrocode} \ProvidesExplFile %<*dvipdfmx> - {l3backend-dvipdfmx.def}{2021-07-12}{} + {l3backend-dvipdfmx.def}{2021-08-04}{} {L3 backend support: dvipdfmx} %</dvipdfmx> %<*dvips> - {l3backend-dvips.def}{2021-07-12}{} + {l3backend-dvips.def}{2021-08-04}{} {L3 backend support: dvips} %</dvips> %<*dvisvgm> - {l3backend-dvisvgm.def}{2021-07-12}{} + {l3backend-dvisvgm.def}{2021-08-04}{} {L3 backend support: dvisvgm} %</dvisvgm> %<*luatex> - {l3backend-luatex.def}{2021-07-12}{} + {l3backend-luatex.def}{2021-08-04}{} {L3 backend support: PDF output (LuaTeX)} %</luatex> %<*pdftex> - {l3backend-pdftex.def}{2021-07-12}{} + {l3backend-pdftex.def}{2021-08-04}{} {L3 backend support: PDF output (pdfTeX)} %</pdftex> %<*xetex> - {l3backend-xetex.def}{2021-07-12}{} + {l3backend-xetex.def}{2021-08-04}{} {L3 backend support: XeTeX} %</xetex> % \end{macrocode} diff --git a/macros/latex/contrib/l3backend/l3backend-box.dtx b/macros/latex/contrib/l3backend/l3backend-box.dtx index 7724aa7104..810deb7bb7 100644 --- a/macros/latex/contrib/l3backend/l3backend-box.dtx +++ b/macros/latex/contrib/l3backend/l3backend-box.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3backend/l3backend-code.pdf b/macros/latex/contrib/l3backend/l3backend-code.pdf Binary files differindex e86f472ae4..ad22595ef8 100644 --- a/macros/latex/contrib/l3backend/l3backend-code.pdf +++ b/macros/latex/contrib/l3backend/l3backend-code.pdf diff --git a/macros/latex/contrib/l3backend/l3backend-color.dtx b/macros/latex/contrib/l3backend/l3backend-color.dtx index ad3075dff5..2d33f8ed4e 100644 --- a/macros/latex/contrib/l3backend/l3backend-color.dtx +++ b/macros/latex/contrib/l3backend/l3backend-color.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -813,7 +813,9 @@ / \str_convert_pdfname:n {#1} ~ #2 ~ \pdf_object_ref_last: } - \cs_if_exist:NT \pdfmanagement_add:nnn + \bool_lazy_and:nnT + { \cs_if_exist_p:N \pdfmanagement_if_active_p: } + { \pdfmanagement_if_active_p:} { \use:x { @@ -896,7 +898,9 @@ #2 ~ \pdf_object_ref_last: } - \cs_if_exist:NT \pdfmanagement_add:nnn + \bool_lazy_and:nnT + { \cs_if_exist_p:N \pdfmanagement_if_active_p: } + { \pdfmanagement_if_active_p:} { \use:x { diff --git a/macros/latex/contrib/l3backend/l3backend-draw.dtx b/macros/latex/contrib/l3backend/l3backend-draw.dtx index 5a896469bd..79c790daa0 100644 --- a/macros/latex/contrib/l3backend/l3backend-draw.dtx +++ b/macros/latex/contrib/l3backend/l3backend-draw.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3backend/l3backend-graphics.dtx b/macros/latex/contrib/l3backend/l3backend-graphics.dtx index e1bd1e0921..a82ca742d8 100644 --- a/macros/latex/contrib/l3backend/l3backend-graphics.dtx +++ b/macros/latex/contrib/l3backend/l3backend-graphics.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3backend/l3backend-header.dtx b/macros/latex/contrib/l3backend/l3backend-header.dtx index b5ab577892..d741a5eb77 100644 --- a/macros/latex/contrib/l3backend/l3backend-header.dtx +++ b/macros/latex/contrib/l3backend/l3backend-header.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3backend/l3backend-opacity.dtx b/macros/latex/contrib/l3backend/l3backend-opacity.dtx index 6017403ea0..e8159fc651 100644 --- a/macros/latex/contrib/l3backend/l3backend-opacity.dtx +++ b/macros/latex/contrib/l3backend/l3backend-opacity.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -141,7 +141,9 @@ % \begin{variable}{\c_@@_backend_stack_int} % Set up a stack. % \begin{macrocode} -\cs_if_exist:NT \pdfmanagement_add:nnn +\bool_lazy_and:nnT + { \cs_if_exist_p:N \pdfmanagement_if_active_p: } + { \pdfmanagement_if_active_p:} { \__kernel_color_backend_stack_init:Nnn \c_@@_backend_stack_int { page ~ direct } { /opacity 1 ~ gs } @@ -180,7 +182,9 @@ { /opacity #1 ~ gs } \group_insert_after:N \@@_backend_reset: } -\cs_if_exist:NF \pdfmanagement_add:nnn +\bool_lazy_and:nnF + { \cs_if_exist_p:N \pdfmanagement_if_active_p: } + { \pdfmanagement_if_active_p:} { \cs_gset_protected:Npn \@@_backend_select_aux:n #1 { } } diff --git a/macros/latex/contrib/l3backend/l3backend-pdf.dtx b/macros/latex/contrib/l3backend/l3backend-pdf.dtx index 5c7fa3b565..4943ee7f22 100644 --- a/macros/latex/contrib/l3backend/l3backend-pdf.dtx +++ b/macros/latex/contrib/l3backend/l3backend-pdf.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3experimental/CHANGELOG.md b/macros/latex/contrib/l3experimental/CHANGELOG.md index 5ad7f3d183..f9604428a3 100644 --- a/macros/latex/contrib/l3experimental/CHANGELOG.md +++ b/macros/latex/contrib/l3experimental/CHANGELOG.md @@ -7,6 +7,12 @@ this project uses date-based 'snapshot' version identifiers. ## [Unreleased] +## [2021-08-04] + +### Added +- `\draw_baseline:n` +- `\draw_point:n` + ## [2021-07-12] ### Added @@ -215,7 +221,8 @@ this project uses date-based 'snapshot' version identifiers. - New `l3color` module using `xcolor`-like expression syntax - New `l3draw` module, based on `pgf` layer of the TikZ system -[Unreleased]: https://github.com/latex3/latex3/compare/2021-07-12...HEAD +[Unreleased]: https://github.com/latex3/latex3/compare/2021-08-04...HEAD +[2021-08-04]: https://github.com/latex3/latex3/compare/2021-07-12...2021-08-04 [2021-07-12]: https://github.com/latex3/latex3/compare/2021-05-27...2021-07-12 [2021-05-27]: https://github.com/latex3/latex3/compare/2021-02-18...2021-05-27 [2021-02-18]: https://github.com/latex3/latex3/compare/2021-02-06...2021-02-18 diff --git a/macros/latex/contrib/l3experimental/README.md b/macros/latex/contrib/l3experimental/README.md index ebb812c17d..d08213bef5 100644 --- a/macros/latex/contrib/l3experimental/README.md +++ b/macros/latex/contrib/l3experimental/README.md @@ -1,7 +1,7 @@ Experimental LaTeX3 Concepts ============================ -Release 2021-07-12 +Release 2021-08-04 Overview -------- @@ -16,12 +16,13 @@ are under active development and the interfaces may change. All of the material in the collection requires the LaTeX3 base layer package [`l3kernel`](http://ctan.org/pkg/l3kernel). The two packages must be installed -in matching versions: if you update `l3experimental`, make sure that `l3kernel` is -updated at the same time. +in matching versions: if you update `l3experimental`, make sure that `l3kernel` +is updated at the same time. Currently included in the CTAN release of l3experimental are the following bundles: * `l3benchmark` +* `l3bitset` * `l3draw` * `l3graphics` * `l3opacity` @@ -35,6 +36,14 @@ bundles: This module provides support for benchmarking the performance of code. +`l3bitset` +------------- + +This module provides a `bitset` data type, a vector of bits, which can be set +and unset using their individual index in the vector, or using names assigned to +each position in the vector. The bitset can be returned as a string of bits or +as a decimal integer. + `l3draw` -------- diff --git a/macros/latex/contrib/l3experimental/l3benchmark.dtx b/macros/latex/contrib/l3experimental/l3benchmark.dtx index 71c12d8920..d3c3fce57c 100644 --- a/macros/latex/contrib/l3experimental/l3benchmark.dtx +++ b/macros/latex/contrib/l3experimental/l3benchmark.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -122,7 +122,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3benchmark}{2021-07-12}{} +\ProvidesExplPackage{l3benchmark}{2021-08-04}{} {L3 Experimental benchmarking} % \end{macrocode} % diff --git a/macros/latex/contrib/l3experimental/l3benchmark.pdf b/macros/latex/contrib/l3experimental/l3benchmark.pdf Binary files differindex e7b04df65e..e7f7c794fa 100644 --- a/macros/latex/contrib/l3experimental/l3benchmark.pdf +++ b/macros/latex/contrib/l3experimental/l3benchmark.pdf diff --git a/macros/latex/contrib/l3experimental/l3bitset.dtx b/macros/latex/contrib/l3experimental/l3bitset.dtx index 0021241628..4a6fba442e 100644 --- a/macros/latex/contrib/l3experimental/l3bitset.dtx +++ b/macros/latex/contrib/l3experimental/l3bitset.dtx @@ -42,7 +42,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % \begin{documentation} @@ -264,7 +264,7 @@ %<@@=bitset> % \end{macrocode} % \begin{macrocode} -\ProvidesExplPackage{l3bitset}{2021-07-12}{} +\ProvidesExplPackage{l3bitset}{2021-08-04}{} {L3 Experimental bitset support} % \end{macrocode} % A bitset is a string variable. diff --git a/macros/latex/contrib/l3experimental/l3bitset.pdf b/macros/latex/contrib/l3experimental/l3bitset.pdf Binary files differindex 04e300fe46..6fe6ea444a 100644 --- a/macros/latex/contrib/l3experimental/l3bitset.pdf +++ b/macros/latex/contrib/l3experimental/l3bitset.pdf diff --git a/macros/latex/contrib/l3experimental/l3draw-boxes.dtx b/macros/latex/contrib/l3experimental/l3draw-boxes.dtx index 45c6b0a16a..fc1b607400 100644 --- a/macros/latex/contrib/l3experimental/l3draw-boxes.dtx +++ b/macros/latex/contrib/l3experimental/l3draw-boxes.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3experimental/l3draw-code.pdf b/macros/latex/contrib/l3experimental/l3draw-code.pdf Binary files differindex 68c0490580..aabbe3ed24 100644 --- a/macros/latex/contrib/l3experimental/l3draw-code.pdf +++ b/macros/latex/contrib/l3experimental/l3draw-code.pdf diff --git a/macros/latex/contrib/l3experimental/l3draw-layers.dtx b/macros/latex/contrib/l3experimental/l3draw-layers.dtx index 57238ab2f1..e31961dab9 100644 --- a/macros/latex/contrib/l3experimental/l3draw-layers.dtx +++ b/macros/latex/contrib/l3experimental/l3draw-layers.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3experimental/l3draw-paths.dtx b/macros/latex/contrib/l3experimental/l3draw-paths.dtx index 043f9a5926..77fba0c5bb 100644 --- a/macros/latex/contrib/l3experimental/l3draw-paths.dtx +++ b/macros/latex/contrib/l3experimental/l3draw-paths.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3experimental/l3draw-points.dtx b/macros/latex/contrib/l3experimental/l3draw-points.dtx index 527194b8ee..8672d77a78 100644 --- a/macros/latex/contrib/l3experimental/l3draw-points.dtx +++ b/macros/latex/contrib/l3experimental/l3draw-points.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -112,7 +112,7 @@ \cs_new:Npn \@@_point_process:nn #1#2 { \exp_args:Nf \@@_point_process_auxi:nn - { \@@_point_to_dim:n {#2} } + { \draw_point:n {#2} } {#1} } \cs_new:Npn \@@_point_process_auxi:nn #1#2 @@ -122,8 +122,8 @@ \cs_new:Npn \@@_point_process:nnn #1#2#3 { \exp_args:Nff \@@_point_process_auxiii:nnn - { \@@_point_to_dim:n {#2} } - { \@@_point_to_dim:n {#3} } + { \draw_point:n {#2} } + { \draw_point:n {#3} } {#1} } \cs_new:Npn \@@_point_process_auxiii:nnn #1#2#3 @@ -133,9 +133,9 @@ \cs_new:Npn \@@_point_process:nnnn #1#2#3#4 { \exp_args:Nfff \@@_point_process_auxv:nnnn - { \@@_point_to_dim:n {#2} } - { \@@_point_to_dim:n {#3} } - { \@@_point_to_dim:n {#4} } + { \draw_point:n {#2} } + { \draw_point:n {#3} } + { \draw_point:n {#4} } {#1} } \cs_new:Npn \@@_point_process_auxv:nnnn #1#2#3#4 @@ -146,10 +146,10 @@ \cs_new:Npn \@@_point_process:nnnnn #1#2#3#4#5 { \exp_args:Nffff \@@_point_process_auxvii:nnnnn - { \@@_point_to_dim:n {#2} } - { \@@_point_to_dim:n {#3} } - { \@@_point_to_dim:n {#4} } - { \@@_point_to_dim:n {#5} } + { \draw_point:n {#2} } + { \draw_point:n {#3} } + { \draw_point:n {#4} } + { \draw_point:n {#5} } {#1} } \cs_new:Npn \@@_point_process_auxvii:nnnnn #1#2#3#4#5 @@ -174,17 +174,19 @@ % \end{macro} % \end{macro} % -% \begin{macro}[EXP]{\@@_point_to_dim:n} -% \begin{macro}[EXP]{\@@_point_to_dim_aux:n, \@@_point_to_dim_aux:f} -% \begin{macro}[EXP]{\@@_point_to_dim_aux:w} +% \subsection{Basic points} +% +% \begin{macro}[EXP]{\draw_point:n} +% \begin{macro}[EXP]{\@@_point_to_dim:n, \@@_point_to_dim:f} +% \begin{macro}[EXP]{\@@_point_to_dim:w} % Co-ordinates are always returned as two dimensions. % \begin{macrocode} +\cs_new:Npn \draw_point:n #1 + { \@@_point_to_dim:f { \fp_eval:n {#1} } } \cs_new:Npn \@@_point_to_dim:n #1 - { \@@_point_to_dim_aux:f { \fp_eval:n {#1} } } -\cs_new:Npn \@@_point_to_dim_aux:n #1 - { \@@_point_to_dim_aux:w #1 } -\cs_generate_variant:Nn \@@_point_to_dim_aux:n { f } -\cs_new:Npn \@@_point_to_dim_aux:w ( #1 , ~ #2 ) { #1pt , #2pt } + { \@@_point_to_dim:w #1 } +\cs_generate_variant:Nn \@@_point_to_dim:n { f } +\cs_new:Npn \@@_point_to_dim:w ( #1 , ~ #2 ) { #1pt , #2pt } % \end{macrocode} % \end{macro} % \end{macro} @@ -203,7 +205,7 @@ \cs_new:Npn \draw_point_polar:nnn #1#2#3 { \@@_draw_polar:fnn { \fp_eval:n {#3} } {#1} {#2} } \cs_new:Npn \@@_draw_polar:nnn #1#2#3 - { \@@_point_to_dim:n { cosd(#1) * (#2) , sind(#1) * (#3) } } + { \draw_point:n { cosd(#1) * (#2) , sind(#1) * (#3) } } \cs_generate_variant:Nn \@@_draw_polar:nnn { f } % \end{macrocode} % \end{macro} @@ -239,7 +241,7 @@ \fp_compare:nNnTF {#1} = \c_zero_fp { 0pt, 1pt } { - \@@_point_to_dim:n + \draw_point:n { ( #2 , #3 ) / #1 } } } @@ -308,7 +310,7 @@ } \cs_new:Npn \@@_point_intersect_lines_aux:nnnnnn #1#2#3#4#5#6 { - \@@_point_to_dim:n + \draw_point:n { ( #2 * #3 - #1 * #4 , #2 * #5 - #1 * #6 ) / ( #4 * #5 - #6 * #3 ) @@ -462,7 +464,7 @@ \cs_generate_variant:Nn \@@_point_intersect_circles_auxvi:nnnnnnnn { f } \cs_new:Npn \@@_point_intersect_circles_auxvii:nnnnnnn #1#2#3#4#5#6#7 { - \@@_point_to_dim:n + \draw_point:n { #6 + #4 * #1 + #2 * #3 * #5 , #7 + #5 * #1 + -1 * #2 * #3 * #4 } } \cs_generate_variant:Nn \@@_point_intersect_circles_auxvii:nnnnnnn { fff } @@ -503,7 +505,7 @@ } \cs_generate_variant:Nn \@@_point_interpolate_line_aux:nnnnn { f } \cs_new:Npn \@@_point_interpolate_line_aux:nnnnnn #1#2#3#4#5#6 - { \@@_point_to_dim:n { #2 * #3 + #1 * #5 , #2 * #4 + #1 * #6 } } + { \draw_point:n { #2 * #3 + #1 * #5 , #2 * #4 + #1 * #6 } } \cs_generate_variant:Nn \@@_point_interpolate_line_aux:nnnnnn { f } % \end{macrocode} % \end{macro} @@ -537,7 +539,7 @@ { \draw_point_unit_vector:n { ( #2 ) - ( #3 , #4 ) } } } \cs_new:Npn \@@_point_interpolate_distance:nnnnn #1#2#3#4#5 - { \@@_point_to_dim:n { #2 + #1 * #4 , #3 + #1 * #5 } } + { \draw_point:n { #2 + #1 * #4 , #3 + #1 * #5 } } \cs_generate_variant:Nn \@@_point_interpolate_distance:nnnnn { f } % \end{macrocode} % \end{macro} @@ -612,7 +614,7 @@ \cs_generate_variant:Nn \@@_point_interpolate_arcaxes_auxiii:nnnnnnn { f } \cs_new:Npn \@@_point_interpolate_arcaxes_auxiv:nnnnnnnn #1#2#3#4#5#6#7#8 { - \@@_point_to_dim:n + \draw_point:n { #3 + #1 * #5 + #2 * #7 , #4 + #1 * #6 + #2 * #8 } } \cs_generate_variant:Nn \@@_point_interpolate_arcaxes_auxiv:nnnnnnnn { ff } @@ -749,7 +751,7 @@ } \cs_new:Npn \@@_point_interpolate_curve_auxviii:nnnnnn #1#2#3#4#5#6 { - \@@_point_to_dim:n + \draw_point:n { #5 * #3 + #6 * #1 , #5 * #4 + #6 * #2 } } \cs_generate_variant:Nn \@@_point_interpolate_curve_auxviii:nnnnnn { ffff } @@ -831,7 +833,7 @@ { \@@_point_vec:ff { \fp_eval:n {#1} } { \fp_eval:n {#2} } } \cs_new:Npn \@@_point_vec:nn #1#2 { - \@@_point_to_dim:n + \draw_point:n { #1 * \l_@@_xvec_x_dim + #2 * \l_@@_yvec_x_dim , #1 * \l_@@_xvec_y_dim + #2 * \l_@@_yvec_y_dim @@ -845,7 +847,7 @@ } \cs_new:Npn \@@_point_vec:nnn #1#2#3 { - \@@_point_to_dim:n + \draw_point:n { #1 * \l_@@_xvec_x_dim + #2 * \l_@@_yvec_x_dim @@ -874,7 +876,7 @@ { \@@_draw_vec_polar:fnn { \fp_eval:n {#3} } {#1} {#2} } \cs_new:Npn \@@_draw_vec_polar:nnn #1#2#3 { - \@@_point_to_dim:n + \draw_point:n { cosd(#1) * (#2) * \l_@@_xvec_x_dim , sind(#1) * (#3) * \l_@@_yvec_y_dim @@ -903,7 +905,7 @@ { \bool_if:NTF \l_@@_matrix_active_bool { - \@@_point_to_dim:n + \draw_point:n { ( \l_@@_matrix_a_fp * #1 @@ -919,7 +921,7 @@ } } { - \@@_point_to_dim:n + \draw_point:n { (#1, #2) + ( \l_@@_xshift_dim , \l_@@_yshift_dim ) @@ -943,7 +945,7 @@ { \bool_if:NTF \l_@@_matrix_active_bool { - \@@_point_to_dim:n + \draw_point:n { ( \l_@@_matrix_a_fp * #1 @@ -956,7 +958,7 @@ ) } } - { \@@_point_to_dim:n { (#1, #2) } } + { \draw_point:n { (#1, #2) } } } % \end{macrocode} % \end{macro} diff --git a/macros/latex/contrib/l3experimental/l3draw-scopes.dtx b/macros/latex/contrib/l3experimental/l3draw-scopes.dtx index 7065afd267..baa2239e9f 100644 --- a/macros/latex/contrib/l3experimental/l3draw-scopes.dtx +++ b/macros/latex/contrib/l3experimental/l3draw-scopes.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -60,6 +60,14 @@ %<@@=draw> % \end{macrocode} % +% This sub-module covers more-or-less the same ideas as +% \texttt{pgfcorescopes.code.tex}. At present, equivalents of the +% following are currently absent: +% \begin{itemize} +% \item \cs{pgftext}: This is covered at this level by the coffin-based +% interface \cs{draw_coffin_use:Nnn} +% \end{itemize} +% % \subsection{Drawing environment} % % \begin{variable} @@ -142,6 +150,7 @@ } \cs_new_protected:Npn \draw_end: { + \@@_baseline_finalise:w \exp_args:NNNV \hbox_set_end: \clist_set:Nn \l_draw_layers_clist \l_draw_layers_clist \@@_layers_insert: @@ -154,15 +163,7 @@ \dim_gzero:N \g_@@_ymax_dim \dim_gzero:N \g_@@_ymin_dim } - \hbox_set:Nn \l_@@_main_box - { - \skip_horizontal:n { -\g_@@_xmin_dim } - \box_move_down:nn { \g_@@_ymin_dim } - { \box_use_drop:N \l_@@_main_box } - } - \box_set_ht:Nn \l_@@_main_box - { \g_@@_ymax_dim - \g_@@_ymin_dim } - \box_set_dp:Nn \l_@@_main_box { 0pt } + \@@_finalise: \box_set_wd:Nn \l_@@_main_box { \g_@@_xmax_dim - \g_@@_xmin_dim } \mode_leave_vertical: @@ -172,6 +173,91 @@ % \end{macrocode} % \end{macro} % +% \begin{macro}{\@@_finalise:} +% \begin{macro}{\@@_finalise_baseline:n} +% Finalising the (vertical) size of the output depends on whether we have +% an explicit baseline or not. To allow for that, we have two functions, and +% the one that's used depends on whether the user has set a baseline. Notice +% that in contrast to \pkg{pgf} we \emph{do} allow for a non-zero depth if +% the explicit baseline is above the lowest edge of the initial bounding box. +% \begin{macrocode} +\cs_new_protected:Npn \@@_finalise: + { + \hbox_set:Nn \l_@@_main_box + { + \skip_horizontal:n { -\g_@@_xmin_dim } + \box_move_down:nn + { \g_@@_ymin_dim } + { \box_use_drop:N \l_@@_main_box } + } + \box_set_dp:Nn \l_@@_main_box { 0pt } + \box_set_ht:Nn \l_@@_main_box + { \g_@@_ymax_dim - \g_@@_ymin_dim } + } +\cs_new_protected:Npn \@@_finalise_baseline:n #1 + { + \hbox_set:Nn \l_@@_main_box + { + \skip_horizontal:n { -\g_@@_xmin_dim } + \box_move_down:nn + {#1} + { \box_use_drop:N \l_@@_main_box } + } + \box_set_dp:Nn \l_@@_main_box + { + \dim_max:nn + { #1 - \g_@@_ymin_dim } + { 0pt } + } + \box_set_ht:Nn \l_@@_main_box + { \g_@@_ymax_dim + #1 } + } +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% \subsection{Baseline position} +% +% \begin{variable}{\l_@@_baseline_bool, \l_@@_baseline_dim} +% For tracking the explicit baseline and whether it is active. +% \begin{macrocode} +\bool_new:N \l_@@_baseline_bool +\dim_new:N \l_@@_baseline_dim +% \end{macrocode} +% \end{variable} +% +% \begin{macro}{\draw_baseline:n} +% A simple setting of the baseline along with the flag we need to know that +% it is active. +% \begin{macrocode} +\cs_new_protected:Npn \draw_baseline:n #1 + { + \bool_set_true:N \l_@@_baseline_bool + \dim_set:Nn \l_@@_baseline_dim { \fp_to_dim:n {#1} } + } +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@@_baseline_finalise:w} +% Rather than use a global data structure, we can arrange to put the baseline +% value at the right group level with a small amount of shuffling. That happens +% here. +% \begin{macrocode} +\cs_new_protected:Npn \@@_baseline_finalise:w #1 \@@_finalise: + { + \bool_if:NTF \l_@@_baseline_bool + { + \use:x + { + \exp_not:n {#1} + \@@_finalise_baseline:n { \dim_use:N \l_@@_baseline_dim } + } + } + { #1 \@@_finalise: } + } +% \end{macrocode} +% \end{macro} +% % \subsection{Scopes} % % \begin{variable}{\l_@@_linewidth_dim} diff --git a/macros/latex/contrib/l3experimental/l3draw-softpath.dtx b/macros/latex/contrib/l3experimental/l3draw-softpath.dtx index dd4104a689..4674d56aad 100644 --- a/macros/latex/contrib/l3experimental/l3draw-softpath.dtx +++ b/macros/latex/contrib/l3experimental/l3draw-softpath.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3experimental/l3draw-state.dtx b/macros/latex/contrib/l3experimental/l3draw-state.dtx index 81f992f29d..2637907381 100644 --- a/macros/latex/contrib/l3experimental/l3draw-state.dtx +++ b/macros/latex/contrib/l3experimental/l3draw-state.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3experimental/l3draw-transforms.dtx b/macros/latex/contrib/l3experimental/l3draw-transforms.dtx index ff23ae4db0..a47fd3184d 100644 --- a/macros/latex/contrib/l3experimental/l3draw-transforms.dtx +++ b/macros/latex/contrib/l3experimental/l3draw-transforms.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % diff --git a/macros/latex/contrib/l3experimental/l3draw.dtx b/macros/latex/contrib/l3experimental/l3draw.dtx index a713774f8c..cccade7044 100644 --- a/macros/latex/contrib/l3experimental/l3draw.dtx +++ b/macros/latex/contrib/l3experimental/l3draw.dtx @@ -110,7 +110,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -185,6 +185,43 @@ % axes at the driver level: this is then \enquote{transparent} to the % \pkg{draw} level, and so should be used only when strictly required.) % +% The bounding box of the drawing is determined by tracking the size of the +% \pkg{draw} commands between the start and end. The bounding box is (roughly) +% the smallest box that contains all of the co-ordinates mentioned within the +% drawing. This can include those automatically generated, for example the +% supporting points needed to construct an arc. +% +% \begin{function}{\draw_baseline:n} +% \begin{syntax} +% \cs{draw_baseline:n} \Arg{length} +% \end{syntax} +% As standard, the baseline of the bounding box of a drawing is calculated +% automatically at the bottom of the drawing. It is possible to adjust this +% using the \cs{draw_baseline:n} function. If the drawing co-ordinates lead +% to lower $y$-axis values than the \meta{length}, then the drawing will have +% a depth as well as a height. +% \begin{demo} +% text +% \draw_begin: +% \draw_path_rectangle:nn { 0 , 0 } { 2ex , 1ex } +% \draw_path_use:n { stroke } +% \draw_end: +% text +% \draw_begin: +% \draw_path_rectangle:nn { 0 , 1ex } { 2ex , 1ex } +% \draw_baseline:n { 0pt } +% \draw_path_use:n { stroke } +% \draw_end: +% text +% \draw_begin: +% \draw_path_rectangle:nn { 0 , -1ex } { 2ex , 1ex } +% \draw_baseline:n { -0.5ex } +% \draw_path_use:n { stroke } +% \draw_end: +% text +% \end{demo} +% \end{function} +% % \begin{function}{\draw_suspend_begin:, \draw_suspend_end:} % \begin{syntax} % \cs{draw_suspend_begin:} @@ -363,21 +400,10 @@ % \subsection{Points} % % Functions supporting the calculation of points (co-ordinates) are expandable -% and may be used outside of the drawing environment. When used in this -% way, they all yield a co-ordinate tuple, for example -% \begin{verbatim} -% \tl_set:Nx \l_tmpa_tl { \draw_point:nn { 1 } { 2 } } -% \tl_show:N \l_tmpa_tl -% \end{verbatim} -% gives -% \begin{verbatim} -% > \l_tmpa_tl=1pt,2pt. -% <recently read> } -% \end{verbatim} -% -% This output form is then suitable as \emph{input} for subsequent point -% calculations, \emph{i.e.}~where a \meta{point} is required it may be -% given as a tuple. This \emph{may} include units and surrounding +% and may be used outside of the drawing environment. The outputs of all of the +% point functions are tuples. This output form is then suitable as \emph{input} +% for subsequent point calculations, \emph{i.e.}~where a \meta{point} is required +% it may be given as a tuple. This \emph{may} include units and surrounding % parentheses, for example % \begin{verbatim} % 1,2 @@ -1136,7 +1162,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3draw}{2021-07-12}{} +\ProvidesExplPackage{l3draw}{2021-08-04}{} {L3 Experimental core drawing support} % \end{macrocode} % diff --git a/macros/latex/contrib/l3experimental/l3draw.pdf b/macros/latex/contrib/l3experimental/l3draw.pdf Binary files differindex d63d703791..ce3f4c31f8 100644 --- a/macros/latex/contrib/l3experimental/l3draw.pdf +++ b/macros/latex/contrib/l3experimental/l3draw.pdf diff --git a/macros/latex/contrib/l3experimental/l3galley.dtx b/macros/latex/contrib/l3experimental/l3galley.dtx index ba662b097f..d1da19f384 100644 --- a/macros/latex/contrib/l3experimental/l3galley.dtx +++ b/macros/latex/contrib/l3experimental/l3galley.dtx @@ -61,7 +61,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -686,7 +686,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3galley}{2021-07-12}{} +\ProvidesExplPackage{l3galley}{2021-08-04}{} {L3 Experimental galley code} % \end{macrocode} % diff --git a/macros/latex/contrib/l3experimental/l3galley.pdf b/macros/latex/contrib/l3experimental/l3galley.pdf Binary files differindex 2b407e61d9..3d80c5565d 100644 --- a/macros/latex/contrib/l3experimental/l3galley.pdf +++ b/macros/latex/contrib/l3experimental/l3galley.pdf diff --git a/macros/latex/contrib/l3experimental/l3graphics.dtx b/macros/latex/contrib/l3experimental/l3graphics.dtx index 5101c9ae71..85cc3f556b 100644 --- a/macros/latex/contrib/l3experimental/l3graphics.dtx +++ b/macros/latex/contrib/l3experimental/l3graphics.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -240,7 +240,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3graphics}{2021-07-12}{} +\ProvidesExplPackage{l3graphics}{2021-08-04}{} {L3 Experimental graphics inclusion support} % \end{macrocode} % diff --git a/macros/latex/contrib/l3experimental/l3graphics.pdf b/macros/latex/contrib/l3experimental/l3graphics.pdf Binary files differindex a59d1f86e3..6f50943ec4 100644 --- a/macros/latex/contrib/l3experimental/l3graphics.pdf +++ b/macros/latex/contrib/l3experimental/l3graphics.pdf diff --git a/macros/latex/contrib/l3experimental/l3opacity.dtx b/macros/latex/contrib/l3experimental/l3opacity.dtx index 4b1e7ea64f..8c419c7a4c 100644 --- a/macros/latex/contrib/l3experimental/l3opacity.dtx +++ b/macros/latex/contrib/l3experimental/l3opacity.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -97,7 +97,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3opacity}{2021-07-12}{} +\ProvidesExplPackage{l3opacity}{2021-08-04}{} {L3 Experimental opacity support} % \end{macrocode} % diff --git a/macros/latex/contrib/l3experimental/l3opacity.pdf b/macros/latex/contrib/l3experimental/l3opacity.pdf Binary files differindex afde835c29..74fa174c31 100644 --- a/macros/latex/contrib/l3experimental/l3opacity.pdf +++ b/macros/latex/contrib/l3experimental/l3opacity.pdf diff --git a/macros/latex/contrib/l3experimental/l3str-format.dtx b/macros/latex/contrib/l3experimental/l3str-format.dtx index 669d198790..2f11898e85 100644 --- a/macros/latex/contrib/l3experimental/l3str-format.dtx +++ b/macros/latex/contrib/l3experimental/l3str-format.dtx @@ -48,7 +48,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -166,7 +166,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3str-format}{2021-07-12}{} +\ProvidesExplPackage{l3str-format}{2021-08-04}{} {L3 Experimental string formatting} % \end{macrocode} % diff --git a/macros/latex/contrib/l3experimental/l3str-format.pdf b/macros/latex/contrib/l3experimental/l3str-format.pdf Binary files differindex d070a93856..991475502b 100644 --- a/macros/latex/contrib/l3experimental/l3str-format.pdf +++ b/macros/latex/contrib/l3experimental/l3str-format.pdf diff --git a/macros/latex/contrib/l3experimental/l3sys-shell.dtx b/macros/latex/contrib/l3experimental/l3sys-shell.dtx index 56f5ccf610..c3198c0ee2 100644 --- a/macros/latex/contrib/l3experimental/l3sys-shell.dtx +++ b/macros/latex/contrib/l3experimental/l3sys-shell.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -151,7 +151,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3sys-shell}{2021-07-12}{} +\ProvidesExplPackage{l3sys-shell}{2021-08-04}{} {L3 Experimental system shell functions} % \end{macrocode} % diff --git a/macros/latex/contrib/l3experimental/l3sys-shell.pdf b/macros/latex/contrib/l3experimental/l3sys-shell.pdf Binary files differindex f7db627adf..cc1493963c 100644 --- a/macros/latex/contrib/l3experimental/l3sys-shell.pdf +++ b/macros/latex/contrib/l3experimental/l3sys-shell.pdf diff --git a/macros/latex/contrib/l3experimental/xcoffins.dtx b/macros/latex/contrib/l3experimental/xcoffins.dtx index afd086567b..3fec592ee4 100644 --- a/macros/latex/contrib/l3experimental/xcoffins.dtx +++ b/macros/latex/contrib/l3experimental/xcoffins.dtx @@ -53,7 +53,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -672,7 +672,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xcoffins}{2021-07-12}{} +\ProvidesExplPackage{xcoffins}{2021-08-04}{} {L3 Experimental design level coffins} % \end{macrocode} % diff --git a/macros/latex/contrib/l3experimental/xcoffins.pdf b/macros/latex/contrib/l3experimental/xcoffins.pdf Binary files differindex 4847b73a25..f4d7fa4ea6 100644 --- a/macros/latex/contrib/l3experimental/xcoffins.pdf +++ b/macros/latex/contrib/l3experimental/xcoffins.pdf diff --git a/macros/latex/contrib/l3experimental/xgalley.dtx b/macros/latex/contrib/l3experimental/xgalley.dtx index b75c45ee2d..bdbe9478a2 100644 --- a/macros/latex/contrib/l3experimental/xgalley.dtx +++ b/macros/latex/contrib/l3experimental/xgalley.dtx @@ -44,7 +44,7 @@ % }^^A % } % -% \date{Released 2021-07-12} +% \date{Released 2021-08-04} % % \maketitle % @@ -731,7 +731,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xgalley}{2021-07-12}{} +\ProvidesExplPackage{xgalley}{2021-08-04}{} {L3 Experimental galley} \RequirePackage{xtemplate,l3galley} % \end{macrocode} diff --git a/macros/latex/contrib/l3experimental/xgalley.pdf b/macros/latex/contrib/l3experimental/xgalley.pdf Binary files differindex 52cb016046..49a84225b1 100644 --- a/macros/latex/contrib/l3experimental/xgalley.pdf +++ b/macros/latex/contrib/l3experimental/xgalley.pdf diff --git a/macros/latex/contrib/l3packages/CHANGELOG.md b/macros/latex/contrib/l3packages/CHANGELOG.md index e20b40ad1e..8b9928d648 100644 --- a/macros/latex/contrib/l3packages/CHANGELOG.md +++ b/macros/latex/contrib/l3packages/CHANGELOG.md @@ -7,6 +7,12 @@ this project uses date-based 'snapshot' version identifiers. ## [Unreleased] +## [2021-08-04] + +### Changed +- Adjust `l3keys2e` to allow for future kernel provision of + same ideas + ## [2021-06-18] ### Fixed @@ -148,7 +154,8 @@ this project uses date-based 'snapshot' version identifiers. - Switch to ISO date format - Improve cross-module use of internal functions -[Unreleased]: https://github.com/latex3/latex3/compare/2021-06-18...HEAD +[Unreleased]: https://github.com/latex3/latex3/compare/2021-08-04...HEAD +[2021-08-04]: https://github.com/latex3/latex3/compare/2021-06-18...2021-08-04 [2021-06-18]: https://github.com/latex3/latex3/compare/2021-06-01...2021-06-18 [2021-06-01]: https://github.com/latex3/latex3/compare/2021-05-27...2021-06-01 [2021-05-27]: https://github.com/latex3/latex3/compare/2021-05-07...2021-05-27 diff --git a/macros/latex/contrib/l3packages/README.md b/macros/latex/contrib/l3packages/README.md index 8a4377894c..316526984b 100644 --- a/macros/latex/contrib/l3packages/README.md +++ b/macros/latex/contrib/l3packages/README.md @@ -1,7 +1,7 @@ LaTeX3 High-Level Concepts ========================== -Release 2021-06-18 +Release 2021-08-04 Overview -------- diff --git a/macros/latex/contrib/l3packages/l3keys2e.dtx b/macros/latex/contrib/l3packages/l3keys2e.dtx index 183f3a7c01..52cb416cf2 100644 --- a/macros/latex/contrib/l3packages/l3keys2e.dtx +++ b/macros/latex/contrib/l3packages/l3keys2e.dtx @@ -62,7 +62,7 @@ % }^^A % } % -% \date{Released 2021-06-18} +% \date{Released 2021-08-04} % % \maketitle % @@ -139,10 +139,16 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3keys2e}{2021-06-18}{} +\ProvidesExplPackage{l3keys2e}{2021-08-04}{} {LaTeX2e option processing using LaTeX3 keys} % \end{macrocode} % +% Allow for a kernel-based implementation +% \begin{macrocode} +\cs_if_exist:NT \ProcessKeysOptions + { \file_input_stop: } +% \end{macrocode} +% % Non-standard variants. % \begin{macrocode} \cs_generate_variant:Nn \clist_put_right:Nn { Nv } diff --git a/macros/latex/contrib/l3packages/l3keys2e.pdf b/macros/latex/contrib/l3packages/l3keys2e.pdf Binary files differindex 98a6021eab..6cba692ad1 100644 --- a/macros/latex/contrib/l3packages/l3keys2e.pdf +++ b/macros/latex/contrib/l3packages/l3keys2e.pdf diff --git a/macros/latex/contrib/l3packages/xfp.dtx b/macros/latex/contrib/l3packages/xfp.dtx index 48ecbf7fc0..ef09bccc36 100644 --- a/macros/latex/contrib/l3packages/xfp.dtx +++ b/macros/latex/contrib/l3packages/xfp.dtx @@ -63,7 +63,7 @@ % }^^A % } % -% \date{Released 2021-06-18} +% \date{Released 2021-08-04} % % \maketitle % @@ -166,7 +166,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xfp}{2021-06-18}{} +\ProvidesExplPackage{xfp}{2021-08-04}{} {L3 Floating point unit} % \end{macrocode} % diff --git a/macros/latex/contrib/l3packages/xfp.pdf b/macros/latex/contrib/l3packages/xfp.pdf Binary files differindex f5503a5717..293ba0ff0e 100644 --- a/macros/latex/contrib/l3packages/xfp.pdf +++ b/macros/latex/contrib/l3packages/xfp.pdf diff --git a/macros/latex/contrib/l3packages/xfrac.dtx b/macros/latex/contrib/l3packages/xfrac.dtx index 07b1e76af3..58d35df80e 100644 --- a/macros/latex/contrib/l3packages/xfrac.dtx +++ b/macros/latex/contrib/l3packages/xfrac.dtx @@ -65,7 +65,7 @@ % }^^A % } % -% \date{Released 2021-06-18} +% \date{Released 2021-08-04} % % \maketitle % @@ -535,7 +535,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xfrac}{2021-06-18}{} +\ProvidesExplPackage{xfrac}{2021-08-04}{} {L3 Experimental split-level fractions} % \end{macrocode} % diff --git a/macros/latex/contrib/l3packages/xfrac.pdf b/macros/latex/contrib/l3packages/xfrac.pdf Binary files differindex 83fe8b0283..c0ec5bd048 100644 --- a/macros/latex/contrib/l3packages/xfrac.pdf +++ b/macros/latex/contrib/l3packages/xfrac.pdf diff --git a/macros/latex/contrib/l3packages/xparse-generic.tex b/macros/latex/contrib/l3packages/xparse-generic.tex index 7263475814..70895e12ed 100644 --- a/macros/latex/contrib/l3packages/xparse-generic.tex +++ b/macros/latex/contrib/l3packages/xparse-generic.tex @@ -1,11 +1,9 @@ %% -%% This is file `xparse-generic.tex', -%% generated with the docstrip utility. +%% This is file `xparse-generic.tex', generated from +%% xparse.dtx (with options: `core', on 2021-01-20) +%% then adapted and frozen for compatibility. Development of +%% xparse.dtx will continue in the LaTeX2e kernel as ltcmd.dtx. %% -%% The original source files were: -%% -%% xparse.dtx (with options: `core') -%% %% Copyright (C) 2009-2021 The LaTeX Project %% %% It may be distributed and/or modified under the conditions of diff --git a/macros/latex/contrib/l3packages/xparse.dtx b/macros/latex/contrib/l3packages/xparse.dtx index ca7b5c12d5..78a73fddde 100644 --- a/macros/latex/contrib/l3packages/xparse.dtx +++ b/macros/latex/contrib/l3packages/xparse.dtx @@ -67,7 +67,7 @@ % }^^A % } % -% \date{Released 2021-06-18} +% \date{Released 2021-08-04} % % \maketitle % @@ -297,7 +297,7 @@ % \end{verbatim} % where \verb*|\foobar{arg1} [arg2]| will not find an optional argument. % -% There is one subtly here due to the difference in handling by \TeX{} +% There is one subtlety here due to the difference in handling by \TeX{} % of \enquote{control symbols}, where the command name is made up of a single % character, such as \enquote{\cmd{\\}}. Spaces are not ignored by \TeX{} % here, and thus it is possible to require an optional argument directly @@ -1064,7 +1064,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xparse}{2021-06-18}{} +\ProvidesExplPackage{xparse}{2021-08-04}{} {L3 Experimental document command parser} % \end{macrocode} % diff --git a/macros/latex/contrib/l3packages/xparse.pdf b/macros/latex/contrib/l3packages/xparse.pdf Binary files differindex cbfa8c8452..551520d023 100644 --- a/macros/latex/contrib/l3packages/xparse.pdf +++ b/macros/latex/contrib/l3packages/xparse.pdf diff --git a/macros/latex/contrib/l3packages/xtemplate.dtx b/macros/latex/contrib/l3packages/xtemplate.dtx index 7a7d682d63..e4e581c6b1 100644 --- a/macros/latex/contrib/l3packages/xtemplate.dtx +++ b/macros/latex/contrib/l3packages/xtemplate.dtx @@ -63,7 +63,7 @@ % }^^A % } % -% \date{Released 2021-06-18} +% \date{Released 2021-08-04} % % \maketitle % @@ -682,7 +682,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xtemplate}{2021-06-18}{} +\ProvidesExplPackage{xtemplate}{2021-08-04}{} {L3 Experimental prototype document functions} % \end{macrocode} % diff --git a/macros/latex/contrib/l3packages/xtemplate.pdf b/macros/latex/contrib/l3packages/xtemplate.pdf Binary files differindex 8e8e58b2af..2fc25bc8ba 100644 --- a/macros/latex/contrib/l3packages/xtemplate.pdf +++ b/macros/latex/contrib/l3packages/xtemplate.pdf diff --git a/macros/latex/contrib/python/python.sty b/macros/latex/contrib/python/python.sty index 2d08fdf6cd..760476ee53 100644 --- a/macros/latex/contrib/python/python.sty +++ b/macros/latex/contrib/python/python.sty @@ -25,8 +25,12 @@ %% no more than 15 \newwrites are allowed (and the previous version created a new %% every time \@writemodule was called. +%% 0.21 -> 0.22: Fixed bug where spurious spaces were introduced in the output. +%% Thanks goes to Gernot Salzer <gernot.salzer@tuwien.ac.at> for pointing out +%% the bug and providing a patch. + \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{python}[2007/06/07 v0.21 Python in LaTeX] +\ProvidesPackage{python}[2021/08/03 v0.22 Python in LaTeX] \newwrite\@out \newwrite\@module @@ -39,7 +43,7 @@ \def\python{\kernel@ifnextchar [{\@python}{\@python[]}} \def\@python[#1]{% -\gdef\@pythoninclude{#1} +\gdef\@pythoninclude{#1}% \immediate\openout\@out=\jobname.py \newlinechar='15 \begingroup \catcode`\^^M=12 % @@ -50,7 +54,7 @@ \endgroup \immediate\closeout\@out \@writemodule -\immediate\write18{cat \@pythoninclude\space\jobname.py | python > \jobname.py.out 2> \jobname.py.err} +\immediate\write18{cat \@pythoninclude\space\jobname.py | python > \jobname.py.out 2> \jobname.py.err}% \immediate\input\jobname.py.out} %\immediate\write{\begin{verbatim}} %\immediate\input\jobname.py.err diff --git a/macros/latex/contrib/siunitx/CHANGELOG.md b/macros/latex/contrib/siunitx/CHANGELOG.md index 2c92c252dd..87f73526de 100644 --- a/macros/latex/contrib/siunitx/CHANGELOG.md +++ b/macros/latex/contrib/siunitx/CHANGELOG.md @@ -7,64 +7,91 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] +## [v3.0.24] + +### Fixed +- Option setting `round-half = even` (issue + [#519](https://github.com/josephwright/siunitx/issues/519)) +- Handling of standard deviation-like uncertainties where decimal is longer than + main part (issue [#522](https://github.com/josephwright/siunitx/issues/522)) +- Rounding to uncertainty in the integer part (issue + [#523](https://github.com/josephwright/siunitx/issues/523)) + ## [v3.0.23] ### Fixed -- Load order of `xparse` (issue #518) +- Load order of `xparse` (issue + [#518](https://github.com/josephwright/siunitx/issues/518)) ## [v3.0.22] ### Changed - Support `table-text-alignment = none` for interoperation with - `tabularray` (issue #510) + `tabularray` (issue + [#510](https://github.com/josephwright/siunitx/issues/510)) ### Fixed -- Support for `input-remove` (issue #511) -- Interaction with `cellspace` package (issue #512) +- Support for `input-remove` (issue + [#511](https://github.com/josephwright/siunitx/issues/511)) +- Interaction with `cellspace` package (issue + [#512](https://github.com/josephwright/siunitx/issues/512)) ## [v3.0.21] ### Fixed - Print degree symbol if `fontspec` package is loaded with - `no-math` option (issue #505) -- Handling of 'over-long' separated uncertainties (issue #506) -- Symbol for arcs in text mode (issue #507) + `no-math` option (issue + [#505](https://github.com/josephwright/siunitx/issues/505)) +- Handling of 'over-long' separated uncertainties (issue + [#506](https://github.com/josephwright/siunitx/issues/506)) +- Symbol for arcs in text mode (issue + [#507](https://github.com/josephwright/siunitx/issues/507)) ## [v3.0.20] ### Fixed -- Interaction with `kotex` (issue #502) -- Handling of groups in literal units (issue #503) +- Interaction with `kotex` (issue + [#502](https://github.com/josephwright/siunitx/issues/502)) +- Handling of groups in literal units (issue + [#503](https://github.com/josephwright/siunitx/issues/503)) ## [v3.0.19] ### Fixed -- Emulation for `\SendSettingsToPgf` (issue #501) +- Emulation for `\SendSettingsToPgf` (issue + [#501](https://github.com/josephwright/siunitx/issues/501)) ## [v3.0.18] ### Fixed - Printing of reciprocal units when `per-mode = symbol` is active - (issue #500) + (issue [#500](https://github.com/josephwright/siunitx/issues/500)) ## [v3.0.17] ### Fixed -- Load order issue with `soulpos` (issue #498) +- Load order issue with `soulpos` (issue + [#498](https://github.com/josephwright/siunitx/issues/498)) ## [v3.0.16] ### Fixed -- Treatment of spaces before `/` in literal units (issue #495) -- Printing of `\mathchoice` entries in text mode (issue #497) +- Treatment of spaces before `/` in literal units (issue + [#495](https://github.com/josephwright/siunitx/issues/495)) +- Printing of `\mathchoice` entries in text mode (issue + [#497](https://github.com/josephwright/siunitx/issues/497)) ## [v3.0.15] ### Fixed -- Bracketing of complex quantities (issue #491) -- Printing of `\ohm` with `fontspec` (issue #492) -- Suppress printing implicit plus for zero exponents (issue #493) -- Engineering exponents with some exponent values (issue #494) +- Bracketing of complex quantities (issue + [#491](https://github.com/josephwright/siunitx/issues/491)) +- Printing of `\ohm` with `fontspec` (issue + [#492](https://github.com/josephwright/siunitx/issues/492)) +- Suppress printing implicit plus for zero exponents (issue + [#493](https://github.com/josephwright/siunitx/issues/493)) +- Engineering exponents with some exponent values (issue + [#494](https://github.com/josephwright/siunitx/issues/494)) ## [v3.0.14] @@ -74,10 +101,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Expand `table-format` input before splitting ### Fixed -- Incorrect handling of `{}` in literal units (issue #487) -- Placement of sign in some complex numbers (issue #488) +- Incorrect handling of `{}` in literal units (issue + [#487](https://github.com/josephwright/siunitx/issues/487)) +- Placement of sign in some complex numbers (issue + [#488](https://github.com/josephwright/siunitx/issues/488)) - Printing of units in quantities when `uncertainty-mode` is - `separate` and an exponent is present (issue #490) + `separate` and an exponent is present (issue + [#490](https://github.com/josephwright/siunitx/issues/490)) ## [v3.0.13] @@ -85,20 +115,27 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Catalan translations for lists and ranges ### Fixed -- Position of complex root when no real part is present (issue #481) -- Skip defining `\unit` if the `units` package is loaded (issue #482) +- Position of complex root when no real part is present (issue + [#481](https://github.com/josephwright/siunitx/issues/481)) +- Skip defining `\unit` if the `units` package is loaded (issue + [#482](https://github.com/josephwright/siunitx/issues/482)) - Printing units in compound quantities when `parse-numbers` is - false (issue #484) + false (issue [#484](https://github.com/josephwright/siunitx/issues/484)) - Printing of `1` when both `print-zero-exponent` and - `print-unity-mantissa` are false (issue #485) -- Printing of ohm symbol in text mode with `fourier` package (issue #486) + `print-unity-mantissa` are false (issue + [#485](https://github.com/josephwright/siunitx/issues/485)) +- Printing of ohm symbol in text mode with `fourier` package (issue + [#486](https://github.com/josephwright/siunitx/issues/486)) ## [v3.0.12] ### Fixed -- Modify warning message (fixes #476) -- Rounding zero values to a fixed number of places (issue #477) -- Remove stray debug code in symbol allocation (issue #478) +- Modify warning message (fixes + [#476](https://github.com/josephwright/siunitx/issues/476)) +- Rounding zero values to a fixed number of places (issue + [#477](https://github.com/josephwright/siunitx/issues/477)) +- Remove stray debug code in symbol allocation (issue + [#478](https://github.com/josephwright/siunitx/issues/478)) ## [v3.0.11] @@ -106,9 +143,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Improve some fallback unit definitions ### Fixed -- Printing of symbols with encodings other than UTF-8 (issue #470) -- Argument order for `\DeclareSIPrefix` (issue #471) -- Emulation of `number-unit-separator` (issue #473) +- Printing of symbols with encodings other than UTF-8 (issue + [#470](https://github.com/josephwright/siunitx/issues/470)) +- Argument order for `\DeclareSIPrefix` (issue + [#471](https://github.com/josephwright/siunitx/issues/471)) +- Emulation of `number-unit-separator` (issue + [#473](https://github.com/josephwright/siunitx/issues/473)) ## [v3.0.10] @@ -116,7 +156,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Documentation improvements ### Fixed -- Incompatibility with REVTeX (issue #469) +- Incompatibility with REVTeX (issue + [#469](https://github.com/josephwright/siunitx/issues/469)) ## [v3.0.9] @@ -125,12 +166,16 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Add a hint for formatting regression tables ### Fixed -- Suppress some spurious overfull box warnings +- Suppress some spurious overfull box warnings - Issue an error with `output-product` -- Rounding of uncertainties falling in the integer part (issue #454) -- Printing in text mode for compound quantities (issue #463) -- Correctly handle `\protect` in literal units (issue #464) -- Interpretation of uncertainties in integers (issue #465) +- Rounding of uncertainties falling in the integer part (issue + [#454](https://github.com/josephwright/siunitx/issues/454)) +- Printing in text mode for compound quantities (issue + [#463](https://github.com/josephwright/siunitx/issues/463)) +- Correctly handle `\protect` in literal units (issue + [#464](https://github.com/josephwright/siunitx/issues/464)) +- Interpretation of uncertainties in integers (issue + [#465](https://github.com/josephwright/siunitx/issues/465)) ## [v3.0.8] @@ -140,17 +185,22 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Provide a fallback route for deprecated units ### Fixed -- Correct printing of `10^{0}` (issue #459) -- Emulation of `group-four-digits` (issue #461) +- Correct printing of `10^{0}` (issue + [#459](https://github.com/josephwright/siunitx/issues/459)) +- Emulation of `group-four-digits` (issue + [#461](https://github.com/josephwright/siunitx/issues/461)) ## [v3.0.7] ### Fixed -- Formatting of some literal units (issue #449) -- Issue a warning for removed option `load-configurations` (issue #455) +- Formatting of some literal units (issue + [#449](https://github.com/josephwright/siunitx/issues/449)) +- Issue a warning for removed option `load-configurations` (issue + [#455](https://github.com/josephwright/siunitx/issues/455)) - Printing of `\times` and `\cdot` in text mode when using a locale - (issue #457) -- Implement missing `output-exponent-marker` (issue #458) + (issue [#457](https://github.com/josephwright/siunitx/issues/457)) +- Implement missing `output-exponent-marker` (issue + [#458](https://github.com/josephwright/siunitx/issues/458)) ## [v3.0.6] @@ -158,9 +208,10 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Documentation improvements ### Fixed -- Avoid error if `forbid-literal-units` is set in the preamble (issue #452) +- Avoid error if `forbid-literal-units` is set in the preamble (issue + [#452](https://github.com/josephwright/siunitx/issues/452)) - Format separate uncertainty correctly where it falls purely in the integer - part (issue #454) + part (issue [#454](https://github.com/josephwright/siunitx/issues/454)) ## [v3.0.5] @@ -168,10 +219,14 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Documentation improvements ### Fixed -- Bracket separate uncertainties in compound quantities (issue #441) -- Color negative values in table cells correctly (issue #444) -- Avoid consumption of any math alphabets (issue #445) -- Mark `\bar` as removed (issue #448) +- Bracket separate uncertainties in compound quantities (issue + [#441](https://github.com/josephwright/siunitx/issues/441)) +- Color negative values in table cells correctly (issue + [#444](https://github.com/josephwright/siunitx/issues/444)) +- Avoid consumption of any math alphabets (issue + [#445](https://github.com/josephwright/siunitx/issues/445)) +- Mark `\bar` as removed (issue + [#448](https://github.com/josephwright/siunitx/issues/448)) ## [v3.0.4] @@ -180,7 +235,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to within the code-level API ### Fixed -- Alignment of integers in tables when `parse-numbers = tables` (issue #442) +- Alignment of integers in tables when `parse-numbers = tables` (issue + [#442](https://github.com/josephwright/siunitx/issues/442)) ## [v3.0.3] @@ -189,8 +245,10 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Emulation of `input-symbols` (fixes #431) -- Standard setting for `group-minimum-digits` (issue #436) -- Application of negative color in table cells (issue #439) +- Standard setting for `group-minimum-digits` (issue + [#436](https://github.com/josephwright/siunitx/issues/436)) +- Application of negative color in table cells (issue + [#439](https://github.com/josephwright/siunitx/issues/439)) ## [v3.0.2] @@ -199,12 +257,18 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Better default for `product-symbol` ### Fixed -- Option settings `group-digits = true` and `group-digits = false` (issue #422) -- Correct position of decimal marker in some tables (issue #423) -- Coloring of negative numbers in tables (issue #424) -- Alignment of numbers when printing without a `table-format` (issue #424) -- Emulation of `\celsius` (issue #426) -- Allow `\cdot` to work in text mode (issue #430) +- Option settings `group-digits = true` and `group-digits = false` (issue + [#422](https://github.com/josephwright/siunitx/issues/422)) +- Correct position of decimal marker in some tables (issue + [#423](https://github.com/josephwright/siunitx/issues/423)) +- Coloring of negative numbers in tables (issue + [#424](https://github.com/josephwright/siunitx/issues/424)) +- Alignment of numbers when printing without a `table-format` (issue + [#424](https://github.com/josephwright/siunitx/issues/424)) +- Emulation of `\celsius` (issue + [#426](https://github.com/josephwright/siunitx/issues/426)) +- Allow `\cdot` to work in text mode (issue + [#430](https://github.com/josephwright/siunitx/issues/430)) ### Deprecated - Unit macro `\celsius` @@ -218,9 +282,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Documentation improvements ### Fixed -- Printing of fractional units in text mode (issue #418) -- Include `siunitx-abbreviations.cfg` in fallback v2 files (issue #419) -- French translation of 'to' for ranges (issue #421) +- Printing of fractional units in text mode (issue + [#418](https://github.com/josephwright/siunitx/issues/418)) +- Include `siunitx-abbreviations.cfg` in fallback v2 files (issue + [#419](https://github.com/josephwright/siunitx/issues/419)) +- French translation of 'to' for ranges (issue + [#421](https://github.com/josephwright/siunitx/issues/421)) ## [v3.0.0] @@ -429,7 +496,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.8a] - 2020-02-23 ### Fixed -- Correct `\ohm` when `unicode-math` is loaded (issue #377) +- Correct `\ohm` when `unicode-math` is loaded (issue [#377](https://github.com/josephwright/siunitx/issues/377)) ## [v2.8] - 2020-02-20 @@ -464,12 +531,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Collect tokens before `\ignorespaces` in tabulars (esp. with - REVTeX) (issue #337) + REVTeX) (issue [#337](https://github.com/josephwright/siunitx/issues/337)) ## [v2.7q] - 2018-05-11 ### Fixed -- Allow for `cellspace` "column" option (issue #315) +- Allow for `cellspace` "column" option (issue [#315](https://github.com/josephwright/siunitx/issues/315)) ## [v2.7p] - 2018-05-10 @@ -487,7 +554,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.7m] - 2018-03-20 ### Changed -- Update `\astronomicalunit` symbol (issue #332) +- Update `\astronomicalunit` symbol (issue [#332](https://github.com/josephwright/siunitx/issues/332)) ## [v2.7l] - 2018-03-11 @@ -498,15 +565,15 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Switch package date format to ISO ### Fixed -- Scope of some internal variable corrected (issue #327) -- Track `unicode-math` changes (issue #331) +- Scope of some internal variable corrected (issue [#327](https://github.com/josephwright/siunitx/issues/327)) +- Track `unicode-math` changes (issue [#331](https://github.com/josephwright/siunitx/issues/331)) ## [v2.7k] - 2017-11-26 ### Fixed -- Incorrect internal variable renamed (issue #320) -- Suppress leading "1" when units are not parsed (issue #318) -- Correct default value for `arc-separator` (issue #319) +- Incorrect internal variable renamed (issue [#320](https://github.com/josephwright/siunitx/issues/320)) +- Suppress leading "1" when units are not parsed (issue [#318](https://github.com/josephwright/siunitx/issues/318)) +- Correct default value for `arc-separator` (issue [#319](https://github.com/josephwright/siunitx/issues/319)) ## [v2.7j] - 2017-08-02 @@ -516,12 +583,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.7i] - 2017-07-23 ### Fixed -- Incorrect internal variable renamed (issue #311) +- Incorrect internal variable renamed (issue [#311](https://github.com/josephwright/siunitx/issues/311)) ## [v2.7h] - 2017-06-13 ### Changed -- Some abuses of `expl3` box functions removed (issue #309) +- Some abuses of `expl3` box functions removed (issue [#309](https://github.com/josephwright/siunitx/issues/309)) ## [v2.7g] - 2017-05-19 @@ -543,7 +610,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.7e] - 2017-03-06 ### Fixed -- Properly handle signs in `table-format` key (issue #303) +- Properly handle signs in `table-format` key (issue [#303](https://github.com/josephwright/siunitx/issues/303)) ## [v2.7d] - 2017-02-19 @@ -553,12 +620,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.7c] - 2017-02-01 ### Fixed -- Correct integer alignment in tables (issue #302) +- Correct integer alignment in tables (issue [#302](https://github.com/josephwright/siunitx/issues/302)) ## [v2.7b] - 2017-01-28 ### Fixed -- Fix an issue with large numbers in scientific mode (issue #301) +- Fix an issue with large numbers in scientific mode (issue [#301](https://github.com/josephwright/siunitx/issues/301)) ## [v2.7a] - 2017-01-01 @@ -582,12 +649,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.6r] - 2016-08-22 ### Changed -- Warn if `color` is not loaded (issue #289) -- Document some aspects of internal number processing (issue #294) +- Warn if `color` is not loaded (issue [#289](https://github.com/josephwright/siunitx/issues/289)) +- Document some aspects of internal number processing (issue [#294](https://github.com/josephwright/siunitx/issues/294)) - Minor `expl3` fixes including tracking deprecations ### Fixed -- Handling of `e0` input (issue #292) +- Handling of `e0` input (issue [#292](https://github.com/josephwright/siunitx/issues/292)) - Added some missing internal variable declarations ## [v2.6q] - 2016-03-01 @@ -601,7 +668,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.6p] - 2016-01-19 ### Fixed -- Formatting of `\degreeCelsius` (issue #285) +- Formatting of `\degreeCelsius` (issue [#285](https://github.com/josephwright/siunitx/issues/285)) - Allow input unit with prefix and `\per` in `exponent-to-prefix` (issue 283) ## [v2.6o] - 2016-01-05 @@ -612,10 +679,10 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.6n] - 2015-12-31 ### Changed -- Formatting of `\degreeCelsius` (issue #282) +- Formatting of `\degreeCelsius` (issue [#282](https://github.com/josephwright/siunitx/issues/282)) ### Fixed -- Appearance of ångström with LuaTeX (issue #280) +- Appearance of ångström with LuaTeX (issue [#280](https://github.com/josephwright/siunitx/issues/280)) ## [v2.6m] - 2015-10-15 @@ -645,8 +712,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Removed one deprecated `expl3` functions ### Fixed -- Use of `\cancel` in math mode (issue #264) -- Cope better with large numbers when rounding (issue #198) +- Use of `\cancel` in math mode (issue [#264](https://github.com/josephwright/siunitx/issues/264)) +- Cope better with large numbers when rounding (issue [#198](https://github.com/josephwright/siunitx/issues/198)) ## [v2.6h] - 2015-07-17 @@ -656,7 +723,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.6g] - 2015-06-25 ### Fixed -- Handling of empty table cells (issue #271) +- Handling of empty table cells (issue [#271](https://github.com/josephwright/siunitx/issues/271)) ## [v2.6f] - 2015-06-16 @@ -706,23 +773,23 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Use `\mathord` before comparators - Only apply 'tight' spacing to `\mathbin` cases - Use a 'real' minus with `tex4ht` -- Use a full width space between number and unit (issue #230) -- Note that colour for printing powers is set by `power-font` (issue #240) -- Use `\mathord` to get 'tight' spacing for signs (issue #241) -- Old `repeatunits` option is partly coved by `range-units` (issue #254) +- Use a full width space between number and unit (issue [#230](https://github.com/josephwright/siunitx/issues/230)) +- Note that colour for printing powers is set by `power-font` (issue [#240](https://github.com/josephwright/siunitx/issues/240)) +- Use `\mathord` to get 'tight' spacing for signs (issue [#241](https://github.com/josephwright/siunitx/issues/241)) +- Old `repeatunits` option is partly coved by `range-units` (issue [#254](https://github.com/josephwright/siunitx/issues/254)) ### Fixed - Loading when `mdwtab` is in use - Appearance of minus sign when `tex4ht` is in use - Spacing when printing comparators -- Preserve `\fg` in bookmarks (issue #226) -- Allow for `output-exponent-marker` option in tables (issue #232) +- Preserve `\fg` in bookmarks (issue [#226](https://github.com/josephwright/siunitx/issues/226)) +- Allow for `output-exponent-marker` option in tables (issue [#232](https://github.com/josephwright/siunitx/issues/232)) - Conversion of integer with separate uncertainty to 'compact' form - (issue #233) -- Option name wrong in v1 table (issue #240) -- Use `\textpm` in text mode if `textcomp` package is loaded (issue #249) -- Ignore hard spaces in `\num` (issue #256) -- Use `\mathord` for tight spacing on 'in line' exponent (issue #257) + (issue [#233](https://github.com/josephwright/siunitx/issues/233)) +- Option name wrong in v1 table (issue [#240](https://github.com/josephwright/siunitx/issues/240)) +- Use `\textpm` in text mode if `textcomp` package is loaded (issue [#249](https://github.com/josephwright/siunitx/issues/249)) +- Ignore hard spaces in `\num` (issue [#256](https://github.com/josephwright/siunitx/issues/256)) +- Use `\mathord` for tight spacing on 'in line' exponent (issue [#257](https://github.com/josephwright/siunitx/issues/257)) ## [v2.5s] - 2013-07-31 @@ -740,8 +807,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Issue warning if `cellspace` column letter is moved ### Fixed -- Reorder creation of unit wrappers and option setting (issue #218) -- Replace active hyphen with 'other' one (issue #222) +- Reorder creation of unit wrappers and option setting (issue [#218](https://github.com/josephwright/siunitx/issues/218)) +- Replace active hyphen with 'other' one (issue [#222](https://github.com/josephwright/siunitx/issues/222)) ## [v2.5p] - 2013-02-01 @@ -756,15 +823,15 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.5n] - 2012-12-29 ### Fixed -- Correctly calculate grouping data to send to `pgf` (issue #211) +- Correctly calculate grouping data to send to `pgf` (issue [#211](https://github.com/josephwright/siunitx/issues/211)) ## [v2.5m] - 2012-11-27 ### Fixed - Allow for `bidi`/RTL when applying `\text` - Search-and-replace in UTF-8 literal units -- Load binary-units only when requested (issue #201) -- Disable `\hightlight` in bookmarks (issue #207) +- Load binary-units only when requested (issue [#201](https://github.com/josephwright/siunitx/issues/201)) +- Disable `\hightlight` in bookmarks (issue [#207](https://github.com/josephwright/siunitx/issues/207)) ## [v2.5l] - 2012-11-21 @@ -779,12 +846,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Skip white space after `\begin{document}` - Correct use of fixed dimension/skip values internally -- Store name of `\frac` function, don't `\let` it (issue #203) +- Store name of `\frac` function, don't `\let` it (issue [#203](https://github.com/josephwright/siunitx/issues/203)) ## [v2.5j] - 2012-09-18 ### Fixed -- Erroneous branch in test for rounding removed (issue #202) +- Erroneous branch in test for rounding removed (issue [#202](https://github.com/josephwright/siunitx/issues/202)) ## [v2.5i] - 2012-09-11 @@ -821,21 +888,21 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Extend qualifier system to cover 'phrases' ### Changed -- Extend UTF-8 support (issue #199) +- Extend UTF-8 support (issue [#199](https://github.com/josephwright/siunitx/issues/199)) - Track `expl3` changes ## [v2.5c] - 2012-05-03 ### Fixed -- Detect and skip empty `s`-column cells (issue #197) -- Detection of zero input with fixed exponent (issue #198) +- Detect and skip empty `s`-column cells (issue [#197](https://github.com/josephwright/siunitx/issues/197)) +- Detection of zero input with fixed exponent (issue [#198](https://github.com/josephwright/siunitx/issues/198)) ## [v2.5b] - 2012-04-21 ### Fixed -- Detect eulervm package (issue #195) +- Detect eulervm package (issue [#195](https://github.com/josephwright/siunitx/issues/195)) - Search-and-replace for category 'other' "_' and "^" in literal - units (issue #196) + units (issue [#196](https://github.com/josephwright/siunitx/issues/196)) ## [v2.5a] - 2012-04-19 @@ -846,16 +913,16 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.5] - 2012-04-15 ### Added -- Option `zero-decimal-to-integer` (issue #178) -- Option to omit uncertainly entirely (issue #180) +- Option `zero-decimal-to-integer` (issue [#178](https://github.com/josephwright/siunitx/issues/178)) +- Option to omit uncertainly entirely (issue [#180](https://github.com/josephwright/siunitx/issues/180)) ### Changed - Reduce use of implicit math mode -- Document that `round-mode = places` acts on the mantissa (issue #193) -- Rearrange processing code such that exponents can be dropped (issue #192) +- Document that `round-mode = places` acts on the mantissa (issue [#193](https://github.com/josephwright/siunitx/issues/193)) +- Rearrange processing code such that exponents can be dropped (issue [#192](https://github.com/josephwright/siunitx/issues/192)) ### Fixed -- Use a standard-width comparator for tables (issue #183) +- Use a standard-width comparator for tables (issue [#183](https://github.com/josephwright/siunitx/issues/183)) ## [v2.4n] - 2012-04-12 @@ -875,8 +942,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.4k] - 2012-03-22 ### Fixed -- Interaction of `^` and `_` with `breqn` (issue #191) -- Adapted `list-pair-separator` for `translator` package (issue #190) +- Interaction of `^` and `_` with `breqn` (issue [#191](https://github.com/josephwright/siunitx/issues/191)) +- Adapted `list-pair-separator` for `translator` package (issue [#190](https://github.com/josephwright/siunitx/issues/190)) - Check for `round-minimum` with large values ## [v2.4j] - 2012-01-26 @@ -887,7 +954,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.4i] - 2012-01-19 ### Fixed -- Check for zero decimal part (issue #186) +- Check for zero decimal part (issue [#186](https://github.com/josephwright/siunitx/issues/186)) ## [v2.4h] - 2012-01-15 @@ -900,7 +967,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.4g] - 2012-01-06 ### Changed -- Internal changes due to update to `expl3` (issue #131) +- Internal changes due to update to `expl3` (issue [#131](https://github.com/josephwright/siunitx/issues/131)) ## [v2.4f] - 2011-12-24 @@ -939,26 +1006,26 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Changed - Extend search-and-replace in units to cover UTF-8 symbols -- Symbols used with UTF-8 engines (issue #176) +- Symbols used with UTF-8 engines (issue [#176](https://github.com/josephwright/siunitx/issues/176)) ### Fixed -- Interaction of `textcomp` with user symbol changes (issue #181) +- Interaction of `textcomp` with user symbol changes (issue [#181](https://github.com/josephwright/siunitx/issues/181)) ## [v2.4] - 2012-04-15 ### Added -- Option `round-half = even` (issue #40) -- Option `list-pair-separator` (issue #136) -- Auto-conversion for prefixes (issue #173) +- Option `round-half = even` (issue [#40](https://github.com/josephwright/siunitx/issues/40)) +- Option `list-pair-separator` (issue [#136](https://github.com/josephwright/siunitx/issues/136)) +- Auto-conversion for prefixes (issue [#173](https://github.com/josephwright/siunitx/issues/173)) - Notes for upgraders ### Changed -- Automatically 'compress' exponents (issue #62) +- Automatically 'compress' exponents (issue [#62](https://github.com/josephwright/siunitx/issues/62)) - Clean up internal `expl3` usage - Removed remaining 'math' options ### Fixed -- Replace minus sign in text mode (issue #161) +- Replace minus sign in text mode (issue [#161](https://github.com/josephwright/siunitx/issues/161)) ## [v2.3h] - 2011-10-14 @@ -967,8 +1034,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Explicitly load `xfac` as part of documentation ### Fixed -- Select math mode with `tex4ht` (issue #170) -- Print superscripts using HTML tags with `tex4ht` (issue #171) +- Select math mode with `tex4ht` (issue [#170](https://github.com/josephwright/siunitx/issues/170)) +- Print superscripts using HTML tags with `tex4ht` (issue [#171](https://github.com/josephwright/siunitx/issues/171)) ## [v2.3g] - 2011-10-06 @@ -977,13 +1044,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Check for leading zero when dealing with rounding 'large' exponents - (issue #168) + (issue [#168](https://github.com/josephwright/siunitx/issues/168)) - Internal issue with undeclared variable ## [v2.3f] - 2011-09-13 ### Fixed -- Trap erroneous numbers in tables (issue #167) +- Trap erroneous numbers in tables (issue [#167](https://github.com/josephwright/siunitx/issues/167)) ## [v2.3e] - 2011-09-09 @@ -1002,12 +1069,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.3c] - 2011-08-12 ### Fixed -- Use correct `\pm` for units in literal mode (issue #163) +- Use correct `\pm` for units in literal mode (issue [#163](https://github.com/josephwright/siunitx/issues/163)) ## [v2.3b] - 2011-08-08 ### Added -- Additional abbreviated units (issue #162) +- Additional abbreviated units (issue [#162](https://github.com/josephwright/siunitx/issues/162)) ### Fixed - Definition of abbreviations using option `free-standing-units` @@ -1023,9 +1090,9 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.3] - 2011-07-09 ### Added -- Supported for powers in literal units (issue #152) +- Supported for powers in literal units (issue [#152](https://github.com/josephwright/siunitx/issues/152)) - Unit abbreviation `\hl`/`\hL` -- Demo for 'closing up' not after an integer (issue #151) +- Demo for 'closing up' not after an integer (issue [#151](https://github.com/josephwright/siunitx/issues/151)) ### Changed - Load binary units as an option @@ -1039,69 +1106,69 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Behavior of `table-auto-round` option - Missing deactivation in `strict` option -- Grouping digits (issue #133) -- Addition of explicit sign to mantissa (issue #139) +- Grouping digits (issue [#133](https://github.com/josephwright/siunitx/issues/133)) +- Addition of explicit sign to mantissa (issue [#139](https://github.com/josephwright/siunitx/issues/139)) - Various issues with tabular alignment ## [v2.2l] - 2011-06-30 ### Fixed -- Group pre-unit parsing (issue #158) +- Group pre-unit parsing (issue [#158](https://github.com/josephwright/siunitx/issues/158)) ## [v2.2k] - 2011-06-27 ### Fixed -- Avoid `\peek_...` inside the print routine (issue #157) +- Avoid `\peek_...` inside the print routine (issue [#157](https://github.com/josephwright/siunitx/issues/157)) ## [v2.2j] - 2011-06-26 ### Fixed -- Avoid box for range phrase (issue #156) +- Avoid box for range phrase (issue [#156](https://github.com/josephwright/siunitx/issues/156)) ## [v2.2i] - 2011-06-15 ### Fixed -- Detect font in table cells before boxing up (issue #153) +- Detect font in table cells before boxing up (issue [#153](https://github.com/josephwright/siunitx/issues/153)) ## [v2.2h] - 2011-06-03 ### Fixed -- Deal correctly with 'roll-over' in rounding integer part (issue #150) +- Deal correctly with 'roll-over' in rounding integer part (issue [#150](https://github.com/josephwright/siunitx/issues/150)) ## [v2.2g] - 2011-06-02 ### Fixed - Set per-unit options for list/range units when a single unit is used - (issue #149) + (issue [#149](https://github.com/josephwright/siunitx/issues/149)) - Add test for `parse-numbers = false` to `\tablenum` code ## [v2.2f] - 2011-05-25 ### Fixed -- `table-column-width = 0pt` (issue #146) +- `table-column-width = 0pt` (issue [#146](https://github.com/josephwright/siunitx/issues/146)) ## [v2.2e] - 2011-05-23 ### Fixed -- Remove 'mantissa' marker for numbers with no real part (issue #145) +- Remove 'mantissa' marker for numbers with no real part (issue [#145](https://github.com/josephwright/siunitx/issues/145)) ## [v2.2d] - 2011-04-28 ### Fixed -- The `strict` option (issue #143) -- Add `\dots` to protected symbols (issue #131) +- The `strict` option (issue [#143](https://github.com/josephwright/siunitx/issues/143)) +- Add `\dots` to protected symbols (issue [#131](https://github.com/josephwright/siunitx/issues/131)) ## [v2.2c] - 2011-04-20 ### Fixed -- Bad expansion of toks (issue #141) +- Bad expansion of toks (issue [#141](https://github.com/josephwright/siunitx/issues/141)) ## [v2.2b] - 2011-04-19 ### Fixed - Bad formatting of negative exponents when using 'E' output -- Internally one argument if `color` is not loaded (issue #138) -- Make `\of` expandable in literal contexts (issue #137) +- Internally one argument if `color` is not loaded (issue [#138](https://github.com/josephwright/siunitx/issues/138)) +- Make `\of` expandable in literal contexts (issue [#137](https://github.com/josephwright/siunitx/issues/137)) ## [v2.2a] - 2011-04-16 @@ -1111,39 +1178,39 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Performance enhancements ### Fixed -- Auto-insertion of "1" when literal mode is on (issue #135) -- Detect `\end` macro and print output correctly (issue #134) -- Group digits for input containing symbolic entries (issue #131) -- Specify a default for `group-digits` (issue #130) -- Correctly expand macros with arguments in tables (issue #129) +- Auto-insertion of "1" when literal mode is on (issue [#135](https://github.com/josephwright/siunitx/issues/135)) +- Detect `\end` macro and print output correctly (issue [#134](https://github.com/josephwright/siunitx/issues/134)) +- Group digits for input containing symbolic entries (issue [#131](https://github.com/josephwright/siunitx/issues/131)) +- Specify a default for `group-digits` (issue [#130](https://github.com/josephwright/siunitx/issues/130)) +- Correctly expand macros with arguments in tables (issue [#129](https://github.com/josephwright/siunitx/issues/129)) - Ensure that `*` in tabular preamble works correctly with `S`/`s` columns - (issue #128) + (issue [#128](https://github.com/josephwright/siunitx/issues/128)) ## [v2.2] - 2011-04-13 ### Added - `\tablenum` command (issue ##117) -- Parse separated uncertainties (issue #57) -- Allow `\cancel` in units (issue #4) +- Parse separated uncertainties (issue [#57](https://github.com/josephwright/siunitx/issues/57)) +- Allow `\cancel` in units (issue [#4](https://github.com/josephwright/siunitx/issues/4)) - Allow `\highlight` in units -- Option `table-column-width` (issue #105) -- Option `bracket-negative-numbers` (issue #5) -- Option `table-align-comparators` (issue #86) -- Option `minimum-integer-digits` (issue #112) -- Option to print exponent marker literally (issue #113) -- Support for engineering-style number output (issue #114) -- Example of centring a right-aligned column (issue #85) +- Option `table-column-width` (issue [#105](https://github.com/josephwright/siunitx/issues/105)) +- Option `bracket-negative-numbers` (issue [#5](https://github.com/josephwright/siunitx/issues/5)) +- Option `table-align-comparators` (issue [#86](https://github.com/josephwright/siunitx/issues/86)) +- Option `minimum-integer-digits` (issue [#112](https://github.com/josephwright/siunitx/issues/112)) +- Option to print exponent marker literally (issue [#113](https://github.com/josephwright/siunitx/issues/113)) +- Support for engineering-style number output (issue [#114](https://github.com/josephwright/siunitx/issues/114)) +- Example of centring a right-aligned column (issue [#85](https://github.com/josephwright/siunitx/issues/85)) - Various unit abbreviations ### Changed - Renamed `...-separator` options to `...-product` where appropriate ### Fixed -- Allow `\DeclareSIUnit` to take optional argument (issue #121) +- Allow `\DeclareSIUnit` to take optional argument (issue [#121](https://github.com/josephwright/siunitx/issues/121)) - Latent issue with micro symbol when `fontspec` is loaded - Right-alignment in fixed-width columns - Print leading `1` when units start `\per` and `per-mode = symbol` - (issue #125) + (issue [#125](https://github.com/josephwright/siunitx/issues/125)) ## [v2.1p] - 2011-04-04 @@ -1153,13 +1220,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.1o] - 2011-04-03 ### Fixed -- Detect arev package (issue #122) -- Allow for negative fixed exponents (issue #123) +- Detect arev package (issue [#122](https://github.com/josephwright/siunitx/issues/122)) +- Allow for negative fixed exponents (issue [#123](https://github.com/josephwright/siunitx/issues/123)) ## [v2.1n] - 2011-03-31 ### Fixed -- Rounding to zero significant figures should always give a 0 (issue #119) +- Rounding to zero significant figures should always give a 0 (issue [#119](https://github.com/josephwright/siunitx/issues/119)) - `round-integer-to-decimal` when `round-precision = 0` ## [v2.1m] - 2011-03-20 @@ -1173,7 +1240,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Ensure that some output occurs in when `round-precision = 0` and - `round-mode = places` (issue #111) + `round-mode = places` (issue [#111](https://github.com/josephwright/siunitx/issues/111)) ## [v2.1l] - 2011-02-10 @@ -1192,7 +1259,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Check for `\inputencodingname` macro rather than `inputenc` package - (issue #107) + (issue [#107](https://github.com/josephwright/siunitx/issues/107)) ## [v2.1i] - 2011-01-27 @@ -1200,7 +1267,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - New approach for `detect-display-math` ### Fixed -- New approach to `symbol-or-fraction` (issue #104) +- New approach to `symbol-or-fraction` (issue [#104](https://github.com/josephwright/siunitx/issues/104)) ## [v2.1h] - 2011-01-18 @@ -1215,39 +1282,39 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.1f] - 2010-11-24 ### Fixed -- One-letter typo (issue #101) +- One-letter typo (issue [#101](https://github.com/josephwright/siunitx/issues/101)) ## [v2.1e] - 2010-11-22 ### Fixed -- Issue with free-standing unit options (issue #99) -- Text mode symbols with `fontspec` (issue #98) +- Issue with free-standing unit options (issue [#99](https://github.com/josephwright/siunitx/issues/99)) +- Text mode symbols with `fontspec` (issue [#98](https://github.com/josephwright/siunitx/issues/98)) ## [v2.1d] - 2010-11-14 ### Fixed -- Apply options for units when in free-standing mode (issue #97) +- Apply options for units when in free-standing mode (issue [#97](https://github.com/josephwright/siunitx/issues/97)) - Typo in v1 configuration file ## [v2.1c] - 2010-11-14 ### Added -- Choice `text` for `qualifier-mode` option (issue #95) +- Choice `text` for `qualifier-mode` option (issue [#95](https://github.com/josephwright/siunitx/issues/95)) ### Changed - Discourage line break between number and unit even when it is permitted - (issue #92) + (issue [#92](https://github.com/josephwright/siunitx/issues/92)) - Ensure that lists can break across lines - Restrict range and list functions to text mode -- Auto-detect math mode in tables (issue #94) +- Auto-detect math mode in tables (issue [#94](https://github.com/josephwright/siunitx/issues/94)) ## [v2.1b] - 2010-11-05 ### Changed -- Improve hyphen to minus correction (issue #89) +- Improve hyphen to minus correction (issue [#89](https://github.com/josephwright/siunitx/issues/89)) ### Fixed -- One wrong variable used (issue #90) +- One wrong variable used (issue [#90](https://github.com/josephwright/siunitx/issues/90)) ## [v2.1a] - 2010-11-05 @@ -1255,19 +1322,19 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Internal `expl3` improvements ### Fixed -- Print list separators in text mode (issue #87) -- Add in some missing `\ensuremath` statements (issue #88) +- Print list separators in text mode (issue [#87](https://github.com/josephwright/siunitx/issues/87)) +- Add in some missing `\ensuremath` statements (issue [#88](https://github.com/josephwright/siunitx/issues/88)) ## [v2.1] - 2010-10-31 ### Added -- Option `copy-complex-root` (issue #63) -- Option `table-align-exponent` and `table-align-uncertainty` (issue #60) -- Option `power-font` (issue #69) -- Option `scientific-notation` (issue #11) -- Option `round-integer-to-decimal` (issue #55) -- Option `input-comparators` (issue #16) -- Option `round-minimum` (issue #17) +- Option `copy-complex-root` (issue [#63](https://github.com/josephwright/siunitx/issues/63)) +- Option `table-align-exponent` and `table-align-uncertainty` (issue [#60](https://github.com/josephwright/siunitx/issues/60)) +- Option `power-font` (issue [#69](https://github.com/josephwright/siunitx/issues/69)) +- Option `scientific-notation` (issue [#11](https://github.com/josephwright/siunitx/issues/11)) +- Option `round-integer-to-decimal` (issue [#55](https://github.com/josephwright/siunitx/issues/55)) +- Option `input-comparators` (issue [#16](https://github.com/josephwright/siunitx/issues/16)) +- Option `round-minimum` (issue [#17](https://github.com/josephwright/siunitx/issues/17)) ### Changed - Internal `expl3` improvements @@ -1287,12 +1354,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Make single-prefix detection work with non-symbolic prefixes - (issue #81) + (issue [#81](https://github.com/josephwright/siunitx/issues/81)) ## [v2.0w] - 2010-09-29 ### Fixed -- Problem with REVTeX and S columns (issue #80) +- Problem with REVTeX and S columns (issue [#80](https://github.com/josephwright/siunitx/issues/80)) ## [v2.0v] - 2010-09-26 @@ -1302,13 +1369,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0u] - 2010-09-14 ### Fixed -- Issue with `textpos` (issue #74) -- Prevent infinite loop when using `\SI{}{...}` (issue #78) +- Issue with `textpos` (issue [#74](https://github.com/josephwright/siunitx/issues/74)) +- Prevent infinite loop when using `\SI{}{...}` (issue [#78](https://github.com/josephwright/siunitx/issues/78)) ## [v2.0t] - 2010-08-24 ### Fixed -- Correct `\exp_after:wN` (issue #77) +- Correct `\exp_after:wN` (issue [#77](https://github.com/josephwright/siunitx/issues/77)) ## [v2.0s] - 2010-08-12 @@ -1316,7 +1383,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Demo for headers in tables ### Fixed -- Bug in rounding code for zero decimal place (issue #76) +- Bug in rounding code for zero decimal place (issue [#76](https://github.com/josephwright/siunitx/issues/76)) ## [v2.0r] - 2010-08-02 @@ -1336,7 +1403,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0o] - 2010-07-22 ### Added -- Extend detect-italic to slanted shape (issue #73) +- Extend detect-italic to slanted shape (issue [#73](https://github.com/josephwright/siunitx/issues/73)) ## [v2.0n] - 2010-07-15 @@ -1362,7 +1429,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0k] - 2010-07-04 ### Fixed -- Issue with `babel` (issue #68) +- Issue with `babel` (issue [#68](https://github.com/josephwright/siunitx/issues/68)) ## [v2.0j] - 2010-06-30 @@ -1375,7 +1442,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0i] - 2010-06-29 ### Fixed -- Two missed `_` from `expl3` style switch (issue #67) +- Two missed `_` from `expl3` style switch (issue [#67](https://github.com/josephwright/siunitx/issues/67)) ## [v2.0h] - 2010-06-29 @@ -1385,33 +1452,33 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0g] - 2010-06-28 ### Added -- First approach to localisation (issue #61) -- Restore 'bracket-numbers' option (issue #65) +- First approach to localisation (issue [#61](https://github.com/josephwright/siunitx/issues/61)) +- Restore 'bracket-numbers' option (issue [#65](https://github.com/josephwright/siunitx/issues/65)) ### Changed - Alter complex root output so that it always resets the math font ### Fixed -- Bracket complex numbers in numerator of quotient (issue #66) +- Bracket complex numbers in numerator of quotient (issue [#66](https://github.com/josephwright/siunitx/issues/66)) ## [v2.0f] - 2010-06-27 ### Fixed -- Spacing with `\times` in text mode (issue #64) +- Spacing with `\times` in text mode (issue [#64](https://github.com/josephwright/siunitx/issues/64)) ## [v2.0e] - 2010-06-20 ### Fixed -- Move save/restore of `\pm` (issue #58) +- Move save/restore of `\pm` (issue [#58](https://github.com/josephwright/siunitx/issues/58)) ## [v2.0d] - 2010-06-10 ### Changed -- Document use of `\cr` in tables (issue #53) +- Document use of `\cr` in tables (issue [#53](https://github.com/josephwright/siunitx/issues/53)) - Internal `expl3` improvements ### Fixed -- `table-exponent` option's handling of exponent signs (issue #56) +- `table-exponent` option's handling of exponent signs (issue [#56](https://github.com/josephwright/siunitx/issues/56)) ## [v2.0c] - 2010-06-07 @@ -1423,7 +1490,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Test for bottoming-out units and ensure that any 'hidden' literal units - print (issue #50) + print (issue [#50](https://github.com/josephwright/siunitx/issues/50)) ## [v2.0b] - 2010-06-01 @@ -1437,7 +1504,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Several improvements in v1 emulation ### Fixed -- Allow `\newunit` to take optional arguments (issue #45) +- Allow `\newunit` to take optional arguments (issue [#45](https://github.com/josephwright/siunitx/issues/45)) ## v2.0 @@ -1454,7 +1521,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Added - First public testing release (as `si`) -[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.23...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.24...HEAD +[v3.0.24]: https://github.com/josephwright/siunitx/compare/v3.0.23...v3.0.24 [v3.0.23]: https://github.com/josephwright/siunitx/compare/v3.0.22...v3.0.23 [v3.0.22]: https://github.com/josephwright/siunitx/compare/v3.0.21...v3.0.22 [v3.0.21]: https://github.com/josephwright/siunitx/compare/v3.0.20...v3.0.21 diff --git a/macros/latex/contrib/siunitx/README.md b/macros/latex/contrib/siunitx/README.md index a57e22745b..0d065403cf 100644 --- a/macros/latex/contrib/siunitx/README.md +++ b/macros/latex/contrib/siunitx/README.md @@ -1,17 +1,15 @@ siunitx - A comprehensive (SI) units package ============================================ -Physical quantities have both numbers and units, and each -physical quantity should be expressed as the product of a number -and a unit. Typesetting physical quantities requires care to -ensure that the combined mathematical meaning of the number-unit -combination is clear. In particular, the SI units system lays -down a consistent set of units with rules on how these are to be -used. However, different countries and publishers have differing -conventions on the exact appearance of numbers (and units). The -`siunitx` package provides a set of tools for authors to typeset -quantities in a consistent way. The package has an extended set -of configuration options which make it possible to follow -varying typographic conventions with the same input syntax. The -package includes automated processing of numbers and units, and -the ability to control tabular alignment of numbers. +Physical quantities have both numbers and units, and each physical quantity +should be expressed as the product of a number and a unit. Typesetting physical +quantities requires care to ensure that the combined mathematical meaning of the +number-unit combination is clear. In particular, the SI units system lays down a +consistent set of units with rules on how these are to be used. However, +different countries and publishers have differing conventions on the exact +appearance of numbers (and units). The [`siunitx`](https://ctan.org/pkg/siunitx) +package provides a set of tools for authors to typeset quantities in a +consistent way. The package has an extended set of configuration options which +make it possible to follow varying typographic conventions with the same input +syntax. The package includes automated processing of numbers and units, and the +ability to control tabular alignment of numbers. diff --git a/macros/latex/contrib/siunitx/siunitx-code.pdf b/macros/latex/contrib/siunitx/siunitx-code.pdf Binary files differindex 7a4b9ba709..c0a7e9b1fe 100644 --- a/macros/latex/contrib/siunitx/siunitx-code.pdf +++ b/macros/latex/contrib/siunitx/siunitx-code.pdf diff --git a/macros/latex/contrib/siunitx/siunitx-number.dtx b/macros/latex/contrib/siunitx/siunitx-number.dtx index 61ca7af103..38db10d71b 100644 --- a/macros/latex/contrib/siunitx/siunitx-number.dtx +++ b/macros/latex/contrib/siunitx/siunitx-number.dtx @@ -1449,12 +1449,9 @@ % \begin{macro}{\@@_parse_uncert:NN} % \begin{macro}{\@@_parse_uncert:NNNN} % \begin{macro}{\@@_parse_uncert_auxi:NN, \@@_parse_uncert_auxii:NN} -% \begin{macro} -% { -% \@@_parse_uncert_auxii:N , -% \@@_parse_uncert_marker:N , -% \@@_parse_uncert_after:N -% } +% \begin{macro} {\@@_parse_uncert_auxii:N, \@@_parse_uncert_marker:N} +% \begin{macro}{\@@_parse_uncert_extend:nnnN} +% \begin{macro}{\@@_parse_uncert_after:N} % Parsing a combined uncertainty has a very restricted range of allowed % tokens. A closing uncertainty token in the first place is an error, % so we filter that out explicitly. After that, we check for digits, @@ -1544,7 +1541,8 @@ % Handling a decimal marker in the uncertainty is a bit tricky: we need to make % sure it's valid. First, we need to be sure that the integer part of the captured % uncertainty is not too long. Then we need to check that the decimal part is -% not too long. Both of these require data from the collected partial number, +% not too long, and extend the decimal if it is. +% Both of these require data from the collected partial number, % so we extract that first. Checking the decimal part needs the length of the % not-yet-collected uncertainty. Handily, we know that it should be a set of % digits then a closing marker. So we can use that as a length: if it's @@ -1578,9 +1576,15 @@ } \@@_parse_uncert_auxii:NN } - { \@@_parse_loop_break:wN } + { \exp_after:wN \@@_parse_uncert_extend:nnnN #2 #2 } #3 \q_recursion_tail \q_recursion_stop } +\cs_new_protected:Npn \@@_parse_uncert_extend:nnnN #1#2#3#4 + { + \tl_set:Nn #4 { {#1} {#2} { #3 0 } } + \@@_parse_uncert:NNNN #4 \c_true_bool + \@@_parse_uncert_auxii:NN + } % \end{macrocode} % No further tokens are allowed after an uncertainty in parenthesis. % \begin{macrocode} @@ -1594,6 +1598,8 @@ % \end{macro} % \end{macro} % \end{macro} +% \end{macro} +% \end{macro} % % \subsection{Processing numbers} % @@ -2298,7 +2304,7 @@ \bool_lazy_all_p:n { { \l_@@_round_half_even_bool } - { \int_if_odd_p:n {#3} } + { ! \int_if_odd_p:n {#3} } { \@@_round_if_half_p:n {#1} } } } @@ -2316,7 +2322,7 @@ \bool_lazy_all_p:n { { \l_@@_round_half_even_bool } - { \int_if_odd_p:n {#3} } + { ! \int_if_odd_p:n {#3} } { \@@_round_if_half_p:n {#1} } } } @@ -2762,7 +2768,7 @@ } \cs_new:Npn \@@_round_uncertainty:nnnnn #1#2#3#4#5 { - \exp_args:Nf \@@_round_uncertainty_aux:nnnnn + \exp_args:Nff \@@_round_uncertainty_aux:nnnnn { \int_eval:n { \tl_count:n {#5} - \tl_count:n {#2} } } {#1} {#2} {#3} {#4} } @@ -2774,8 +2780,9 @@ { \exp_args:Nf \@@_round_uncertainty_aux:nnnnnn { - \tl_if_blank:nT {#5} - { \prg_replicate:nn {#1} { 0 } } + \prg_replicate:nn + { \int_max:nn { #1 - \tl_count:n {#5} } { 0 } } + { 0 } } {#1} {#2} {#3} {#4} {#5} } diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx index 9a53dd6c88..275f824a35 100644 --- a/macros/latex/contrib/siunitx/siunitx.dtx +++ b/macros/latex/contrib/siunitx/siunitx.dtx @@ -106,7 +106,7 @@ % We use \cs{ExplFileDate} as \cs{@ifpackagelater} doesn't work for pre-loaded % \pkg{expl3} in the absence of the package. % \begin{macrocode} -\@ifl@t@r\ExplFileDate{2018-06-01} +\@ifl@t@r\ExplFileDate{2020-01-09} {} {% \PackageError{siunitx}{Support package expl3 too old} @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2021-07-26} {3.0.23} +\ProvidesExplPackage {siunitx} {2021-08-04} {3.0.24} {A comprehensive (SI) units package} % \end{macrocode} % diff --git a/macros/latex/contrib/siunitx/siunitx.pdf b/macros/latex/contrib/siunitx/siunitx.pdf Binary files differindex 0bca76872a..67b9a4fbee 100644 --- a/macros/latex/contrib/siunitx/siunitx.pdf +++ b/macros/latex/contrib/siunitx/siunitx.pdf diff --git a/macros/latex/contrib/siunitx/siunitx.tex b/macros/latex/contrib/siunitx/siunitx.tex index 735ab2d0d8..136283140d 100644 --- a/macros/latex/contrib/siunitx/siunitx.tex +++ b/macros/latex/contrib/siunitx/siunitx.tex @@ -314,8 +314,8 @@ optional argument, \meta{options}, and one mandatory one, \meta{number}. The contents of \meta{number} are automatically formatted. The formatter removes both \enquote{soft} (\verb*| |) and \enquote{hard} spaces (|\,| and |~|), automatically identifies exponents (as standard marked using |e|, |E|, |d| or -|D|) and adds the appropriate spacing of large numbers. With the standard -settings a leading zero is added before a decimal marker, if needed: both |.| +|D|) and adds the appropriate spacing of large numbers.If required, +a leading zero is added before a decimal marker: both |.| and "," are recognised as decimal markers. \begin{LaTeXdemo} \num{123} \\ @@ -2158,6 +2158,7 @@ the output directly (Table~\ref{tab:opt:units:out}). \midrule bracket-unit-denominator & Switch & true \\ forbid-literal-units & Switch & false \\ + fraction-command & Literal & \cs{frac} \\ inter-unit-product & Literal & \cs{,} \\ parse-units & Switch & true \\ per-mode & Choice & power \\ @@ -2183,11 +2184,13 @@ centred dot. To get the correct spacing it is necessary to use \DescribeOption{per-mode} \DescribeOption{per-symbol} +\DescribeOption{fraction-command} \DescribeOption{bracket-unit-denominator} The handling of \cs{per} is altered using the \opt{per-mode} choice option. The standard setting is \opt{power}, meaning that \cs{per} generates reciprocal powers for units. Setting the option to \opt{fraction} uses the |\frac| function to typeset the positive and negative powers of a unit separately. +The exact function can be adjusted using the \opt{fraction-command} option. \begin{LaTeXdemo} \unit{\joule\per\mole\per\kelvin} \\ \unit{\metre\per\second\squared} \\ diff --git a/macros/luatex/latex/beamer-rl/README.txt b/macros/luatex/latex/beamer-rl/README.txt index c796202f1f..919c52117d 100644 --- a/macros/luatex/latex/beamer-rl/README.txt +++ b/macros/luatex/latex/beamer-rl/README.txt @@ -1,5 +1,5 @@ The beamer-rl class -v1.4b +v1.4c This class provides patchs of some beamer templates and commands for right to left presentation, the class require babel with lualatex engine @@ -9,7 +9,7 @@ please use the issue tracker: <https://github.com/seloumi/beamer-rl/issues> -Current version release date: 2021/03/15 +Current version release date: 2021/08/03 ___________________ Salim Bou diff --git a/macros/luatex/latex/beamer-rl/beamer-rl.cls b/macros/luatex/latex/beamer-rl/beamer-rl.cls index c85b7c769e..df628d67ad 100644 --- a/macros/luatex/latex/beamer-rl/beamer-rl.cls +++ b/macros/luatex/latex/beamer-rl/beamer-rl.cls @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesClass{beamer-rl} -[2021/03/12 v1.4b LaTeX class to patch beamer for right to left presentation with babel] +[2021/08/03 v1.4c LaTeX class to patch beamer for right to left presentation with babel] \RequirePackage{kvoptions} \RequirePackage{kvsetkeys} @@ -420,4 +420,12 @@ \babelfont{sf}{Amiri} \fi +% Temporary workaround to fix bug luatex 1.13.2 (hyperlink in RTL context) +% https://tex.stackexchange.com/questions/592022/issue-in-width-of-hyperlink-box-in-vbox-rtl-context + +\ifdefined\AddToHook +\AddToHook{shipout/background}{\pdfextension setmatrix{1 0 0 1}} +\fi + + \endinput
\ No newline at end of file |