diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/fontscale')
-rw-r--r-- | Master/texmf-dist/doc/latex/fontscale/CHANGELOG.md | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fontscale/beery.cls | 48 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fontscale/fontscale-code.pdf | bin | 82254 -> 81961 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/fontscale/fontscale-code.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fontscale/fontscale-table-classic.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fontscale/fontscale-table-font-steps.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fontscale/fontscale-table-musical.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fontscale/fontscale.pdf | bin | 110649 -> 110650 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/fontscale/fontscale.tex | 6 |
9 files changed, 36 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/latex/fontscale/CHANGELOG.md b/Master/texmf-dist/doc/latex/fontscale/CHANGELOG.md index 7a6a402df5c..4aab77f9001 100644 --- a/Master/texmf-dist/doc/latex/fontscale/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/fontscale/CHANGELOG.md @@ -7,6 +7,11 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] +## [v3.1.2] - 2025-02-13 + +### Fixed +- The package now correctly requires `l3kernel` version 2023-11-09. + ## [v3.1.1] - 2025-02-06 ### Changed diff --git a/Master/texmf-dist/doc/latex/fontscale/beery.cls b/Master/texmf-dist/doc/latex/fontscale/beery.cls index 93c5ae77971..56f47ac2f8d 100644 --- a/Master/texmf-dist/doc/latex/fontscale/beery.cls +++ b/Master/texmf-dist/doc/latex/fontscale/beery.cls @@ -1,25 +1,23 @@ -% Note: This class is designed ONLY for 'fontscale.tex'. Compiled with LuaTeX. +% Note: This class is designed ONLY for 'fontscale.tex'. % LOADING THE CLASS -% LaTeX2e version 2023-11-01 added \IfExplAtLeastTF. \NeedsTeXFormat{LaTeX2e}[2023-11-01] \ProvidesExplClass {beery} - {2025-02-06} + {2025-02-13} {0.0.0} {} \prop_gput:Nnn \g_msg_module_type_prop { beery } { Class } -% l3kernel version 2023-10-10 added many 'e'-variants. -\IfExplAtLeastTF { 2023-10-10 } { } +\IfExplAtLeastTF { 2023-11-09 } { } { \msg_new:nnn { beery } { l3kernel-out-of-date } { - The~ beery~ class~ could~ not~ load.~ + The~ beery~ class~ could~ not~ load. \\ This~ class~ requires~ - L3~ programming~ layer~ version~ 2023-10-10~ or~ newer. + L3~ programming~ layer~ version~ 2023-11-09~ or~ newer. } \msg_critical:nn { beery } { l3kernel-out-of-date } } @@ -27,7 +25,10 @@ \sys_if_engine_luatex:F { \msg_new:nnn { beery } { luatex-required } - { The~ beery~ class~ could~ not~ load.~ This~ class~ requires~ LuaTeX. } + { + The~ beery~ class~ could~ not~ load. \\ + This~ class~ requires~ LuaTeX. + } \msg_critical:nn { beery } { luatex-required } } @@ -65,8 +66,8 @@ \fp_const:Nn \c_beery_golden_ratio_fp { 1.6180 3398 8749 8948 } \tl_const:Nn \c_beery_alphabet_tl { abcdefghijklmnopqrstuvwxyz } \tl_const:Nn \c_beery_digits_tl { 0123456789 } - -\regex_const:Nn \c__beery_ends_in_letter_regex { ^.*[A-Za-z]$ } +\tl_const:Nn \c_beery_pangram_tl + { The~ quick~ brown~ fox~ jumps~ over~ the~ lazy~ dog. } % Scratch variables \box_new:N \l__beery_tmp_box @@ -74,9 +75,8 @@ % CUSTOM MACROS \NewExpandableDocumentCommand \alphabet { } { \c_beery_alphabet_tl } -\NewExpandableDocumentCommand \digits { } { \c_beery_digits_tl } -\NewExpandableDocumentCommand \pangram { } - { The~ quick~ brown~ fox~ jumps~ over~ the~ lazy~ dog. } +\NewExpandableDocumentCommand \digits { } { \c_beery_digits_tl } +\NewExpandableDocumentCommand \pangram { } { \c_beery_pangram_tl } \NewDocumentCommand \Key { >{ \TrimSpaces } m >{ \TrimSpaces } o >{ \TrimSpaces } o } @@ -189,10 +189,7 @@ { \__beery_text_all_caps:nn {#1} {#2} } } \cs_new_protected:Npn \__beery_text_all_caps:nn #1#2 - { - \textls [ \int_eval:n {#1} ] { \text_uppercase:n {#2} } - \regex_match:NnT \c__beery_ends_in_letter_regex {#2} { \@ } - } + { \textls [ \int_eval:n {#1} ] { \text_uppercase:n {#2} } } \NewDocumentCommand \allsmallcaps { >{ \ReverseBoolean } s O { 50 } >{ \TrimSpaces } m } { @@ -354,9 +351,9 @@ , itemsep = \c_zero_skip } \setlist [ itemize , 1 ] { label = \textbullet } -\setlist [ itemize , 2 ] { label = \ScaleTextBullets { 2 } } -\setlist [ itemize , 3 ] { label = \ScaleTextBullets { 3 } } -\setlist [ itemize , 4 ] { label = \ScaleTextBullets { 4 } } +\setlist [ itemize , 2 ] { label = \scaletextbullets { 2 } } +\setlist [ itemize , 3 ] { label = \scaletextbullets { 3 } } +\setlist [ itemize , 4 ] { label = \scaletextbullets { 4 } } \setlist [ enumerate , 1 ] { label = \arabic* . } \setlist [ enumerate , 2 ] { label = \theenumi \arabic* . } \setlist [ enumerate , 3 ] { label = \theenumii \arabic* . } @@ -364,7 +361,7 @@ % list headings % https://tex.stackexchange.com/questions/2644/how-to-prevent-a-page-break-before-an-itemize-list -\NewDocumentCommand \keepnextpar { > { \ReverseBoolean } s } +\NewDocumentCommand \keepnextpar { >{ \ReverseBoolean } s } { \mode_if_math:TF { @@ -390,9 +387,9 @@ \msg_error:nne { beery } { math-mode-error } { \token_to_str:N \listheading } } - { \__beery_typeset_list_heading:n {#1} } + { \__beery_list_heading:n {#1} } } -\cs_new_protected:Npn \__beery_typeset_list_heading:n #1 +\cs_new_protected:Npn \__beery_list_heading:n #1 { \par #1 @@ -451,7 +448,10 @@ % REFERENCES -\AddToHook { shipout / lastpage } { \label { LastPage } } +\cs_new_protected:Npn \__beery_hook_code_shipout_last_page: + { \label { LastPage } } +\hook_gput_code:nnn { shipout / last page } { beery } + { \__beery_hook_code_shipout_last_page: } \RequirePackage { xurl } \RequirePackage { hyperref } \hypersetup { bookmarksnumbered , hidelinks , linktoc = page }
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/fontscale/fontscale-code.pdf b/Master/texmf-dist/doc/latex/fontscale/fontscale-code.pdf Binary files differindex 310c227b511..0663b4c9aa5 100644 --- a/Master/texmf-dist/doc/latex/fontscale/fontscale-code.pdf +++ b/Master/texmf-dist/doc/latex/fontscale/fontscale-code.pdf diff --git a/Master/texmf-dist/doc/latex/fontscale/fontscale-code.tex b/Master/texmf-dist/doc/latex/fontscale/fontscale-code.tex index 2b7ad3cca18..119f68d32ae 100644 --- a/Master/texmf-dist/doc/latex/fontscale/fontscale-code.tex +++ b/Master/texmf-dist/doc/latex/fontscale/fontscale-code.tex @@ -20,7 +20,7 @@ A flexible interface for setting font sizes Oliver Beery -Version 3.1.1\quad{}6 February 2025 +Version 3.1.2\quad{}13 February 2025 \dochighinput[language=latex/latex3]{fontscale.sty} diff --git a/Master/texmf-dist/doc/latex/fontscale/fontscale-table-classic.tex b/Master/texmf-dist/doc/latex/fontscale/fontscale-table-classic.tex index bf577009ae8..8b22405a884 100644 --- a/Master/texmf-dist/doc/latex/fontscale/fontscale-table-classic.tex +++ b/Master/texmf-dist/doc/latex/fontscale/fontscale-table-classic.tex @@ -1,4 +1,4 @@ -\ProvidesFile{fontscale-table-classic.tex}[2025-02-06] +\ProvidesFile{fontscale-table-classic.tex}[2025-02-13] \begin{table} \centering diff --git a/Master/texmf-dist/doc/latex/fontscale/fontscale-table-font-steps.tex b/Master/texmf-dist/doc/latex/fontscale/fontscale-table-font-steps.tex index 1c99b463d15..3d962aed3f5 100644 --- a/Master/texmf-dist/doc/latex/fontscale/fontscale-table-font-steps.tex +++ b/Master/texmf-dist/doc/latex/fontscale/fontscale-table-font-steps.tex @@ -1,4 +1,4 @@ -\ProvidesFile{fontscale-table-font-steps.tex}[2025-02-06] +\ProvidesFile{fontscale-table-font-steps.tex}[2025-02-13] \begin{table} \centering diff --git a/Master/texmf-dist/doc/latex/fontscale/fontscale-table-musical.tex b/Master/texmf-dist/doc/latex/fontscale/fontscale-table-musical.tex index 3eeb94538b4..04e5979a5cd 100644 --- a/Master/texmf-dist/doc/latex/fontscale/fontscale-table-musical.tex +++ b/Master/texmf-dist/doc/latex/fontscale/fontscale-table-musical.tex @@ -1,4 +1,4 @@ -\ProvidesFile{fontscale-table-musical.tex}[2025-02-06] +\ProvidesFile{fontscale-table-musical.tex}[2025-02-13] \begin{table} \centering diff --git a/Master/texmf-dist/doc/latex/fontscale/fontscale.pdf b/Master/texmf-dist/doc/latex/fontscale/fontscale.pdf Binary files differindex 4a409747254..be3cdcba58e 100644 --- a/Master/texmf-dist/doc/latex/fontscale/fontscale.pdf +++ b/Master/texmf-dist/doc/latex/fontscale/fontscale.pdf diff --git a/Master/texmf-dist/doc/latex/fontscale/fontscale.tex b/Master/texmf-dist/doc/latex/fontscale/fontscale.tex index a6cf4cb5a33..f9ae9dd5ce6 100644 --- a/Master/texmf-dist/doc/latex/fontscale/fontscale.tex +++ b/Master/texmf-dist/doc/latex/fontscale/fontscale.tex @@ -14,7 +14,7 @@ A flexible interface for setting font sizes Oliver Beery -Version 3.1.1\quad{}6 February 2025 +Version 3.1.2\quad{}13 February 2025 \section{Introduction} @@ -45,7 +45,7 @@ Version 3.1.1\quad{}6 February 2025 \listheading{Requirements:} \begin{itemize} \item \LaTeXe{} version 2023-11-01 or newer - \item \pkg{l3kernel} version 2023-10-10 or newer + \item \pkg{l3kernel} version 2023-11-09 or newer \end{itemize} You may need to ensure that your \LaTeX{} installation is up\-/to\-/date before using this package. @@ -146,7 +146,7 @@ The classic typographic scale consists of the traditional font sizes \numlist{6;7;8;9;10;11;12;14;16;18;21;24;36;48;60;72}.% \footnote{See \S3.1 of \textit{The Elements of Typographic Style} by Robert Bringhurst.} They have been used since the sixteenth century and are the default font sizes on most computer software. -Setting the value of the key \Key{typographic-scale} to \Key{classic-10pt}, \Key{classic-11pt}, or \Key{classic-12pt} sets the font size of each font size command from \cs{tiny} to \cs{Huge} to values based on their position in the classic typographic scale. +Setting the value of the key \Key{typographic-scale} to \texttt{classic-10pt}, \texttt{classic-11pt}, or \texttt{classic-12pt} sets the font size of each font size command from \cs{tiny} to \cs{Huge} to values based on their position in the classic typographic scale. The named point size\---\qtylist[list-final-separator={, or }]{10;11;12}{pt}\---is the font size of \cs{normalsize}. The font sizes of the other font size commands are the adjacent font sizes in the classic typographic scale. Table \ref{table:classic} displays the font size of each font size command when using a classic typographic scale. |