diff options
author | Karl Berry <karl@freefriends.org> | 2007-01-12 17:33:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-01-12 17:33:16 +0000 |
commit | 92d520e9e35d76095b72c49e787f1997c2875365 (patch) | |
tree | 06af05bf61790b5552df2fc3fda096150a105489 /Master/texmf-dist/tex/latex/seminar/seminar.bug | |
parent | 5f808ed3800d80a9057c944ba3f6a26493399642 (diff) |
seminar update (11jan07)
git-svn-id: svn://tug.org/texlive/trunk@3386 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/seminar/seminar.bug')
-rw-r--r-- | Master/texmf-dist/tex/latex/seminar/seminar.bug | 208 |
1 files changed, 208 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/seminar/seminar.bug b/Master/texmf-dist/tex/latex/seminar/seminar.bug new file mode 100644 index 00000000000..64a1243d727 --- /dev/null +++ b/Master/texmf-dist/tex/latex/seminar/seminar.bug @@ -0,0 +1,208 @@ +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% +%% BEGIN seminar.bug +% LAST MODIFIED: December 1997 +% The latest version of this file can be obtained from Princeton.EDU. + +% This file list some bugs and latebreaking news for seminar.sty, +% version 1.0, released April 1, 1993. + +% 1. Typo in the user's guide: \espfslidesize should be \epsfslidesize. + +% 2. fancyheadings.sty does not work well with slides. +% WORKAROUND: Ignore the footnote in the User's Guide that discusses this. +% Instead: +% +% - If you want the width of the header to be "\textwidth" +% (the usual state of affairs), then put +% +% \renewcommand{\headwidth}{\textwidth} +% +% in the preamble and do not change "\headwidth" after that. +% +% - If you want to set the width to something else, then you have to scale +% it appropriately. E.g., use +% +% \setslidelength{\headwidth}{<dim>} +% +% or, if are using the "fancy" page style with both the article and +% slides formats, use +% \ifarticle +% \setartlength{\headwidth}{<dim1>} +% \else +% \setslidelength{\headwidth}{<dim2>} +% \fi + +% 3. Some people prefer that the headers/footers automatically adjust their +% size to the width of the framed slide (I don't, which I guess is why +% seminar.sty does not work this way.) I have added an option for this. +% Put the command +% +% \autoslidemarginstrue +% +% in the preamble. You must also input this file (seminar.bug), which +% contains the patch. + +% 4. The optional argument in \twoup[int] does not work with the +% portrait option and slides format. +% PATCH: Input this file. + +% 5. Slide labels can come out in the wrong size font. +% PATCH: Input this file. + +% 6. When \newslide is used inside a list environment, subsequent nested +% list environments can have the wrong line width. +% PATCH: Input this file. + +% 7. \overlaypagestyle and \layerpagestyle commands ignored. +% PATCH: Input this file, AFTER inputting semlayer.sty. + +% 8. boxedEPS.tex won't work inside slide environments (because seminar.sty +% erroneously modifies \read so that it is preceded by \immediate). +% PATCH: Input this file. + +%%%% PATCHES + +\edef\TheAtCode{\the\catcode`\@} +\catcode`\@=11 + +% 3. +\newif\ifautoslidemargins +\ifarticle\else + \def\output@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{% + \kern\oddsidemargin + \vbox to\@tempdimb{% + \ifnum\fancyput@flag>-1 + \hbox{\kern-\oddsidemargin\do@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{% + \hbox{% + \slidefootfont\relax\strut + \hbox to\textwidth{\@oddfoot}}% + \vfill}}% + \hss}% + \ifrotateheaders\@ifrotateslide\rotate@slide\fi + \insert@specials + \shipout\box\@slidebox + \endgroup + \let\firstmark\botmark} + \@ifundefined{fancyput@flag}{\def\fancyput@flag{-1}}{} +\fi + +% 4. +\ifarticle\else + \ifportrait + \def\@twoup[#1]{% + \@tempcnta=\the@slidesmag\relax + \@tempcntb=\@tempcnta + \advance\@tempcntb by #1\relax + \advance\@tempcntb by -3\relax + \ifnum\@tempcntb>-6\relax + \@@input 2up.tex + \source{\@magstep\@tempcnta}{\paperwidth}{\paperheight}% + \target{\@magstep\@tempcntb}{\paperheight}{\paperwidth}% + \printlandscapetrue + \else + \@seminarerr{Slides magnification is too low for + \string\twoup\space to handle}\@eha + \fi + \def\slidesmag##1{\@semtwoupmagerr\slidesmag}} + \fi +\fi + +% 5. +\def\reset@slideoutput{% + \let\par\@@par + \reset@font + \normalsize + \def\baselinestretch{1}% + \@nameuse{1\@ptsize @semptsize}% + \catcode`\ =10 + \let\-\@dischyph \let\'\@acci \let\`\@accii \let\=\@acciii} + +% 6. +\def\extraslideheight#1{% + \@tempdima #1\relax + \edef\X@SlideHeight{\number\@tempdima sp} + \ifslide\set@slideheight\fi} +\def\set@slideheight{% + \iflandscape + \vsize=\inverseslidesmag\slideheight + \else + \vsize=\inverseslidesmag\slidewidth + \fi + \edef\slide@vsize{\number\vsize sp}% + \textheight\vsize + \advance\vsize\X@SlideHeight\relax} +\def\newslide{% + \par\penalty-\@M + \def\do##1{\setcounter{##1}\z@}\slide@reset + \the\before@newslide} + +% 7. Must be input after semlayer.sty. +\def\layer@prep{% + \ifarticle\else\pagestyle{\layer@pagestyle}\fi + \let\thepage\thelayer + \ifx\thelayerframe\@empty\else\let\theslideframe\thelayerframe\fi + \let\slidelabel\layerlabel} +\def\overlay@prep{% + \ifarticle\else\pagestyle{\overlay@pagestyle}\fi + \let\thepage\theoverlay + \ifx\theoverlayframe\@empty\else\let\theslideframe\theoverlayframe\fi + \let\slidelabel\overlaylabel} + +\catcode`\@=\TheAtCode\relax +\endinput +%% END seminar.bug |