texlive[59801] Master: seminar.bg3 in runtime
commits+karl at tug.org
commits+karl at tug.org
Fri Jul 2 00:16:25 CEST 2021
Revision: 59801
http://tug.org/svn/texlive?view=revision&revision=59801
Author: karl
Date: 2021-07-02 00:16:24 +0200 (Fri, 02 Jul 2021)
Log Message:
-----------
seminar.bg3 in runtime
Modified Paths:
--------------
trunk/Master/tlpkg/libexec/ctan2tds
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/seminar/seminar.bg3
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/seminar/seminar.bg3
Deleted: trunk/Master/texmf-dist/doc/latex/seminar/seminar.bg3
===================================================================
--- trunk/Master/texmf-dist/doc/latex/seminar/seminar.bg3 2021-07-01 22:08:52 UTC (rev 59800)
+++ trunk/Master/texmf-dist/doc/latex/seminar/seminar.bg3 2021-07-01 22:16:24 UTC (rev 59801)
@@ -1,608 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% seminar.bg3 --- Corrections for compatibility problems and new bugs
-%% found in the Seminar package, and few new additions
-%% to help overlays management for PDF output files.
-%% (see also the seminar.bug file in Seminar distribution)
-%%
-%% Disclaimer: this file is mine and doesn't engage TVZ!
-%%
-%% Note: insert it after \usepackage{graphicx} if you use `graphicx'
-%% and after \usepackage{longtable} if you use `longtable'
-%%
-%% Author : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou at idris.fr>
-%% Created the : 1995
-%% Last mod. by : Patrice MEGRET (FPMs - Belgium) <patrice.megret at fpms.ac.be>
-%% Last mod. the : Sunday February 29 2004
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\FileVersion{2.3}
-\def\FileDate{2014/05/12}
-\typeout{seminar.bg3: various corrections for the Seminar document class^^J%
- added since seminar.bug and few add-ons for overlays^^J%
- (Version \FileVersion\space of <\FileDate> (P.M.))}
-
-\edef\TheAtCode{\the\catcode`\@}
-\catcode`\@=11
-
-% PM modification begin PM December 6, 2003
-% ce nouveau test permet de choisir entre un footer
-% verticalement centr\xE9 \footervcenter = true (default)
-% ou non \footervcenter = false
-\newif\iffootervcenter \footervcentertrue
-% PM modification end December 6, 2003
-
-
-% 1 - To correct a bug in the note environment
-% (reported by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - 1995)
-\@savsf=1
-
-
-% 2 - To correct several bugs to generate a list of slides with subsection
-% entries
-% (reported by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - Jul. 18, 1995)
-% - To clear the subheading when a new heading is defined
-% (reported by Axel Thimm - <thimm at physik.fu-berlin.de> - June 5, 1997)
-% - To assure coherence between heading and subheading when used
-% in header/footer, for article mode
-% (reported by Axel Thimm - <thimm at physik.fu-berlin.de> - June 5, 1997)
-% - Improvements (\refstepcounter and \@addtoreset) by Jeremy Gibbons
-% <jgibbons at brookes.ac.uk> - Sep. 30, 1997
-
-% Used by the \slide at subheading macro but undefined
-\def\theslidesubsection{\theslidesection.\arabic{slidesubsection}}
-
-\def\slide at heading[#1]#2{%
- \refstepcounter{slidesection}%
- \@addtoreset{slidesubsection}{slidesection}
- \addtocontents{los}{\protect\l at slide
- {\the\c at slidesection}{\ignorespaces#1}{\@SCTR}}%
- \def\@tempa{#2}%
- \ifx\@tempa\@empty\else
- {\edef\@currentlabel{\csname p at slidesection\endcsname\theslidesection}%
- \makeslideheading{#2}}%
- \fi
- \gdef\theslideheading{#1}%
- \gdef\theslidesubheading{}%
-}
-
-\def\slide at subheading[#1]#2{%
- \refstepcounter{slidesubsection}%
- \addtocontents{los}{\protect\l at subslide
- {\the\c at slidesubsection}{\ignorespaces#1}{\@SCTR}}%
- \def\@tempa{#2}%
- \ifx\@tempa\@empty\else
- {\edef\@currentlabel{\csname p at slidesubsection\endcsname
- \theslidesubsection}\makeslidesubheading{#2}}%
- \fi
- \gdef\theslidesubheading{#1}%
-}
-
-
-% 3 - To correct a bug in the \slidecontents macro
-% (reported by Denis Roegel (LORIA) <Denis.Roegel at loria.fr> - Sep. 22, 1996)
-
-\long\def\@gobblethree #1#2#3{}
-
-\def\slide at contents{%
- \def\l at slide##1##2##3{%
- \slide at cline{\slidenumberline{##1}{##2}}{##3}}%
- \let\l at subslide\@gobblethree
- \@startlos}
-
-
-% 4 - To solve incompatibility between the `graphicx' package and Seminar.
-% The \espfslidesize Seminar macro work only with the old version of
-% the `epsfig' package, so with \includegraphics the PostScript files are
-% always scaled without the possibility to leave them to there natural
-% size. And also these files are not correctly scaled when we switch
-% from normal to article mode under Seminar. So, we must redefined the
-% \epsfslidesize macro of Seminar and modify few internal macros of
-% `graphicx'.
-% (Note: I consider only the `graphicX' package, not the 'graphicS' one)
-% (reported by Karl Tombre (LORIA) <Karl.Tombre at loria.fr> and
-% Denis Roegel (LORIA) <Denis.Roegel at loria.fr> - Jan. 16, 1997)
-
-\def\GraphicsNotScaled{%
-\ifx\Gin at viewport\undefined
-\else % Graphicx package detected
-\def\Gin at i{%
- \def\Gin at req@sizes{%
- \Gin at nat@height=\inverseslidesmag\Gin at nat@height
- \Gin at nat@width=\inverseslidesmag\Gin at nat@width
- \Gin at req@height\Gin at nat@height
- \Gin at req@width\Gin at nat@width}%
- \@ifnextchar[\Gin at ii{\Gin at ii[]}}
-\define at key{Gin}{width}{%
-\@tempdima=##1\@tempdima=\inverseslidesmag\@tempdima\def\Gin at ewidth{\@tempdima}}
-\define at key{Gin}{height}{%
-\@tempdima=##1\@tempdima=\inverseslidesmag\@tempdima\def\Gin at eheight{\@tempdima}}
-\define at key{Gin}{totalheight}{%
-\def\Gin at eresize{\totalheight}%
-\@tempdima=##1\@tempdima=\inverseslidesmag\@tempdima\def\Gin at eheight{\@tempdima}}
-\fi}
-
-\def\epsfslidesize{%
-\let\epsfsize\slide at epsfsize
-\GraphicsNotScaled}
-
-
-% 5 - To solve incompatibily between the LongTable package and Seminar
-% (reported by Bhaskar Manda (UIUC) <bhaskar at or4.me.uiuc.edu> - May 7, 1997)
-% - Problem in article format seen later
-% (reported by Axel Thimm <thimm at physik.fu-berlin.de> - June 5, 1997)
-
-% From seminar.cls
-\def\slide at outputLT{% (from \slide at output)
- \@makeslide
- \@testfalse
- \ifnotesonly\else
- \iflandscape
- \ifnum\@landscapeonly>-1 \os at test\fi
- \else
- \ifnum\@landscapeonly<1 \os at test\fi
- \fi
- \fi
- \if at test
- \reset at slideoutput
- \@@makeslideLT
- \process at slide
- \fi
- \refstepcounter{slide}}
-\def\@@makeslideLT{% (from \@@makeslide)
- \overfullslide at warning
- \setbox\@slidebox\hbox{%
- \vfuzz=\slidefuzz\relax
- \vbox to\slide at vsize{%
- \box\@outputbox
- \ifcenterslides\vskip\z@ plus .0001fil \fi
- \unvbox\@slidebox
- \vskip\z@ plus .0001fil}%
- \the\after at slidepage}%
- \wd\@slidebox\textwidth}
-
-% From LongTable
-\def\LT at output{%
- \ifnum\outputpenalty <-\@Mi
- \ifnum\outputpenalty > -\LT at end@pen
- \LT at err{floats and marginpars not allowed in a longtable}\@ehc
- \else
- \setbox\z@\vbox{\unvbox\@cclv}%
- \ifdim \ht\LT at lastfoot>\ht\LT at foot
- \dimen@\pagegoal
- \advance\dimen at -\ht\LT at lastfoot
- \ifdim\dimen@<\ht\z@
- \setbox\@cclv\vbox{\unvbox\z@\copy\LT at foot\vss}%
- \@makecol
- \slide at outputLT
- \setbox\z@\vbox{\box\LT at head}%
- \fi
- \fi
- \global\@colroom\@colht
- \global\vsize\@colht
- \vbox
- {\unvbox\z@\box\ifvoid\LT at lastfoot\LT at foot\else\LT at lastfoot\fi}%
- \fi
- \else
- \setbox\@cclv\vbox{\unvbox\@cclv\copy\LT at foot\vss}%
- \@makecol
- \slide at outputLT
- \copy\LT at head
- \fi}
-
-% We must adjust \textheight. Sometimes, you must increase it a little by
-% something like \addtolength{\textheight}{5mm}
-% But if you use slides like \begin{slide*}[15cm,10cm]
-% you must define locally \textheight=15cm
-\addtolength{\textheight}{-\headheight}
-
-
-% 6 - To allow automatic changes of language dependent labels,
-% for instance by loading the `french' package after Seminar
-% (suggested by Bernard Gaulle (IDRIS) <gaulle at idris.fr> - Nov. 20, 1997)
-% From seminar.cls
-\def\slidename{Slide}
-\def\slidelabel{\bf\slidename{} \theslide}
-% From slidesec.sty
-\def\listslidename{List of Slides}%
-\def\listofslides{\section*{\listslidename%
-\@mkboth{\expandafter\MakeUppercase\listslidename}%
- {\expandafter\MakeUppercase\listslidename}}%
- \def\l at slide##1##2##3{%
- \slide at undottedcline{\slidenumberline{##3}{##2}}{}}%
- \let\l at subslide\l at slide
- \@startlos}
-
-
-% 7 - There were several problems when doing a global change of color
-% outside the "slide"environment (using the \color{ColorName} macro
-% of the `color' package) if this change was not done globally
-% (that is to say before the "\begin{document}") but inside the document,
-% for a part of the slides.
-% These problems can be seen specially for screen presentations,
-% when we want to use a dark background, so a light foreground color
-% for the text.
-% First, the header (defining for instance with the `fancyhdr' package)
-% changed of color one slide later and was restored one slide later too
-% if the change of the color was mas inside a group for some slides,
-% and second, the black color was forced by the footer.
-% We solve the first problem by usage of the same technique than the one
-% used by Seminar for global changes based on \special macros and made
-% before the "\begin{document}". We save the \specials in the
-% \saved at specials box and insert it at the beginning of the \@slidebox box
-% with the \insert at specials macro, as for the first slide.
-% And we solve the second problem by suppression of the command in the
-% hook which force the black color (defined in the `semcolor' package).
-% (reported by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - 1999-2002)
-
-% Built from \save at srlidespecials (for all slides excepted the first one)
-\def\save at slidespecials@ii{%
- \begingroup
- \output{%
- \global\setbox\saved at specials=\box\@cclv
- \global\wd\saved at specials=\z@
- \global\dp\saved at specials=\z@
- \global\ht\saved at specials=\z@}%
- \hbox{}\penalty-\@M
- \endgroup}%
-
-% The first slide is already managed, so we will define \save at slidespecials@i
-% started to the second one only...
-\def\save at slidespecials@i{}%
-
-\ifarticle\else
- \def\insert at specials{%
- \ifvoid\saved at specials\else
- \setbox\@slidebox\hbox{\box\saved at specials\box\@slidebox}%
- \fi
- \global\let\save at slidespecials@i\save at slidespecials@ii}
-\fi
-
-\addto at hook{\before at newslide}{\save at slidespecials@i}
-
-\after at slidepage={}
-
-
-% 7 - To vertically correctly center the footer, if defined
-% (this is mainly visible when using the `fancyhdr' package, and specially
-% when a footer rule line is defined)
-% (reported by Denis Girou (CNRS/IDRIS) - <Denis.Girou at idris.fr> - April 1998)
-
-% 8 - Add-on to allow "full screen" backgrounds.
-% Seminar originally support only partial backgrounds, which doesn't cover
-% the full page but only the place of the text. It cannot be easily
-% modified, as there are dependancies between the header and the text.
-% So, we choose to define new macros \SeminarNewSlideFrameBackground
-% and \SeminarSlideFrameBackground to manage the full screen backgrounds,
-% designed on the model of the \newslideframe and \slideframe ones.
-% (added by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - Jun. 30, 1999)
-
-\newbox\Seminar at SlideBoxBackground
-\ifarticle
-\else
- \def\output at slide{%
- \begingroup
- \hoffset=-\inverseslidesmag in
- \voffset=-\inverseslidesmag in
- \setslidelength\@tempdima{%
- \ifportrait\paperwidth\else\paperheight\fi}%
- \setslidelength\@tempdimb{%
- \ifportrait\paperheight\else\paperwidth\fi}%
- \ifrotateheaders
- \@ifrotateslide{%
- \dimen@=\@tempdima
- \@tempdima=\@tempdimb
- \@tempdimb=\dimen@}
- \fi
- % \oddsidemargin, \evensidemargin, \headheight, \footheight
- % used for scratch:
- % Some page styles like to know \textwidth:
- \setslidelength\headheight\slidetopmargin
- \setslidelength\footheight\slidebottommargin
- \ifautoslidemargins
- \textwidth=\wd\@slidebox
- \oddsidemargin=\@tempdima
- \advance\oddsidemargin-\textwidth
- \divide\oddsidemargin 2
- \else
- \setslidelength\oddsidemargin\slideleftmargin
- \setslidelength\evensidemargin\sliderightmargin
- \textwidth=\@tempdima
- \advance\textwidth-\oddsidemargin
- \advance\textwidth-\evensidemargin
- \fi
- \setbox\@slidebox=\hbox to \@tempdima{%
- \box\Seminar at SlideBoxBackground
- \kern\oddsidemargin
- \vbox to\@tempdimb{%
- \ifnum\fancyput at flag>-1
- \hbox{\kern-\oddsidemargin\do at fancyput}%
- \fi
- \let\label\@gobble
- \let\index\@gobble
- \let\glossary\@gobble
- \vbox to\headheight{%
- \vfill
- \hbox{%
- \slideheadfont\relax\strut
- \hbox to\textwidth{\@oddhead}}%
- \kern\z@}%
- \vfill
- \hbox to\textwidth{\hss\box\@slidebox\hss}%
- \vfill
- \vbox to\footheight{%
- \iffootervcenter
- \vfill
- \fi
- \hbox{%
- \slidefootfont\relax\strut
- \hbox to\textwidth{\@oddfoot}}%
- \vfill}}%
- \hss}%
- \ifrotateheaders\@ifrotateslide\rotate at slide\fi
- \insert at specials
- \let\protect\noexpand
- \shipout\box\@slidebox
- \endgroup
- \let\firstmark\botmark}
- \@ifundefined{fancyput at flag}{\def\fancyput at flag{-1}}{}
-\fi
-
-
-\def\finish at slide{%
- \theSlideFrameBackground
- \theslideframe
- \add at slidelabel\slidelabel}
-
-
-\def\SeminarNewSlideFrameBackground#1{%
- \@ifnextchar[{\@SeminarNewSlideFrameBackground{#1}}%
- {\@SeminarNewSlideFrameBackground{#1}[]}}
-\def\@SeminarNewSlideFrameBackground#1[#2]{%
- \@namedef{semsfbops@#1}{#2}%
- \@namedef{semsfb@#1}##1}
-
-\def\SeminarSlideFrameBackground{\Seminar at SlideFrameBackground{Slide}}
-\def\Seminar at SlideFrameBackground#1{%
- \@ifstar{\@testtrue\Seminar@@SlideFrameBackground{#1}}%
- {\@testfalse\Seminar@@SlideFrameBackground{#1}}}
-\def\Seminar@@SlideFrameBackground#1{%
- \@ifnextchar[{\Seminar@@@SlideFrameBackground{#1}}%
- {\Seminar@@@SlideFrameBackground{#1}[]}}
-\def\Seminar@@@SlideFrameBackground#1[#2]#3{%
- \def\@tempa{none}%
- \def\@tempb{#3}%
- \ifx\@tempa\@tempb
- \@namedef{the#1FrameBackground}{\relax}%
- \else
- \ifx\@tempb\@empty
- \@namedef{the#1FrameBackground}{}%
- \else
- \@ifundefined{semsfb@#3}%
- {\@seminarerr{Background slide frame `#3' undefined}\@eha}%
- {\if at test
- \Seminar@@@@SlideFrameBackground{#1}[#2]{#3}%
- \else
- \@namedef{the#1FrameBackground}{%
- \setbox\Seminar at SlideBoxBackground=\hbox{{%
- \@nameuse{semsfbops@#3}#2%
- \@nameuse{semsfb@#3}{\box\Seminar at SlideBoxBackground}}}}%
- \fi}%
- \fi
- \fi}
-\def\Seminar@@@@SlideFrameBackground#1[#2]#3{%
- \expandafter\let\expandafter\@tempa\csname the#1FrameBackground\endcsname
- \edef\next{%
- \noexpand\def\expandafter\noexpand\csname the#1FrameBackground\endcsname}%
- \expandafter\next\expandafter{\@tempa
- \setbox\Seminar at SlideBoxBackground=\hbox{{%
- \@nameuse{semsfbops@#3}%
- #2%
- \@nameuse{semsfb@#3}{\box\Seminar at SlideBoxBackground}}}}}%
-
-\SeminarSlideFrameBackground{none}
-
-
-% 9 - For screen presentations, and specially animated graphics,
-% we need more than 10 overlays. We increase the limit to 676 (26^2).
-% (added by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - Dec. 5, 2001)
-
-\def\overlay#1{%
- \ifoverlays\ifx\@overlay\relax\nooverlays at err\fi\fi
- \ifslide
- \@tempcnta=#1
- \@testfalse
- \ifnum\@tempcnta>-2 \ifnum\@tempcnta<677 \@testtrue\fi\fi
- \if at test
- \c at overlay=\@tempcnta
- \ifnum\c at overlay=0
- \advance\c at slide by -1
- \refstepcounter{slide}%
- \else
- \advance\c at overlay by -1
- \refstepcounter{overlay}%
- \ifoverlays
- \xdef\overlay at list{\overlay at list,\the\c at overlay}%
- \fi
- \fi
- \ifoverlays
- \@overlay{\the\c at overlay}%
- \fi
- \else
- \@seminarerr{\string\overlay\space argument must be
- an integer between 0 and 676}\@eha
- \fi
- \else
- \@seminarerr{\string\overlay\space can only be used
- in slide environments}\@eha
- \fi
- \ignorespaces}
-
-\def\overlay at loop{%
- \begingroup
- \overlay at prep
- \c at overlay=1
- \@whilenum\c at overlay<677
- \do{%
- \test at member{\the\c at overlay}{\overlay at list}%
- \if at test
- \make at overlay{\the\c at overlay}%
- \finish at slide
- \output at slide
- \fi
- \layer at loop{\the\c at overlay}%
- \advance\c at overlay by 1}%
- \endgroup}
-
-\def\theoverlay{{%
-\ifnum\c at overlay>26
- \@tempcnta=\c at overlay
- \advance\@tempcnta\m at ne
- \divide\@tempcnta by 26
- \multiply\@tempcnta by 26
- \@tempcntb=\c at overlay
- \advance\@tempcntb-\@tempcnta
- \@tempcnta=\c at overlay
- \advance\@tempcnta\m at ne
- \divide\@tempcnta by 26
- \theslide-\@alph{\@tempcnta}\@alph{\@tempcntb}%
-\else
- \theslide-\alph{overlay}%
-\fi}}
-
-
-% 10 - Addition for management of cumulative and progressive overlays.
-% Due to PSTricks, Seminar had since the beginning the required
-% capabilities to manage overlays in various ways. The only thing
-% to do is to redefine the PSTricks \pst at initoverlay macro in the
-% relevant way.
-% (added by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - 1999-2001)
-
-% From `semcolor'
-\def\make at overlay#1{%
- \setbox\@slidebox=\hbox{%
- \pst at initoverlay{#1}%
- \pst at Verb{0 \tx at BOL }%
- \copy\@@slidebox
- \pst at Verb{-1 \tx at BOL }}}
-
-\iffalse
-% We must redefine too the /BeginOL macro form pstricks.pro, as "all" is now -1
-\def\pst at initoverlay#1{%
-\pst at Verb{%
-/BeginOL {%
- dup -1 eq exch TheOL eq or
- {IfVisible not
- {Visible /IfVisible true def}
- if}
- {IfVisible
- {Invisible /IfVisible false def}
- if}
- ifelse} def
-\tx at InitOL end
-/TheOL #1 def}}
-
-\def\pst at overlay#1{%
-\edef\curr at overlay{#1}%
-\pst at Verb{#1 \tx at BOL }%
-\aftergroup\pst at endoverlay}
-\def\pst at endoverlay{%
-\pst at Verb{\curr at overlay\space \tx at BOL }}
-\fi
-
-% Cumulative overlays
-% ===================
-
-% Cumulative overlays, to force to print all preceding ones
-\def\SeminarCumulativeOverlays{%
-\def\pst at initoverlay##1{%
-\pst at Verb{%
-/BeginOL {%
- dup -1 eq exch TheOL le or
- {IfVisible not
- {Visible /IfVisible true def}
- if}
- {IfVisible
- {Invisible /IfVisible false def}
- if}
- ifelse} def
-\tx at InitOL end
-/TheOL ##1 def}}}
-
-% Alternative method for same goal (needed when PSTricks nodes are used)
-\def\SeminarAltCumulativeOverlays{%
-\def\pst at initoverlay##1{%
-\pst at Verb{%
-/BeginOL {%
- dup -1 eq exch TheOL le or
- {IfVisible not
- {Visible /IfVisible true def}
- if}
- {IfVisible
- {Invisible /IfVisible false def}
- if}
- ifelse} def
-\tx at InitOL end
-/Visible {initclip} def
-/Invisible {CP newpath OLUnit itransform moveto clip newpath moveto} def
-/TheOL ##1 def}}}
-
-% Progressive overlays
-% ====================
-
-% Progressive overlays (at step i, only overlays 0 and i are shown)
-\def\SeminarProgressiveOverlays{%
-\def\pst at initoverlay##1{%
-\pst at Verb{%
-/BeginOL {%
- /NumOL ED
- NumOL -1 eq NumOL 0 eq NumOL TheOL eq or or
- {IfVisible not
- {Visible /IfVisible true def}
- if}
- {IfVisible
- {Invisible /IfVisible false def}
- if}
- ifelse} def
-\tx at InitOL end
-/TheOL ##1 def}}}
-
-% Alternative method for the same goal (needed when PSTricks nodes are used)
-\def\SeminarAltProgressiveOverlays{%
-\def\pst at initoverlay##1{%
-\pst at Verb{%
-/BeginOL {%
- /NumOL ED
- NumOL -1 eq NumOL 0 eq NumOL TheOL eq or or
- {IfVisible not
- {Visible /IfVisible true def}
- if}
- {IfVisible
- {Invisible /IfVisible false def}
- if}
- ifelse} def
-\tx at InitOL end
-/Visible {initclip} def
-/Invisible {CP newpath OLUnit itransform moveto clip newpath moveto} def
-/TheOL ##1 def}}}
-
-% Generation of the next overlay (minor add-on)
-% =============================================
-% (it increment automatically the number of the current overlay)
-\providecommand{\SeminarNextOverlay}[1]{%
-\addtocounter{overlay}{1}%
-\begin{overlay}{\the\c at overlay}#1\end{overlay}}
-
-% To force all items in the various list environments to appear
-% in their own overlay (minor add-on)
-% ==================================
-\let\itemORIG\item
-
-\def\SeminarItemInOverlay{%
-\def\item{%
-\addtocounter{overlay}{1}%
-\overlay{\the\c at overlay}%
-\itemORIG}}
-
-\catcode`\@=\TheAtCode\relax
-\endinput
-%% END seminar.bg3
Copied: trunk/Master/texmf-dist/tex/latex/seminar/seminar.bg3 (from rev 59800, trunk/Master/texmf-dist/doc/latex/seminar/seminar.bg3)
===================================================================
--- trunk/Master/texmf-dist/tex/latex/seminar/seminar.bg3 (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/seminar/seminar.bg3 2021-07-01 22:16:24 UTC (rev 59801)
@@ -0,0 +1,608 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% seminar.bg3 --- Corrections for compatibility problems and new bugs
+%% found in the Seminar package, and few new additions
+%% to help overlays management for PDF output files.
+%% (see also the seminar.bug file in Seminar distribution)
+%%
+%% Disclaimer: this file is mine and doesn't engage TVZ!
+%%
+%% Note: insert it after \usepackage{graphicx} if you use `graphicx'
+%% and after \usepackage{longtable} if you use `longtable'
+%%
+%% Author : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou at idris.fr>
+%% Created the : 1995
+%% Last mod. by : Patrice MEGRET (FPMs - Belgium) <patrice.megret at fpms.ac.be>
+%% Last mod. the : Sunday February 29 2004
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\def\FileVersion{2.3}
+\def\FileDate{2014/05/12}
+\typeout{seminar.bg3: various corrections for the Seminar document class^^J%
+ added since seminar.bug and few add-ons for overlays^^J%
+ (Version \FileVersion\space of <\FileDate> (P.M.))}
+
+\edef\TheAtCode{\the\catcode`\@}
+\catcode`\@=11
+
+% PM modification begin PM December 6, 2003
+% ce nouveau test permet de choisir entre un footer
+% verticalement centr\xE9 \footervcenter = true (default)
+% ou non \footervcenter = false
+\newif\iffootervcenter \footervcentertrue
+% PM modification end December 6, 2003
+
+
+% 1 - To correct a bug in the note environment
+% (reported by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - 1995)
+\@savsf=1
+
+
+% 2 - To correct several bugs to generate a list of slides with subsection
+% entries
+% (reported by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - Jul. 18, 1995)
+% - To clear the subheading when a new heading is defined
+% (reported by Axel Thimm - <thimm at physik.fu-berlin.de> - June 5, 1997)
+% - To assure coherence between heading and subheading when used
+% in header/footer, for article mode
+% (reported by Axel Thimm - <thimm at physik.fu-berlin.de> - June 5, 1997)
+% - Improvements (\refstepcounter and \@addtoreset) by Jeremy Gibbons
+% <jgibbons at brookes.ac.uk> - Sep. 30, 1997
+
+% Used by the \slide at subheading macro but undefined
+\def\theslidesubsection{\theslidesection.\arabic{slidesubsection}}
+
+\def\slide at heading[#1]#2{%
+ \refstepcounter{slidesection}%
+ \@addtoreset{slidesubsection}{slidesection}
+ \addtocontents{los}{\protect\l at slide
+ {\the\c at slidesection}{\ignorespaces#1}{\@SCTR}}%
+ \def\@tempa{#2}%
+ \ifx\@tempa\@empty\else
+ {\edef\@currentlabel{\csname p at slidesection\endcsname\theslidesection}%
+ \makeslideheading{#2}}%
+ \fi
+ \gdef\theslideheading{#1}%
+ \gdef\theslidesubheading{}%
+}
+
+\def\slide at subheading[#1]#2{%
+ \refstepcounter{slidesubsection}%
+ \addtocontents{los}{\protect\l at subslide
+ {\the\c at slidesubsection}{\ignorespaces#1}{\@SCTR}}%
+ \def\@tempa{#2}%
+ \ifx\@tempa\@empty\else
+ {\edef\@currentlabel{\csname p at slidesubsection\endcsname
+ \theslidesubsection}\makeslidesubheading{#2}}%
+ \fi
+ \gdef\theslidesubheading{#1}%
+}
+
+
+% 3 - To correct a bug in the \slidecontents macro
+% (reported by Denis Roegel (LORIA) <Denis.Roegel at loria.fr> - Sep. 22, 1996)
+
+\long\def\@gobblethree #1#2#3{}
+
+\def\slide at contents{%
+ \def\l at slide##1##2##3{%
+ \slide at cline{\slidenumberline{##1}{##2}}{##3}}%
+ \let\l at subslide\@gobblethree
+ \@startlos}
+
+
+% 4 - To solve incompatibility between the `graphicx' package and Seminar.
+% The \espfslidesize Seminar macro work only with the old version of
+% the `epsfig' package, so with \includegraphics the PostScript files are
+% always scaled without the possibility to leave them to there natural
+% size. And also these files are not correctly scaled when we switch
+% from normal to article mode under Seminar. So, we must redefined the
+% \epsfslidesize macro of Seminar and modify few internal macros of
+% `graphicx'.
+% (Note: I consider only the `graphicX' package, not the 'graphicS' one)
+% (reported by Karl Tombre (LORIA) <Karl.Tombre at loria.fr> and
+% Denis Roegel (LORIA) <Denis.Roegel at loria.fr> - Jan. 16, 1997)
+
+\def\GraphicsNotScaled{%
+\ifx\Gin at viewport\undefined
+\else % Graphicx package detected
+\def\Gin at i{%
+ \def\Gin at req@sizes{%
+ \Gin at nat@height=\inverseslidesmag\Gin at nat@height
+ \Gin at nat@width=\inverseslidesmag\Gin at nat@width
+ \Gin at req@height\Gin at nat@height
+ \Gin at req@width\Gin at nat@width}%
+ \@ifnextchar[\Gin at ii{\Gin at ii[]}}
+\define at key{Gin}{width}{%
+\@tempdima=##1\@tempdima=\inverseslidesmag\@tempdima\def\Gin at ewidth{\@tempdima}}
+\define at key{Gin}{height}{%
+\@tempdima=##1\@tempdima=\inverseslidesmag\@tempdima\def\Gin at eheight{\@tempdima}}
+\define at key{Gin}{totalheight}{%
+\def\Gin at eresize{\totalheight}%
+\@tempdima=##1\@tempdima=\inverseslidesmag\@tempdima\def\Gin at eheight{\@tempdima}}
+\fi}
+
+\def\epsfslidesize{%
+\let\epsfsize\slide at epsfsize
+\GraphicsNotScaled}
+
+
+% 5 - To solve incompatibily between the LongTable package and Seminar
+% (reported by Bhaskar Manda (UIUC) <bhaskar at or4.me.uiuc.edu> - May 7, 1997)
+% - Problem in article format seen later
+% (reported by Axel Thimm <thimm at physik.fu-berlin.de> - June 5, 1997)
+
+% From seminar.cls
+\def\slide at outputLT{% (from \slide at output)
+ \@makeslide
+ \@testfalse
+ \ifnotesonly\else
+ \iflandscape
+ \ifnum\@landscapeonly>-1 \os at test\fi
+ \else
+ \ifnum\@landscapeonly<1 \os at test\fi
+ \fi
+ \fi
+ \if at test
+ \reset at slideoutput
+ \@@makeslideLT
+ \process at slide
+ \fi
+ \refstepcounter{slide}}
+\def\@@makeslideLT{% (from \@@makeslide)
+ \overfullslide at warning
+ \setbox\@slidebox\hbox{%
+ \vfuzz=\slidefuzz\relax
+ \vbox to\slide at vsize{%
+ \box\@outputbox
+ \ifcenterslides\vskip\z@ plus .0001fil \fi
+ \unvbox\@slidebox
+ \vskip\z@ plus .0001fil}%
+ \the\after at slidepage}%
+ \wd\@slidebox\textwidth}
+
+% From LongTable
+\def\LT at output{%
+ \ifnum\outputpenalty <-\@Mi
+ \ifnum\outputpenalty > -\LT at end@pen
+ \LT at err{floats and marginpars not allowed in a longtable}\@ehc
+ \else
+ \setbox\z@\vbox{\unvbox\@cclv}%
+ \ifdim \ht\LT at lastfoot>\ht\LT at foot
+ \dimen@\pagegoal
+ \advance\dimen at -\ht\LT at lastfoot
+ \ifdim\dimen@<\ht\z@
+ \setbox\@cclv\vbox{\unvbox\z@\copy\LT at foot\vss}%
+ \@makecol
+ \slide at outputLT
+ \setbox\z@\vbox{\box\LT at head}%
+ \fi
+ \fi
+ \global\@colroom\@colht
+ \global\vsize\@colht
+ \vbox
+ {\unvbox\z@\box\ifvoid\LT at lastfoot\LT at foot\else\LT at lastfoot\fi}%
+ \fi
+ \else
+ \setbox\@cclv\vbox{\unvbox\@cclv\copy\LT at foot\vss}%
+ \@makecol
+ \slide at outputLT
+ \copy\LT at head
+ \fi}
+
+% We must adjust \textheight. Sometimes, you must increase it a little by
+% something like \addtolength{\textheight}{5mm}
+% But if you use slides like \begin{slide*}[15cm,10cm]
+% you must define locally \textheight=15cm
+\addtolength{\textheight}{-\headheight}
+
+
+% 6 - To allow automatic changes of language dependent labels,
+% for instance by loading the `french' package after Seminar
+% (suggested by Bernard Gaulle (IDRIS) <gaulle at idris.fr> - Nov. 20, 1997)
+% From seminar.cls
+\def\slidename{Slide}
+\def\slidelabel{\bf\slidename{} \theslide}
+% From slidesec.sty
+\def\listslidename{List of Slides}%
+\def\listofslides{\section*{\listslidename%
+\@mkboth{\expandafter\MakeUppercase\listslidename}%
+ {\expandafter\MakeUppercase\listslidename}}%
+ \def\l at slide##1##2##3{%
+ \slide at undottedcline{\slidenumberline{##3}{##2}}{}}%
+ \let\l at subslide\l at slide
+ \@startlos}
+
+
+% 7 - There were several problems when doing a global change of color
+% outside the "slide"environment (using the \color{ColorName} macro
+% of the `color' package) if this change was not done globally
+% (that is to say before the "\begin{document}") but inside the document,
+% for a part of the slides.
+% These problems can be seen specially for screen presentations,
+% when we want to use a dark background, so a light foreground color
+% for the text.
+% First, the header (defining for instance with the `fancyhdr' package)
+% changed of color one slide later and was restored one slide later too
+% if the change of the color was mas inside a group for some slides,
+% and second, the black color was forced by the footer.
+% We solve the first problem by usage of the same technique than the one
+% used by Seminar for global changes based on \special macros and made
+% before the "\begin{document}". We save the \specials in the
+% \saved at specials box and insert it at the beginning of the \@slidebox box
+% with the \insert at specials macro, as for the first slide.
+% And we solve the second problem by suppression of the command in the
+% hook which force the black color (defined in the `semcolor' package).
+% (reported by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - 1999-2002)
+
+% Built from \save at srlidespecials (for all slides excepted the first one)
+\def\save at slidespecials@ii{%
+ \begingroup
+ \output{%
+ \global\setbox\saved at specials=\box\@cclv
+ \global\wd\saved at specials=\z@
+ \global\dp\saved at specials=\z@
+ \global\ht\saved at specials=\z@}%
+ \hbox{}\penalty-\@M
+ \endgroup}%
+
+% The first slide is already managed, so we will define \save at slidespecials@i
+% started to the second one only...
+\def\save at slidespecials@i{}%
+
+\ifarticle\else
+ \def\insert at specials{%
+ \ifvoid\saved at specials\else
+ \setbox\@slidebox\hbox{\box\saved at specials\box\@slidebox}%
+ \fi
+ \global\let\save at slidespecials@i\save at slidespecials@ii}
+\fi
+
+\addto at hook{\before at newslide}{\save at slidespecials@i}
+
+\after at slidepage={}
+
+
+% 7 - To vertically correctly center the footer, if defined
+% (this is mainly visible when using the `fancyhdr' package, and specially
+% when a footer rule line is defined)
+% (reported by Denis Girou (CNRS/IDRIS) - <Denis.Girou at idris.fr> - April 1998)
+
+% 8 - Add-on to allow "full screen" backgrounds.
+% Seminar originally support only partial backgrounds, which doesn't cover
+% the full page but only the place of the text. It cannot be easily
+% modified, as there are dependancies between the header and the text.
+% So, we choose to define new macros \SeminarNewSlideFrameBackground
+% and \SeminarSlideFrameBackground to manage the full screen backgrounds,
+% designed on the model of the \newslideframe and \slideframe ones.
+% (added by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - Jun. 30, 1999)
+
+\newbox\Seminar at SlideBoxBackground
+\ifarticle
+\else
+ \def\output at slide{%
+ \begingroup
+ \hoffset=-\inverseslidesmag in
+ \voffset=-\inverseslidesmag in
+ \setslidelength\@tempdima{%
+ \ifportrait\paperwidth\else\paperheight\fi}%
+ \setslidelength\@tempdimb{%
+ \ifportrait\paperheight\else\paperwidth\fi}%
+ \ifrotateheaders
+ \@ifrotateslide{%
+ \dimen@=\@tempdima
+ \@tempdima=\@tempdimb
+ \@tempdimb=\dimen@}
+ \fi
+ % \oddsidemargin, \evensidemargin, \headheight, \footheight
+ % used for scratch:
+ % Some page styles like to know \textwidth:
+ \setslidelength\headheight\slidetopmargin
+ \setslidelength\footheight\slidebottommargin
+ \ifautoslidemargins
+ \textwidth=\wd\@slidebox
+ \oddsidemargin=\@tempdima
+ \advance\oddsidemargin-\textwidth
+ \divide\oddsidemargin 2
+ \else
+ \setslidelength\oddsidemargin\slideleftmargin
+ \setslidelength\evensidemargin\sliderightmargin
+ \textwidth=\@tempdima
+ \advance\textwidth-\oddsidemargin
+ \advance\textwidth-\evensidemargin
+ \fi
+ \setbox\@slidebox=\hbox to \@tempdima{%
+ \box\Seminar at SlideBoxBackground
+ \kern\oddsidemargin
+ \vbox to\@tempdimb{%
+ \ifnum\fancyput at flag>-1
+ \hbox{\kern-\oddsidemargin\do at fancyput}%
+ \fi
+ \let\label\@gobble
+ \let\index\@gobble
+ \let\glossary\@gobble
+ \vbox to\headheight{%
+ \vfill
+ \hbox{%
+ \slideheadfont\relax\strut
+ \hbox to\textwidth{\@oddhead}}%
+ \kern\z@}%
+ \vfill
+ \hbox to\textwidth{\hss\box\@slidebox\hss}%
+ \vfill
+ \vbox to\footheight{%
+ \iffootervcenter
+ \vfill
+ \fi
+ \hbox{%
+ \slidefootfont\relax\strut
+ \hbox to\textwidth{\@oddfoot}}%
+ \vfill}}%
+ \hss}%
+ \ifrotateheaders\@ifrotateslide\rotate at slide\fi
+ \insert at specials
+ \let\protect\noexpand
+ \shipout\box\@slidebox
+ \endgroup
+ \let\firstmark\botmark}
+ \@ifundefined{fancyput at flag}{\def\fancyput at flag{-1}}{}
+\fi
+
+
+\def\finish at slide{%
+ \theSlideFrameBackground
+ \theslideframe
+ \add at slidelabel\slidelabel}
+
+
+\def\SeminarNewSlideFrameBackground#1{%
+ \@ifnextchar[{\@SeminarNewSlideFrameBackground{#1}}%
+ {\@SeminarNewSlideFrameBackground{#1}[]}}
+\def\@SeminarNewSlideFrameBackground#1[#2]{%
+ \@namedef{semsfbops@#1}{#2}%
+ \@namedef{semsfb@#1}##1}
+
+\def\SeminarSlideFrameBackground{\Seminar at SlideFrameBackground{Slide}}
+\def\Seminar at SlideFrameBackground#1{%
+ \@ifstar{\@testtrue\Seminar@@SlideFrameBackground{#1}}%
+ {\@testfalse\Seminar@@SlideFrameBackground{#1}}}
+\def\Seminar@@SlideFrameBackground#1{%
+ \@ifnextchar[{\Seminar@@@SlideFrameBackground{#1}}%
+ {\Seminar@@@SlideFrameBackground{#1}[]}}
+\def\Seminar@@@SlideFrameBackground#1[#2]#3{%
+ \def\@tempa{none}%
+ \def\@tempb{#3}%
+ \ifx\@tempa\@tempb
+ \@namedef{the#1FrameBackground}{\relax}%
+ \else
+ \ifx\@tempb\@empty
+ \@namedef{the#1FrameBackground}{}%
+ \else
+ \@ifundefined{semsfb@#3}%
+ {\@seminarerr{Background slide frame `#3' undefined}\@eha}%
+ {\if at test
+ \Seminar@@@@SlideFrameBackground{#1}[#2]{#3}%
+ \else
+ \@namedef{the#1FrameBackground}{%
+ \setbox\Seminar at SlideBoxBackground=\hbox{{%
+ \@nameuse{semsfbops@#3}#2%
+ \@nameuse{semsfb@#3}{\box\Seminar at SlideBoxBackground}}}}%
+ \fi}%
+ \fi
+ \fi}
+\def\Seminar@@@@SlideFrameBackground#1[#2]#3{%
+ \expandafter\let\expandafter\@tempa\csname the#1FrameBackground\endcsname
+ \edef\next{%
+ \noexpand\def\expandafter\noexpand\csname the#1FrameBackground\endcsname}%
+ \expandafter\next\expandafter{\@tempa
+ \setbox\Seminar at SlideBoxBackground=\hbox{{%
+ \@nameuse{semsfbops@#3}%
+ #2%
+ \@nameuse{semsfb@#3}{\box\Seminar at SlideBoxBackground}}}}}%
+
+\SeminarSlideFrameBackground{none}
+
+
+% 9 - For screen presentations, and specially animated graphics,
+% we need more than 10 overlays. We increase the limit to 676 (26^2).
+% (added by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - Dec. 5, 2001)
+
+\def\overlay#1{%
+ \ifoverlays\ifx\@overlay\relax\nooverlays at err\fi\fi
+ \ifslide
+ \@tempcnta=#1
+ \@testfalse
+ \ifnum\@tempcnta>-2 \ifnum\@tempcnta<677 \@testtrue\fi\fi
+ \if at test
+ \c at overlay=\@tempcnta
+ \ifnum\c at overlay=0
+ \advance\c at slide by -1
+ \refstepcounter{slide}%
+ \else
+ \advance\c at overlay by -1
+ \refstepcounter{overlay}%
+ \ifoverlays
+ \xdef\overlay at list{\overlay at list,\the\c at overlay}%
+ \fi
+ \fi
+ \ifoverlays
+ \@overlay{\the\c at overlay}%
+ \fi
+ \else
+ \@seminarerr{\string\overlay\space argument must be
+ an integer between 0 and 676}\@eha
+ \fi
+ \else
+ \@seminarerr{\string\overlay\space can only be used
+ in slide environments}\@eha
+ \fi
+ \ignorespaces}
+
+\def\overlay at loop{%
+ \begingroup
+ \overlay at prep
+ \c at overlay=1
+ \@whilenum\c at overlay<677
+ \do{%
+ \test at member{\the\c at overlay}{\overlay at list}%
+ \if at test
+ \make at overlay{\the\c at overlay}%
+ \finish at slide
+ \output at slide
+ \fi
+ \layer at loop{\the\c at overlay}%
+ \advance\c at overlay by 1}%
+ \endgroup}
+
+\def\theoverlay{{%
+\ifnum\c at overlay>26
+ \@tempcnta=\c at overlay
+ \advance\@tempcnta\m at ne
+ \divide\@tempcnta by 26
+ \multiply\@tempcnta by 26
+ \@tempcntb=\c at overlay
+ \advance\@tempcntb-\@tempcnta
+ \@tempcnta=\c at overlay
+ \advance\@tempcnta\m at ne
+ \divide\@tempcnta by 26
+ \theslide-\@alph{\@tempcnta}\@alph{\@tempcntb}%
+\else
+ \theslide-\alph{overlay}%
+\fi}}
+
+
+% 10 - Addition for management of cumulative and progressive overlays.
+% Due to PSTricks, Seminar had since the beginning the required
+% capabilities to manage overlays in various ways. The only thing
+% to do is to redefine the PSTricks \pst at initoverlay macro in the
+% relevant way.
+% (added by Denis Girou (CNRS/IDRIS) <Denis.Girou at idris.fr> - 1999-2001)
+
+% From `semcolor'
+\def\make at overlay#1{%
+ \setbox\@slidebox=\hbox{%
+ \pst at initoverlay{#1}%
+ \pst at Verb{0 \tx at BOL }%
+ \copy\@@slidebox
+ \pst at Verb{-1 \tx at BOL }}}
+
+\iffalse
+% We must redefine too the /BeginOL macro form pstricks.pro, as "all" is now -1
+\def\pst at initoverlay#1{%
+\pst at Verb{%
+/BeginOL {%
+ dup -1 eq exch TheOL eq or
+ {IfVisible not
+ {Visible /IfVisible true def}
+ if}
+ {IfVisible
+ {Invisible /IfVisible false def}
+ if}
+ ifelse} def
+\tx at InitOL end
+/TheOL #1 def}}
+
+\def\pst at overlay#1{%
+\edef\curr at overlay{#1}%
+\pst at Verb{#1 \tx at BOL }%
+\aftergroup\pst at endoverlay}
+\def\pst at endoverlay{%
+\pst at Verb{\curr at overlay\space \tx at BOL }}
+\fi
+
+% Cumulative overlays
+% ===================
+
+% Cumulative overlays, to force to print all preceding ones
+\def\SeminarCumulativeOverlays{%
+\def\pst at initoverlay##1{%
+\pst at Verb{%
+/BeginOL {%
+ dup -1 eq exch TheOL le or
+ {IfVisible not
+ {Visible /IfVisible true def}
+ if}
+ {IfVisible
+ {Invisible /IfVisible false def}
+ if}
+ ifelse} def
+\tx at InitOL end
+/TheOL ##1 def}}}
+
+% Alternative method for same goal (needed when PSTricks nodes are used)
+\def\SeminarAltCumulativeOverlays{%
+\def\pst at initoverlay##1{%
+\pst at Verb{%
+/BeginOL {%
+ dup -1 eq exch TheOL le or
+ {IfVisible not
+ {Visible /IfVisible true def}
+ if}
+ {IfVisible
+ {Invisible /IfVisible false def}
+ if}
+ ifelse} def
+\tx at InitOL end
+/Visible {initclip} def
+/Invisible {CP newpath OLUnit itransform moveto clip newpath moveto} def
+/TheOL ##1 def}}}
+
+% Progressive overlays
+% ====================
+
+% Progressive overlays (at step i, only overlays 0 and i are shown)
+\def\SeminarProgressiveOverlays{%
+\def\pst at initoverlay##1{%
+\pst at Verb{%
+/BeginOL {%
+ /NumOL ED
+ NumOL -1 eq NumOL 0 eq NumOL TheOL eq or or
+ {IfVisible not
+ {Visible /IfVisible true def}
+ if}
+ {IfVisible
+ {Invisible /IfVisible false def}
+ if}
+ ifelse} def
+\tx at InitOL end
+/TheOL ##1 def}}}
+
+% Alternative method for the same goal (needed when PSTricks nodes are used)
+\def\SeminarAltProgressiveOverlays{%
+\def\pst at initoverlay##1{%
+\pst at Verb{%
+/BeginOL {%
+ /NumOL ED
+ NumOL -1 eq NumOL 0 eq NumOL TheOL eq or or
+ {IfVisible not
+ {Visible /IfVisible true def}
+ if}
+ {IfVisible
+ {Invisible /IfVisible false def}
+ if}
+ ifelse} def
+\tx at InitOL end
+/Visible {initclip} def
+/Invisible {CP newpath OLUnit itransform moveto clip newpath moveto} def
+/TheOL ##1 def}}}
+
+% Generation of the next overlay (minor add-on)
+% =============================================
+% (it increment automatically the number of the current overlay)
+\providecommand{\SeminarNextOverlay}[1]{%
+\addtocounter{overlay}{1}%
+\begin{overlay}{\the\c at overlay}#1\end{overlay}}
+
+% To force all items in the various list environments to appear
+% in their own overlay (minor add-on)
+% ==================================
+\let\itemORIG\item
+
+\def\SeminarItemInOverlay{%
+\def\item{%
+\addtocounter{overlay}{1}%
+\overlay{\the\c at overlay}%
+\itemORIG}}
+
+\catcode`\@=\TheAtCode\relax
+\endinput
+%% END seminar.bg3
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2021-07-01 22:08:52 UTC (rev 59800)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2021-07-01 22:16:24 UTC (rev 59801)
@@ -2203,7 +2203,7 @@
'sduthesis', 'figures|' . $standardtex,
'selnolig', '\.lua|' . $standardtex,
'semantex', '\.lua|' . $standardtex,
- 'seminar', '\.bug|\.bg2|\.cls|\.sty|2up.tex',
+ 'seminar', '\.bug|\.bg?|\.cls|\.sty|2up.tex',
'shade', 'shade\.tex', # not description.tex
'shortmathj', 'shortmathj\.sty',
'shadethm', '\.sth|' . $standardtex,
More information about the tex-live-commits
mailing list.