diff options
author | Karl Berry <karl@freefriends.org> | 2025-01-29 20:31:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2025-01-29 20:31:12 +0000 |
commit | d8d5f4ec328790b9a972da8dd9edaf9aa4d3ab0e (patch) | |
tree | dcf94278bff14458e01ab464989d5f21d634811a /Master | |
parent | fce3a12c4615cdb90cc603e2be23a5cf18defc9c (diff) |
jslectureplanner (29jan25)
git-svn-id: svn://tug.org/texlive/trunk@73640 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
28 files changed, 105 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/README b/Master/texmf-dist/doc/latex/jslectureplanner/README index a24d5fe3db6..af8fbcc9a6d 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/README +++ b/Master/texmf-dist/doc/latex/jslectureplanner/README @@ -68,7 +68,11 @@ instructions; also have a look at the example files. == CHANGES == -* V. 1.13 (2024-03-06): - use legacy keyvals rather than xkeyval. +* V. 1.14 (2025-01-29): - Add jsmembertable/followuptable/before LaTeX hook (jsmembertable). + - Add way to generate programs with session instructors (\makeprogram* and + instructors=true with \makebeamerprogram). + +* V. 1.13 (2024-03-06): - use legacy keyvals rather than xkeyval. - fix row spacing in prestables. * V. 1.12 (2020-12-08): - Correctly parse staryear/endyear. diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturebib-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturebib-english.pdf Binary files differindex 542db275c6b..cc7d8133b4a 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturebib-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturebib-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturehandout-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturehandout-english.pdf Binary files differindex ed1396e8f9e..81d8f7305ec 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturehandout-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturehandout-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturepresentation-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturepresentation-english.pdf Binary files differindex 3d8ad8e82c6..67a02f97ee9 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturepresentation-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturepresentation-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lectureprogram-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lectureprogram-english.pdf Binary files differindex cfde124a7c2..db9eac9a6e5 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lectureprogram-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lectureprogram-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturescript-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturescript-english.pdf Binary files differindex 0db3688a31e..9bf0c355172 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturescript-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/lecturescript-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/membertable-blank-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/membertable-blank-english.pdf Binary files differindex 316be924fd2..54857d1f4aa 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/membertable-blank-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/membertable-blank-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/membertable-filled-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/membertable-filled-english.pdf Binary files differindex ba58765a8ce..1bcfe6ce05a 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/membertable-filled-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/membertable-filled-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presencetable-blank-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presencetable-blank-english.pdf Binary files differindex ec218f51d1e..e356c26668d 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presencetable-blank-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presencetable-blank-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presencetable-filled-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presencetable-filled-english.pdf Binary files differindex 1eba2fe0014..648305e1551 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presencetable-filled-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presencetable-filled-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presentation-list-english.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presentation-list-english.pdf Binary files differindex 272778c9229..ee216b3909f 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presentation-list-english.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/English/presentation-list-english.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturebib.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturebib.pdf Binary files differindex 8f277aa353d..482963f5268 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturebib.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturebib.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturehandout.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturehandout.pdf Binary files differindex 70ea93b44de..85e2c71f335 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturehandout.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturehandout.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturepresentation.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturepresentation.pdf Binary files differindex 34e7841a847..b3dd9ca59a6 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturepresentation.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturepresentation.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lectureprogram.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lectureprogram.pdf Binary files differindex 75a85341865..163921db432 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lectureprogram.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lectureprogram.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturescript.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturescript.pdf Binary files differindex 5848194443a..50e4639457d 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturescript.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/lecturescript.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/membertable-blank.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/membertable-blank.pdf Binary files differindex e4f05154508..f1a7f14bb4c 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/membertable-blank.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/membertable-blank.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/membertable-filled.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/membertable-filled.pdf Binary files differindex ad19e5f6371..e0588276e5e 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/membertable-filled.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/membertable-filled.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presencetable-blank.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presencetable-blank.pdf Binary files differindex 1471d7d34ad..b84cfbfaf28 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presencetable-blank.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presencetable-blank.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presencetable-filled.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presencetable-filled.pdf Binary files differindex 76cc3e3b94e..c221080cbf4 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presencetable-filled.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presencetable-filled.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presentation-list.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presentation-list.pdf Binary files differindex 873fa0f91f1..c7c72cfdb13 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presentation-list.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/examples/German/presentation-list.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/jslectureplanner.pdf b/Master/texmf-dist/doc/latex/jslectureplanner/jslectureplanner.pdf Binary files differindex 64b68382aa0..276b7c1d1e0 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/jslectureplanner.pdf +++ b/Master/texmf-dist/doc/latex/jslectureplanner/jslectureplanner.pdf diff --git a/Master/texmf-dist/doc/latex/jslectureplanner/jslectureplanner.tex b/Master/texmf-dist/doc/latex/jslectureplanner/jslectureplanner.tex index d2d9d4837fb..11c69afc274 100644 --- a/Master/texmf-dist/doc/latex/jslectureplanner/jslectureplanner.tex +++ b/Master/texmf-dist/doc/latex/jslectureplanner/jslectureplanner.tex @@ -87,7 +87,7 @@ colorlinks=false \author{Jürgen Spitzmüller% \thanks{Please report issues via \protect\url{https://github.com/jspitz/jslectureplanner}.}} -\date{Version 1.13, 2024/03/06} +\date{Version 1.14, 2025/01/29} \maketitle @@ -565,6 +565,9 @@ The \jmacro{labeling} environment is defined by the KOMA classes. The package provides a fallback, however, if a different class is used. The list type can also be customized. See sec.~\ref{sec:listcust} for details. +\item \jcsmacro{makeprogram*}: as opposed to the unstarred form, the session instructors +(if there are specific instructors for a given session) are added to the program items. + \item \jcsmacro{makebeamerprogram[\jparam{options}]}: Generates a beamer-suited lecture program from the metadata in the form \begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily}, @@ -609,6 +612,8 @@ Note that This option applies to the first program frame only. For subsequent frames, use \joption{overlayarg2}, \joption{overlayarg3} and \joption{overlayarg4}, respectively. +\item \joption{instructors=\jparam{true|false}}: If \joption{true}, the session instructors + (if there are specific instructors for a given session) are added to the program items. \end{itemize} \end{itemize} @@ -1379,6 +1384,12 @@ are produced. In general, it is assumed that you use landscape page format for p The tables will be too wide for portrait page format. Also, the tables have been optimized for A4 page size. +If you want to add text before the second of these tables (e.\,g., repeating the course title), +you can employ the \LaTeX\ hook \texttt{jsmembertable/followuptable/before}, as in: +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,moretexcs={[1]{AddToHook}}] +\AddToHook{jsmembertable/followuptable/before}{additional text} +\end{lstlisting} +% The header strings of the presence tables can be adjusted by redefining the following macros (using \jfcsmacro{renewcommand*}), for instance like this: \begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single] @@ -1406,7 +1417,6 @@ linked to \jslp's \jcsmacro{lectypesession} value if \jslp\ is loaded before \jsmt. So if \jcsmacro{lectypesession} fits, you do not have to redefine \jcsmacro{jsmsession}. - \clearpage \appendix @@ -1437,6 +1447,13 @@ the \jslp\ style files. Thanks, Dominik. \section{Release History} \begin{itemize} +\item Forthcoming (v. 1.14): +\begin{itemize} + \item Add \texttt{jsmembertable/followuptable/before} \LaTeX\ hook. + \item Add way to generate programs with session instructors + (\jcsmacro{makeprogram*} and \joption{instructors=true} + with \jcsmacro{makebeamerprogram}). +\end{itemize} \item 2024/03/06 (v. 1.13): \begin{itemize} \item Use legacy keyvals rather than \textsf{xkeyval}. diff --git a/Master/texmf-dist/tex/latex/jslectureplanner/cologne.lps b/Master/texmf-dist/tex/latex/jslectureplanner/cologne.lps index 85ed5b31e0a..2510052b0b2 100644 --- a/Master/texmf-dist/tex/latex/jslectureplanner/cologne.lps +++ b/Master/texmf-dist/tex/latex/jslectureplanner/cologne.lps @@ -23,7 +23,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Version: 1.13 -- 2024/03/06 +% Version: 1.14 -- 2025/01/29 % Additional lecture types \DefLecType{evl}{EVL}{Einf\"uhrungsvorlesung}{Vorlesung}% introductory lecture diff --git a/Master/texmf-dist/tex/latex/jslectureplanner/english.lps b/Master/texmf-dist/tex/latex/jslectureplanner/english.lps index dec42983db1..37a1ab45598 100644 --- a/Master/texmf-dist/tex/latex/jslectureplanner/english.lps +++ b/Master/texmf-dist/tex/latex/jslectureplanner/english.lps @@ -27,7 +27,7 @@ % English localization of the default strings used by the jslectureplanner package % -% Version: 1.13 -- 2024/03/06 +% Version: 1.14 -- 2025/01/29 % Lecture types \DefLecType{vl}{LEC}{Lecture}{Lecture}% lecture diff --git a/Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps b/Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps index b09edaf673c..d16d6cfc6e3 100644 --- a/Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps +++ b/Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps @@ -27,7 +27,7 @@ % Default strings (German) used by the jslectureplanner package % -% Version: 1.13 -- 2024/03/06 +% Version: 1.14 -- 2025/01/29 % Lecture types \DefLecType{vl}{VL}{Vorlesung}{Vorlesung}% lecture diff --git a/Master/texmf-dist/tex/latex/jslectureplanner/jslectureplanner.sty b/Master/texmf-dist/tex/latex/jslectureplanner/jslectureplanner.sty index 270f9b48cbc..b16a27faecc 100644 --- a/Master/texmf-dist/tex/latex/jslectureplanner/jslectureplanner.sty +++ b/Master/texmf-dist/tex/latex/jslectureplanner/jslectureplanner.sty @@ -23,8 +23,8 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\def\filedate{2024/03/06} -\def\fileversion{1.13} +\def\filedate{2025/01/29} +\def\fileversion{1.14} \def\filename{jslectureplanner.sty} \NeedsTeXFormat{LaTeX2e} @@ -86,8 +86,9 @@ \def\sesnr{} \def\programlist{} +\def\programlist@instr{} \def\programlistexam{} -\def\programlistbeamer{} +\def\programlistbeamer@instr{} \def\programlistbeamerexam{} \def\programblocklistbeamer{} \def\jsbiblist{} @@ -580,13 +581,24 @@ }{} % % Program generation -\newcommand\makeprogram{% +\newcommand*\makeprogram{% + \@ifstar{\@makeinstrprogram}{\@makeprogram}% +} + +\newcommand\@makeprogram{% \raggedright \begin{ProgramList} \programlist \end{ProgramList} } +\newcommand\@makeinstrprogram{% + \raggedright + \begin{ProgramList} + \programlist@instr + \end{ProgramList} +} + % Exam schedule generation \newcommand\makeexamprogram{% \raggedright @@ -674,6 +686,7 @@ \newif\if@jslp@beamerprogram@alerted\@jslp@beamerprogram@alertedfalse \newif\if@jslp@beamerprogram@blocksonly\@jslp@beamerprogram@blocksonlyfalse \newif\if@jslp@beamerprogram@uncover\@jslp@beamerprogram@uncoverfalse +\newif\if@jslp@beamerprogram@instr\@jslp@beamerprogram@instrfalse \DeclareKeys[beamerprogram] { @@ -696,7 +709,9 @@ % blocksonly = <true|false> blocksonly.if = @jslp@beamerprogram@blocksonly, % uncover = <true|false> - uncover.if = @jslp@beamerprogram@uncover + uncover.if = @jslp@beamerprogram@uncover, + % instructors = <true|false> + instructors.if = @jslp@beamerprogram@instr } % Overlay specifications for uncover programs @@ -712,6 +727,7 @@ \SetKeys[beamerprogram]{alerted=false} \SetKeys[beamerprogram]{blocksonly=false} \SetKeys[beamerprogram]{uncover=false} + \SetKeys[beamerprogram]{instructors=false} \SetKeys[beamerprogram]{#1} \def\bpdescbeg{\begin{BeamerProgramList}} \providebool{alerted} @@ -781,7 +797,11 @@ }% \ifbool{uncoveredlist}{\beameruncoverspec}{\beameralertspec} \begin{BeamerProgramList} - \programlistbeamerii + \if@jslp@beamerprogram@instr + \programlistbeamerii@instr + \else + \programlistbeamerii + \fi \end{BeamerProgramList} \end{frame} } @@ -804,7 +824,11 @@ }% \ifbool{uncoveredlist}{\beameruncoverffslidesspec}{\beameralertspec} \begin{BeamerProgramList} - \programlistbeameriii + \if@jslp@beamerprogram@instr + \programlistbeameriii@instr + \else + \programlistbeameriii + \fi \end{BeamerProgramList} \end{frame} } @@ -827,7 +851,11 @@ }% \ifbool{uncoveredlist}{\beameruncoverffslidesspec}{\beameralertspec} \begin{BeamerProgramList} - \programlistbeameriv + \if@jslp@beamerprogram@instr + \programlistbeameriv@instr + \else + \programlistbeameriv + \fi \end{BeamerProgramList} \end{frame} } @@ -904,7 +932,11 @@ }% \ifbool{uncoveredlist}{\beameruncoverffslidesspec}{\beameralertspec} \begin{BeamerProgramList} - \programlistbeamer + \if@jslp@beamerprogram@instr + \programlistbeamer@instr + \else + \programlistbeamer + \fi \end{BeamerProgramList} \end{frame} \fi%\else\if@jslp@beamerprogram@blocksonly @@ -1129,7 +1161,9 @@ \if@jslp@session@cancel \stepcounter{cancellations} \protected@eappto\programlist{\noexpand\ProgramListCancelItem{\csuse{sesshortdate\thesnum}}{\csuse{sestitle\thesnum}}{\csuse{@sestitlesep}}{\csuse{@sessubtitle}}} + \protected@eappto\programlist@instr{\noexpand\ProgramListCancelItem{\csuse{sesshortdate\thesnum}}{\csuse{sestitle\thesnum}}{\csuse{@sestitlesep}}{\csuse{@sessubtitle}}} \protected@eappto\programlistbeamer{\noexpand\BeamerProgramListCancelItem{\csuse{sesshortdate\thesnum}}{\csuse{sestitle\thesnum}}{\csuse{@sestitlesep}}{\csuse{@sessubtitle}}} + \protected@eappto\programlistbeamer@instr{\noexpand\BeamerProgramListCancelItem{\csuse{sesshortdate\thesnum}}{\csuse{sestitle\thesnum}}{\csuse{@sestitlesep}}{\csuse{@sessubtitle}}} \else \if@jslp@session@exam \stepcounter{exams} @@ -1147,7 +1181,11 @@ \ifcsempty{@sestitle}{\protected@csxdef{sestitle\thesnum}{\sestopic}}{} \fi \protected@eappto\programlist{\noexpand\ProgramListItem{\csuse{sesshortdate\thesnum}}{\csuse{sestitle\thesnum}}{\csuse{@sestitlesep}}{\csuse{@sessubtitle}}} + \protected@eappto\programlist@instr{\noexpand\ProgramListItem{\csuse{sesshortdate\thesnum}}{\csuse{sestitle\thesnum}}{\csuse{@sestitlesep}}{\csuse{@sessubtitle}}% + \ifcsempty{usesinstructor\thesnum}{}{\ [\csuse{usesinstructor\thesnum}]}} \protected@eappto\programlistbeamer{\noexpand\BeamerProgramListItem{\csuse{sesshortdate\thesnum}}{\csuse{sestitle\thesnum}}{\csuse{@sestitlesep}}{\csuse{@sessubtitle}}} + \protected@eappto\programlistbeamer@instr{\noexpand\BeamerProgramListItem{\csuse{sesshortdate\thesnum}}{\csuse{sestitle\thesnum}}{\csuse{@sestitlesep}}{\csuse{@sessubtitle}}% + \ifcsempty{usesinstructor\thesnum}{}{\ [\csuse{usesinstructor\thesnum}]}} \ifcsempty{sesbib\thesnum}{}{% \xappto\jsbiblist{\noexpand\section{\csuse{sestitle\thesnum}\csuse{@sestitlesep}\csuse{@sessubtitle}}% \noexpand\nocite{*}% @@ -1172,9 +1210,13 @@ \ifx\empty#1 \protected@eappto\programlist{\noexpand\ProgramListBreak{#2}} \protected@eappto\programlistbeamer{\noexpand\begin{center} (#2) \noexpand\end{center}} + \protected@eappto\programlist@instr{\noexpand\ProgramListBreak{#2}} + \protected@eappto\programlistbeamer@instr{\noexpand\begin{center} (#2) \noexpand\end{center}} \else \protected@eappto\programlist{\noexpand\ProgramListBreak[#1]{#2}} \protected@eappto\programlistbeamer{\noexpand\begin{center} (#1: #2) \noexpand\end{center}} + \protected@eappto\programlist@instr{\noexpand\ProgramListBreak[#1]{#2}} + \protected@eappto\programlistbeamer@instr{\noexpand\begin{center} (#1: #2) \noexpand\end{center}} \fi } @@ -1213,9 +1255,13 @@ \ifcsempty{@breakspan}{% \protected@eappto\programlist{\noexpand\ProgramListBreak{#2}} \protected@eappto\programlistbeamer{\noexpand\begin{center} (#2) \noexpand\end{center}} + \protected@eappto\programlist@instr{\noexpand\ProgramListBreak{#2}} + \protected@eappto\programlistbeamer@instr{\noexpand\begin{center} (#2) \noexpand\end{center}} }{% \protected@eappto\programlist{\noexpand\ProgramListBreak[\csuse{@breakspan}]{#2}} \protected@eappto\programlistbeamer{\noexpand\begin{center} (\csuse{@breakspan}: #2) \noexpand\end{center}} + \protected@eappto\programlist@instr{\noexpand\ProgramListBreak[\csuse{@breakspan}]{#2}} + \protected@eappto\programlistbeamer@instr{\noexpand\begin{center} (\csuse{@breakspan}: #2) \noexpand\end{center}} } } @@ -1239,6 +1285,9 @@ \protected@eappto\programlist{\noexpand\begin{ProgramListBlock}{\Roman{blocks}}{#1}} \protected@eappto\programlistbeamer{\noexpand\BeamerProgramBlockItem{\Roman{blocks}}{#1}}% \gappto\programlistbeamer{\begin{BeamerProgramList}} + \protected@eappto\programlist@instr{\noexpand\begin{ProgramListBlock}{\Roman{blocks}}{#1}} + \protected@eappto\programlistbeamer@instr{\noexpand\BeamerProgramBlockItem{\Roman{blocks}}{#1}}% + \gappto\programlistbeamer@instr{\begin{BeamerProgramList}} \protected@xappto\programblocklistbeamer{\noexpand\BeamerProgramBlockBlocksOnlyItem{\Roman{blocks}}{#1}}% \csxdef{@currentblock}{#1}% \csxdef{@currentblockno}{\Roman{blocks}}% @@ -1248,6 +1297,8 @@ \newcommand*\EndBlock{% \gappto\programlist{\end{ProgramListBlock}} \gappto\programlistbeamer{\end{BeamerProgramList}} + \gappto\programlist@instr{\end{ProgramListBlock}} + \gappto\programlistbeamer@instr{\end{BeamerProgramList}} \csxdef{@currentblock}{}% \csxdef{@currentblockno}{}% \global\togglefalse{inblock}% @@ -1260,11 +1311,13 @@ \newcommand*\@PauseBlock{% \gappto\programlistbeamer{\end{BeamerProgramList}} + \gappto\programlistbeamer@instr{\end{BeamerProgramList}} } \newcommand*\@ResumeBlock{% - % the \item here is necessary since this is nested immediately into another list - \gappto\programlistbeamer{\item \begin{BeamerProgramList}} + % the \item here is necessary since this is nested immediately into an + \gappto\programlistbeamer{\item \begin{BeamerProgramList}}other list + \gappto\programlistbeamer@instr{\item \begin{BeamerProgramList}} } \newenvironment{SessionBlock}[1]{\StartBlock{#1}}{\EndBlock} @@ -1278,19 +1331,24 @@ \ifdefined\programlistbeamerii \ifdefined\programlistbeameriii \global\let\programlistbeameriv\programlistbeamer + \global\let\programlistbeameriv@instr\programlistbeamer@instr \else \global\let\programlistbeameriii\programlistbeamer + \global\let\programlistbeameriii@instr\programlistbeamer@instr \fi \else% \global\let\programlistbeamerii\programlistbeamer + \global\let\programlistbeamerii@instr\programlistbeamer@instr \fi \global\let\programlistbeamer\empty + \global\let\programlistbeamer@instr\empty \iftoggle{inblock}{\@ResumeBlock}{}% } % Beamer program hook \newcommand*\SetBeamerHook[1]{% \protected@eappto\programlistbeamer{\noexpand#1} + \protected@eappto\programlistbeamer@instr{\noexpand#1} } % 5) Infrastructure diff --git a/Master/texmf-dist/tex/latex/jslectureplanner/jsmembertable.sty b/Master/texmf-dist/tex/latex/jslectureplanner/jsmembertable.sty index 0c8c1ee2bb2..f21891088bc 100644 --- a/Master/texmf-dist/tex/latex/jslectureplanner/jsmembertable.sty +++ b/Master/texmf-dist/tex/latex/jslectureplanner/jsmembertable.sty @@ -24,8 +24,8 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\def\filedate{2024/03/06} -\def\fileversion{1.13} +\def\filedate{2025/01/29} +\def\fileversion{1.14} \def\filename{jsmembertable.sty} \NeedsTeXFormat{LaTeX2e} @@ -76,6 +76,11 @@ \fi % +% HOOKS +% +\NewHook{jsmembertable/followuptable/before} + +% % STRETCH ROW HEIGHT % @@ -664,7 +669,8 @@ \printtabtoks \end{longtable} \ifnum\thesnum>7 - \clearpage + \clearpage% + \UseHook{jsmembertable/followuptable/before}% \setcounter{tabrow}{0} \ifx\relax#1\relax\else % test if the input is a number |