From 35311fd4a540d53f0a3626adf611e21fade0cb06 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 1 Jan 2023 20:32:34 +0000 Subject: calxxxx-yyyy (1jan23) git-svn-id: svn://tug.org/texlive/trunk@65426 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/calxxxx-yyyy/README | 38 ++++---- .../doc/latex/calxxxx-yyyy/cal2022-2039_DE.pdf | Bin 109885 -> 0 bytes .../doc/latex/calxxxx-yyyy/cal2022-2039_DK.pdf | Bin 109946 -> 0 bytes .../doc/latex/calxxxx-yyyy/cal2022-2039_EN.pdf | Bin 108237 -> 0 bytes .../doc/latex/calxxxx-yyyy/cal2023-2040_DE.pdf | Bin 0 -> 110606 bytes .../doc/latex/calxxxx-yyyy/cal2023-2040_DK.pdf | Bin 0 -> 110542 bytes .../doc/latex/calxxxx-yyyy/cal2023-2040_EN.pdf | Bin 0 -> 108703 bytes .../doc/latex/calxxxx-yyyy/calxxxx-yyyy-doc.pdf | Bin 107485 -> 118945 bytes .../tex/latex/calxxxx-yyyy/calxxxx-yyyy-doc.tex | 32 ++++--- .../tex/latex/calxxxx-yyyy/calxxxx-yyyy.tex | 106 ++++++++++----------- 10 files changed, 90 insertions(+), 86 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_DE.pdf delete mode 100644 Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_DK.pdf delete mode 100644 Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_EN.pdf create mode 100644 Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_DE.pdf create mode 100644 Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_DK.pdf create mode 100644 Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_EN.pdf (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/calxxxx-yyyy/README b/Master/texmf-dist/doc/latex/calxxxx-yyyy/README index f97b521824b..506547771b3 100644 --- a/Master/texmf-dist/doc/latex/calxxxx-yyyy/README +++ b/Master/texmf-dist/doc/latex/calxxxx-yyyy/README @@ -1,4 +1,4 @@ -README for calxxxx-yyyy, 2022/01/01, v20.22a +README for calxxxx-yyyy, 2023/01/01, v20.23a TABLE OF CONTENTS @@ -17,15 +17,15 @@ TABLE OF CONTENTS ============== To print a calendar for some given years, use the \textsf{calxxxx-yyyy.tex} -file. LaTeXe it, type in the year to start with (for example 2022), the -year to end with (for example 2039), and the calendars for those years are -produced. +file. LaTeXe it, type in the year to start with (for example 2023), +the year to end with (for example 2040), and the calendars for those years +are produced. It is possible to print the calendars in different languages. Currently English (with week running from Sunday to Saturday), and Danish and German (with week running from Monday to Sunday) are supported, -but other languages can be added. (When you did a translation, please send -an e-mail with it to Martin DOT Muench AT Uni-Bonn DOT de, +but other languages can be added. (When you did a translation, +please send an e-mail with it to Martin DOT Muench AT Uni-Bonn DOT de, so that it might be included in calxxxx-yyyy.tex, thanks!) Note: The code of this "package" is based on calxxxx.tex, @@ -33,11 +33,11 @@ which is © 1999 Slobodan Janković (Thanks!). This material is published under the LPPL 1.3c: This work may be distributed and/or modified under the conditions of the LaTeX Project -Public License, either version 1.3c of this license or (at your option) any -later version. This version of this license is in -http://www.latex-project.org/lppl/lppl-1-3c.txt +Public License, either version 1.3c of this license or (at your option) +any later version. This version of this license is in +https://www.latex-project.org/lppl/lppl-1-3c.txt and the latest version of this license is in -http://www.latex-project.org/lppl.txt +https://www.latex-project.org/lppl.txt and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or later. @@ -49,11 +49,11 @@ and version 1.3c or later is part of all distributions of LaTeX version https://www.ctan.org/pkg/calxxxx-yyyy Also a ZIP file is provided that contains the files: -the manual (calxxxx-yyyy-doc.tex, calxxxx-yyyy-doc.pdf), -the compiled examples (cal2022-2039_DE.pdf, cal2022-2039_DK.pdf, and -cal2022-2039_EN.pdf), calxxxx-yyyy.tex, +the manual (calxxxx-yyyy-doc.tex, calxxxx-yyyy-doc.pdf), +the compiled examples (cal2023-2040_DE.pdf, cal2023-2040_DK.pdf, +and cal2023-2040_EN.pdf), calxxxx-yyyy.tex, and this README: -http://mirrors.ctan.org/macros/latex/contrib/calxxxx-yyyy.zip +https://mirrors.ctan.org/macros/latex/contrib/calxxxx-yyyy.zip 3 INSTALLATION @@ -67,13 +67,13 @@ b) Install the file `calxxxx-yyyy.tex' in your TDS tree: (texmf directory). c) Create the documentation, if necessary, e.g. pdflatex calxxxx-yyyy-doc.tex -d) Update the databases if necessary, e.g. for teTeX: - mktexlsr .../texmf +e) Update the databases if necessary, e.g. for TeXLive + texhash or mktexlsr. e) Copy the documentation files to "TDS:doc/latex/calxxxx-yyyy/": README, calxxxx-yyyy-doc.tex, calxxxx-yyyy-doc.pdf - (and e.g. cal2022-2039_DE.pdf, cal2022-2039_DK.pdf, - and cal2022-2039_EN.pdf). + (and e.g. cal2023-2040_DE.pdf, cal2023-2040_DK.pdf, + and cal2023-2040_EN.pdf). 4 ADDITIONAL PACKAGES @@ -122,5 +122,5 @@ Bug reports can be send to the maintainer: 7 KNOWN PROBLEMS ================= -* If you request too many years (more than about 141) at once, +* If you request too many years (more than about 85) at once, (La)TeX will run out of memory (unless you increase that). \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_DE.pdf b/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_DE.pdf deleted file mode 100644 index 58b4b82f850..00000000000 Binary files a/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_DE.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_DK.pdf b/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_DK.pdf deleted file mode 100644 index e03d873daf9..00000000000 Binary files a/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_DK.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_EN.pdf b/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_EN.pdf deleted file mode 100644 index b833dd272bf..00000000000 Binary files a/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2022-2039_EN.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_DE.pdf b/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_DE.pdf new file mode 100644 index 00000000000..7bbc47c3f4e Binary files /dev/null and b/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_DE.pdf differ diff --git a/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_DK.pdf b/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_DK.pdf new file mode 100644 index 00000000000..66caa62c6d9 Binary files /dev/null and b/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_DK.pdf differ diff --git a/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_EN.pdf b/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_EN.pdf new file mode 100644 index 00000000000..2978dd95921 Binary files /dev/null and b/Master/texmf-dist/doc/latex/calxxxx-yyyy/cal2023-2040_EN.pdf differ diff --git a/Master/texmf-dist/doc/latex/calxxxx-yyyy/calxxxx-yyyy-doc.pdf b/Master/texmf-dist/doc/latex/calxxxx-yyyy/calxxxx-yyyy-doc.pdf index b14e6b18f19..5d93d46ec4f 100644 Binary files a/Master/texmf-dist/doc/latex/calxxxx-yyyy/calxxxx-yyyy-doc.pdf and b/Master/texmf-dist/doc/latex/calxxxx-yyyy/calxxxx-yyyy-doc.pdf differ diff --git a/Master/texmf-dist/tex/latex/calxxxx-yyyy/calxxxx-yyyy-doc.tex b/Master/texmf-dist/tex/latex/calxxxx-yyyy/calxxxx-yyyy-doc.tex index 88d99b59b8c..a14a4469eca 100644 --- a/Master/texmf-dist/tex/latex/calxxxx-yyyy/calxxxx-yyyy-doc.tex +++ b/Master/texmf-dist/tex/latex/calxxxx-yyyy/calxxxx-yyyy-doc.tex @@ -1,4 +1,7 @@ -\documentclass{article} +\NeedsTeXFormat{LaTeX2e}[2022-11-01] +\ProvidesFile{calxxxx-yyyy-doc.tex}% + [2023-01-01 v20.23a ReadMe for calxxxx-yyyy.tex] +\documentclass{article}[2022/07/02]% v1.4n \usepackage[% extension=pdf,% plainpages=false,% @@ -6,19 +9,20 @@ hyperindex=false,% pdflang={en},% pdftitle={README for calxxxx-yyyy.tex},% - pdfauthor={H.-Martin Muench},% + pdfauthor={H.-Martin Münch},% pdfsubject={README for calxxxx-yyyy.tex},% - pdfkeywords={LaTeX, calxxxx-yyyy, H.-Martin Muench},% + pdfkeywords={LaTeX, calxxxx-yyyy},% pdfview=Fit,% pdfstartview=Fit,% pdfpagelayout=SinglePage,% bookmarksopen=true% -]{hyperref}[2012/11/06]% v6.83m +]{hyperref}[2022-11-13]% v7.00u +\pagestyle{empty} \begin{document} -\section*{\texttt{ReadMe} for cal$xxxx-yyyy$.tex file} -Version: v20.22a\newline -Date: 2022/01/01\newline -\copyright{} 2010 - 2022 H.-Martin M\"{u}nch (Martin dot Muench at Uni-Bonn dot de)\newline +\section*{\texttt{ReadMe} for cal$xxxx-yyyy$.tex} +Version: v20.23a\newline +Date: 2023-01-01\newline +© 2010 - 2023 H.-Martin Münch (Martin dot Muench at Uni-Bonn dot de)\newline \noindent This file explains the use of the \textsf{calxxxx-yyyy.tex} file, available at\newline @@ -26,21 +30,21 @@ available at\newline \noindent For information about possible modifications and the mathematical background for the calculation of the calendar please see the README file of the original \textsf{calxxxx.tex} file. \textsf{calxxxx-yyyy.tex} is for \LaTeXe, and uses -the \textsf{array.sty}, \textsf{babel.sty}, and \textsf{geometry.sty} packages. +the \textsf{array}, \textsf{babel}, and \textsf{geometry} packages. \hspace*{-1.98471pt}To print a calendar for some given years, use the \textsf{calxxxx-yyyy.tex} file. \LaTeXe{} it, type in the year to start with -(for example 2022), the year to end with (for example 2039), and the calendars +(for example 2023), the year to end with (for example 2040), and the calendars for those years are produced. It is possible to print the calendars in different languages. Currently English (with week running from Sunday to Saturday), and Danish and German (with week running from Monday to Sunday) are supported, but other languages can be added. (When you did a translation, please send -an e-mail with it to {\nolinebreak Martin.Muench@Uni-Bonn.de,} +an e-mail with it to Martin dot Muench at Uni-Bonn dot de, so that it might be included in \textsf{calxxxx-yyyy.tex}, thanks!)\newline Everything else is as described in the README for \textsf{calxxxx.tex}.\newline -The \textsf{calxxxx.tex} file is \copyright{} 1999 Slobodan Jankovi\'{c}.\newline +The \textsf{calxxxx.tex} file is ©~1999 Slobodan Janković.\newline \textsf{calxxxx-yyyy.tex} is published under the LPPL~1.3c: This work may be distributed and/or modified under the conditions of the \LaTeX{} Project Public License, either version 1.3c of this license or (at your option) any @@ -51,7 +55,7 @@ and the latest version of this license is in \url{https://www.latex-project.org/lppl.txt}\newline and version 1.3c or later is part of all distributions of \LaTeX{} version -2005/12/01 or later. +2005-12-01 or later. The authors disclaim all warranties as to this software, whether expressed or implied, including without limitation any implied warranties of @@ -66,6 +70,6 @@ to \textsc{Koloskov Gleb} for reporting a bug. \item[--] \url{https://www.ctan.org/pkg/kalender} \end{description} -\noindent A list of my (H.-Martin M\"{u}nch) packages can be found at\newline +\noindent A list of my (H.-Martin Münch) packages can be found at\newline \url{https://www.ctan.org/author/muench-hm}. \end{document} \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/calxxxx-yyyy/calxxxx-yyyy.tex b/Master/texmf-dist/tex/latex/calxxxx-yyyy/calxxxx-yyyy.tex index 8592368ebb4..f766b267fac 100644 --- a/Master/texmf-dist/tex/latex/calxxxx-yyyy/calxxxx-yyyy.tex +++ b/Master/texmf-dist/tex/latex/calxxxx-yyyy/calxxxx-yyyy.tex @@ -1,19 +1,19 @@ -% calxxx-yyyy.tex -% version: v20.22a -% date: 2022/01/01 +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{calxxxx-yyyy.tex}% + [2023/01/01 v20.23a Print a calendar for a group of years (HMM)] % -% Copyright (C) 2010 - 2022 H.-Martin M\"{u}nch (Martin dot Muench at Uni-Bonn dot de) -% Portions of code copyrighted by Slobodan Jankovi\'{c}. -% This file was invented in 1999 by Slobodan Jankovi\'{c}. +% Copyright © 2010 - 2023 H.-Martin Münch (Martin dot Muench at Uni-Bonn dot de) +% Portions of code copyrighted by Slobodan Janković. +% This file was invented in 1999 by Slobodan Janković. % I was not able to reach him at slobodan@archimed.filfak.ni.ac.yu % (not surprisingly with a .yu address). % Thanks to the translators (see below) and the reporter of a bug: Koloskov Gleb. % Languages/Translations: -% - English: Slobodan Jankovi\'{c} -% - German (Deutsch): Martin M\"{u}nch +% - English: Slobodan Janković +% - German (Deutsch): Martin Münch % - Danish (Dansk): Michael Lodahl % -% I updated Jankovi\'{c}'s file, so that it is possible to print the calendars +% I updated Janković's file, so that it is possible to print the calendars % for different years and to use different languages (and therefore also use weeks % running from Monday to Sunday instead of Sunday to Saturday). % @@ -24,34 +24,34 @@ % conditions of the LaTeX Project Public License (LPPL), % either version 1.3c of this license or (at your option) any later version. % This version of this license is in -% http://www.latex-project.org/lppl/lppl-1-3c.txt +% https://www.latex-project.org/lppl/lppl-1-3c.txt % and the latest version of this license is in -% http://www.latex-project.org/lppl.txt +% https://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of % LaTeX version 2005/12/01 or later. % % This work has the LPPL maintenance status "maintained". % -% The Current Maintainer of this work is H.-Martin Muench. +% The Current Maintainer of this work is H.-Martin Münch. % % This work consists of the main source files % calxxxx-yyyy.tex, README, and calxxxx-yyyy-doc.tex, % and the derived files -% calxxxx-yyyy-doc.pdf, cal2022-2039_DE.pdf, cal2022-2039_DK.pdf, -% and cal2022-2039_EN.pdf. +% calxxxx-yyyy-doc.pdf, cal2023-2040_DE.pdf, cal2023-2040_DK.pdf, +% and cal2023-2040_EN.pdf. % % In memoriam % Claudia Simone Barth + 1996/01/30 -% Tommy Muench + 2014/01/02 -% Hans-Klaus Muench + 2014/08/24 +% Tommy Münch + 2014/01/02 +% Hans-Klaus Münch + 2014/08/24 % -\documentclass[12pt,a4paper,danish,german,english]{report} +\documentclass[12pt,a4paper,danish,german,english]{report}[2022/07/02]% v1.4n % In the options you need to place the desired language at the last position. % Sorry for the inconvenience. -\usepackage{babel}[2016/02/24]% v3.9q +\usepackage{babel}[2022/12/26]% v3.84 \selectlanguage{english}% Also possible: 'english', 'german', or 'danish' -\usepackage[a4paper,textwidth=\paperwidth,textheight=\paperheight]{geometry}[2010/09/12]% v5.6 -\usepackage{array}[2014/10/28]% v2.4c +\usepackage[a4paper,textwidth=\paperwidth,textheight=\paperheight]{geometry}[2020/01/02]% v5.9 +\usepackage{array}[2022/09/04]% v2.5g \listfiles \thispagestyle{empty} @@ -96,13 +96,13 @@ \def\Sun{\textbf{S}} \def\Mon{\textbf{M}} \def\Tue{\textbf{T}} \def\Wen{\textbf{W}} \def\Thr{\textbf{T}} \def\Fri{\textbf{F}} \def\Sat{\textbf{S}} -\iflanguage{english}{% That is already the default language. Nothing to be done. +\iflanguage{english}{% English, which is already the default language. Nothing to be done. \typeout{Language \languagename ^^J} }{\iflanguage{german}{% Deutsch \typeout{Language \languagename ^^J} - \def\BC{~v.~Chr.}\def\AD{}% 'B.C.' after a negative year, nothing after a positive + \def\BC{~v.~Chr.}\def\AD{}% '~v.~Chr.' after a negative year, nothing after a positive - \def\Jan{Januar} \def\Feb{Februar}\def\Mar{M\"{a}rz}\def\Apr{April} + \def\Jan{Januar} \def\Feb{Februar}\def\Mar{März}\def\Apr{April} \def\May{Mai} \def\Jun{Juni} \def\Jul{Juli} \def\Aug{August} \def\Sep{September}\def\Oct{Oktober}\def\Nov{November}\def\Dec{Dezember} @@ -110,7 +110,7 @@ \def\Thr{\textbf{Do}} \def\Fri{\textbf{Fr}} \def\Sat{\textbf{Sa}} \def\Sun{\textbf{So}} }{\iflanguage{danish}{% Danish \typeout{Language \languagename ^^J} - \def\BC{~f.~Kr.}\def\AD{}% 'B.C.' after a negative year, nothing after a positive + \def\BC{~f.~Kr.}\def\AD{}% '~f.~Kr.' after a negative year, nothing after a positive \def\Jan{Januar} \def\Feb{Februar}\def\Mar{Marts} \def\Apr{April} \def\May{Maj} \def\Jun{Juni} \def\Jul{Juli} \def\Aug{August} @@ -121,7 +121,7 @@ }{% Not English, Danish or German. Place your translation here! % Further down there is another place in the code which needs the "translation" % for further languages, search for "Place your translation here!". - \typeout{Language \languagename \space not supported. Keeping the default: English.} + \typeout{Language \languagename\space not supported. Keeping the default: English.} } } } @@ -131,13 +131,13 @@ \def\sm{\hspace{2pt}}% space between months % Select Gregorian/Julian calendar and zero/nonzero (default are both false) -\Julianfalse % don't use Julian, use Gregorian calendar -\ZeroExistfalse% zero year doesn't exist (before 1st is -1st year) -%\Juliantrue % use Julian, don't use Gregorian calendar +\Julianfalse % do not use Julian, use Gregorian calendar +\ZeroExistfalse% zero year does not exist (before 1st is -1st year) +%\Juliantrue % use Julian, do not use Gregorian calendar %\ZeroExisttrue% zero year exists (before 1st is 0th year) % Do you wish a cm rule? (default is false) -\CmRulefalse% don't print the cm rule +\CmRulefalse% do not print the cm rule %\CmRuletrue% print the cm rule %========== End of Safe Modifications ============= @@ -183,15 +183,15 @@ % Defines all kind of rows \def\rows{% -\def\rone{&1&8&15&22&29&}%rows for a month with 31 days +\def\rone{&1&8&15&22&29&}% rows for a month with 31 days \def\rtwo{&2&9&16&23&30&}\def\btwo{&&2&9&16&23&30}% \def\rthree{&3&10&17&24&31&}\def\bthree{&&3&10&17&24&31}% \def\rfour{&4&11&18&25&&}\def\bfour{&&4&11&18&25&}% \def\rfive{&5&12&19&26&&}\def\bfive{&&5&12&19&26&}% \def\rsix{&6&13&20&27&&}\def\bsix{&&6&13&20&27&}% \def\rseven{&7&14&21&28&&}\def\bseven{&&7&14&21&28&}% -\ifnum\m=2% if February ... - \ifleap\else\def\rone{&1&8&15&22&&}\fi%if it isn't a leap year +\ifnum\m=2% if February... + \ifleap\else\def\rone{&1&8&15&22&&}\fi% if it is no leap year \def\rtwo{&2&9&16&23&&}\def\btwo{&&2&9&16&23&}% \def\rthree{&3&10&17&24&&}\def\bthree{&&3&10&17&24&}% \else% if other month with <=30 days ... @@ -206,27 +206,27 @@ \setleap\dayofweek{#1}\rows% set leap, set \x=day of the week, and define all rows \setlength{\tabcolsep}{0pt} \begin{tabular*}{7em}{|>{\centering}p{\Wd}|@{\extracolsep{\fill}}rrrrrr|} -\multicolumn{7}{l}{\sm\monthfont%print name of a month \m +\multicolumn{7}{l}{\sm\monthfont% print name of a month \m \ifcase\m \or\Jan\or\Feb\or\Mar\or\Apr\or\May\or\Jun\or\Jul\or\Aug\or\Sep\or\Oct\or\Nov\or\Dec \fi}\\ \hline \ifcase\x - \Sun\rone\\ \Mon\rtwo\\ \Tue\rthree\\ \Wen\rfour\\ \Thr\rfive\\ \Fri\rsix\\ \Sat\rseven\\ \or%if Sunday - \Sun\bseven\\ \Mon\rone\\ \Tue\rtwo\\ \Wen\rthree\\ \Thr\rfour\\ \Fri\rfive\\ \Sat\rsix\\ \or%if Monday - \Sun\bsix\\ \Mon\bseven\\ \Tue\rone\\ \Wen\rtwo\\ \Thr\rthree\\ \Fri\rfour\\ \Sat\rfive\\ \or%if Tuesday - \Sun\bfive\\ \Mon\bsix\\ \Tue\bseven\\ \Wen\rone\\ \Thr\rtwo\\ \Fri\rthree\\ \Sat\rfour\\ \or%if Wednesday - \Sun\bfour\\ \Mon\bfive\\ \Tue\bsix\\ \Wen\bseven\\ \Thr\rone\\ \Fri\rtwo\\ \Sat\rthree\\ \or%if Thursday - \Sun\bthree\\ \Mon\bfour\\ \Tue\bfive\\ \Wen\bsix\\ \Thr\bseven\\ \Fri\rone\\ \Sat\rtwo\\ \or%if Friday - \Sun\btwo\\ \Mon\bthree\\ \Tue\bfour\\ \Wen\bfive\\ \Thr\bsix\\ \Fri\bseven\\ \Sat\rone\\ \fi%if Saturday + \Sun\rone\\ \Mon\rtwo\\ \Tue\rthree\\ \Wen\rfour\\ \Thr\rfive\\ \Fri\rsix\\ \Sat\rseven\\ \or% if Sunday + \Sun\bseven\\ \Mon\rone\\ \Tue\rtwo\\ \Wen\rthree\\ \Thr\rfour\\ \Fri\rfive\\ \Sat\rsix\\ \or% if Monday + \Sun\bsix\\ \Mon\bseven\\ \Tue\rone\\ \Wen\rtwo\\ \Thr\rthree\\ \Fri\rfour\\ \Sat\rfive\\ \or% if Tuesday + \Sun\bfive\\ \Mon\bsix\\ \Tue\bseven\\ \Wen\rone\\ \Thr\rtwo\\ \Fri\rthree\\ \Sat\rfour\\ \or% if Wednesday + \Sun\bfour\\ \Mon\bfive\\ \Tue\bsix\\ \Wen\bseven\\ \Thr\rone\\ \Fri\rtwo\\ \Sat\rthree\\ \or% if Thursday + \Sun\bthree\\ \Mon\bfour\\ \Tue\bfive\\ \Wen\bsix\\ \Thr\bseven\\ \Fri\rone\\ \Sat\rtwo\\ \or% if Friday + \Sun\btwo\\ \Mon\bthree\\ \Tue\bfour\\ \Wen\bfive\\ \Thr\bsix\\ \Fri\bseven\\ \Sat\rone\\ \fi% if Saturday \hline \end{tabular*}} -\iflanguage{english}{% English. Nothing to be done, default language. +\iflanguage{english}{% English, which is already the default language. Nothing to be done. }{\iflanguage{german}{% Deutsch \def\Month#1{% #1=month \setleap\dayofweek{#1}\rows% set leap, set \x=day of the week, and define all rows \setlength{\tabcolsep}{0pt} \begin{tabular*}{7em}{|>{\centering}p{\Wd}|@{\extracolsep{\fill}}rrrrrr|} -\multicolumn{7}{l}{\sm\monthfont%print name of a month \m +\multicolumn{7}{l}{\sm\monthfont% print name of a month \m \ifcase\m \or\Jan\or\Feb\or\Mar\or\Apr\or\May\or\Jun\or\Jul\or\Aug\or\Sep\or\Oct\or\Nov\or\Dec \fi}\\ \hline \ifcase\x @@ -244,7 +244,7 @@ \setleap\dayofweek{#1}\rows% set leap, set \x=day of the week, and define all rows \setlength{\tabcolsep}{0pt} \begin{tabular*}{7em}{|>{\centering}p{\Wd}|@{\extracolsep{\fill}}rrrrrr|} - \multicolumn{7}{l}{\sm\monthfont%print name of a month \m + \multicolumn{7}{l}{\sm\monthfont% print name of a month \m \ifcase\m \or\Jan\or\Feb\or\Mar\or\Apr\or\May\or\Jun\or\Jul\or\Aug\or\Sep\or\Oct\or\Nov\or\Dec \fi}\\ \hline \ifcase\x @@ -265,9 +265,9 @@ % Enter the years. Well, could be sensitive to language, too... \def\enteryear{\typeout{} -\typeout{Enter the year (negative for B.C., 0th year does\ifZeroExist \else \space not\fi \space exist),} +\typeout{Enter the year (negative for B.C., 0th year does\ifZeroExist\else\space not\fi\space exist),} \typeout{with which to start the calendar!}\typeout{} -\typeout{For the current year, \number\year , just press the ENTER key!} +\typeout{For the current year, \number\year, just press the ENTER key!} \loop \typein[\Year]{} \ifx \Year\empty \gdef\Year{\year} \fi @@ -275,18 +275,18 @@ \leapfalse \ifnum \y=0 \ifZeroExist \else \leaptrue \fi\fi \ifleap \typeout{}\typeout{0th year doesn't exist! Maybe you want the year -1.} \repeat \typeout{}% -\typeout{Enter the year (negative for B.C., 0th year does\ifZeroExist \else \space not\fi \space exist),}% +\typeout{Enter the year (negative for B.C., 0th year does\ifZeroExist\else\space not\fi\space exist),}% \typeout{with which to end the calendar!}\typeout{}% \typeout{For the current year, \number\year , just press the ENTER key!}% -\typeout{(More than 141 years will probably exceed TeX's memory.)}% +\typeout{(More than 85 years will probably exceed TeX's memory.)}% \loop \typein[\YearZ]{} \ifx \YearZ\empty \gdef\YearZ{\year} \fi \leapfalse \ifnum \y=0 \ifZeroExist \else \leaptrue \fi\fi - \ifnum\YearZ<\Year \typeout{}\typeout{Error: (Start-)Year must be before (End-)YearZ!} \gdef\YearZ{\Year} \fi - \ifleap \typeout{}\typeout{0th year doesn't exist! Maybe you want the year -1.} \repeat + \ifnum\YearZ<\Year \typeout{}\typeout{Error: (Start-)Year must be before (End-)Year!} \gdef\YearZ{\Year} \fi + \ifleap \typeout{}\typeout{0th year does not exist! Maybe you want the year -1.} \repeat \typeout{}% -\typeout{\ifJulian Julian \else Gregorian \fi Calendar for the years \number\y -\number\YearZ. }% +\typeout{\ifJulian Julian\else Gregorian\fi\space Calendar for the years \number\y -\number\YearZ.}% \typeout{(Leap years are starred * .)}% \typeout{}} @@ -340,8 +340,8 @@ \repeat \message{^^J}\message{^^J}% \newline% -\tiny{\indent Original calxxxx.\TeX{} \copyright{} 1999/12/19 Slobodan Jankovi\'{c}; % -these calendars produced with calxxxx-yyyy 2022/01/01 v20.22a by \texttt{Martin.Muench@Uni-Bonn.de};% +\tiny{\indent Original calxxxx.\TeX{} \copyright{} 1999-12-19 Slobodan Jankovi\'{c}; % +these calendars produced with calxxxx-yyyy 2023-01-01 v20.23a by \texttt{Martin.Muench@Uni-Bonn.de};% \newline\indent% \iflanguage{english}{English by Slobodan Jankovi\'{c}.}{% \iflanguage{german}{Deutsch von H.-Martin M\"{u}nch.}{% @@ -352,5 +352,5 @@ these calendars produced with calxxxx-yyyy 2022/01/01 v20.22a by \texttt{Martin. } } -\ifCmRule\cmscale(8,35)\fi% Print cm rule +\ifCmRule\cmscale(8,35)\fi% print cm rule \end{document} \ No newline at end of file -- cgit v1.2.3