diff options
Diffstat (limited to 'Master/texmf-dist/tex')
27 files changed, 0 insertions, 4488 deletions
diff --git a/Master/texmf-dist/tex/latex/calendar/autofilo.sty b/Master/texmf-dist/tex/latex/calendar/autofilo.sty deleted file mode 100644 index 49f52863ee6..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/autofilo.sty +++ /dev/null @@ -1,395 +0,0 @@ -%% -%% This is file `autofilo.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% autofilo.dtx (with options: `style') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{autofilo} - [1997/12/05 12:14:08 2.4 Filofax page outlines (Frank Bennett)] -\newif\if@usequadruplecolumn -\DeclareOption{fourcolumn}{\@usequadruplecolumntrue} -\ProcessOptions -\RequirePackage{lscape} -\RequirePackage{keyval} -\newif\if@quadruplecolumn -\newbox\@leftleftcolumn -\newbox\@leftrightcolumn -\newbox\@rightleftcolumn -\newbox\@rightrightcolumn -\newcount\af@punchcluster -\newcount\af@punchgroups -\newlength\af@interspace -\newlength\af@intraspace -\newlength\af@grip -\newlength\af@punchmargin -\newcount\af@punchsize -\newlength\af@punchwidth -\newlength\af@halfpunchwidth -\newcount\af@subtempcount -\newcount\af@tempcount -\newlength\af@textwidth -\newlength\af@marginrel -\newlength\af@halftextwidth -\newlength\af@textheight -\newlength\af@topmargin -\newlength\af@bottommargin -\newcount\col@no -\newlength\af@jawspread -\newlength\af@halfjawspread -\newlength\af@jawline -\def\quadruplecolumn{% - \clearpage - \global\columnwidth\textwidth - \global\advance\columnwidth-3\columnsep - \global\divide\columnwidth by4\relax - \global\hsize\columnwidth - \global\linewidth\columnwidth - \global\@twocolumntrue - \global\@quadruplecolumntrue - \global\@firstcolumntrue - \col@number=4\relax} -\def \@opcol {% - \if@twocolumn - \if@quadruplecolumn - \@outputqdrplcol - \else - \@outputdblcol - \fi - \else - \@outputpage - \fi - \global \@mparbottom \z@ \global \@textfloatsheight \z@ - \@floatplacement} -\def\@outputqdrplcol{% - \ifcase\col@no - \global\@firstcolumnfalse - \global \setbox\@leftleftcolumn \box\@outputbox - \or - \global \setbox\@leftrightcolumn \box\@outputbox - \or - \global \setbox\@rightleftcolumn \box\@outputbox - \or - \global \@firstcolumntrue - \global\setbox\@rightrightcolumn\box\@outputbox - \setbox\@outputbox \vbox to\textwidth{% - \hb@xt@\textheight {% - \vrule height\columnwidth depth0pt width0pt - \box\@rightrightcolumn \hss}% - \vfill - \hrule \@width\columnseprule - \vfill - \hb@xt@\textheight {% - \vrule height\columnwidth depth0pt width0pt - \box\@rightleftcolumn \hss}% - \vfill - \hrule \@width\columnseprule - \vfill - \hb@xt@\textheight {% - \vrule height\columnwidth depth0pt width0pt - \box\@leftrightcolumn \hss}% - \vfill - \hrule \@width\columnseprule - \vfill - \hb@xt@\textheight {% - \box\@leftleftcolumn \hss}% - }% - \@combinedblfloats - \@outputpage - \begingroup - \@dblfloatplacement - \@startdblcolumn - \@whilesw\if@fcolmade \fi - {\@outputpage - \@startdblcolumn}% - \endgroup - \fi - \global\advance\col@no by1\relax - \ifnum\col@no=4\relax\global\col@no=0\fi} -\def\@outputdblcol{% - \if@firstcolumn - \global \@firstcolumnfalse - \global \setbox\@leftcolumn \box\@outputbox - \else - \global \@firstcolumntrue - \setbox\@outputbox \vbox to\textwidth{% - \hbox to\textheight{% - \box\@outputbox}% - \vfil - \hrule \@width\columnseprule - \vfil - \hbox to\textheight{% - \box\@leftcolumn}}% - \@combinedblfloats - \@outputpage - \begingroup - \@dblfloatplacement - \@startdblcolumn - \@whilesw\if@fcolmade \fi - {\@outputpage - \@startdblcolumn}% - \endgroup - \fi -} -\def\af@circle{\hbox{\hskip\af@halfpunchwidth% - \ifnum\af@jawspread>0\relax% - \hskip-\af@halfjawspread% - \hskip-\af@jawline% - \vrule depth\af@halfpunchwidth% - height\af@halfpunchwidth% - width\af@jawline% - \hskip\af@halfjawspread% - \else% - \vrule depth\af@halfpunchwidth% - height\af@halfpunchwidth% - width0pt% - \fi% - \circle{\af@punchsize}% - \hskip-\af@punchwidth% - \ifnum\af@jawspread>0\relax% - \hskip\af@halfjawspread% - \vrule depth\af@halfpunchwidth% - height\af@halfpunchwidth - width\af@jawline% - \hskip-\af@halfjawspread% - \hskip-\af@jawline% - \fi% - \hskip-\af@halfpunchwidth}} -\def\af@group{% - \bgroup% - \af@tempcount=0% - \af@circle% - \loop\advance\af@tempcount by1\relax% - \ifnum\af@tempcount<\af@punchcluster% - \hskip\af@intraspace\relax\af@circle% - \repeat% - \egroup} -\def\af@circles{% - \af@tempcount=0\relax% - \af@group% - \loop\advance\af@tempcount by1\relax% - \ifnum\af@tempcount<\af@punchgroups% - \hskip\af@interspace\relax\af@group% - \repeat% - \af@tempcount=0} -\def\af@punches{% - \hbox to\af@textheight{\hfil\af@circles\hskip\af@halfpunchwidth\relax\hfil}} -\def\@@@innerframe{% - \moveright-\af@topmargin% - \vbox to 0pt{% - \vskip\topmargin% - \vbox to0pt{\hrule width\af@textheight\vss}% - \hbox to\af@textheight{\llap{\vrule height\af@textwidth}% - \hfil\vrule height\af@textwidth}% - \vskip-\af@halftextwidth% - \vbox to0pt{\hrule width\af@textheight\vss}% - \vskip-\af@halftextwidth% - \vskip\af@grip% - \nointerlineskip\af@punches\nointerlineskip% - \vskip-\af@punchwidth% - \vskip-\af@grip% - \vskip\af@textwidth% - \vskip-\af@punchwidth% - \vskip-\af@grip% - \nointerlineskip\af@punches\nointerlineskip% - \vskip\af@grip% - \vbox to0pt{\hrule width\af@textheight\vss}% - \vss}}% -\newif\if@latextwoe -\@ifundefined{if@compatibility}{\@latextwoefalse}{\@latextwoetrue} -\if@latextwoe -\def\@outputpage{% -\begingroup % the \endgroup is put in by \aftergroup - \let \protect \noexpand - \@resetactivechars - \let\-\@dischyph - \let\'\@acci\let\`\@accii\let\=\@acciii - \let\\\@normalcr - \let\par\@@par %% 15 Sep 87 - \shipout \vbox{% - \set@typeset@protect - \aftergroup \endgroup - \aftergroup \set@typeset@protect - \if@specialpage - \global\@specialpagefalse\@nameuse{ps@\@specialstyle}% - \fi - \if@twoside - \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot - \let\@themargin\oddsidemargin - \else \let\@thehead\@evenhead - \let\@thefoot\@evenfoot \let\@themargin\evensidemargin - \fi - \fi - \reset@font - \normalsize - \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@ - \@begindvi - \moveright\@themargin %<<<<<<<<<<<<<<<<<<<<< added - \vtop{\@@@innerframe %<<<<<<<<<<<<<<<<<<<<< added - \vskip \topmargin - \vskip \af@marginrel - \moveright\af@topmargin% <<<<<<<<<<<< Bennett - \vbox{% %<<<<<<<<<<<<<<<<<<<<< modified - \setbox\@tempboxa \vbox to\headheight{% - \vfil - \color@hbox - \normalcolor - \hb@xt@\textwidth {% - \let \label \@gobble - \let \index \@gobble - \let \glossary \@gobble %% 21 Jun 91 - \@thehead - }% - \color@endbox - }% %% 22 Feb 87 - \dp\@tempboxa \z@ - \box\@tempboxa - \vskip \headsep - \box\@outputbox - \baselineskip \footskip - \color@hbox - \normalcolor - \hb@xt@\textwidth{% - \let \label \@gobble - \let \index \@gobble %% 22 Feb 87 - \let \glossary \@gobble %% 21 Jun 91 - \@thefoot - }% - \color@endbox - }}%<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< One more close bracket added - }% -\global \@colht \textheight -\stepcounter{page}% -\let\firstmark\botmark -} -\else -\message{Sorry, autofilo.sty works only with LaTeX2e} -\fi -\headheight=0pt -\headsep=0pt -\footskip=0pt -\marginparwidth=0pt -\marginparsep=0pt -\pagestyle{empty} -\parindent=0pt -\raggedbottom -\columnseprule=0.0pt% -\raggedright -\define@key{opt}{pageheight}{% - \af@textheight=#1\relax} -\define@key{opt}{pagewidth}{% - \af@halftextwidth=#1\relax} -\define@key{opt}{columnsep}{% - \columnsep=#1\relax} -\define@key{opt}{punchcluster}{% - \af@punchcluster=#1} -\define@key{opt}{punchgroups}{% - \af@punchgroups=#1} -\define@key{opt}{interspace}{% - \af@interspace=#1} -\define@key{opt}{intraspace}{% - \af@intraspace=#1} -\define@key{opt}{grip}{% - \af@grip=#1} -\define@key{opt}{punchmargin}{% - \af@punchmargin=#1} -\define@key{opt}{punchpoints}{% - \af@punchsize=#1} -\define@key{opt}{topspace}{% - \af@topmargin=#1} -\define@key{opt}{bottomspace}{% - \af@bottommargin=#1} -\define@key{opt}{jawspread}{% - \af@jawspread=#1} -\define@key{opt}{jawline}{% - \af@jawline=#1} -\af@textheight=172mm -\af@halftextwidth=95mm -\columnsep=14pt -\af@punchcluster=3 -\af@punchgroups=2 -\af@interspace=51.25mm -\af@intraspace=19.25mm -\af@grip=5mm -\af@punchmargin=2mm -\af@punchsize=15 -\af@topmargin=2pt -\af@bottommargin=0pt\relax -\af@jawline=0.4pt% -\def\autofilo#1{% - \setkeys{opt}{#1}% - \oddsidemargin=-1in\relax% - \af@textwidth\paperwidth% - \advance\af@textwidth by-\af@textheight% - \divide\af@textwidth by2\relax% - \advance\oddsidemargin by\af@textwidth% - \evensidemargin=-1in\relax% - \advance\evensidemargin by\af@textwidth% - \topmargin=-1in\relax% - \af@textwidth\paperheight% - \advance\af@textwidth by-\af@halftextwidth% - \advance\af@textwidth by-\af@halftextwidth% - \divide\af@textwidth by2\relax% - \advance\topmargin by\af@textwidth\relax% - \landscape% - \af@halfjawspread\af@jawspread% - \divide\af@halfjawspread by2\relax% - \af@punchwidth=\af@punchsize pt% - \af@halfpunchwidth\af@punchwidth% - \divide\af@halfpunchwidth by2% - \textheight\af@textheight% - \advance\textheight by-\af@topmargin% - \advance\textheight by-\af@bottommargin% - \af@textwidth\af@halftextwidth% - \multiply\af@textwidth by2\relax% - \textwidth=\af@textwidth% - \advance\textwidth by-2\af@punchwidth% - \advance\textwidth by-2\af@grip% - \advance\textwidth by-2\af@punchmargin% - \af@marginrel\af@grip% - \advance\af@marginrel by\af@punchmargin% - \advance\af@marginrel by\af@punchwidth% - \vsize\textheight% - \hsize\textwidth% - \@colroom\vsize% - \@colht\vsize% - \if@usequadruplecolumn% - \quadruplecolumn% - \else% - \twocolumn% - \fi} -\def\endautofilo{% - \endlandscape} - -\endinput -%% -%% End of file `autofilo.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/calendar.sty b/Master/texmf-dist/tex/latex/calendar/calendar.sty deleted file mode 100644 index 23274369693..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/calendar.sty +++ /dev/null @@ -1,741 +0,0 @@ -%% -%% This is file `calendar.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% calendar.dtx (with options: `style') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{calendar} - [1998/01/17 18:14:52 3.1.1.1 Calendar engine (Frank Bennett)] -\DeclareOption{english}{\PassOptionsToPackage{\CurrentOption}{dates}} -\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{dates}} -\ProcessOptions -\RequirePackage{dates}[1997/10/29] -\RequirePackage{keyval} -\def\cal@parseincrement#1#2#{% - \def\cal@incr{#1}% - \def\cal@subgroup@setup{#2}}% -\long\def\newcalendar#1#2#3#4#5#6#7#8#9{% - \expandafter\def\csname cal@#1@bridge\endcsname{% - \def\cal@output{#2}% - \def\cal@first@weekday{#3}% - \def\cal@group@length{#4}% - \def\cal@subgroup@length{#5}% - \def\cal@item@sep@real{#6}% - \cal@parseincrement#7{}% - \def\cal@header{#8}% - \def\cal@footer{#9}}% - \@newcalendar{#1}} -\long\def\@newcalendar#1#2#3#4#5#6#7#8#9{% - \expandafter\def\csname#1\endcsname##1##2{% - #4% - \gdef\cal@optionslist{##1}% - \setkeys{opt}{##1}% - \gdef\cal@files{##2}% - \dateread{}}% - \expandafter\def\csname end#1\endcsname{\relax% - \ifnum\dates@subrange@start=0% - \dates@subrange@start\dates@date% - \dates@subrange@end\dates@date% - \fi% - \global\dates@date\dates@subrange@start% - \caldate% - \cal@date@base\dates@date% - \cal@range@start\dates@subrange@start% - \cal@range@end\dates@subrange@end% - #5% - \dates@range@limit\cal@range@end% - \csname cal@#1@bridge\endcsname% - \def\cal@groupbreak{#2}% - \def\cal@subgroupbreak{#3}% - \long\def\cal@entry@sep{#6}% - \def\cal@item@init{#7}% - \def\cal@entry@init{#8}% - \long\def\cal@item@text{#9}% - \@ifundefined{color}% - {\let\textcolor\@gobble% - \let\colorbox\@gobble}% - {}% - \ifcat$\cal@files$% - \else% - \dates@requiremonthtrue% - \dates@requiredaytrue% - \expandafter\cal@input\cal@files,,\end% - \fi% - \cal@sorts% - \global\dates@date\cal@range@start% - \caldate% - \cal@top}}% -\def\cal@check@colon#1:#2#{% - \def\dates@arg@a{#1}% - \def\dates@arg@b{#2}} -\def\cal@input#1,#2,\end{% - \ifcat$#1$% - \let\cal@input@next\relax% - \global\let\cal@files\relax% - \else% - \advance\cal@engine by 1% - \cal@check@colon#1:{}% - \ifcat$\dates@arg@b$% - \expandafter\edef\csname cal@\the\cal@engine @color\endcsname{}% - \xdef\cal@color{}% - \else% - \expandafter\dates@strip@colon\dates@arg@b% - \expandafter\edef% - \csname cal@\the\cal@engine @color\endcsname{\dates@arg@b}% - \gdef\cal@color{:\dates@arg@b}% - \fi% - \xdef\cal@input@file{\dates@arg@a}% - \let\cal@input@next\cal@input% - \xdef\cal@files{#2,,\noexpand\end}% - \IfFileExists{\cal@input@file.eve}% - {\PackageWarning{Calendar}% - {Using freeze file \cal@input@file.eve}% - \expandafter\ifx\csname\cal@input@file @cal@engine\endcsname% - \relax% - \@@input\cal@input@file.eve\relax% - \fi}% - {\IfFileExists{\cal@input@file.cld}% - {\expandafter\ifx% - \csname\cal@input@file @cal@engine\endcsname% - \relax% - \cal@dofreezefalse% - \gdef\cal@exceptionlist{}% - \expandafter\cal@read% - \@@input\cal@input@file.cld\relax{}% - \ifcal@dofreeze% - \immediate\closeout\cal@freeze@file% - \fi% - \fi}% - {\@missingfileerror{\cal@input@file}{cld}}}% - \fi% - \expandafter\edef% - \csname\cal@input@file @cal@engine\endcsname{\the\cal@engine}% - \expandafter\cal@input@next\cal@files} -\def\cal@input@next@default{\expandafter\cal@input@clone\cal@files} -\def\cal@append{% - \ifcal@holidays% - \cal@except% - \else% - \cal@checkexception% - \ifcal@useentry% - \ifcal@noexport% - \else% - \ifcal@dofreeze% - \cal@freeze% - \fi% - \fi% - \ifcal@noload% - \else% - \ifnum\dates@date<\cal@range@start% - \else% - \ifnum\dates@date>\cal@range@end% - \else% - \cal@list@init{events}% - \cal@list@init{appointments}\relax% - \ifnum\dates@time@start=0% - \cal@list@append{events}% - \else% - \cal@list@append{appointments}% - \fi% - \fi% - \fi% - \fi% - \fi% - \fi} -\def\cal@list@append#1{% - \cal@reg@a=% - \expandafter\expandafter\expandafter{% - \csname\the\dates@date @#1\endcsname}% - \cal@reg@b\expandafter{\theshorttext}% - \cal@reg@c\expandafter{\thelongtext}% - \expandafter\edef% - \csname\the\dates@date @#1\endcsname{% - \the\cal@reg@a% - \noexpand\cal@delim% - {\the\dates@time@start}% - {\the\dates@time@end}% - {\ifcal@noexport% - 0% - \else% - \the\cal@engine% - \fi}% - {\the\cal@reg@b}% - {\the\cal@reg@c}}}% -\def\cal@list@init#1{% - \expandafter\ifx% - \csname\the\dates@date @#1\endcsname% - \relax% - \expandafter\def% - \csname\the\dates@date @#1\endcsname% - {}% - \fi} -\def\cal@read{% - \dateread{\cal@append}} -\def\cal@sorts{% - \global\dates@date\cal@range@start% - \let\cal@@sorts@next\cal@@sorts% - \cal@@sorts} -\def\cal@@sorts{\relax% - \ifnum\dates@date>\cal@range@end% - \let\cal@@sorts@next\cal@@sorts@exit% - \else% - \expandafter\ifx% - \csname\the\dates@date @events\endcsname\relax% - \else% - \cal@sort{\the\dates@date @events}% - \fi% - \expandafter\ifx% - \csname\the\dates@date @appointments\endcsname\relax% - \else% - \cal@sort{\the\dates@date @appointments}% - \fi% - \global\advance\dates@date by 1% - \fi% - \cal@@sorts@next} -\def\cal@@sorts@exit{% - \global\dates@date\cal@range@start% - \caldate} -\def\cal@sort@init{% - \cal@sort@A=-1% - \cal@sort@B=0% - \cal@sort@C=0% - \cal@sort@D{}% - \cal@sort@E{}% - \global\let\cal@sort@new\cal@sort@list% - \cal@appendright% - \let\cal@sort@list\cal@sort@new% - \gdef\cal@sort@new{}% - \cal@sort@passonetrue} -\def\cal@sort#1{% - \expandafter\let\expandafter\cal@sort@list\csname#1\endcsname% - \cal@sort@init% - \global\let\cal@delim\cal@@sort% - \cal@sort@list% - \expandafter\let\csname#1\endcsname\cal@sort@new} -\def\cal@@sort#1#2#3#4#5{% - \cal@sort@a=#1% - \cal@sort@b=#2% - \cal@sort@c=#3% - \cal@sort@d{#4}% - \cal@sort@e{#5}% - \let\cal@@sort@next\relax% - \ifnum\cal@sort@a=-1\relax% - \message{.}% - \cal@appendright% - \ifcal@nosortchange% - \else% - \cal@nosortchangetrue% - \cal@sort@passonetrue% - \cal@sort@swap% - \cal@appendright% - \let\cal@@sort@next\cal@sort@new% - \gdef\cal@sort@new{}% - \fi% - \else% - \ifcal@sort@passone% - \else% - \ifnum\cal@sort@A>\cal@sort@a\relax% - \cal@nosortchangefalse% - \cal@sort@swap% - \cal@appendright% - \else% - \cal@appendright% - \fi% - \fi% - \cal@sort@swap% - \cal@sort@passonefalse% - \fi% - \cal@@sort@next} -\def\cal@appendright{% - \cal@reg@a\expandafter{\cal@sort@new}% - \xdef\cal@sort@new{% - \the\cal@reg@a% - \noexpand\cal@delim% - {\the\cal@sort@A}% - {\the\cal@sort@B}% - {\the\cal@sort@C}% - {\the\cal@sort@D}% - {\the\cal@sort@E}}} -\def\cal@sort@swap{% - \cal@count@a\cal@sort@a% - \cal@sort@a\cal@sort@A% - \cal@sort@A\cal@count@a% - \cal@count@a\cal@sort@b% - \cal@sort@b\cal@sort@B% - \cal@sort@B\cal@count@a% - \cal@count@a\cal@sort@c% - \cal@sort@c\cal@sort@C% - \cal@sort@C\cal@count@a% - \cal@reg@a\expandafter{\the\cal@sort@d}% - \cal@sort@d\expandafter{\the\cal@sort@D}% - \cal@sort@D\expandafter{\the\cal@reg@a}% - \cal@reg@a\expandafter{\the\cal@sort@e}% - \cal@sort@e\expandafter{\the\cal@sort@E}% - \cal@sort@E\expandafter{\the\cal@reg@a}} -\def\cal@top{\relax% - \ifnum\tracingdates>0% - \message{^^J\themonth}% - \fi% - \let\cal@add@date@item\cal@add@date@item@default% - \advance\cal@range@end by 1% - \global\cal@subgroup@count0% - \global\cal@group@count0% - \cal@subgroup@len\cal@subgroup@length% - \advance\cal@subgroup@len by -1\relax% - \global\cal@group@len\cal@group@length% - \cal@first@weekd\cal@first@weekday\relax% - \ifnum\cal@first@weekd=0% - \cal@last@weekd=6% - \else% - \cal@last@weekd\cal@first@weekd% - \advance\cal@last@weekd by -1% - \fi% - \cal@subgroup@setup% - \cal@output{\cal@header}\cal@begin@subgroup} -\def\cal@begin@subgroup{% - \global\cal@subgroup@count=0% - \global\def\cal@item@sep{}% - \ifnum\dates@date<\cal@range@end\relax% - \ifnum\cal@group@count=\cal@group@len\relax% - \ifnum\tracingdates>0% - \message{^^J\themonth}% - \fi% - \global\cal@group@count=0% - \global\cal@group@len\cal@group@length% - \cal@subgroup@setup% - \cal@output{\cal@groupbreak}\relax% - \ifnum\cal@first@weekd<7% - \let\next\cal@pad@start% - \else% - \let\next\cal@add@date@item% - \fi% - \else% - \ifnum\cal@first@weekd<7\relax% - \let\next\cal@pad@start% - \else% - \let\next\cal@add@date@item% - \fi% - \fi% - \else% - \cal@output{\cal@footer}% - \let\next\relax% - \fi% - \next} -\def\cal@add@date@item@default{\relax% - \ifnum\cal@group@count=\cal@group@len\relax% - \ifnum\cal@first@weekd<7% - \let\next\cal@pad@end% - \else% - \let\next\cal@begin@subgroup% - \fi% - \if\cal@incr G% - \global\advance\dates@date by 1% - \caldate% - \fi% - \if\cal@incr z% - \global\advance\dates@date by1% - \fi% - \else\relax% - \ifnum\cal@subgroup@count>\cal@subgroup@len\relax% - \if\cal@incr z% - \global\dates@date\cal@date@base% - \fi% - \ifnum\dates@date<\cal@range@end% - \if\cal@incr S% - \global\advance\dates@date by1% - \caldate% - \fi% - \cal@subgroup@setup% - \cal@output{\cal@subgroupbreak}% - \fi% - \let\next\cal@begin@subgroup% - \else% - \cal@output{\cal@item@sep}% - \global\def\cal@item@sep{\cal@item@sep@real}\relax% - \ifnum\tracingdates>0% - \message{\theday}% - \fi% - \cal@item@init% - \cal@output{\cal@item@text}% - \if\cal@incr I% - \global\advance\dates@date by 1% - \caldate% - \fi% - \if\cal@incr z% - \global\advance\dates@date by 1% - \caldate% - \fi% - \global\advance\cal@subgroup@count by 1\relax% - \global\advance\cal@group@count by 1\relax% - \let\next\cal@add@date@item% - \fi% - \fi% - \next} -\def\cal@pad@start{% - \cal@temp@count\dates@date% - \bgroup% - \global\cal@offset=\dates@date% - \prevday\cal@first@weekd% - \global\advance\cal@offset by -\dates@date% - \egroup% - \global\dates@date\cal@temp@count% - \cal@pad@@start} -\def\cal@pad@@start{\relax% - \ifnum\cal@offset=0\relax% - \global\def\cal@item@sep{}% - \let\next\cal@add@date@item% - \else% - \global\def\cal@item@sep{\cal@item@sep@real}% - \cal@output{\cal@item@sep}% - \global\advance\cal@offset by -1\relax% - \global\advance\cal@subgroup@count by 1\relax% - \let\next\cal@pad@@start% - \fi% - \next} -\def\cal@pad@end{% - \cal@temp@count\dates@date% - \bgroup% - \global\cal@offset=\dates@date\relax% - \nextday\cal@last@weekd% - \advance\dates@date by -\cal@offset% - \global\cal@offset\dates@date\relax% - \ifnum\cal@offset=6% - \global\cal@offset=0% - \else% - \global\advance\cal@offset by 1% - \fi% - \egroup% - \global\dates@date\cal@temp@count% - \cal@pad@@end} -\def\cal@pad@@end{\relax% - \ifnum\cal@offset=0\relax% - \let\next\cal@begin@subgroup% - \else% - \cal@output{\cal@item@sep}% - \global\advance\cal@offset by -1% - \global\advance\cal@subgroup@count by 1\relax% - \let\next\cal@pad@@end% - \fi% - \next} -\def\ifanyitem#1#2{% - \gdef\cal@temp{#1}% - \expandafter\ifx% - \csname\the\dates@date @events\endcsname% - \relax% - \expandafter\ifx% - \csname\the\dates@date @appointments\endcsname% - \relax% - \gdef\cal@temp{#2}% - \fi% - \fi% - \let\next\cal@temp% - \next} -\def\getanycolor{% - \gdef\calcolor{}% - \global\let\cal@delim\get@anycolor% - \csname\the\dates@date @events\endcsname% - \csname\the\dates@date @appointments\endcsname} -\def\get@anycolor#1#2#3#4#5{% - \ifcat$\calcolor$% - \expandafter\ifx% - \csname cal@#3@color\endcsname% - \relax% - \else% - \xdef\calcolor{\csname cal@#3@color\endcsname}% - \fi% - \fi} -\def\cal@get@events{% - \def\theevents{}% - \gdef\cal@entry@macro{\theevents}% - \expandafter\let% - \expandafter\cal@dumplist\csname\the\dates@date @events\endcsname% - \cal@print@items} -\def\cal@get@appointments{% - \gdef\theappointments{}% - \gdef\cal@entry@macro{\theappointments}% - \expandafter\let% - \expandafter\cal@dumplist% - \csname\the\dates@date @appointments\endcsname% - \cal@print@items} -\def\cal@print@items{% - \cal@sort@passonetrue% - \@ifnextchar[% - {\cal@@print@items}% - {\cal@@print@items[-1/-1]}} -\def\cal@@print@items#1[#2/#3]{% - \cal@select@start=#2% - \cal@select@end=#3% - \@ifnextchar[% - {\cal@@@print@items}% - {\cal@@@print@items[-1]}} -\def\cal@@@print@items#1[#2]{% - \cal@engine@limit=#2% - \global\let\cal@delim\cal@print@format% - \cal@dumplist} -\def\cal@print@format#1#2#3#4#5{\relax% - \ifcat$#4$% - \else% - \def\theshorttext{#4}% - \ifcat$#5$% - \let\thelongtext\theshorttext% - \else% - \def\thelongtext{#5}% - \fi% - \global\dates@time@start#1\relax% - \global\dates@time@end#2\relax% - \mod{60}\dates@time@start\cal@minutes@start% - \cal@hours@start\dates@three% - \divide\cal@hours@start by60% - \mod{60}\dates@time@end\cal@minutes@end% - \cal@hours@end\dates@three% - \divide\cal@hours@end by60% - \ifnum\cal@minutes@start<10% - \xdef\cal@minutes@start@mac{% - 0\the\cal@minutes@start}% - \else% - \xdef\cal@minutes@start@mac{% - \the\cal@minutes@start}% - \fi% - \ifnum\cal@minutes@end<10% - \xdef\cal@minutes@end@mac{% - 0\the\cal@minutes@end}% - \else% - \xdef\cal@minutes@end@mac{% - \the\cal@minutes@end}% - \fi% - \xdef\cal@appt@start@text{% - \the\cal@hours@start:\cal@minutes@start@mac}% - \xdef\cal@appt@end@text{% - \the\cal@hours@end:\cal@minutes@end@mac}% - \cal@doeventfalse% - \cal@doapptfalse\relax% - \ifnum\cal@engine@limit>-1\relax% - \ifnum#3=\cal@engine@limit% - \cal@doeventtrue% - \fi% - \else% - \cal@doeventtrue% - \fi\relax% - \ifnum\cal@select@start>-1\relax% - \ifnum\dates@time@start<\cal@select@end% - \ifnum\dates@time@end>\cal@select@start% - \cal@doappttrue% - \else - \ifnum\dates@time@end=\cal@select@start% - \ifnum\dates@time@start=\dates@time@end% - \cal@doappttrue% - \fi% - \fi% - \fi% - \fi% - \else% - \cal@doappttrue% - \fi% - \ifcal@doappt% - \ifcal@doevent% - \xdef\calcolor{\csname cal@#3@color\endcsname}% - \ifcal@sort@passone% - \cal@reg@a{}% - \else% - \cal@reg@a\expandafter{\cal@entry@sep}% - \fi% - \cal@times@init% - \global\let\cal@textcolor\relax% - \cal@entry@init% - \global% - \global\let\cal@textcolor\cal@textcolor@default% - \cal@reg@b\expandafter{\cal@entry@text}% - \cal@reg@c% - \expandafter\expandafter% - \expandafter{\cal@entry@macro}% - \expandafter\xdef\cal@entry@macro{% - \the\cal@reg@c% - \the\cal@reg@a% - \the\cal@reg@b}% - \cal@sort@passonefalse% - \fi% - \fi% - \fi} -\def\cal@times@init{% - \mod{60}\dates@time@start\dates@one% - \dates@three\dates@time@start% - \divide\dates@three by 60% - \ifnum\dates@one<10\relax% - \xdef\cal@temp{0\the\dates@one}% - \else% - \xdef\cal@temp{\the\dates@one}% - \fi% - \xdef\thetimestart{\the\dates@three:\cal@temp}% - \mod{60}\dates@time@end\dates@one% - \dates@three\dates@time@end% - \divide\dates@three by 60% - \ifnum\dates@one<10\relax% - \xdef\cal@temp{0\the\dates@one}% - \else% - \xdef\cal@temp{\the\dates@one}% - \fi% - \xdef\thetimeend{\the\dates@three:\cal@temp}} -\def\cal@textcolor@default#1#2{% - \@ifundefined{color} - {\ifcat$#1$#2\else\textbf{#2}\fi} - {\ifcat$#1$#2\else\textcolor{#1}{#2}\fi}} -\global\let\cal@textcolor\cal@textcolor@default -\def\fremac{% - \immediate\openout\cal@freeze@file=\cal@input@file.eve\relax - \cal@dofreezetrue% -} -{\catcode`\%=12\xdef\cal@percent{%}} -\def\cal@freeze{% - \immediate\write\cal@freeze@file\relax% - {\string\event% - {\the\dates@date}% - {\the\dates@time@start}% - {\the\dates@time@end}% - {\theshorttext}% - {\thelongtext}\cal@percent}} -\def\event#1#2#3#4#5{% - \global\dates@date=#1\relax% - \global\dates@time@start=#2\relax% - \global\dates@time@end=#3\relax% - \def\theshorttext{#4}% - \def\thelongtext{#5}% - \cal@append} -\def\ranmac{% - \global\let\dates@@@read\cal@@@read@ranmac}% -\def\cal@@@read@ranmac{% - \global\let\dates@@@read\dates@@@read@default% - \@ifoverword\dates@serious@brace% - {\expandafter\cal@get@range\@gobble}% - {\cal@get@range}% - {\message{This can't happen.}}} -\def\cal@get@range{% - \cal@noexporttrue% - \expandafter\ifx% - \csname\@overword @range@loaded\endcsname% - \relax% - \expandafter\def% - \csname\@overword @range@loaded\endcsname{% - 1}% - \else% - \cal@noloadtrue% - \fi% - \IfFileExists{\@overword.cld}% - {\expandafter\cal@get@@range\@overword.cld rAN }% - {\@missingfileerror{\@overword}{cld}}} -\def\cal@get@@range{% - \expandafter\dates@read\@@input} -\def\rANmac{% - \cal@holidaysfalse% - \cal@noloadfalse\cal@noexportfalse} -\def\holmac{% - \cal@holidaystrue% - \global\let\dates@@@read\cal@@@read@ranmac}% -\def\cal@except{% - \cal@reg@a\expandafter{\cal@exceptionlist}% - \xdef\cal@exceptionlist{% - \noexpand\cal@delim{\the\dates@date}\the\cal@reg@a}} -\def\cal@checkexception{% - \cal@useentrytrue% - \global\let\cal@delim\cal@@checkexception% - \cal@exceptionlist} -\def\cal@@checkexception#1{\relax% - \ifnum\dates@date=#1\relax\cal@useentryfalse\fi} -\def\lismac{% - \global\let\dates@@@read\cal@pass@list} -\def\cal@grablist#1\end{% - \def\cal@grabbedlist{#1}} -\def\cal@pass@list{% - \expandafter\cal@grablist\cal@files% - \global\let\dates@@@read\dates@@@read@default% - \@ifoverword\dates@serious@brace% - {\xdef\cal@files{% - \@overword\cal@color,\cal@grabbedlist\noexpand\end}% - \expandafter\dates@read\@gobble}% - {\message{I don't think I'm supposed to do this}% - \xdef\cal@files{% - \@overword\cal@color,\cal@grabbedlist\noexpand\end}}% - {\message{This can't happen}}} -\newcount\cal@first@weekd -\newcount\cal@range@start -\newcount\cal@range@end -\newcount\cal@temp@count -\newcount\cal@last@weekd -\newcount\cal@subgroup@len -\newcount\cal@offset -\newcount\cal@subgroup@count -\newcount\cal@group@count -\newcount\cal@group@len -\newcount\cal@engine -\newcount\cal@engine@limit -\newcount\cal@select@start -\newcount\cal@select@end -\newcount\cal@hours@start -\newcount\cal@minutes@start -\newcount\cal@hours@end -\newcount\cal@minutes@end -\newcount\tracingdates -\tracingdates=1 -\def\cal@sort@new{} -\newtoks\cal@reg@a -\newtoks\cal@reg@b -\newtoks\cal@reg@c -\newcount\cal@sort@A -\newcount\cal@sort@B -\newcount\cal@sort@C -\newtoks\cal@sort@D -\newtoks\cal@sort@E -\newcount\cal@sort@a -\newcount\cal@sort@b -\newcount\cal@sort@c -\newtoks\cal@sort@d -\newtoks\cal@sort@e -\newcount\cal@count@a -\newwrite\cal@freeze@file -\newif\ifcal@sort@passone -\newif\ifcal@nosortchange -\newif\ifcal@dofreeze -\newif\ifcal@noload -\newif\ifcal@noexport -\newif\ifcal@holidays -\newif\ifcal@useentry -\newif\ifcal@doevent -\newif\ifcal@doappt -\def\cal@insert#1{#1} -\expandafter\edef\csname cal@0@color\endcsname{black} -\def\theappointments{} -\def\theevents{} -\def\cal@exceptionlist{} -\newcount\cal@date@base -\endinput -%% -%% End of file `calendar.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/calopts.cfg b/Master/texmf-dist/tex/latex/calendar/calopts.cfg deleted file mode 100644 index 20da8219d57..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/calopts.cfg +++ /dev/null @@ -1,67 +0,0 @@ -\def\DeclareCalendarLanguage#1#2#3#4#5{% - \DeclareOption{#1}{\PassOptionsToPackage{\CurrentOption}{dates}}} - -\DeclareOption{draft}{\OptionNotUsed} -\DeclareOption{final}{\OptionNotUsed} -\DeclareOption{hiderotate}{\OptionNotUsed} -\DeclareOption{hidescale}{\OptionNotUsed} - -\DeclareOption{hiresbb}{\PassOptionsToPackage{\CurrentOption}{graphics}} - -\DeclareOption{monochrome}{% - \PassOptionsToPackage{\CurrentOption}{color}}% -\DeclareOption{dvipsnames}{% - \PassOptionsToPackage{\CurrentOption}{color}}% -\DeclareOption{nodvipsnames}{% - \PassOptionsToPackage{\CurrentOption}{color}}% -\DeclareOption{usenames}{% - \PassOptionsToPackage{\CurrentOption}{color}}% - -\DeclareOption{debugshow}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{xdvi}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{dvipdf}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{dvipsone}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{dviwindo}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{emtex}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{dviwin}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption{graphics}}}% -\DeclareOption{oztex}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{textures}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{pctexps}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{pctexwin}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{pctexhp}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{pctex32}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{truetex}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{tcidvi}{% - \PassOptionsToPackage{\CurrentOption}{color} - \PassOptionsToPackage{\CurrentOption}{graphics}}% -\DeclareOption{dvips}{% - \PassOptionsToPackage{\CurrentOption}{color}% - \PassOptionsToPackage{\CurrentOption}{graphics}}% diff --git a/Master/texmf-dist/tex/latex/calendar/dates.cfg b/Master/texmf-dist/tex/latex/calendar/dates.cfg deleted file mode 100644 index a1009adb149..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/dates.cfg +++ /dev/null @@ -1,13 +0,0 @@ -\DeclareCalendarLanguage{English} - {{Sunday}{Monday}{Tuesday}{Wednesday}{Thursday}{Friday}{Saturday}} - {{Sun}{Mon}{Tue}{Wed}{Thu}{Fri}{Sat}} - {{January}{February}{March}{April}{May}{June}{July}{August}{September} - {October}{November}{December}} - {{Jan}{Feb}{Mar}{Apr}{May}{Jun}{Jul}{Aug}{Sep}{Oct}{Nov}{Dec}} - -\DeclareCalendarLanguage{German} - {{Sonntag}{Montag}{Dienstag}{Mittwoch}{Donnerstag}{Freitag}{Samstag}} - {{So}{Mo}{Di}{Mi}{Do}{Fr}{Sa}} - {{Januar}{Februar}{M\"arz}{April}{Mai}{Juni}{Juli}{August}{September}% - {Oktober}{November}{Dezember}} - {{Jan}{Feb}{M\"arz}{Apr}{Mai}{Juni}{Juli}{Aug}{Sep}{Okt}{Nov}{Dez}} diff --git a/Master/texmf-dist/tex/latex/calendar/dates.sty b/Master/texmf-dist/tex/latex/calendar/dates.sty deleted file mode 100644 index 01b80472098..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/dates.sty +++ /dev/null @@ -1,780 +0,0 @@ -%% -%% This is file `dates.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% dates.dtx (with options: `style') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{dates} - [1998/01/17 17:12:39 3.1 Dates parsing support (Frank Bennett)] -\newcount\dates@one -\newcount\dates@two -\newcount\dates@langnum -\newtoks\dates@reg@a -\newtoks\dates@reg@b -\newtoks\dates@reg@c -\def\DeclareCalendarLanguage#1#2#3#4#5{ - \advance\dates@two by1\relax% - \expandafter\edef\csname dates@#1@langnum\endcsname{\the\dates@two}% - \ifnum\dates@two=1\relax\def\dates@default@language{#1}\fi% - \DeclareOption{#1}{% - \expandafter\expandafter\expandafter% - \dates@langnum\csname dates@#1@langnum\endcsname\relax% - \dates@buildcase{1}{\theweekday}{\dates@weekd}#2{}% - \dates@buildcase{1}{\theshortweekday}{\dates@weekd}#3{}% - \dates@buildcase{0}{\themonth}{\dates@month}#4{}% - \dates@buildcase{0}{\theshortmonth}{\dates@month}#5{}}} -\def\dates@buildcase#1#2#3{% - \dates@one=#1\relax% - \dates@reg@c={#3}% - \gdef\dates@temp@a{#2}% - \dates@reg@a={}% - \dates@reg@b={}% - \def\dates@temp@c{}% - \dates@@buildcase} -\def\dates@@buildcase#1{% - \ifcat$#1$% - \let\next\dates@@@buildcase% - \else% - \let\next\dates@@buildcase% - \dates@reg@a={\or#1}% - \dates@reg@b=\expandafter{\dates@temp@c}% - \edef\dates@temp@c{\the\dates@reg@b\the\dates@reg@a} - \fi% - \next} -\def\dates@@@buildcase{% - \ifnum\dates@one=0\relax% - \dates@reg@a=\expandafter{\dates@temp@c}% - \else% - \dates@reg@a=\expandafter\expandafter\expandafter% - {\expandafter\@gobble\dates@temp@c}% - \fi% - \expandafter\edef\dates@temp@a{% - \noexpand\ifcase\the\dates@reg@c% - \the\dates@reg@a% - \noexpand\fi}} -\RequirePackage{overword}[1997/10/29] -\InputIfFileExists{dates.cfg}{}{} -\@ifundefined{theweekday}{% - \DeclareCalendarLanguage{english} - {{Sun}{Mon}{Tue}{Wed}{Thu}{Fri}{Sat}} - {{Sunday}{Monday}{Tuesday}{Wednesday}{Thursday}{Friday}{Saturday}} - {{Jan}{Feb}{Mar}{Apr}{May}{Jun}{Jul}{Aug}{Sep}{Oct}{Nov}{Dec}} - {{January}{February}{March}{April}{May}{June}{July}{August}{September} - {October}{November}{December}}} - {} -\ExecuteOptions{\dates@default@language} -\ProcessOptions -\long\gdef\dateread#1{% - \gdef\dates@action{#1}% - \gdef\dates@subranges{}% - \dates@subrange@start=0% - \dates@subrange@end=0% - \dates@read@default} -\long\gdef\dates@read@default{% - \global\dates@time@start=0% - \global\dates@time@end=0% - \setyear{1900}% - \global\dates@month=0% - \global\dates@day=0% - \global\dates@weekd@target=7% - \gdef\theshorttext{}% - \gdef\thelongtext{}% - \global\dates@suppressfalse% - \global\let\dates@init\relax% - \global\let\dates@increment\relax% - \global\let\dates@read=\dates@read@default% - \global\let\dates@@@read=\dates@@@read@default% - \global\let\dates@@@@read=\dates@@@@read@default% - \global\let\dates@read@exit=\dates@read@exit@default% - \bgroup% - \@ifnextnparchar\dates@serious@brace% - {\message{This should never happen}}% - {\dates@@read}% - {\egroup}} -\long\def\dates@@read#1#{% - \let\end\relax% - \xdef\cal@temp{#1 }% - \egroup% - \expandafter\dates@@@read\cal@temp} -\def\dates@@@read@default{% - \global\let\dates@@@read\dates@@@read@default% - \@ifoverword\dates@serious@brace% - {\expandafter\dates@analyze\@overword{}% - \dates@@@@read}% - {\expandafter\dates@analyze\@overword{}% - \dates@@@read}% - {\expandafter\dates@analyze\@overword{}% - \ifnum\dates@year>0\relax% - \let\dates@read\relax% - \dates@read@exit% - \fi}} -\bgroup - \catcode`\[=1 - \global\let\dates@funny@brace=[ - \catcode`\<=1 - \global\let\dates@bent@brace=< -\egroup -\gdef\dates@@@@read@default#1{% - \global\let\dates@@@@read\dates@@@@read@default% - \global\let\dates@@@read\dates@@@read@default% - \dates@textcount1% - \def\theshorttext{#1}% - \ifnum\dates@textcount=\dates@langnum\relax% - \gdef\thelongtext{}% - \fi% - \bgroup% - \catcode`\[=1\catcode`\]=2\relax% - \catcode`\<=1\catcode`\>=2\relax% - \@ifnextnparchar\dates@funny@brace% - {\dates@@@@@read}% - {\global\let\thelongtext\theshorttext% - \@ifnextnparchar\dates@bent@brace% - {\dates@@@@read@bent}% - {\egroup% - \dates@read@exit}% - {\message{This can't happen}}}% - {\egroup% - \dates@read@exit}} -\def\dates@@@@@read#1{% - \egroup% - \ifnum\dates@textcount=1\relax - \gdef\thelongtext{#1}% - \else% - \ifnum\dates@textcount=\dates@langnum\relax% - \gdef\thelongtext{#1}% - \fi% - \fi% - \bgroup% - \catcode`\<=1\catcode`\>=2\relax% - \@ifnextnparchar\dates@bent@brace% - {\dates@@@@read@bent}% - {\egroup% - \dates@read@exit}% - {\egroup% - \dates@read@exit}} -\def\dates@@@@read@bent#1{% - \egroup% - \advance\dates@textcount by1\relax% - \ifnum\dates@textcount=\dates@langnum\relax - \def\theshorttext{#1}% - \fi% - \bgroup% - \catcode`\[=1\catcode`\]=2\relax% - \catcode`\<=1\catcode`\>=2\relax% - \@ifnextnparchar\dates@funny@brace% - {\dates@@@@@read}% - {\ifnum\dates@textcount=\dates@langnum\relax% - \gdef\thelongtext{}% - \fi% - \@ifnextnparchar\dates@bent@brace% - {\dates@@@@read@bent}% - {\egroup% - \dates@read@exit}% - {\message{This can't happen}}}% - {\egroup% - \dates@read@exit}} -\def\dates@read@exit@default{% - \dates@verify% - \dates@fix% - \dates@lastdate\dates@date% - \ifdates@suppress@global% - \else% - \ifdates@suppress% - \else% - \dates@action% - \fi% - \fi% - \dates@read} -\def\dates@verify{% - \ifnum\dates@month=0% - \ifdates@requiremonth% - \PackageError{dates}{Missing month.}{}% - \else% - \global\dates@month=1% - \fi% - \fi% - \ifnum\dates@day=0% - \ifdates@requireday% - \PackageError{dates}{Missing day of the month.}{}% - \else% - \global\dates@day=1% - \fi% - \fi% - \ifnum\dates@year=0\relax% - \PackageError{dates}{Missing year in ordinary date.}{}% - \fi} -\def\dates@read@exit@range{% - \dates@fix% - \dates@subrange@end\dates@date% - \dates@reg@a=\expandafter{\dates@subranges}% - \xdef\dates@subranges{% - \the\dates@reg@a% - \noexpand\delim{\the\dates@subrange@start}% - {\the\dates@date}}% - \global\let\dates@read@exit\dates@read@exit@default% - \dates@read@exit} -\def\dates@read@exit@recurse{% - \expandafter\ifcat\expandafter$\dates@subranges$% - \PackageError{dates}{No range given}% - {You need to specify a range before % - recursive entries and formulae}% - \fi\relax% - \ifx\dates@init\relax% - \ifnum\dates@day>0\relax% - \dates@everymonth@day\dates@day% - \ifnum\dates@month>0\relax% - \dates@everyyear@month\dates@month% - \global\let\dates@init\dates@init@yearly@doy% - \global\let\dates@increment\dates@increment@yearly@doy% - \else% - \global\let\dates@init\dates@init@monthly@dom% - \global\let\dates@increment\dates@increment@monthly@dom% - \fi% - \else% - \PackageError{dates}{Incomplete recursive entry}% - {You need to specify a day of the week or a day of % - the month or something for entries beginning with % - the word Every.} - \fi% - \fi% - \global\let\delim\dates@read@exit@@recurse% - \dates@subranges% - \dates@read} -\def\dates@read@exit@@recurse#1#2{% - \dates@subrange@start#1\relax% - \dates@subrange@end#2\relax% - \dates@init% - \caldate% - \ifdates@suppress@global% - \else% - \ifdates@suppress% - \else% - \dates@action% - \fi% - \fi% - \let\next\dates@read@exit@@@recurse% - \dates@read@exit@@@recurse} -\def\dates@read@exit@@@recurse{% - \dates@increment\relax% - \ifnum\dates@date>\dates@subrange@end\relax% - \let\next\relax% - \else% - \caldate% - \ifdates@suppress@global% - \else% - \ifdates@suppress% - \else% - \dates@action% - \fi% - \fi% - \fi% - \next} -\def\dates@increment@daily{% - \global\advance\dates@date by 1\relax} -\def\dates@init@weekly{% - \global\dates@date\dates@subrange@start% - \mod7\dates@date\dates@weekd% - \dates@three=\dates@weekd@target\relax% - \advance\dates@three by -\dates@weekd\relax% - \ifnum\dates@three<0\relax% - \advance\dates@three by7% - \fi% - \global\advance\dates@date by\dates@three\relax} -\def\dates@init@semiweekly{% - \dates@verify% - \dates@fix% - \ifnum\dates@subrange@start>\dates@date% - \dates@ct@z\dates@subrange@start% - \advance\dates@ct@z by-\dates@date% - \mod{14}\dates@ct@z\dates@catch% - \global\dates@date\dates@subrange@start% - \global\advance\dates@date by\dates@catch% - \fi} -\def\dates@increment@weekly{% - \global\advance\dates@date by7\relax} -\def\dates@increment@semiweekly{% - \global\advance\dates@date by14\relax} -\def\dates@init@monthly@dow{% - \global\dates@date\dates@subrange@start% - \dates@init@monthly@@dow} -\def\dates@init@monthly@@dow{% - \let\dates@init@monthly@dow@recurse\relax% - \caldate% - \nextday\dates@weekd@target% - \caldate% - \dates@one\dates@day% - \divide\dates@one by 7\relax% - \multiply\dates@one by 7\relax% - \ifnum\dates@modulo>\dates@one\relax% - \dates@two\dates@modulo% - \advance\dates@two by -\dates@one% - \global\advance\dates@date by \dates@two% - \else% - \ifnum\dates@modulo<\dates@one\relax% - \dates@next@month% - \let\dates@init@monthly@dow@recurse\dates@init@monthly@@dow% - \fi% - \fi% -\dates@init@monthly@dow@recurse} -\def\dates@init@monthly@dom{% - \global\dates@date\dates@subrange@start% - \dates@init@monthly@@dom} -\def\dates@init@monthly@@dom{% - \let\dates@init@monthly@dom@recurse\relax% - \caldate% - \ifnum\dates@day>\dates@everymonth@day% - \dates@next@month% - \let\dates@init@monthly@dom@recurse\dates\init@monthly@@dom% - \else% - \global\dates@day\dates@everymonth@day% - \dates@fix% - \fi% - \dates@init@monthly@dom@recurse} -\def\dates@init@yearly@doy{% - \global\dates@date\dates@subrange@start% - \dates@init@yearly@@doy} -\def\dates@init@yearly@@doy{% - \let\dates@init@yearly@doy@recurse\relax% - \caldate% - \dates@ct@z\dates@day@offset% - \global\dates@day\dates@everymonth@day% - \global\dates@month\dates@everyyear@month% - \dates@fix% - \ifnum\dates@ct@z>\dates@day@offset% - \nextyear% - \dates@fix% - \let\dates@init@yearly@doy@recurse\dates@init@yearly@@doy% - \fi% - \dates@init@yearly@doy@recurse} -\def\dates@increment@monthly@dow{% - \dates@next@month% - \dates@init@monthly@@dow} -\def\dates@increment@monthly@dom{% - \dates@next@month% - \dates@init@monthly@@dom} -\def\dates@increment@yearly@doy{% - \nextyear% - \global\dates@month=\dates@everyyear@month\relax% - \global\dates@day=\dates@everymonth@day\relax% - \dates@fix% - \dates@init@yearly@@doy} -\long\def\dates@@@read@function #1 #2 {% - \xdef\dates@init{\csname#1\endcsname}% - \xdef\dates@increment{\csname#2\endcsname}% - \@ifnextnparchar\dates@serious@brace% - {\bgroup% - \makeatletter% - \expandafter\dates@@@read@@function}% - {\PackageError% - {dates}% - {Extra text after function names}% - {The third argument must be in curly braces.}}% - {\relax}} -\long\def\dates@@@read@@function#1{% - \long\gdef\dates@temp{#1}% - \egroup% - \dates@temp% - \let\dates@temp\relax% - \dates@@@@read@default} -\long\def\dates@analyze#1#2#{% - \ifcat\noexpand#11% - \def\dates@zero{0}% - \expandafter\dates@check@hyphen\@overword-{}% - \ifx\dates@arg@b\dates@zero% - \expandafter\dates@check@colon\@overword:{}% - \ifx\dates@arg@b\dates@zero% - \expandafter\ifnum\@overword>31% - \setyear{\dates@arg@a}% - \else% - \ifnum\dates@day>0% - \dates@dayerror% - \else% - \global\dates@day=\dates@arg@a% - \fi% - \fi% - \else% - \expandafter\dates@strip@colon\dates@arg@b% - \global\dates@time@start=\dates@arg@a% - \global\multiply\dates@time@start by 60% - \global\advance\dates@time@start by \dates@arg@b% - \global\dates@time@end=\dates@time@start% - \fi% - \else% - \expandafter\dates@strip@hyphen\dates@arg@b% - \let\dates@temp\dates@arg@b% - \expandafter\dates@check@colon\dates@arg@a:{}% - \ifx\dates@arg@b\dates@zero% - \else% - \expandafter\dates@strip@colon\dates@arg@b% - \fi% - \global\dates@time@start=\dates@arg@a\relax% - \global\multiply\dates@time@start by 60\relax% - \global\advance\dates@time@start by \dates@arg@b\relax% - \expandafter\dates@check@colon\dates@temp:{}% - \ifx\dates@arg@b\dates@zero% - \else% - \expandafter\dates@strip@colon\dates@arg@b% - \fi% - \global\dates@time@end=\dates@arg@a\relax% - \global\multiply\dates@time@end by 60\relax% - \global\advance\dates@time@end by \dates@arg@b% - \fi% - \else% - \dates@execute#1#2XXX{}% - \fi} -\def\dates@execute#1#2#3#4#{% - \ifcat#1\relax% - \expandafter\csname% - \string#1#2#3mac\endcsname% - \else% - \global\dates@catch=`#1\relax - \global\advance\dates@catch by-65 - \dates@reg@a=\expandafter{\ifcase\dates@catch - a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or k\or l\or - m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or - y\or z\else #1\fi} - \csname\the\dates@reg@a#2#3mac\endcsname% - \fi}% -\def\evemac{% - \global\let\dates@read@exit=\dates@read@exit@recurse} -\def\daymac{% - \global\let\dates@init=\dates@init@daily% - \global\let\dates@increment=\dates@increment@daily} -\def\dates@init@daily{% - \global\dates@date=\dates@subrange@start} -\def\othmac{% - \global\let\dates@init=\dates@init@semiweekly% - \global\let\dates@increment=\dates@increment@semiweekly} -\def\firmac{% - \dates@modulo=0% - \global\let\dates@init=\dates@init@monthly@dow% - \global\let\dates@increment=\dates@increment@monthly@dow}% -\def\secmac{% - \dates@modulo=7% - \global\let\dates@init=\dates@init@monthly@dow% - \global\let\dates@increment=\dates@increment@monthly@dow}% -\def\thimac{% - \dates@modulo=14% - \global\let\dates@init=\dates@init@monthly@dow% - \global\let\dates@increment=\dates@increment@monthly@dow}% -\def\toXmac{\relax% - \ifnum\dates@year=0% - \dates@subrange@start\dates@lastdate% - \else% - \dates@fix% - \dates@subrange@start\dates@date% - \global\dates@month=0% - \global\dates@day=0% - \setyear{1900}% - \fi% - \global\let\dates@read@exit\dates@read@exit@range}% -\def\funmac{% - \global\let\dates@read@exit=\dates@read@exit@recurse% - \global\let\dates@@@read=\dates@@@read@function} -\def\remmac{% - \global\dates@suppresstrue} -\bgroup - \def\monthdata#1#2#3#4#5\end{% - \expandafter\gdef\csname#2#3#4mac\endcsname{% - \ifnum\dates@month>0% - \dates@montherror% - \else% - \global\dates@month=#1% - \fi}% - \ifcat$#5$\let\next\@gobble\else\let\next\monthdata\fi% - \next#5\end}% - \monthdata1jan2feb3mar4apr5may6jun% - 7jul8aug9sep{10}oct{11}nov{12}dec\end -\egroup -\bgroup - \def\weekdata#1#2#3#4#5\end{% - \expandafter\gdef\csname #2#3#4mac\endcsname{% - \ifnum\dates@weekd@target<7\relax% - \dates@weekerror% - \else% - \global\dates@weekd@target=#1\relax% - \ifx\dates@init\relax% - \global\let\dates@init\dates@init@weekly% - \fi% - \ifx\dates@increment\relax% - \global\let\dates@increment\dates@increment@weekly% - \fi% - \fi}% - \ifcat$#5$\let\next\@gobble\else\let\next\weekdata\fi% - \next#5\end} - \weekdata0sun1mon2tue3wed4thu5fri6sat\end -\egroup -\def\dates@montherror{% - \PackageError{dates}{Month multiply defined}{% - You have set the month more than once here.}} -\def\dates@dayerror{% - \PackageError{dates}{Day multiply defined}{% - You have set the day more than once here.}} -\def\dates@weekerror{% - \PackageError{dates}{Week multiply defined}{% - You have set the day of the week more than once here.}} -\def\dates@check@colon#1:#2#{% - \def\dates@arg@a{#1}% - \def\dates@arg@b{0#2}} -\def\dates@strip@colon#1:{% - \def\dates@arg@b{#1}} -\def\dates@check@hyphen#1-#2#{% - \def\dates@arg@a{#1}% - \def\dates@arg@b{0#2}} -\def\dates@strip@hyphen#1-{% - \def\dates@arg@b{#1}} -\expandafter\expandafter\expandafter\def% - \expandafter\csname% - \string\relaxXXmac\endcsname{% - \global\let\dates@@@@read\relax} -\def\theyear{\the\dates@year@full} -\def\themonthnumber{\the\dates@month} -\def\theday{\the\dates@day} -\def\thelongdate{\the\dates@date} -\def\themonthdays{\the\dates@days} -\def\setyear#1{\dates@year=#1% - \advance\dates@year by -1900\calculateyearbase} -\def\nextyear{\advance\dates@year by1% - \calculateyearbase} -\def\dates@next@month{% - \ifnum\dates@month=12% - \advance\dates@year by 1\calculateyearbase% - \global\dates@month=1% - \global\dates@day=1% - \else% - \global\advance\dates@month by 1% - \global\dates@day=1% - \fi% - \dates@fix} -\def\settimezone#1{\dates@timezone=#1% - \multiply\dates@timezone by 1000% - \divide\dates@timezone by24} -\def\calculateyearbase{% - \global\dates@yearbase=-1% - {\dates@ct@z=\dates@year\divide\dates@ct@z by4% - \multiply\dates@ct@z by4\relax% - \ifnum\dates@year=\dates@ct@z% - \global\dates@catch=0% - \else% - \global\dates@catch=1% - \fi}% - \ifcase\dates@catch \leapyeartrue\or% - \leapyearfalse\fi% - {\dates@ct@z=\dates@year\multiply\dates@ct@z% - by1461\advance\dates@ct@z by3% - \divide\dates@ct@z by4% - \global\dates@catch=\dates@ct@z}% - \global\advance\dates@yearbase by\dates@catch\relax% - \ifnum\dates@year=0\global\dates@yearbase=0\leapyearfalse\fi} -\def\monthdays{% -\global\dates@catch\ifcase\dates@month% - 0\or31\or% - 59\or90\or120\or151\or181\or212\or% - 243\or273\or304\or334\or365\fi% - {\ifleapyear\ifnum\dates@month>1% - \global\advance\dates@catch by1\fi\fi}% - \global\dates@day@offset=\dates@catch} -\def\dates@fix{% - \dates@year@get% - \dates@monthname@get% - \ifnum\dates@days<\dates@day% - \PackageError{dates}{Day of month out of range}{% - There are only \the\dates@days\space days in % - \themonth, but you have tried^^J% - to specify \the\dates@day.}% - \else% - \global\dates@date=\dates@day{\advance\dates@month by-1% - \monthdays% - \global\advance\dates@date by\dates@day@offset% - \global\advance\dates@date by\dates@yearbase}% - \fi% - \dates@dayname@get} -\def\mod#1#2#3{\dates@three=#2\relax% - \dates@four=\dates@three% - \divide\dates@three by#1% - \multiply\dates@three by#1% -\advance\dates@four by-\dates@three% - #3=\dates@four} - -\def\dates@year@get{% - \global\dates@year@full\dates@year% - \global\advance\dates@year@full by 1900\relax} -\def\dates@dayname@get{\mod7\dates@date\dates@weekd} -\def\caldate{\dates@year=\dates@date% - \multiply\dates@year by4\divide\dates@year by1461% - \calculateyearbase% - {\advance\dates@date by-\dates@yearbase\global\dates@month=0% - \loop\monthdays\ifnum\dates@day@offset<\dates@date% - \global\advance\dates@month by1\repeat% - {\advance\dates@month by-1\monthdays% - \advance\dates@date by-\dates@day@offset% - \global\dates@day=\dates@date}}% - \dates@year@get% - \dates@monthname@get% - \dates@dayname@get} -\def\dates@monthname@get{% - \ifcase\dates@month% - \or% - \global\dates@days=31\relax% - \or% - \ifleapyear% - \global\dates@days=29\relax% - \else% - \global\dates@days=28\relax% - \fi% - \or% - \global\dates@days=31\relax% - \or% - \global\dates@days=30\relax% - \or% - \global\dates@days=31\relax% - \or% - \global\dates@days=30\relax% - \or% - \global\dates@days=31\relax% - \or% - \global\dates@days=31\relax% - \or% - \global\dates@days=30\relax% - \or% - \global\dates@days=31\relax% - \or% - \global\dates@days=30\relax% - \or% - \global\dates@days=31\relax% - \fi} -\def\nextday#1{{\dates@ct@z=#1\mod7\dates@date\dates@weekd% - \advance\dates@ct@z by-\dates@weekd\relax% - \ifnum\dates@ct@z<0\advance\dates@ct@z by7\fi% - \global\advance\dates@date by\dates@ct@z}} -\def\prevday#1{\snextday#1% - \global\advance\dates@date by-7} -\def\snextday#1{\global\advance\dates@date by1% - \nextday#1} -\def\sprevday#1{\global\advance\dates@date by-1% - \prevday#1} -\def\jdttol{\advance\dates@date by500% - \advance\dates@date by\dates@timezone% - \global\divide\dates@date by1000} -\def\sintable#1{\ifcase #1 0\or100\or199% - \or296\or389\or479\or565\or644\or717% - \or783\or841\or891\or932\or964\or985% - \or997\or1000\or992\or974\or946\or909% - \or863\or808\or746\or675\or598\or516% - \or427\or335\or239\or141\or42\or-58% - \or-158\fi} -\def\twopimod{\count2 =\count1% - \divide\count2 by6284 \count3 =1853% - \count4 =6283\multiply\count3 by\count2% - \multiply\count4 by\count2% - \divide\count3 by10000% - \advance\count3 by\count4% - \advance\count1 by-\count3}% -\def\sin{\relax% - \ifnum\count1<0 \signtrue% - \count1=-\count1\else \signfalse\fi% - \loop\ifnum\count1>6284\twopimod\repeat\relax% - \ifnum\count1>3142% - \advance\count1 by-3142% - \ifsign\signfalse\else\signtrue\fi\fi% - \multiply\count1 by10\count3=\count1% - \divide\count3 by1000\count2=\count3% - \multiply\count3 by1000% - \advance\count3 by-\count1 % - \count5 =\sintable{\count2 }% - \count4 =\count5\advance\count2 by1% - \advance\count4 by -\sintable{\count2}% - \multiply\count4 by\count3% - \divide\count4 by1000% - \advance\count4 by\count5% - \ifsign\count4 =-\count4\fi}% -\def\cos{\advance\count1 by-1571% - \multiply\count1 by-1\sin}% -\def\lin#1.#2.#3+#4.{\count1=#3% - \count2=#2\count3=#1% - \multiply\count1 by\dates@ct@z% - \multiply\count2 by\dates@ct@z\relax% - \multiply\count3 by\dates@ct@z% - \divide\count1 by1000% - \advance\count1 by\count2% - \divide\count1 by1000% - \advance\count1 by\count3% - \advance\count1 by #4\relax} -\def\fac#1{\multiply\count4 by #1% - \advance\count6 by\count4} -\def\id{\count4=\count1} % Identity -\newcount\dates@textcount -\newcount\dates@ct@z -\newcount\dates@range@limit -\newcount\dates@year -\newcount\dates@timezone -\dates@timezone=0 -\newcount\dates@catch -\newcount\dates@day -\newcount\dates@day@offset -\newcount\dates@everymonth@day -\newcount\dates@everyyear@month -\newcount\dates@month -\newcount\dates@date -\newcount\dates@date@current -\newcount\dates@three -\newcount\dates@four -\newcount\dates@weekd -\newcount\dates@time@start -\newcount\dates@time@end -\newcount\dates@subrange@start -\newcount\dates@subrange@end -\newcount\dates@days -\newcount\dates@lastdate -\newcount\dates@yearbase -\newcount\dates@weekd@target -\newcount\dates@modulo -\newcount\dates@year@full -\newcount\dates@extra@day -\newtoks\dates@reg -\newtoks\dates@dayname -\newtoks\dates@shortweekday -\newtoks\dates@monthname -\newtoks\dates@shortmonthname -\newif\ifdates@requiremonth -\newif\ifdates@requireday -\newif\ifdates@suppress -\newif\ifdates@suppress@global -\newif\ifleapyear -\let\delim\relax -\let\dates@serious@brace={ -\def\dates@empty{} - -\endinput -%% -%% End of file `dates.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/evntlist.sty b/Master/texmf-dist/tex/latex/calendar/evntlist.sty deleted file mode 100644 index 7182667647b..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/evntlist.sty +++ /dev/null @@ -1,109 +0,0 @@ -%% -%% This is file `evntlist.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% evntlist.dtx (with options: `style') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{evntlist} - [1997/11/07 10:44:05 2.2 Event List (Frank Bennett)] -\input calopts.cfg -\InputIfFileExists{dates.cfg}{}{} -\ProcessOptions -\RequirePackage{calendar} - \newif\if@el@noheadyet - \@el@noheadyettrue - \def\el@output#1{\protected@write\@el@outputfile{}{#1}} - \def\el@maybeheader{\if@el@noheadyet% - \begin{itemize}\item\theday\space\themonth\space\theyear\@el@noheadyetfalse\fi} - \def\el@maybeitem{\if@el@noheadyet\else\item\theday\space\themonth\space\theyear% - \fi} -\newcalendar% -{eventlist} -{\cal@insert} -{8} -{1} -{1} -{\relax} -{I} -{\relax} -{\end{itemize}} -{\relax} -{\relax} -{\dates@requiremonthtrue\dates@requiredaytrue} -{\global\dates@date\cal@range@start% - \caldate% - \message{^^JStart: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@date\cal@range@end% - \caldate% - \message{^^JEnd: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@date\cal@range@start% - \caldate}% -{\item}% -{\cal@get@appointments\cal@get@events}% -{\relax% - \ifnum\dates@time@start>0\relax% - \ifnum\dates@time@start=\dates@time@end% - \protected@edef\cal@entry@text{% - \thetimestart\space% - \cal@textcolor{\calcolor}{\thelongtext}}% - \else% - \protected@edef\cal@entry@text{% - \thetimestart--\thetimeend\space% - \cal@textcolor{\calcolor}{\thelongtext}}% - \fi% - \else% - \protected@edef\cal@entry@text{% - \cal@textcolor{\calcolor}{\thelongtext}}% - \fi}% -{\ifcat$\theevents\theappointments$\else% -\el@maybeitem% -\el@maybeheader% -\fi% -\bgroup% -\let\item\par% -\ifcat$\theevents$\else% - \par% - \theevents% -\fi% -\egroup% -\ifcat$\theappointments$\else% -\begin{itemize}% -\item% -\theappointments% -\end{itemize}% -\fi} -\endinput -%% -%% End of file `evntlist.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/filoaddr.cls b/Master/texmf-dist/tex/latex/calendar/filoaddr.cls deleted file mode 100644 index 398c87292b5..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/filoaddr.cls +++ /dev/null @@ -1,78 +0,0 @@ -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesClass{filoaddr} - [1998/01/17 18:15:06 3.1.1.1 Filofax address pages (Frank Bennett)] -\DeclareOption{fourcolumn}% - {\PassOptionsToPackage{\CurrentOption}{autofilo}} -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} -\ProcessOptions -\LoadClass{article} -\RequirePackage{rotating} -\RequirePackage{url} -\def\mygobble#1{} -\newlength\templen -\newlength\mytemplength -\newlength\descheight -\newlength\myparwidth -\newlength\descwidth -\newlength\biggerwidth -\newlength\myentryheight -\newlength\myparheight -\newlength\mylinewidth -\def\entry#1{% -\vbox{% -\vskip2pt -\topline -\vskip 2pt -\parbox{\linewidth}{% -\raggedright% -\small#1} -\vskip 1pt -\bottomline}} -\def\topline{% - \vbox to0pt{% - \hbox to\linewidth{% - \hskip-2.4pt% - \vrule width0.4pt height0pt depth7pt% - \vrule width\mylinewidth depth0.4pt height0pt% - \vrule width0.4pt height0pt depth7pt\hskip-2.4pt}% - \vskip-7pt}} -\def\bottomline{% - \vbox to0pt{% - \vskip-7pt - \hbox to\linewidth{% - \hskip-2.4pt% - \vrule width0.4pt height7pt depth0pt% - \vrule width\mylinewidth depth0.4pt height0pt% - \vrule width0.4pt height7pt depth0pt% - \hskip-2.4pt}}} -\def\address#1#2{% - \settoheight\myparheight{\vbox{% - \boxmaxdepth0pt% - \parbox{\myparwidth}{\raggedright #2}}}% - \settowidth\descwidth{\small\textbf{#1}}% - \ifnum\descwidth>\myparheight\biggerwidth\descwidth\else% - \biggerwidth\myparheight\fi% - \vbox{\vskip3pt% - \hbox to\linewidth{% - \hskip3pt% - \vbox to\biggerwidth{% - \vfil% - \hbox to\descheight{% - \begin{sideways}{\small\textbf{#1}}\end{sideways}% - \hfil}% - \vfil}% - \hskip2pt% - \vbox to\biggerwidth{% - \vfil% - \hbox to\myparwidth{% - \parbox{\myparwidth}{\raggedright #2}}% - \vfil}}}} -\def\addresses#1{% - \autofilo{#1} - \settoheight\descheight{\vbox{\boxmaxdepth0pt{\small\textbf{Yy}}}} - \myparwidth\linewidth% - \advance\myparwidth by-\descheight\relax% - \advance\myparwidth by-5pt\relax% - \mylinewidth\linewidth - \advance\mylinewidth by4pt\relax} -\def\endaddresses{\endautofilo} diff --git a/Master/texmf-dist/tex/latex/calendar/hlist.sty b/Master/texmf-dist/tex/latex/calendar/hlist.sty deleted file mode 100644 index 33082c66c18..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/hlist.sty +++ /dev/null @@ -1,114 +0,0 @@ -%% -%% This is file `hlist.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% htmlstuf.dtx (with options: `htmlevent') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{hlist} - [1997/11/07 10:44:05 2.2 HTML Event List (Frank Bennett)] -\input calopts.cfg -\InputIfFileExists{dates.cfg}{}{} -\ProcessOptions -\ProcessOptions -\RequirePackage{calendar} -\define@key{opt}{textnum}{% - \dates@textnum=#1\relax} -\define@key{opt}{outputfile}{% - \@ifundefined{html@outputfile} - {\newwrite\html@output% - \gdef\html@outputfile{#1}% - \immediate\openout\html@output=\html@outputfile} - {\gdef\el@temp{#1}% - \ifx\html@outputfile\el@temp% - \relax% - \else% - \immediate\closeout\html@output% - \gdef\html@outputfile{#1}% - \immediate\openout\html@output=\html@outputfile\relax% - \fi}} -\def\el@item{<LI><A NAME="\the\dates@date">\theday\space\themonth\space\theyear</A>} -\newcalendar% -{htmllist} -{\el@output} -{8} -{1} -{1} -{} -{I} -{<UL>} -{</UL>} -{} -{} -{\dates@requiremonthtrue\dates@requiredaytrue} -{\global\dates@date\cal@range@start% - \caldate% - \message{^^JStart: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@date\cal@range@end% - \caldate% - \message{^^JEnd: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@date\cal@range@start% - \caldate% - \def\el@output##1{\ifcat$##1$\else\immediate\write\html@output{##1}\fi}}% -{}% -{\cal@get@appointments\cal@get@events}% -{\relax% - \ifnum\dates@time@start>0\relax% - \ifnum\dates@time@start=\dates@time@end% - \protected@edef\cal@entry@text{% - ^^J\space\space\space\space<LI>\thetimestart\space% - \thelongtext}% - \else% - \protected@edef\cal@entry@text{% - ^^J\space\space\space\space<LI>\thetimestart--\thetimeend\space% - \thelongtext}% - \fi% - \else% - \protected@edef\cal@entry@text{% - ^^J<BR>\thelongtext}% - \fi}% -{\ifcat$\theevents\theappointments$\else% -\el@item% -\fi% -\ifcat$\theevents$\else% - \theevents% -\fi% -\ifcat$\theappointments$\else% - ^^J\space\space\space\space<UL>% - \theappointments% - ^^J\space\space\space\space</UL>% -\fi} -\endinput -%% -%% End of file `hlist.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/hml.sty b/Master/texmf-dist/tex/latex/calendar/hml.sty deleted file mode 100644 index 35c5506d203..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/hml.sty +++ /dev/null @@ -1,75 +0,0 @@ -%% -%% This is file `hml.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% htmlstuf.dtx (with options: `htmlmonthevent') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{hml} - [1997/11/06 07:33:21 2.1.1.6 HTML calendar (Frank Bennett)] -\RequirePackage{hmonth} -\RequirePackage{hlist} -\newtoks\hml@one -\newtoks\hml@two -\def\htmlmonthlist#1#2{% - \hml@one={#1} - \hml@two={#2} - \dateread{}} -\def\endhtmlmonthlist{% - \ifnum\dates@subrange@start=0% - \dates@subrange@start\dates@date% - \dates@subrange@end\dates@date% - \fi% - \global\dates@date\dates@subrange@start% - \global\dates@day=1\relax% - \dates@fix% - \cal@range@start\dates@date% - \global\dates@date\dates@subrange@end% - \caldate% - \global\dates@day\dates@days% - \dates@fix% - \cal@range@end\dates@date% - \global\dates@date=\cal@range@start - \caldate - \edef\hml@start{\theday\space\themonth\space\theyear\space} - \global\dates@date=\cal@range@end - \caldate - \edef\hml@end{\theday\space\themonth\space\theyear} - \edef\hml@range{\hml@start to \hml@end\space} - \edef\hml@htmlmonth{\noexpand\begin{htmlmonth}{\the\hml@one}{\the\hml@two}} - \edef\hml@htmllist{\noexpand\begin{htmllist}{\the\hml@one}{\the\hml@two}} - \expandafter\hml@htmlmonth\hml@range\end{htmlmonth} - \expandafter\hml@htmllist\hml@range\end{htmllist}x} - -\endinput -%% -%% End of file `hml.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/hmonth.sty b/Master/texmf-dist/tex/latex/calendar/hmonth.sty deleted file mode 100644 index 5578ee44939..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/hmonth.sty +++ /dev/null @@ -1,180 +0,0 @@ -%% -%% This is file `hmonth.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% htmlstuf.dtx (with options: `htmlmonth') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{hmonth} - [1998/01/17 18:15:02 3.1.1.1 HTML calendar (Frank Bennett)] -\RequirePackage{calendar} -\input calopts.cfg -\InputIfFileExists{dates.cfg}{}{} -\ProcessOptions -\define@key{opt}{title}{% - \def\yrly@title{#1}} -\define@key{opt}{labels}{% - \@storelabels#1,,{}} -\define@key{opt}{firstday}{% - \yrly@firstday=#1} -\define@key{opt}{outputfile}{% - \@ifundefined{html@outputfile} - {\newwrite\html@output - \gdef\html@outputfile{#1}% - \immediate\openout\html@output=\html@outputfile} - {\gdef\hm@temp{#1}% - \ifx\html@outputfile\hm@temp% - \relax% - \else% - \immediate\closeout\html@output% - \gdef\html@outputfile{#1}% - \immediate\openout\html@output=\html@outputfile\relax - \fi}} -\def\yrly@title{\themonth} -\newcount\yrly@firstday -\yrly@firstday=3\relax -\newtoks\yrly@tempreg@a -\newcount\yrly@tempcount -\def\@storelabels{% - \def\yrly@labeltext{}% - \@@storelabels} -\def\@@storelabels#1,#2#{% - \ifcat$#1$% - \yrly@tempreg@a=\expandafter{\yrly@labeltext}% - \edef\yrly@labeltext{\the\yrly@tempreg@a}% - \let\next\@gobble% - \else% - \let\next\@@storelabels% - \yrly@tempreg@a=\expandafter{\yrly@labeltext}% - \protected@edef\yrly@labeltext{\the\yrly@tempreg@a\space#1}% - \fi% - \next#2{}} -\newcount\thumbnails% -\newtoks\hm@line@a% -\def\hm@line{} -\def\hm@writeout#1{% - \edef\hm@temp{#1}% - \immediate\write\html@output{\hm@line\hm@temp}% - \def\hm@line{}} -\def\hm@spaces{\ifcase\hm@spacenum\or\space\or\space\space\or\space\space\space% - \or\space\space\space\space\fi} -\newcount\hm@spacenum -\newcalendar% - {htmlmonth} - {\el@output} - {\yrly@firstday} - {\dates@days} - {7} - {\hm@spaces} - {I} - {<pre><B>\themonth</B>^^J\yrly@labeltext^^J}% - {^^J^^J</pre>} - {\cal@footer% - \cal@header} - {^^J} - {} - {\global\dates@day=1% - \dates@fix% - \cal@range@start\dates@date% - \message{^^JStart: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@date\cal@range@end% - \caldate% - \global\dates@day\dates@days% - \dates@fix% - \cal@range@end\dates@date% - \message{^^JEnd: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@date=\cal@range@start% - \caldate% - \@ifundefined{yrly@labeltext}{% - \def\yrly@defaultlabels{}% - \yrly@tempcount=1% - \global\advance\dates@date by-\dates@weekd% - \global\advance\dates@date by\yrly@firstday% - \caldate% - \loop% - \yrly@tempreg@a=\expandafter{\yrly@defaultlabels}% - \edef\yrly@defaultlabels{\the\yrly@tempreg@a\theshortweekday,}% - \ifnum\yrly@tempcount<7% - \global\advance\dates@date by1% - \caldate% - \advance\yrly@tempcount by 1\relax% - \repeat% - \expandafter\@storelabels\yrly@defaultlabels,,{}% - \dates@date\cal@range@start% - \caldate}% - {}% - \def\el@output##1{% - \def\hm@temp{##1}% - \def\hm@temptwo{\cal@groupbreak}% - \ifx\hm@temp\hm@temptwo% - \hm@spacenum=4\relax% - \fi% - \ifnum\cal@subgroup@count>6\relax% - \hm@writeout{##1}% - \else% - \def\hm@temptwo{\cal@footer}% - \ifx\hm@temp\hm@temptwo% - \hm@writeout{##1}% - \else% - \hm@line@a=\expandafter{\hm@line}% - \edef\hm@line{\the\hm@line@a\hm@temp}% - \fi% - \fi}% - \hm@spacenum=4\relax}% - {}% - {\ifnum\dates@day<9\hm@spacenum=3\else\hm@spacenum=2\fi% - \cal@get@appointments\cal@get@events}% - {\protected@edef\cal@entry@text{X}}% - {\ifnum\dates@weekd=\yrly@firstday% - \hm@spaces% - \ifnum\theday=9% - \space\space% - \fi% - \else% - \ifnum\dates@day=1% - \space\hm@spaces% - \fi% - \fi% - \ifcat$\theappointments\theevents$% - \else% - <A HREF="\expandafter\@gobble\string\#\the\dates@date">% - \fi% - \theday% - \ifcat$\theappointments\theevents$% - \else% - </A>% - \fi} -\endinput -%% -%% End of file `hmonth.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/hpplotsz.sty b/Master/texmf-dist/tex/latex/calendar/hpplotsz.sty deleted file mode 100644 index cb8e17f5a4a..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/hpplotsz.sty +++ /dev/null @@ -1,14 +0,0 @@ -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{hpplotsz} - [1997/11/07 Custom page sizes with HP 6xx series plotters (Frank Bennett)] -\newlength\hps@templen -\newwrite\hps@pagesizeheader -\newcount\hps@orientation -\def\hps@@strip#1.#2\end{#1} -\def\hps@strip#1{\expandafter\hps@@strip\the#1\end} -\def\sethpplotsize{% - \ifnum\hsize>\vsize\hps@orientation=3\else\hps@orientation=0\fi - \immediate\openout\hps@pagesizeheader=./\jobname.hps - \immediate\write\hps@pagesizeheader{% - <</PageSize [\hps@strip\paperwidth\space\hps@strip\paperheight] /Orientation \the\hps@orientation>>setpagedevice} - \immediate\closeout\hps@pagesizeheader} diff --git a/Master/texmf-dist/tex/latex/calendar/margins.sty b/Master/texmf-dist/tex/latex/calendar/margins.sty deleted file mode 100644 index 26888f3cd6e..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/margins.sty +++ /dev/null @@ -1,25 +0,0 @@ -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{margins} - [1997/11/07 Simple margin control (Frank Bennett)] -\def\margins#1{% - \headheight=0pt - \headsep=0pt - \topmargin=-1in - \oddsidemargin=-1in - \evensidemargin=-1in - \advance\topmargin by#1 - \advance\oddsidemargin by#1 - \advance\evensidemargin by#1 - \textwidth=\paperwidth - \advance\textwidth by-#1 - \advance\textwidth by-#1 - \hsize=\textwidth - \textheight=\paperheight - \advance\textheight by-#1 - \advance\textheight by-#1 - \vsize=\textheight - \@colroom=\vsize - \@colht=\vsize} -\endinput - - diff --git a/Master/texmf-dist/tex/latex/calendar/monthly.sty b/Master/texmf-dist/tex/latex/calendar/monthly.sty deleted file mode 100644 index 5dfe8d0846b..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/monthly.sty +++ /dev/null @@ -1,222 +0,0 @@ -%% -%% This is file `monthly.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% monthly.dtx (with options: `class') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{monthly} - [1998/01/17 18:15:10 3.1.1.1 Monthly Calendar (Frank Bennett)] -\newcount\mon@tempcount -\newcount\mon@firstday -\newtoks\mon@tempreg@b -\newlength\mon@tablewidth -\newtoks\mon@tempreg@a -\newlength{\mon@vh} -\newlength{\mon@hw} -\newlength{\mon@templen} -\newlength{\mon@heightlessboxes} -\newlength{\mon@widthlessboxes} -\newif\ifmon@explicittitle -\newif\ifmon@shortdays -\newlength{\mon@oddsidemargin} -\newlength{\mon@evensidemargin} -\newlength{\mon@topmargin} -\newif\ifmon@usedgeometry -\newlength{\mon@adjustment} -\newlength{\mon@textwidth} -\newlength{\mon@textheight} -\input calopts.cfg -\InputIfFileExists{dates.cfg}{}{} -\ProcessOptions -\RequirePackage{array}[1996/06/14] -\RequirePackage{calendar} - \def\mon@settableheight{% - \setlength{\mon@vh}{\vsize}% - \addtolength{\mon@vh}{-0.001pt}}% - \def\mon@settablewidth{% - \setlength{\mon@tablewidth}{\hsize}}% - -\define@key{opt}{title}{% - \def\mon@title{#1}\mon@explicittitletrue} -\define@key{opt}{labels}{% - \@storelabels#1,,{}} -\define@key{opt}{shortdays}{% - \mon@shortdaystrue} -\define@key{opt}{firstday}{% - \mon@firstday=#1} -\define@key{opt}{titletype}{\def\mon@titletype{#1}} -\define@key{opt}{daynametype}{\def\mon@nametype{#1}} -\define@key{opt}{datetype}{\def\mon@datetype{#1}} -\define@key{opt}{texttype}{\def\mon@texttype{#1}} -\mon@firstday=0% -\def\@storelabels{% - \def\mon@labeltext{}% - \@@storelabels} -\def\@@storelabels#1,#2#{% - \ifcat$#1$% - \mon@tempreg@a=\expandafter\expandafter\expandafter{% - \expandafter\@gobble\mon@labeltext}% - \protected@edef\mon@labeltext{\the\mon@tempreg@a}% - \let\next\@gobble% - \else% - \let\next\@@storelabels% - \mon@tempreg@a=\expandafter{\mon@labeltext}% - \protected@edef\mon@labeltext{\the\mon@tempreg@a}% - \fi% - \next#2{}} -\def\mon@theweekday{\ifmon@shortdays\theshortweekday\else% - \theweekday\fi}% -\def\mon@titletype{\large\bfseries}% -\def\mon@daynametype{\bfseries}% -\def\mon@datetype{\bfseries}% -\def\mon@texttype{\tiny}% -\mon@firstday=0% -\newcalendar% -{monthly} -{\cal@insert} -{\mon@firstday} -{\dates@days} -{7} -{&} -{I} -{\mon@header} -{\\\hline\end{tabular}} -{\cal@footer\newpage\cal@header} -{\\\hline} -{\dates@requiremonthtrue} -{\dates@day=1% - \dates@fix% - \caldate% - \cal@range@start\dates@date% - \message{^^JStart: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \dates@date\cal@range@end% - \caldate% - \dates@day\dates@days% - \dates@fix% - \caldate% - \cal@range@end\dates@date% - \message{^^JEnd: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \dates@date=\cal@range@start% - \caldate% - \mon@settablewidth% - \mon@settableheight% - \settoheight{\mon@templen}{\vbox{\boxmaxdepth=0pt% - \begin{tabular}{c}% - \mon@titletype% - \the\dates@monthname% - \end{tabular}}}% - \setlength{\mon@heightlessboxes}{\mon@templen}% - \settoheight{\mon@templen}{\vbox{\boxmaxdepth=0pt% - \begin{tabular}{c}% - \mon@daynametype% - Monday% - \end{tabular}}}% - \addtolength{\mon@heightlessboxes}{\mon@templen}% - \addtolength{\mon@heightlessboxes}{10\arrayrulewidth}% - \addtolength{\mon@heightlessboxes}{\doublerulesep}% - \addtolength{\mon@heightlessboxes}{\mon@adjustment}% - \addtolength{\mon@heightlessboxes}{2pt}% - \addtolength{\mon@vh}{-\mon@heightlessboxes}% - \divide\mon@vh by6% - \setlength{\mon@hw}{\mon@tablewidth}% - \setlength{\mon@widthlessboxes}{8\arrayrulewidth}% - \addtolength{\mon@hw}{-\mon@widthlessboxes}% - \addtolength{\mon@hw}{-14\tabcolsep}% - \divide\mon@hw by7\relax% - \@ifundefined{mon@labeltext}{% - \def\mon@defaultlabels{}% - \mon@tempcount=1% - \advance\dates@date by-\dates@weekd% - \advance\dates@date by\mon@firstday% - \caldate% - \loop% - \mon@tempreg@a=\expandafter{\mon@defaultlabels}% - \edef\mon@defaultlabels{\the\mon@tempreg@a\mon@theweekday,}% - \ifnum\mon@tempcount<7% - \advance\dates@date by1% - \caldate% - \advance\mon@tempcount by 1\relax% - \repeat% - \expandafter\@storelabels\mon@defaultlabels,,{}% - \dates@date\cal@range@start% - \caldate}% - {}% - \def\mon@settitle{\ifmon@explicittitle\else% - \def\mon@title{\themonth\space\theyear}\fi}% - \protected@edef\mon@header{% - \noexpand\mon@settitle% - \noexpand\begin{tabular}{|c|c|c|c|c|c|c|}% - \noexpand\hline% - \noexpand\multicolumn{7}{|c|}{\mon@titletype% - \noexpand\mon@title}\noexpand\\% - \noexpand\hline\noexpand\hline% - \mon@labeltext\noexpand\\% - \noexpand\hline}}% -{\par}% -{\cal@get@appointments\cal@get@events}% -{\relax% - \ifnum\dates@time@start>0\relax% - \ifnum\dates@time@start=\dates@time@end% - \protected@edef\cal@entry@text{% - \thetimestart\space% - \cal@textcolor{\calcolor}{\theshorttext}}% - \else% - \protected@edef\cal@entry@text{% - \thetimestart--\thetimeend\space% - \cal@textcolor{\calcolor}{\theshorttext}}% - \fi% - \else% - \protected@edef\cal@entry@text{% - \cal@textcolor{\calcolor}{\theshorttext}}% - \fi}% -{\vbox to\mon@vh{% - \vskip\medskipamount% - \hbox{\parbox{\mon@hw}{\mon@datetype\theday}}% - \ifcat$\theevents$% - \else% - \vskip\smallskipamount% - \hbox{\parbox{\mon@hw}{\raggedright% - \mon@texttype\theevents}}% - \fi% - \ifcat$\theappointments$% - \else% - \vskip\smallskipamount% - \hbox{\parbox{\mon@hw}{\raggedright% - \mon@texttype\theappointments}}% - \fi% - \vfil}}% -\endinput -%% -%% End of file `monthly.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/overword.sty b/Master/texmf-dist/tex/latex/calendar/overword.sty deleted file mode 100644 index 045ed97378b..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/overword.sty +++ /dev/null @@ -1,91 +0,0 @@ -%% -%% This is file `overword.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% overword.dtx (with options: `style') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{overword} - [1998/01/17 18:15:15 3.1.1.1 Overword parsing support (Frank Bennett)] -\long\def\@ifoverword#1#2#3#4{% - \let\reserved@a=#1% - \def\reserved@d{#4}\def\reserved@b{#2}\def\reserved@c{#3}% - \global\let\@overword\relax% - \futurelet\@let@token\@ifowd} -\long\def\@ifowd{% - \ifx\@let@token\@sptoken% - \gdef\@preoverwordspace{ }% - \let\reserved@e\@xifowd% - \else% - \ifx\@let@token\end% - \let\reserved@e\reserved@d% - \else% - \ifx\@let@token\par% - \let\reserved@e\@xifpargobble% - \else% - \long\def\reserved@e##1 {\long\gdef\@overword{##1}\@@ifowd}% - \fi% - \fi% - \fi% - \reserved@e} -\long\def\@xifpargobble#1{\futurelet\@let@token\@ifowd} -\def\:{\@xifowd} \expandafter\def\: {\futurelet\@let@token\@ifowd} -\def\@@ifowd{\futurelet\@let@token\@ifnparnch} -\long\def\@ifnextnparchar#1#2#3#4{% - \let\reserved@a=#1% - \def\reserved@b{#2}\def\reserved@c{#3}\def\reserved@d{#4}% - \futurelet\@let@token\@ifnparnch} -\long\def\@ifnparnch{% - \ifx\@let@token\@sptoken% - \let\reserved@e\@xifnparnch% - \else% - \ifx\@let@token\end% - \let\reserved@e\reserved@d% - \else% - \ifx\@let@token\par% - \let\reserved@e\@xifpargobblench% - \else% - \ifx\@let@token\reserved@a% - \let\reserved@e\reserved@b% - \else% - \let\reserved@e\reserved@c% - \fi% - \fi% - \fi% - \fi% - \reserved@e} -\long\def\@xifpargobblench#1{\futurelet\@let@token\@ifnparnch} -\def\:{\@xifnparnch} -\expandafter\def\: {\futurelet\@let@token\@ifnparnch} -\endinput -%% -%% End of file `overword.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/timesht.sty b/Master/texmf-dist/tex/latex/calendar/timesht.sty deleted file mode 100644 index 88728115d54..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/timesht.sty +++ /dev/null @@ -1,314 +0,0 @@ -%% -%% This is file `timesht.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% timesht.dtx (with options: `package') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{timesht} - [1998/01/17 18:15:23 3.1.1.1 Timesheet (Frank Bennett)] -\newif\iftms@usetimes -\tms@usetimestrue -\newlength\tms@tablewidth -\newlength{\tms@hw} -\newlength{\tms@templen} -\newlength{\tms@widthlessboxes} -\newlength{\tms@timetextlen} -\newtoks\tms@tempreg@a -\newtoks\tms@tempreg@b -\newcount\tms@tempcount -\newcount\tms@start -\newcount\tms@end -\newcount\tms@minuteblocks -\newcount\tms@boxes -\newcount\tms@days -\newcount\tms@blocks -\newcount\tms@time@start -\newcount\tms@time@end -\newcount\tms@hours@start -\newcount\tms@minutes@start -\newcount\tms@hours@end -\newcount\tms@minutes@end -\newcount\tms@minute@base -\newlength{\tms@numlen} -\newcount\tms@rightprop -\newcount\tms@leftprop -\newcount\tms@groupblocks -\newcount\tms@groupblockcount -\tms@groupblockcount=1% -\newlength{\tms@colonlen} -\newlength{\tms@dashlen} -\newlength{\tms@leftlen} -\newlength{\tms@rightlen} -\tms@leftprop=1% -\tms@rightprop=1% -\input calopts.cfg -\InputIfFileExists{dates.cfg}{}{} -\ProcessOptions -\RequirePackage{longtable} -\RequirePackage{array}[1996/06/14] -\RequirePackage{calendar} -\RequirePackage{keyval} -\tracingdates=0% -\define@key{opt}{leftspace}{\setlength{\LTleft}{#1}} -\define@key{opt}{rightspace}{\setlength{\LTright}{#1}} -\define@key{opt}{width}{\setlength{\tms@tablewidth}{#1}} -\define@key{opt}{title}{\def\tms@title{#1}} -\define@key{opt}{start}{\@settime\tms@start#1{}} -\define@key{opt}{end}{\@settime\tms@end#1{}} -\define@key{opt}{blockminutes}{\tms@minuteblocks=#1\relax} -\define@key{opt}{blockgroup}{\tms@groupblocks=#1\relax} -\define@key{opt}{leftright}{\tms@extractprops#1{}} -\define@key{opt}{titletype}{\def\tms@titletype##1{{#1{##1}}}} -\define@key{opt}{labeltype}{\def\tms@labeltype##1{{#1{##1}}}} -\define@key{opt}{timelabeltype}{\def\tms@timelabeltype##1{{#1{##1}}}} -\define@key{opt}{timeitemtype}{\def\tms@timeitemtype##1{{#1{##1}}}} -\define@key{opt}{itemtype}{\def\tms@itemtype##1{{#1{##1}}}} -\define@key{opt}{notimes}[f]{\tms@usetimesfalse} -\def\tms@extractprops#1/#2#{% - \tms@leftprop=#1\tms@rightprop=#2} -\def\@settime#1#2:#3#{% - \tms@tempcount=#2% - \multiply\tms@tempcount by60% - \advance\tms@tempcount by#3% - \global#1\tms@tempcount} -\def\@splitblocks#1-#2#{% - \def\@blockstarttext{#1}% - \def\@blockendtext{#2}} -\def\@setblocks#1,#2#{% - \ifcat$#1$% - \let\next\@gobble% - \else% - \let\next\@setblocks% - \global\advance\tms@blocks by 1% - \@splitblocks#1{}% - \expandafter\@settime% - \expandafter\tms@time@start\@blockstarttext{}% - \expandafter\@settime% - \expandafter\tms@time@end\@blockendtext{}% - \let\tms@tempmac\tms@blocklist% - \edef\tms@blocklist{% - \tms@tempmac\the\tms@time@start-\the\tms@time@end,}% - \fi% - \next#2{}} -\def\tms@chopblock#1-#2,#3#{% - \global\tms@time@start=#1% - \global\tms@time@end=#2% - \gdef\tms@blocklist{#3}}% -\def\tms@labellist{}% -\def\@extractlabels#1,#2#{% - \ifcat$#1$% - \tms@tempreg@a=\expandafter{\tms@labellist}% - \edef\tms@label##1{% - \noexpand\ifcase##1\the\tms@tempreg@a\noexpand\fi}% - \let\next\@gobble% - \else% - \let\next\@extractlabels% - \let\tms@tempmac\tms@labellist% - \expandafter\def% - \expandafter\tms@labellist% - \expandafter{% - \tms@tempmac\or #1}% - \fi% - \next#2{}} -\def\tms@titletype#1{{\Large\bfseries#1}}% -\def\tms@labeltype#1{{\large\bfseries#1}}% -\def\tms@timelabeltype#1{{\bfseries#1}} -\def\tms@timeitemtype#1{{\large#1}} -\def\tms@itemtype#1{{\small#1}} -\def\tms@title{\themonth\space\theday,\space\theyear} -\@settime\tms@start8:00{} -\@settime\tms@end17:00{} -\tms@minuteblocks=15\relax% -\def\tms@blocklist{}% -\def\tms@label#1{\themonth\space\theday}% -\tms@groupblocks=4\relax% -\tms@extractprops4/5{} -\newcalendar% -{timesheet} -{\cal@insert} -{7} -{\tms@blocks} -{1} -{&} -{G\tms@gettimes} -{\tms@header} -{&% - \global\tms@groupblockcount=1\relax% - \\\hline% - \end{longtable}}% -{\cal@footer\newpage\cal@header} -{&% - \ifnum\tms@groupblockcount<\tms@groupblocks% - \\*\cline{1-4}% - \global\advance\tms@groupblockcount by1\relax% - \else% - \\\hline% - \global\tms@groupblockcount=1\relax% - \fi% - \tms@timecoltext} -{\dates@requiremonthtrue\dates@requiredaytrue - \setlength{\tms@tablewidth}{\textwidth} - \def\tms@blocklist{}} -{\message{^^JStart: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \dates@date\cal@range@end% - \caldate% - \message{^^JEnd: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \dates@date\cal@range@start% - \caldate% -\relax% -\tms@blocks\tms@end% -\advance\tms@blocks by-\tms@start% -\divide\tms@blocks by\tms@minuteblocks% - \def\tms@gettimes{% - \ifcat$\tms@blocklist$% - \tms@time@start\cal@group@count% - \multiply\tms@time@start by\tms@minuteblocks% - \global\advance\tms@time@start by\tms@start% - \tms@time@end\tms@time@start% - \global\advance\tms@time@end by\tms@minuteblocks% - \else% - \expandafter\tms@chopblock\tms@blocklist-,{}% - \fi% - \mod{60}\tms@time@start\tms@minutes@start% - \tms@hours@start\dates@three% - \divide\tms@hours@start by60% - \mod{60}\tms@time@end\tms@minutes@end% - \tms@hours@end\dates@three% - \divide\tms@hours@end by60% - \ifnum\tms@minutes@start<10% - \edef\tms@minutes@start@mac{0\the\tms@minutes@start}% - \else% - \edef\tms@minutes@start@mac{\the\tms@minutes@start}% - \fi% - \ifnum\tms@minutes@end<10% - \edef\tms@minutes@end@mac{0\the\tms@minutes@end}% - \else% - \edef\tms@minutes@end@mac{\the\tms@minutes@end}% - \fi% - \xdef\tms@timecoltext{% - \noexpand\tms@timelabeltype{\the\tms@hours@start}&% - \noexpand\tms@timelabeltype{\tms@minutes@start@mac}&% - \noexpand\tms@timelabeltype{\the\tms@hours@end}&% - \noexpand\tms@timelabeltype{\tms@minutes@end@mac}&}}% -\message{Package Timesheet: % - setting table \the\tms@tablewidth\space in width.^^J}% - \setlength{\tms@widthlessboxes}{2\arrayrulewidth}% - \addtolength{\tms@widthlessboxes}{3\arrayrulewidth}% - \addtolength{\tms@widthlessboxes}{\doublerulesep}% - \addtolength{\tms@widthlessboxes}{6\tabcolsep}% - \settowidth{\tms@numlen}{\tms@timelabeltype{99}}% - \settowidth{\tms@colonlen}{\tms@timelabeltype{:}}% - \settowidth{\tms@dashlen}{\tms@timelabeltype{\ --\ }}% - \addtolength{\tms@widthlessboxes}{4\tms@numlen}% - \addtolength{\tms@widthlessboxes}{2\tms@colonlen}% - \addtolength{\tms@widthlessboxes}{\tms@dashlen}% - \tms@tempcount\tms@leftprop% - \advance\tms@tempcount by\tms@rightprop% - \setlength{\tms@templen}{\tms@tablewidth}% - \addtolength{\tms@templen}{-\tms@widthlessboxes}% - \tms@leftlen\tms@templen% - \divide\tms@leftlen by\tms@tempcount% - \global\multiply\tms@leftlen by\tms@leftprop% - \tms@rightlen\tms@templen% - \divide\tms@rightlen by\tms@tempcount% - \global\multiply\tms@rightlen by\tms@rightprop% - \tms@tempcount\tms@days% - \advance\tms@tempcount by1% - \protected@edef\tms@header{% - \noexpand\begin{longtable}{% - |>{\hfill}% - m{\the\tms@numlen}% - @{\tms@timelabeltype{:}}% - m{\the\tms@numlen}% - @{\tms@timelabeltype{\ --\ }}% - >{\hfill}% - m{\the\tms@numlen}% - @{\tms@timelabeltype{:}}% - m{\the\tms@numlen}% - |% - m{\the\tms@leftlen}||% - m{\the\tms@rightlen}|}% - \noexpand\multicolumn{6}{c}% - {\tms@titletype{\noexpand\tms@title}}% - \\% - \noexpand\multicolumn{4}{l}{}% - &% - \noexpand\multicolumn{1}{c}{\textbf{Plan}}&% - \noexpand\multicolumn{1}{c}{\textbf{Action}}% - \noexpand\\\noexpand\hline% - \noexpand\endhead% - \noexpand\tms@timecoltext}% - \extrarowheight=3pt} -{\par\smallskip}% -{\cal@get@appointments[\tms@time@start/\tms@time@end]}% -{\relax% - \ifnum\dates@time@start>0\relax% - \ifnum\dates@time@start<\tms@time@start% - \protected@edef\cal@entry@text{% - \noexpand\parbox{\the\tms@leftlen}{\noexpand\raggedright% - \noexpand\tms@itemtype{% - \noexpand$\noexpand<\noexpand$% - \theshorttext, to \cal@appt@end@text% - \noexpand$\noexpand>\noexpand$}}}% - \else% - \ifnum\dates@time@start<\dates@time@end% - \protected@edef\cal@entry@text{% - \noexpand\parbox{\the\tms@leftlen}{\noexpand\raggedright% - \iftms@usetimes% - \noexpand\tms@timeitemtype{% - \cal@appt@start@text% - --% - \cal@appt@end@text}% - \space% - \fi% - \noexpand\tms@itemtype{% - \thelongtext}}}% - \else% - \protected@edef\cal@entry@text{% - \noexpand\parbox{\the\tms@leftlen}{\noexpand\raggedright% - \iftms@usetimes% - \noexpand\tms@timeitemtype{% - \cal@appt@start@text}% - \space% - \fi% - \tms@itemtype{\thelongtext}}}% - \fi% - \fi% - \fi}% -{\theappointments} -\message{Done loading style} -\endinput -%% -%% End of file `timesht.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/timetabl.sty b/Master/texmf-dist/tex/latex/calendar/timetabl.sty deleted file mode 100644 index eb0de52405a..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/timetabl.sty +++ /dev/null @@ -1,328 +0,0 @@ -%% -%% This is file `timetabl.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% timetabl.dtx (with options: `package') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{timetabl} - [1998/01/17 18:15:28 3.1.1.1 Timetable (Frank Bennett)] -\newif\ifttbl@usecolor -\newif\ifttbl@verbose -\newlength\ttbl@tablewidth -\newlength{\ttbl@hw} -\newlength{\ttbl@templen} -\newlength{\ttbl@widthlessboxes} -\newlength{\ttbl@timetextlen} -\newtoks\ttbl@tempreg@a -\newtoks\ttbl@tempreg@b -\newcount\ttbl@tempcount -\newcount\ttbl@start -\newcount\ttbl@end -\newcount\ttbl@minuteblocks -\newcount\ttbl@boxes -\newcount\ttbl@days -\newcount\ttbl@blocks -\newcount\ttbl@time@start -\newcount\ttbl@time@end -\newcount\ttbl@hours@start -\newcount\ttbl@minutes@start -\newcount\ttbl@hours@end -\newcount\ttbl@minutes@end -\newcount\ttbl@minute@base -\input calopts.cfg -\InputIfFileExists{dates.cfg}{}{} -\ProcessOptions -\RequirePackage{array}[1996/06/14] -\RequirePackage{calendar} -\RequirePackage{longtable} -\RequirePackage{rotating} - \def\ttbl@settablewidth{% - \setlength{\ttbl@tablewidth}{\hsize}}% -\tracingdates=0% -\define@key{opt}{leftspace}{\setlength{\LTleft}{#1}} -\define@key{opt}{rightspace}{\setlength{\LTright}{#1}} -\define@key{opt}{width}{\setlength{\ttbl@tablewidth}{#1}} -\define@key{opt}{title}{\def\ttbl@title{#1}} -\define@key{opt}{start}{\@settime\ttbl@start#1{}} -\define@key{opt}{end}{\@settime\ttbl@end#1{}} -\define@key{opt}{blockminutes}{\ttbl@minuteblocks=#1} -\define@key{opt}{blocks}{\@setblocks#1,,{}} -\define@key{opt}{labels}{\@extractlabels#1,,{}} -\define@key{opt}{timeitemface}{\def\ttbl@timeitemface##1{{#1{##1}}}} -\define@key{opt}{timelabelface}{\def\ttbl@timelabelface##1{{#1{##1}}}} -\define@key{opt}{itemface}{\def\ttbl@itemface##1{{#1{##1}}}} -\define@key{opt}{titleface}{\def\ttbl@titleface##1{{#1{##1}}}} -\define@key{opt}{labelface}{\def\ttbl@labelface##1{{#1{##1}}}} -\define@key{opt}{notimes}[f]{\@ttbl@usetimesfalse} -\define@key{opt}{footer}{\def\ttbl@foot{#1}} -\define@key{opt}{extralabelheight}{\ttbl@extralabelheight=#1} -\newlength\ttbl@extralabelheight -\newlength\ttbl@labelstrut% -\newlength\ttbl@labelstrutbuf% -\def\@settime#1#2:#3#{% - \ttbl@tempcount=#2% - \multiply\ttbl@tempcount by60% - \advance\ttbl@tempcount by#3% - \global#1\ttbl@tempcount} -\def\@splitblocks#1-#2#{% - \def\@blockstarttext{#1}% - \def\@blockendtext{#2}} -\def\@setblocks#1,#2#{% - \ifcat$#1$% - \let\next\@gobble% - \else% - \let\next\@setblocks% - \global\advance\ttbl@blocks by 1% - \@splitblocks#1{}% - \expandafter\@settime% - \expandafter\ttbl@time@start\@blockstarttext{}% - \expandafter\@settime% - \expandafter\ttbl@time@end\@blockendtext{}% - \let\ttbl@tempmac\ttbl@blocklist% - \edef\ttbl@blocklist{% - \ttbl@tempmac\the\ttbl@time@start-\the\ttbl@time@end,}% - \fi% - \next#2{}} -\def\ttbl@chopblock#1-#2,#3#{% - \global\ttbl@time@start=#1% - \global\ttbl@time@end=#2% - \gdef\ttbl@blocklist{#3}}% -\def\ttbl@labellist{}% -\def\@extractlabels#1,#2#{% - \ifcat$#1$% - \ttbl@tempreg@a=\expandafter{\ttbl@labellist}% - \edef\ttbl@label##1{% - \noexpand\ifcase##1\the\ttbl@tempreg@a\noexpand\fi}% - \let\next\@gobble% - \else% - \let\next\@extractlabels% - \let\ttbl@tempmac\ttbl@labellist% - \expandafter\def% - \expandafter\ttbl@labellist% - \expandafter{% - \ttbl@tempmac\or #1}% - \fi% - \next#2{}} -\def\ttbl@title{Conference Schedule} -\@settime\ttbl@start8:00{} -\@settime\ttbl@end17:00{} -\ttbl@minuteblocks=60% -\def\ttbl@blocklist{}% -\def\ttbl@label#1{\themonth\space\theday}% -\def\ttbl@timeitemface#1{{\small{#1}}}% -\def\ttbl@timelabelface#1{{\small\textbf{#1}}}% -\def\ttbl@itemface#1{{\small\textit{#1}}}% -\def\ttbl@titleface#1{{\large\textbf{#1}}}% -\def\ttbl@labelface#1{{\textbf{#1}}}% -\newif\if@ttbl@usetimes% -\@ttbl@usetimestrue% -\def\ttbl@foot{}% -\newcalendar% -{timetable} -{\cal@insert} -{7} -{\ttbl@boxes} -{\ttbl@days} -{&} -{z\ttbl@gettimes} -{\extrarowheight=3pt\ttbl@header} -{\\\hline\end{longtable}}% -{\cal@footer\newpage\cal@header} -{\\\hline\ttbl@timecoltext} -{\dates@requiremonthtrue\dates@requiredaytrue} -{\message{^^JStart: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \dates@date\cal@range@end% - \caldate% - \message{^^JEnd: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \dates@date\cal@range@start% - \caldate% - \ttbl@days\cal@range@end% - \advance\ttbl@days by-\cal@range@start% - \advance\ttbl@days by1% -\ifcat$\ttbl@blocklist$% - \ttbl@blocks\ttbl@end% - \advance\ttbl@blocks by-\ttbl@start% - \divide\ttbl@blocks by\ttbl@minuteblocks% -\fi% -\ttbl@boxes\ttbl@blocks% -\multiply\ttbl@boxes by\ttbl@days% - \def\ttbl@gettimes{% - \ifcat$\ttbl@blocklist$% - \ttbl@time@start\cal@group@count% - \divide\ttbl@time@start by\ttbl@days% - \multiply\ttbl@time@start by\ttbl@minuteblocks% - \global\advance\ttbl@time@start by\ttbl@start% - \ttbl@time@end\ttbl@time@start% - \global\advance\ttbl@time@end by\ttbl@minuteblocks% - \else% - \expandafter\ttbl@chopblock\ttbl@blocklist-,{}% - \fi% - \mod{60}\ttbl@time@start\ttbl@minutes@start% - \ttbl@hours@start\dates@three% - \divide\ttbl@hours@start by60% - \mod{60}\ttbl@time@end\ttbl@minutes@end% - \ttbl@hours@end\dates@three% - \divide\ttbl@hours@end by60% - \ifnum\ttbl@minutes@start<10% - \edef\ttbl@minutes@start@mac{0\the\ttbl@minutes@start}% - \else% - \edef\ttbl@minutes@start@mac{\the\ttbl@minutes@start}% - \fi% - \ifnum\ttbl@minutes@end<10% - \edef\ttbl@minutes@end@mac{0\the\ttbl@minutes@end}% - \else% - \edef\ttbl@minutes@end@mac{\the\ttbl@minutes@end}% - \fi% - \xdef\ttbl@timecoltext{% - \noexpand\vbox{\vfil\vskip4pt% - \noexpand\begin{sideways}% - \noexpand\ttbl@timelabelface{% - \the\ttbl@hours@end:\ttbl@minutes@end@mac% - $\noexpand\leftarrow$% - \the\ttbl@hours@start:\ttbl@minutes@start@mac}% - \noexpand\end{sideways}% - \vfil} - &}}% -\ttbl@tablewidth\textwidth% -\message{Package Timetable: % - setting table \the\ttbl@tablewidth\space in width.^^J}% - \setlength{\ttbl@widthlessboxes}{2\arrayrulewidth}% - \addtolength{\ttbl@widthlessboxes}{\ttbl@days\arrayrulewidth}% - \addtolength{\ttbl@widthlessboxes}{2\tabcolsep}% - \setlength{\ttbl@templen}{2\tabcolsep}% - \addtolength{\ttbl@widthlessboxes}{\ttbl@days\ttbl@templen}% - \settoheight{\ttbl@timetextlen}{\ttbl@timelabelface{99:99--99:99}}% - \settodepth{\ttbl@templen}{\ttbl@timelabelface{99:99--99:99}}% - \addtolength{\ttbl@timetextlen}{\ttbl@templen}% - \addtolength{\ttbl@widthlessboxes}{\ttbl@timetextlen}% - \setlength{\ttbl@hw}{\ttbl@tablewidth}% - \addtolength{\ttbl@hw}{-\ttbl@widthlessboxes}% - \divide\ttbl@hw by\ttbl@days% -\edef\ttbl@firstunit{% - m{\the\ttbl@timetextlen}% - \noexpand|}% -\ttbl@tempreg@a=\expandafter{\expandafter|\ttbl@firstunit}% -\edef\ttbl@dayunit{% - m{\the\ttbl@hw}% - \noexpand|}% -\ttbl@tempreg@b=\expandafter{\ttbl@dayunit}% -\ttbl@tempcount=1% -\loop% - \edef\ttbl@tempmac{\the\ttbl@tempreg@a\the\ttbl@tempreg@b}% - \ttbl@tempreg@a=\expandafter{\ttbl@tempmac}% -\ifnum\ttbl@tempcount<\ttbl@days% - \advance\ttbl@tempcount by1% -\repeat% - \global\settoheight\ttbl@labelstrutbuf{\ttbl@labelface{W}}% - \global\advance\ttbl@labelstrutbuf by\ttbl@extralabelheight\relax% - \ifnum\ttbl@labelstrutbuf>\ttbl@labelstrut% - \global\ttbl@labelstrut\ttbl@labelstrutbuf% - \fi% - \def\ttbl@labeltext{}% - \dates@date=\cal@range@start% - \caldate% - \ttbl@tempcount=1% - \ttbl@tempreg@b={}% - \loop% - \protected@edef\ttbl@labeltext{\the\ttbl@tempreg@b&% - \noexpand\multicolumn{1}{c|}{% - \noexpand\ttbl@labelface{% - \ttbl@label{\ttbl@tempcount}}}}% - \ttbl@tempreg@b=\expandafter{\ttbl@labeltext}% - \ifnum\dates@date<\cal@range@end% - \advance\dates@date by1% - \caldate% - \advance\ttbl@tempcount by1% - \repeat% - \dates@date\cal@range@start% - \caldate% - \ttbl@tempcount\ttbl@days% - \advance\ttbl@tempcount by1% - \protected@edef\ttbl@header{% - \noexpand\begin{longtable}{\the\ttbl@tempreg@a}% - \noexpand\multicolumn{\ttbl@tempcount}{c}% - {\noexpand\ttbl@titleface{\ttbl@title}}% - \noexpand\\\noexpand\hline% - \noexpand\vrule width0pt depth 0pt height\ttbl@labelstrut\relax% - \the\ttbl@tempreg@b\noexpand\\% - \noexpand\hline\noexpand\hline\noexpand\endhead% - \ifcat$\ttbl@foot$\else% - \noexpand\multicolumn{\ttbl@tempcount}{l}% - {\noexpand\ttbl@foot}\noexpand\\% - \noexpand\endfoot% - \fi% - \noexpand\ttbl@timecoltext}}% -{\par\medskip}% -{\cal@get@appointments[\ttbl@time@start/\ttbl@time@end]}% -{\relax% - \ifnum\dates@time@start>0\relax% - \ifnum\dates@time@start<\ttbl@time@start% - \protected@edef\cal@entry@text{% - \noexpand\cal@textcolor{\calcolor}{% - \noexpand\ttbl@itemface{% - \noexpand$\noexpand<\noexpand$% - \theshorttext\if@ttbl@usetimes, to \cal@appt@end@text\fi% - \noexpand$\noexpand>\noexpand$}}}% - \else% - \ifnum\dates@time@start<\dates@time@end% - \protected@edef\cal@entry@text{% - \if@ttbl@usetimes% - \noexpand\ttbl@timeitemface{% - \cal@appt@start@text% - --% - \cal@appt@end@text}% - \space% - \fi% - \noexpand\cal@textcolor{\calcolor}{% - \noexpand\ttbl@itemface{% - \thelongtext}}}% - \else% - \protected@edef\cal@entry@text{% - \if@ttbl@usetimes% - \noexpand\ttbl@timeitemface{% - \cal@appt@start@text}% - \space% - \fi% - \noexpand\cal@textcolor{\calcolor}{% - \noexpand\ttbl@itemface{% - \thelongtext}}}% - \fi% - \fi% - \fi}% -{\theappointments} - -\endinput -%% -%% End of file `timetabl.sty'. diff --git a/Master/texmf-dist/tex/latex/calendar/weekly.cls b/Master/texmf-dist/tex/latex/calendar/weekly.cls deleted file mode 100644 index 1ef3f8da57e..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/weekly.cls +++ /dev/null @@ -1,202 +0,0 @@ -%% -%% This is file `weekly.cls', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% weekly.dtx (with options: `class') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesClass{weekly} - [1998/01/17 18:15:32 3.1.1.1 Weekly Calendar (Frank Bennett)] -\newif\ifwk@usecolor -\newif\ifwk@overthetop -\newcount\wk@firstday -\newcount\wk@tempcount -\newlength\wk@itemheight -\parindent=0pt -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} -\input calopts.cfg -\InputIfFileExists{dates.cfg}{}{} -\ProcessOptions -\LoadClass{article} -\RequirePackage{calendar} -\RequirePackage{lscape} -\RequirePackage{multicol} -\RequirePackage{autofilo} -\multicolsep=0pt\relax -\AtBeginDocument{% - \pagestyle{empty} - \parindent=0pt} -\define@key{opt}{firstday}{% - \wk@firstday=#1} -\wk@firstday=5% -\wk@tempcount=0 -\expandafter\newsavebox\csname wk@box\the\wk@tempcount\endcsname -\loop\advance\wk@tempcount by1\relax -\ifnum\wk@tempcount<8 - \expandafter\newsavebox\csname wk@box\the\wk@tempcount\endcsname -\repeat -\def\wk@spitoutboxes{% - \wk@tempcount=-1\relax% - \loop\advance\wk@tempcount by1\relax% - \ifnum\wk@tempcount<3\relax% - \hbox to\linewidth{% - \expandafter\usebox\csname wk@box\the\wk@tempcount\endcsname}% - \repeat% - \hbox to\linewidth{\vbox to\wk@itemheight{% - \hrule width\linewidth height0.4pt depth0pt% - \hbox to\linewidth{\hfil}\vfill}}% - \wk@tempcount=2\relax% - \loop\advance\wk@tempcount by1\relax% - \ifnum\wk@tempcount<7\relax% - \hbox to\linewidth{% - \expandafter\usebox\csname wk@box\the\wk@tempcount\endcsname}% - \repeat}% -\def\wk@getitemheight{% - \setlength\wk@itemheight\textheight\relax% - \addtolength\wk@itemheight{-4pt}% - \addtolength\wk@itemheight{-5\normallineskip}% - \divide\wk@itemheight by4\relax}% -\newcalendar% -{weekly} -{\cal@insert} -{8} -{7} -{7} -{\relax} -{I} -{\expandafter\autofilo\expandafter{\cal@optionslist}\wk@getitemheight} -{\wk@spitoutboxes\endautofilo} -{\wk@spitoutboxes} -{\relax} -{\dates@requiremonthtrue\dates@requiredaytrue} -{\global\dates@date\cal@range@start% - \prevday\wk@firstday% - \cal@range@start\dates@date% - \caldate% - \message{^^JStart: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@date\cal@range@end% - \caldate% - \advance\wk@firstday by-1% - \ifnum\wk@firstday=7\wk@firstday=0\fi% - \nextday\wk@firstday% - \caldate% - \cal@range@end\dates@date% - \message{^^JEnd: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@date=\cal@range@start% - \caldate}% -{\par}% -{\cal@get@appointments\cal@get@events}% -{\relax% - \ifnum\dates@time@start>0\relax% - \ifnum\dates@time@start=\dates@time@end% - \protected@edef\cal@entry@text{% - \thetimestart\space% - \cal@textcolor{\calcolor}{\theshorttext}}% - \else% - \protected@edef\cal@entry@text{% - \thetimestart--\thetimeend\space% - \cal@textcolor{\calcolor}{\theshorttext}}% - \fi% - \else% - \protected@edef\cal@entry@text{% - \cal@textcolor{\calcolor}{\theshorttext}}% - \fi}% -{\global\wk@overthetopfalse% - \expandafter\sbox\csname wk@box\the\cal@subgroup@count\endcsname{% - \vbox to\wk@itemheight{\hbox{\parbox{\linewidth}{% -\hrule width\linewidth% -\vskip1pt\relax% -\ifnum\cal@subgroup@count<3\relax% - \textbf{\theweekday\hfill% - \theday\space\themonth\space\theyear}\par% -\else% - \textbf{\theday\space\themonth\space\theyear\hfill% - \theweekday}\par% -\fi% -\vskip0.5pt\relax% -\hrule width\linewidth% -\vskip1pt\relax% - \raggedright\small% - \ifcat$\theevents$% - \else% - \theevents\par% - \fi% - \ifcat$\theappointments$% - \else% - \theappointments% - \fi}% parbox -}% hbox -\vfill}% vbox -\ifnum\badness=1000000\relax\global\wk@overthetoptrue\fi% -}% sbox -\ifwk@overthetop% - \message{Resetting this date in two-columns.}% -\expandafter\sbox\csname wk@box\the\cal@subgroup@count\endcsname{% - \vbox to\wk@itemheight{\hbox{\parbox{\linewidth}{% -\hrule width\linewidth% -\vskip1pt\relax% -\ifnum\cal@subgroup@count<3\relax% - \textbf{\theweekday\hfill% - \theday\space\themonth\space\theyear}\par% -\else% - \textbf{\theday\space\themonth\space\theyear\hfill% - \theweekday}\par% -\fi% -\vskip0.5pt\relax% -\hrule width\linewidth% -\vskip1pt\relax% - \raggedright\small% - \begin{multicols}{2}% - \ifcat$\theevents$% - \else% - \theevents\par% - \fi% - \ifcat$\theappointments$% - \else% - \theappointments% - \fi% - \end{multicols}% -}% parbox -}% hbox -\vfill}% vbox -}% sbox -\fi% - \advance\wk@tempcount by1\relax% - \ifnum\wk@tempcount>6\relax% - \wk@tempcount=0\relax% - \fi} - -\endinput -%% -%% End of file `weekly.cls'. diff --git a/Master/texmf-dist/tex/latex/calendar/yearly.sty b/Master/texmf-dist/tex/latex/calendar/yearly.sty deleted file mode 100644 index f224e80c0de..00000000000 --- a/Master/texmf-dist/tex/latex/calendar/yearly.sty +++ /dev/null @@ -1,133 +0,0 @@ -%% -%% This is file `yearly.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% yearly.dtx (with options: `style') -%% This file is part of the Calendar package, -%% Copyright (C) 1996, 1997 Frank Bennett, Jr. -%% All rights reserved. -%% ------------------------------------------ -%% -%% IMPORTANT NOTICE: -%% -%% You are not allowed to change this file. You may however copy -%% this file to a file with a different name and then change the -%% copy if (a) you do not charge for the modified code, (b) you -%% acknowledge the author of this file in the new file, if it -%% is distributed to others, and (c) you attach these same -%% conditions to the new file. -%% -%% You are not allowed to distribute this file alone. You are not -%% allowed to take money for the distribution or use of this file -%% (or a changed version) except for a nominal charge for copying -%% etc. -%% -%% You are allowed to distribute this file under the condition that -%% it is distributed with all of its contents, intact. -%% -%% For error reports, or offers to help make this a more powerful, -%% friendlier, and altogether more thrilling package, please contact me on -%% fb@soas.ac.uk. Better yet, make a contribution to -%% my pension. Account details available on request. -%% ------------------------------------------ -%% -\NeedsTeXFormat{LaTeX2e}[1995/06/01] -\ProvidesPackage{yearly} - [1997/11/06 07:33:21 2.1.1.6 Trivial yearly calendar (Frank Bennett)] -\input calopts.cfg -\InputIfFileExists{dates.cfg}{}{} -\ProcessOptions -\RequirePackage{calendar} -\define@key{opt}{title}{% - \def\yrly@title{#1}} -\define@key{opt}{labels}{% - \@storelabels#1,,{}} -\define@key{opt}{firstday}{% - \yrly@firstday=#1} -\def\yrly@title{\theyear} -\newcount\yrly@firstday -\yrly@firstday=0\relax -\newtoks\yrly@tempreg@a -\newcount\yrly@tempcount -\def\@storelabels{% - \def\yrly@labeltext{}% - \@@storelabels} -\def\@@storelabels#1,#2#{% - \ifcat$#1$% - \yrly@tempreg@a=\expandafter\expandafter\expandafter{% - \expandafter\@gobble\yrly@labeltext}% - \edef\yrly@labeltext{\the\yrly@tempreg@a}% - \let\next\@gobble% - \else% - \let\next\@@storelabels% - \yrly@tempreg@a=\expandafter{\yrly@labeltext}% - \protected@edef\yrly@labeltext{\the\yrly@tempreg@a}% - \fi% - \next#2{}} -\newcalendar% - {yearly} - {\cal@insert} - {\yrly@firstday} - {\dates@days} - {7} - {&} - {I} - {\begin{tabular}[t]{ccccccc}% - \multicolumn{7}{c}{\textbf{\themonth}}\\\hline% - \yrly@labeltext\\\hline}% - {\end{tabular}} - {\cal@footer% - \ifodd\thumbnails% - \\% - \else% - \rule{0.25in}{0pt}% - \fi% - \advance\thumbnails by 1% - \cal@header} - {\\} - {} - {\global\dates@month=1% - \global\dates@day=1% - \dates@fix% - \cal@range@start\dates@date% - \message{^^JStart: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@month=12% - \global\dates@day=31% - \dates@fix% - \caldate% - \cal@range@end\dates@date% - \message{^^JEnd: \theshortweekday\space% - \theday\space\theshortmonth\space\theyear}% - \global\dates@date=\cal@range@start% - \caldate% - \addtolength{\tabcolsep}{-0.5\tabcolsep}% - \newcount\thumbnails% - \@ifundefined{yrly@labeltext}{% - \def\yrly@defaultlabels{}% - \yrly@tempcount=1% - \global\advance\dates@date by-\dates@weekd% - \global\advance\dates@date by\yrly@firstday% - \caldate% - \loop% - \yrly@tempreg@a=\expandafter{\yrly@defaultlabels}% - \edef\yrly@defaultlabels{\the\yrly@tempreg@a\theshortweekday,}% - \ifnum\yrly@tempcount<7% - \global\advance\dates@date by1% - \caldate% - \advance\yrly@tempcount by 1\relax% - \repeat% - \expandafter\@storelabels\yrly@defaultlabels,,{}% - \dates@date\cal@range@start% - \caldate}% - {}% - \yrly@title\par\bigskip}% - {}% - {\getanycolor}% - {}% - {\cal@textcolor{\calcolor}{\theday}} -\endinput -%% -%% End of file `yearly.sty'. diff --git a/Master/texmf-dist/tex/plain/calendar/a5.sty b/Master/texmf-dist/tex/plain/calendar/a5.sty deleted file mode 100644 index 6c09b53428d..00000000000 --- a/Master/texmf-dist/tex/plain/calendar/a5.sty +++ /dev/null @@ -1,45 +0,0 @@ -%% -%% FILE a5.sty -%% -\newcount\daysinpage -\newdimen\cellheight -\vsize=17.5cm\voffset=-0.5in -\hsize=11cm\hoffset=-0.6in -\cellheight=\vsize -\divide\cellheight by7 -\advance\cellheight by-0.4pt -\parindent=0pt -\font\Rm=cmr10 at 14pt -\font\Bf=cmbx10 at 14pt -\font\rm=cmr10 -\footline={\Bf\ifodd\pageno\hfill\botmark - \else\botmark\hfill\fi} -\def\newpage{\vfill\penalty-10000} -\def\beginday{\ifnum\daysinpage>0\hrule\fi - \mark{\themonth} % Outside any box - \setbox2=\vbox\bgroup - \ifodd\pageno - \rightskip=3cm plus 1fill - \else - \leftskip=3cm plus 1fill\fi\rm} -\def\endday{\egroup - \vbox to\cellheight{\vglue2pt - \setbox0=\hbox to\hsize{% - \ifodd\pageno - \hfill{\Rm\theweekday\ \ifholy\Bf\fi\the\Day} - \else - {\Rm{\ifholy\Bf\fi\the\Day}\ \theweekday}% - \hfill\fi} - \copy0\kern-\ht0\box2\vfill} - \advance\daysinpage by1 - \ifnum\daysinpage=7 \daysinpage=0 - \newpage\fi} -% -% Local: from monday ... -\Day=1 \Month=9\dayno\nextday1\currentdate=\date -% Local: ... to sunday. -{\nextyear\Day=31 \Month=5\dayno\nextday0 - \global\lastdate=\date} -\leftskip=0pt\rightskip=0pt -\daysinpage=0 -\def\epilog{} diff --git a/Master/texmf-dist/tex/plain/calendar/a6.sty b/Master/texmf-dist/tex/plain/calendar/a6.sty deleted file mode 100644 index d6fa4e274b0..00000000000 --- a/Master/texmf-dist/tex/plain/calendar/a6.sty +++ /dev/null @@ -1,66 +0,0 @@ -%% -%% FILE a6.sty -%% -\baselineskip=10pt -\newcount\daysinpage -\newdimen\cellwidth -\newdimen\cellheight -\vsize=5in\voffset=-0.2in -\hsize=3.5in\hoffset=-0.25in -\newdimen\sphsize -\sphsize=\hsize -\divide\sphsize by2\advance\sphsize by-0.4pt -\cellheight=\vsize -\divide\cellheight by3 -\advance\cellheight by-0.4pt\parindent=0pt -\font\bf=cmbx12 -\font\rm=cmr12 -\font\small=cmr9 -\headline={\hfill - \ifodd\pageno - \rm\xdef\ftmk{\firstmark}% - \divide\pageno by2\advance\pageno by1 - Week \#\the\pageno - \else - \bf\edef\btmk{\botmark}% - \ifx\ftmk\btmk\else\ftmk/\fi\btmk - \fi\hfill} -\footline={} -\def\newpage{\vfill\penalty-10000} -\def\beginday{ - \ifcase\daysinpage\or\hrule\or\hrule\or\or - \hrule\or\hrule\fi - \mark{\themonth} % Outside any box - \setbox1=\vbox to\cellheight\bgroup\vglue4pt - \ifnum\daysinpage>4\hsize=\sphsize\fi - \setbox3=\vbox\bgroup - \ifnum\daysinpage>2 - \rightskip=1.45cm plus 1fill - \else - \leftskip=1.45cm plus 1fill\fi - \noindent\small} -\def\endday{\egroup - \setbox0=\hbox to\hsize{\rm\ifholy\bf\fi - \ifnum\daysinpage=6\bf\fi - \ifnum\daysinpage>2 - \hfill{{\rm\theshortweekday} - \ \the\Day\hskip0.5em} - \else - {\hskip0.5em\the\Day - \ {\rm\theshortweekday}}\hfill\fi} - \copy0\kern-\ht0\vskip0pt\box3 - \vfill\egroup - \advance\daysinpage by1 - \ifcase\daysinpage\or\box1\or\box1\or - \box1\newpage\or\box1\or\box1\or - \setbox2=\box1\or - \hbox{\box2\vrule\box1}\newpage - \daysinpage=0\fi} -% -% Local: from monday ... -\Day=1\Month=1\dayno\prevday1\currentdate=\date -% Local: ... to sunday. -\Day=31\Month=12\dayno\nextday0\lastdate=\date -\leftskip=3pt\rightskip=3pt -\daysinpage=0 -\def\epilog{} diff --git a/Master/texmf-dist/tex/plain/calendar/block.sty b/Master/texmf-dist/tex/plain/calendar/block.sty deleted file mode 100644 index 72433136f1b..00000000000 --- a/Master/texmf-dist/tex/plain/calendar/block.sty +++ /dev/null @@ -1,59 +0,0 @@ -%% -%% FILE block.sty -%% -\newcount\daysinrow -\newcount\saveMonth -\font\bf=cmbx12 at 16pt -\font\Rm=cmr12 at 48pt -\font\Bf=cmbx12 at 48pt -\font\rm=cmr12 -\font\small=cmr10 -\footline={} -\def\card{{\mute - \saveMonth=\Month - \def\beginday{ - \ifnum\daysinrow=0\setbox1=\hbox{}\fi - \setbox0=\hbox to1.3em{\hss - \ifnum\Month=\saveMonth\the\Day\fi}} - \def\endday{\setbox1=\hbox{\unhbox1\box0} - \advance\daysinrow by1 - \ifnum\daysinrow=7\box1\daysinrow=0\fi} -% Local: from sunday ... - \Day=1\dayno - \prevday0\currentdate=\date - \Day=1\advancemonth \dayno -% Local: ... to saturday. - \advance\date by-1 \nextday6 \lastdate=\date - \daysinrow=0 - \baselineskip=9pt\small - \global\setbox3=\vbox to0.55in{\makeempty\vss}}} -% -\def\cstrut{\vrule width0pt depth0.3in} -\baselineskip=14pt -\parindent=0pt -\vsize=5in \voffset=-0.2in -\hsize=4in \hoffset=-0.25in -\def\advancemonth{\ifnum\Month=12 - \nextyear\Month=1\else - \advance\Month by1\fi} -\def\beginday{\ifnum\Day=1 - \setbox2=\box3{\advancemonth\card}\fi - \date=\currentdate\caldate - \centerline{\bf\uppercase - \expandafter{\themonth}} - \setbox0=\vbox\bgroup\noindent\rm} -\def\endday{\egroup\vskip10pt - \centerline{\cstrut\copy2\quad - \hbox to1in{\Rm\weekday -% Local: sundays in bf. - \ifnum\weekd=0\Bf\fi\ifholy\Bf\fi - \hss\the\Day\hss}\quad\copy3} - \centerline{\rm\theweekday} - \vskip20pt\box0\newpage} -\def\newpage{\vfill\penalty-10000} -% -\Day=31\Month=12\dayno\lastdate=\date -\Day=1\Month=1\dayno\currentdate=\date -\card -\leftskip=1em plus1fill\rightskip=1em plus1fill -\def\epilog{} diff --git a/Master/texmf-dist/tex/plain/calendar/calend0.tex b/Master/texmf-dist/tex/plain/calendar/calend0.tex deleted file mode 100644 index 854adc3cab6..00000000000 --- a/Master/texmf-dist/tex/plain/calendar/calend0.tex +++ /dev/null @@ -1,156 +0,0 @@ -%% -%% FILE calend0.tex -%% Modificat 9/12/92 -\catcode`\@=11 -\newif\ifleapyear -\def\loadadvanced{% - \input calend1.tex\relax} -\newcount\date -\newcount\weekd -\newcount\Year -\newcount\yearbase -\newcount\Month -\newcount\Day -\newcount\@catch -\newcount\timezone\timezone=0 -\def\setyear#1{\Year=#1 - \advance\Year by-1900\calculateyearbase} -\def\nextyear{\advance\Year by1 - \calculateyearbase} -\def\settimezone#1{\timezone=#1 - \multiply\timezone by 1000 - \divide\timezone by24} -% \ifleapyear is set; -% \yearbase is the number of -% days passed from 1900, Jan 0 -% to New year's date; -\def\calculateyearbase{% - \yearbase=-1 - {\count0=\Year\divide\count0 by4 - \multiply\count0 by4 - \ifnum\Year=\count0 - \global\@catch=0\else\global\@catch=1\fi}% - \ifcase\@catch \leapyeartrue\or - \leapyearfalse\fi - {\count0=\Year\multiply\count0 - by1461\advance\count0 by3 - \divide\count0 by4 - \global\@catch=\count0}% - \advance\yearbase by\@catch - \ifnum\Year=0\yearbase=0\leapyearfalse\fi} -% Gives the number of days passed -% at the end of each month. -% Value returned in \Day -\def\monthdays{\global - \@catch=\ifcase\Month 0\or31\or - 59\or90\or120\or151\or181\or212\or - 243\or273\or304\or334\or365\fi - {\ifleapyear\ifnum\Month>1 - \global\advance\@catch by1\fi\fi}% - \Day=\@catch} -% Long date of \Month, \Day -% in the year \Year. -% Value returned in \date -\def\dayno{\date=\Day{\advance - \Month by-1\monthdays - \advance\date by\Day - \global\advance\date by\yearbase}} -% Long date MOD 7 gives the week day. -% Sunday is 0 and Saturday is 6. -\def\weekday{{\count0=\date\relax - \count1=\count0\divide\count0 by 7 - \multiply\count0 by 7 -\advance\count1 by -\count0 - \global\weekd=\count1}} -% Name of week day (Local). -\def\theweekday{\weekday - \ifcase\weekd - Sunday\or Monday\or Tuesday\or - Wednesday\or Thursday\or Friday\or - Saturday\fi} -% (Local) -\def\theshortweekday{\weekday - \ifcase\weekd Sun\or Mon\or Tue\or - Wed\or Thu\or Fri\or Sat\fi} -% Gives the usual calendar date for -% a long date in counter \date. -% Returned in \Day, \Month and \Year -\def\caldate{\Year=\date - \multiply\Year by4\divide\Year by1461 - \calculateyearbase - {\advance\date by-\yearbase\Month=0 - \loop\monthdays\ifnum\Day<\date - \global\advance\Month by1\repeat - {\advance\Month by-1\monthdays - \advance\date by-\Day - \global\Day=\date}}} -% Name of month \Month. (Local) -\def\themonth{\ifcase\Month - \or January\or February\or March\or - April\or May\or June\or July\or - August\or September\or October\or - November\or December\fi} -% Find the next (previous) day after -% (before) \date with \weekday=#1. -\def\nextday#1{{\count0=#1\weekday - \advance\count0 by-\weekd - \ifnum\count0<0\advance\count0 by7\fi - \global\advance\date by\count0}} -\def\prevday#1{\snextday#1 - \advance\date by-7} -\def\snextday#1{\advance\date by1 - \nextday#1} -\def\sprevday#1{\advance\date by-1 - \prevday#1} -% \beginevents...\endevents -% contains control sequences like -% \event or \evday or sequences -% generating these commands. -\newwrite\evefile -\def\beginevents{% - \immediate\openout - \evefile=\jobname.eve\relax} -\def\endevents{\immediate\closeout - \evefile\end} -\newtoks\evetext -\def\event#1/#2[#3]{\evetext={#3}% - \Day=#1\Month=#2\dayno - \evday[\the\evetext]} -\def\evday[#1]{\immediate\write\evefile{% - \string\evententry{\the\date}{#1}}} -\def\thecaldate{\the\Day/\the\Month} -\def\mute{\def\thecaldate{}} -% -% 2nd run commands -% -\newcount\currentdate -\newcount\lastdate -\newcount\nextdate -\newif\ifdoing@day -\newif\ifholy -\def\holy{\global\holytrue} -\def\upto#1{\nextdate=#1 - \loop\advance\currentdate by1\relax - \ifnum\currentdate<\nextdate - \begin@day\end@day\repeat} -\def\evententry#1#2{\unskip - \ifnum#1>\lastdate\else - \ifnum\currentdate<#1 - \ifdoing@day\end@day\fi - \upto{#1}\fi - \ifnum\currentdate=#1 - \ifdoing@day\else\begin@day\fi - #2\par\fi\fi} -\def\begin@day{\doing@daytrue - \date=\currentdate\caldate - \message{<\thecaldate}\beginday} -\def\end@day{\endday\doing@dayfalse - \global\holyfalse\message{>}} -\def\makeagenda#1{\input #1.sty\relax - \begin@day\input\jobname.eve\relax - \evententry{\the\lastdate}{}\end@day - \epilog\end} -% Do not read events -\def\makeempty{\begin@day - \evententry{\the\lastdate}{}\end@day} -\catcode`\@=12 diff --git a/Master/texmf-dist/tex/plain/calendar/calend1.tex b/Master/texmf-dist/tex/plain/calendar/calend1.tex deleted file mode 100644 index 7ce74606469..00000000000 --- a/Master/texmf-dist/tex/plain/calendar/calend1.tex +++ /dev/null @@ -1,85 +0,0 @@ -%% -%% FILE calend1.tex -%% -\def\loadadvanced{\relax} -% Convert from Julian date and time in -% \date to long date (in local time) -\def\JDTtoL{\advance\date by500 - \advance\date by\timezone\divide\date by1000} -%% Trigonometric functions -\def\sintable#1{\ifcase #1 0\or100\or199 - \or296\or389\or479\or565\or644\or717 - \or783\or841\or891\or932\or964\or985 - \or997\or1000\or992\or974\or946\or909 - \or863\or808\or746\or675\or598\or516 - \or427\or335\or239\or141\or42\or-58 - \or-158\fi} -% Reduces modulo 2\pi (requires positive -% argument theta): -% theta := theta MOD 2\pi, where -% theta = count1*10^(-3) -\def\twopimod{\count2 =\count1 - \divide\count2 by6284 \count3 =1853 - \count4 =6283\multiply\count3 by\count2 - \multiply\count4 by\count2 - \divide\count3 by10000 - \advance\count3 by\count4 - \advance\count1 by-\count3} -\newif\ifsign -% v := sin(theta), where -% v = count4*10^(-3); -% theta = count1*10^(-3) -% theta is reduced MOD 2\pi to be -% 0<=theta<2\pi by \TWOPIMOD, -% then linear interpolation is performed -% using \SINTABLE. -\def\Sin{ - \ifnum\count1<0 \signtrue - \count1=-\count1\else \signfalse\fi - \loop\ifnum\count1>6284\twopimod\repeat - \ifnum\count1>3142 - \advance\count1 by-3142 - \ifsign\signfalse\else\signtrue\fi\fi - \multiply\count1 by10 \count3 =\count1 - \divide\count3 by1000 \count2 =\count3 - \multiply\count3 by1000 - \advance\count3 by-\count1 - \count5 =\sintable{\count2 } - \count4 =\count5\advance\count2 by1 - \advance\count4 by -\sintable{\count2 } - \multiply\count4 by\count3 - \divide\count4 by1000 - \advance\count4 by\count5 - \ifsign\count4 =-\count4 \fi} -% v := cos(theta), where -% v = count4*10^(-3); -% theta = count1*10^(-3). -% \SIN is evaluated on pi/2-theta. -\def\Cos{\advance\count1 by-1571 - \multiply\count1 by-1\Sin} -% Linear transformation of T giving -% theta := a*T+b, where -% T = count0*10^(-6); -% theta = count1*10^(-3); -% a = #1*10^3+#2+#3*10^(-3); -% b = #4*10^(-3) -\def\lin#1.#2.#3+#4.{\count1 =#3 - \count2 =#2 \count3 =#1 - \multiply\count1 by\count0 - \multiply\count2 by\count0 - \multiply\count3 by\count0 - \divide\count1 by1000 - \advance\count1 by\count2 - \divide\count1 by1000 - \advance\count1 by\count3 - \advance\count1 by #4} -% Accumulate value returned by a -% trigonometric function, scaled by -% factor f, into count6: -% ac := ac+f*v, where -% ac = count6*10^(-7) -% v = value of SIN or COS =count4*10^(-3) -% f = #1*10^(-4) -\def\fac#1{\multiply\count4 by #1 - \advance\count6 by\count4} -\def\id{\count4=\count1} % Identity diff --git a/Master/texmf-dist/tex/plain/calendar/feasts.tex b/Master/texmf-dist/tex/plain/calendar/feasts.tex deleted file mode 100644 index ab5d48976b3..00000000000 --- a/Master/texmf-dist/tex/plain/calendar/feasts.tex +++ /dev/null @@ -1,32 +0,0 @@ -%% -%% FILE feasts.tex -%% -% Date of Easter for year \Year. -% Value returned in \date -\def\easter{{\count0=\Year\count1=\count0 - \divide\count0 by19\multiply\count0 by19 - \advance\count1 by-\count0 - \advance\count1 by 1 % Golden number - \count2=\count1\multiply\count2 by11 - \advance\count2 by18\count0=\count2 - \divide\count0 by30\multiply\count0 by30 - \advance\count2 by-\count0 % Epact - \ifnum\count2=25\ifnum\count1>11 - \count2=26 \fi\fi - \ifnum\count2=24 \count2=25\fi - \advance\count2 by-44 - \multiply\count2 by-1 - \ifnum\count2<21 \advance\count2 by30\fi - \Month=3\Day=0\dayno\global\advance\date - by\count2}\snextday0} -% (local) -\def\includefeasts{% - \message{Including feasts} - \easter\evday[Easter Sunday] - {\advance\date by49\evday[Whitsun]} - {\advance\date by-7\evday[Palm Sunday]} - {\advance\date by-46\evday[Ash Wendsday] - \advance\date by-3\evday[Carnival]} - \Month=1\Day=1\dayno\snextday0 - \evday[Epiphany] - \event 25/12[\holy Christmas]} diff --git a/Master/texmf-dist/tex/plain/calendar/moon.tex b/Master/texmf-dist/tex/plain/calendar/moon.tex deleted file mode 100644 index f64c1f10b73..00000000000 --- a/Master/texmf-dist/tex/plain/calendar/moon.tex +++ /dev/null @@ -1,89 +0,0 @@ -%% -%% FILE moon.tex -%% -\loadadvanced -\newcount\moonno -\def\firstmoon{\moonno=\Year - \multiply\moonno by123685 - \divide\moonno by10000 - \multiply\moonno by4\advance\moonno by-1 - \loop\moondate\ifnum\date<\yearbase - \advance\moonno by1\repeat} -% Compute date for cycle quarter MOONNO -\def\moondate{{\count0=\moonno - \lin 202.126.369+0.\count0=\count1 - \count6=0 - \lin 0.2.319+2907.\Sin\fac{3} - \divide\count6 by1000 - \lin 365.249.86+7593.\id\fac{1} - \divide\count6 by10\count7 =\count6 - \ifodd\moonno\quarters - \else\fullornew\fi\global\date=\count7} - \JDTtoL\message{\the\date}} -% Correction for full and new moon -\def\fullornew{\count6=0 - \lin -393.0.0+0. - \divide\count1 by100000000 - \advance\count6 by\count1 - \lin 0.628.300+6269.\Sin - \multiply\count6 by\count4 - \lin -7.-700.-369+ 928.\Sin\fac{ -74} - \lin 0. 628. 300+ 6269.\Sin\fac{ 1734} - \lin 1. 256. 600+12539.\Sin\fac{ 21} - \lin 8. 328. 670+ 5341.\Sin\fac{-4068} - \lin 8. 538. 220+-4597.\Sin\fac{ 10} - \lin 8. 956. 970+11610.\Sin\fac{ -51} - \lin 16. 238. 589+-5526.\Sin\fac{ -4} - \lin 16. 657. 340+10682.\Sin\fac{ 161} - \lin 16. 866. 890+ 743.\Sin\fac{ 104} - \lin 17. 285. 640+16951.\Sin\fac{ 50} - \lin 17. 495. 190+ 7013.\Sin\fac{ 4} - \lin 24. 986. 10+16023.\Sin\fac{ -4} - \lin 25. 195. 560+ 6084.\Sin\fac{ -6} - \divide\count6 by10000 - \advance\count7 by\count6 } -% Correction for quarters -\def\quarters{\lin -393.0.0+0. - \divide\count1 by100000000 - \count6 =\count1 \lin 0.628.300+6269. - \Sin\multiply\count6 by\count4 - \lin -16. -29. -40+-4413.\Sin\fac{ 40} - \lin -7.-700.-369+ 928.\Sin\fac{ -47} - \lin -7. -72. -69+ 7198.\Sin\fac{ -30} - \lin 0. 628. 300+ 6270.\Sin\fac{ 1721} - \lin 1. 256. 600+12539.\Sin\fac{ 21} - \lin 8. 328. 670+ 5341.\Sin\fac{-6280} - \lin 8. 538. 220+-4598.\Sin\fac{ 21} - \lin 8. 956. 970+11611.\Sin\fac{ -119} - \lin 16. 238. 589+-5526.\Sin\fac{ -4} - \lin 16. 657. 340+10682.\Sin\fac{ 89} - \lin 16. 866. 890+ 743.\Sin\fac{ 79} - \lin 17. 285. 640+16952.\Sin\fac{ 3} - \lin 17. 495. 190+ 7013.\Sin\fac{ 3} - \lin 24. 986. 10+16023.\Sin\fac{ -4} - \lin 25. 195. 560+ 6085.\Sin\fac{ -6} - \count8=\count6\count6=28000 - \lin 628. 300. 373+ 6270.\Cos\fac{ -4} - \lin 8. 328. 670+ 5341.\Cos\fac{ 3} - \count2=\moonno - \advance\count2 by-1\divide\count2 by2 - \ifodd\count2\multiply\count6 by-1 \fi - \advance\count6 by\count8 - \divide\count6 by10000 - \advance\count7 by\count6 } -% Events for phases. -% Uses PHASE (local). -\def\includemoons{\message{Including moons} - {\firstmoon -\Month=12\Day=31\dayno\advance\date by1 - \count1=\date - \loop\moondate\phase\ifnum\date<\count1 - \evday[\themoon]\advance\moonno by1 - \repeat}} -\def\phase{{\count0=\moonno - \count1=\moonno - \divide\count0 by4\multiply\count0 by4 - \advance\count1 by-\count0\relax - \global\edef\themoon{\ifcase\count1 - New moon\or First quarter\or - Full Moon\or Last quarter\fi}}} diff --git a/Master/texmf-dist/tex/plain/calendar/sun.tex b/Master/texmf-dist/tex/plain/calendar/sun.tex deleted file mode 100644 index 9ec246b1f9a..00000000000 --- a/Master/texmf-dist/tex/plain/calendar/sun.tex +++ /dev/null @@ -1,15 +0,0 @@ -%% -%% FILE sun.tex -%% -\loadadvanced -\def\linY#1.#2.#3+#4.{{\count0=\Year - \multiply\count0 by1000\count1=0 - \lin #1.#2.#3+#4. - \global\date=\count1}\JDTtoL} -% (local) -\def\includeseasons{% - \message{Including seasons} - \linY 365.242.365+ 79573.\evday[Spring] - \linY 365.241.628+172405.\evday[Summer] - \linY 365.242.045+266014.\evday[Fall] - \linY 365.242.756+355784.\evday[Winter]} diff --git a/Master/texmf-dist/tex/plain/calendar/wall.sty b/Master/texmf-dist/tex/plain/calendar/wall.sty deleted file mode 100644 index 076eb579ba1..00000000000 --- a/Master/texmf-dist/tex/plain/calendar/wall.sty +++ /dev/null @@ -1,60 +0,0 @@ -%% -%% FILE wall.sty -%% -\hsize=9.5in -\vsize=7.5in\voffset=-0.65in -\baselineskip=12pt -\newcount\daysinrow -\newdimen\cellwidth -\newdimen\cellheight -\cellheight=1.13in -\parindent=0pt -\cellwidth=\hsize -\divide\cellwidth by7 -\advance\cellwidth by-0.4pt -\font\BBf=cmbx12 at 24pt -\font\Bf=cmbx10 at 20pt -\font\Rm=cmr10 at 20pt -\font\rm=cmr12 at 14pt -\font\small=cmr9 -\footline={} -\def\hstrut{\hrule height0pt depth0pt - width\cellwidth} -\def\beginday{ - \ifnum\daysinrow=0\setbox1=\hbox{\vrule}\fi - \setbox0=\vbox to\cellheight\bgroup - \hstrut\hsize=\cellwidth\vskip5pt - \setbox2=\vbox\bgroup\small} -\def\endday{\egroup - \hbox{\hskip0.5em\Rm\ifholy\Bf\fi\the\Day} - \vskip2pt\box2\vfill\egroup - \setbox1=\hbox{\unhbox1\box0\vrule} - \advance\daysinrow by1 - \ifnum\daysinrow=7\box1\hrule\daysinrow=0\fi} -% -\def\advancemonth{\ifnum\Month=12 - \nextyear\Month=1\else\advance\Month by1\fi} -% If no Month is given, take today's date. -\ifnum\Month=0 \Month=\month - \ifnum\day>15 \advancemonth\fi\fi -\Day=1\dayno -\topskip=0pt\hbox{} -\vfill -\centerline{\BBf\themonth} -\penalty10000 -\vskip40pt minus32pt -% Local: from sunday ... -\prevday0\currentdate=\date -\hbox{\rm\loop - \hbox to\cellwidth{\hss\theweekday\hss} - \unskip\ifnum\weekd<6\advance\date by1\repeat} -\penalty10000 -\vskip3pt -% Local: ... to saturday. -\Day=1 \advance\Month by1\dayno -\advance\date by-1\nextday6\lastdate=\date -\leftskip=3pt -\raggedright -\daysinrow=0 -\vbox\bgroup\hrule -\def\epilog{\vfill\egroup\supereject} |