diff options
author | Norbert Preining <norbert@preining.info> | 2024-07-25 03:02:10 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-07-25 03:02:10 +0000 |
commit | 4286962fc7ff1faff061d2ea59c2f48bd8f87dd2 (patch) | |
tree | 50cb73317946d0eeb26cd1fe85ae17fabb97a486 /macros/latex | |
parent | 6befe0b99c5e888a97108e39e1ef0be9373cb06d (diff) |
CTAN sync 202407250302
Diffstat (limited to 'macros/latex')
-rw-r--r-- | macros/latex/contrib/sillypage/sillypage-example.pdf | bin | 104340 -> 104340 bytes | |||
-rw-r--r-- | macros/latex/contrib/sillypage/sillypage.dtx | 34 | ||||
-rw-r--r-- | macros/latex/contrib/sillypage/sillypage.pdf | bin | 220111 -> 222678 bytes |
3 files changed, 32 insertions, 2 deletions
diff --git a/macros/latex/contrib/sillypage/sillypage-example.pdf b/macros/latex/contrib/sillypage/sillypage-example.pdf Binary files differindex 3d8180932b..5fa9dd3048 100644 --- a/macros/latex/contrib/sillypage/sillypage-example.pdf +++ b/macros/latex/contrib/sillypage/sillypage-example.pdf diff --git a/macros/latex/contrib/sillypage/sillypage.dtx b/macros/latex/contrib/sillypage/sillypage.dtx index 86982db30d..922d8b6a66 100644 --- a/macros/latex/contrib/sillypage/sillypage.dtx +++ b/macros/latex/contrib/sillypage/sillypage.dtx @@ -19,8 +19,8 @@ % by Phelype Oleinik, Paulo Cereda, samcarter and Ulrike Fischer. % %<*package> -\def\sillypageDate{2023-03-04} -\def\sillypageVersion{1.6} +\def\sillypageDate{2024-07-23} +\def\sillypageVersion{1.7} %</package> %<*driver> \documentclass[a4paper,full]{l3doc} @@ -261,9 +261,13 @@ \newcommand*\@silly { \@@_step:n } \cs_new:Npn \@@_step:n #1 { + \UseTaggingSocket{@@/begin}{#1} + \SuspendTagging{@@} \@@_step_aux:eN { \int_eval:n { \int_mod:nn { #1-1 } { \silly@steps } +1 } } \c_false_bool + \ResumeTagging{@@} + \UseTaggingSocket{@@/end} } % \end{macrocode} % \end{macro} @@ -280,8 +284,12 @@ \newcommand*\@sillynumeral { \@@_numeral:n } \cs_new:Npn \@@_numeral:n #1 { + \UseTaggingSocket{@@/begin}{#1} + \SuspendTagging{@@} \exp_args:Ne \str_map_function:nN { \int_to_base:nn {#1} { 12 } } \@@_numeral_aux:n + \ResumeTagging{@@} + \UseTaggingSocket{@@/end} } \cs_new:Npn \@@_numeral_aux:n #1 { \@@_step_aux:eN { "\char_uppercase:N #1+1 } \c_true_bool } @@ -289,6 +297,28 @@ % \end{macro} % \end{macro} % \end{macro} +% +% \subsection{Tagging Support} + +% \begin{macrocode} +\NewSocket{tagsupport/@@/begin}{1} +\NewSocket{tagsupport/@@/end}{0} +\NewSocketPlug{tagsupport/@@/begin}{tagged} + { + \mode_leave_vertical: + \tag_mc_end_push: + \tag_struct_begin:n {tag=Span} + \tag_mc_begin:n {actualtext=#1} + } +\NewSocketPlug{tagsupport/@@/end}{tagged} + { + \tag_mc_end: + \tag_struct_end: + \tag_mc_begin_pop:n{} + } +\AssignSocketPlug{tagsupport/@@/begin}{tagged} +\AssignSocketPlug{tagsupport/@@/end}{tagged} +% \end{macrocode} % % \subsection{Internals} % diff --git a/macros/latex/contrib/sillypage/sillypage.pdf b/macros/latex/contrib/sillypage/sillypage.pdf Binary files differindex 3efa13e7d7..60305403ac 100644 --- a/macros/latex/contrib/sillypage/sillypage.pdf +++ b/macros/latex/contrib/sillypage/sillypage.pdf |