diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-20 19:43:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-20 19:43:52 +0000 |
commit | 88b45132c05f017df91dda98c1bb8d75e4e381a3 (patch) | |
tree | 8e1a0152fdcfd97eddd8362dc890f1f0474d2713 /Master | |
parent | 0ea1c4cbf396454ec3d8f39b878ef2df9fc16a76 (diff) |
catechis (20jul21)
git-svn-id: svn://tug.org/texlive/trunk@59998 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/catechis/CHANGES | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/catechis/catechis.pdf | bin | 388369 -> 388762 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/catechis/catechis.dtx | 14 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/catechis/catechis.sty | 12 |
4 files changed, 21 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/catechis/CHANGES b/Master/texmf-dist/doc/latex/catechis/CHANGES index 1f13f13936b..24c25df8e75 100644 --- a/Master/texmf-dist/doc/latex/catechis/CHANGES +++ b/Master/texmf-dist/doc/latex/catechis/CHANGES @@ -1,3 +1,7 @@ +17 Jul 1205 (19 Jul 2021): Page breaks are now prohibited +between the citation title and the first citation. Version +2.6. + 02 Nov 1202 (02 Nov 2018): Page breaks are now prohibited between the question and answer (though of course they can still be broken within questions or answers). Version 2.5. diff --git a/Master/texmf-dist/doc/latex/catechis/catechis.pdf b/Master/texmf-dist/doc/latex/catechis/catechis.pdf Binary files differindex 291c99db91d..6df8d373825 100644 --- a/Master/texmf-dist/doc/latex/catechis/catechis.pdf +++ b/Master/texmf-dist/doc/latex/catechis/catechis.pdf diff --git a/Master/texmf-dist/source/latex/catechis/catechis.dtx b/Master/texmf-dist/source/latex/catechis/catechis.dtx index b650d413a7b..fe184bf45d8 100644 --- a/Master/texmf-dist/source/latex/catechis/catechis.dtx +++ b/Master/texmf-dist/source/latex/catechis/catechis.dtx @@ -25,7 +25,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] -%<package>\ProvidesPackage{catechis}[2018/11/02 v2.5 Support for writing catechism questions and answers] +%<package>\ProvidesPackage{catechis}[2021/07/17 v2.6 Support for writing catechism questions and answers] %<*driver> \documentclass{ltxdoc} @@ -57,7 +57,7 @@ \end{document} %</driver> \fi % -% \title{The |catechis| Package, v2.5} \author{Donald P.\ +% \title{The |catechis| Package, v2.6} \author{Donald P.\ % Goodman III} \date{\today} % % \maketitle @@ -545,9 +545,12 @@ \def\catcitetitlesty{\Large\scshape}% \def\catcitetitleword{Citations}% \def\catcitetitle{% - \begin{center}% - \catcitetitlesty\catcitetitleword% - \end{center}% + \hbox to\linewidth{% + \hfil% + {\catcitetitlesty\catcitetitleword}% + \hfil% + }% + \penalty10000% }% \newlength\catcitationbefskip\catcitationbefskip=1em% \newlength\catcitationaftskip\catcitationaftskip=1em% @@ -572,6 +575,7 @@ \def\catcite#1#2{% {\parindent=\catciteindent\hangindent=\catcitehindent\hangafter=1% {\par\catcitesty #1}\par}% + \penalty10000% {\parindent=\catsrcindent\hangindent=\catsrchindent\hangafter=1% {\par\catsrcsty#2}\par}% }% diff --git a/Master/texmf-dist/tex/latex/catechis/catechis.sty b/Master/texmf-dist/tex/latex/catechis/catechis.sty index dc2f23efd96..0c79c2f0880 100644 --- a/Master/texmf-dist/tex/latex/catechis/catechis.sty +++ b/Master/texmf-dist/tex/latex/catechis/catechis.sty @@ -26,7 +26,7 @@ %% derived files catechis.sty and catechis.pdf. \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{catechis}[2018/11/02 v2.5 Support for writing catechism questions and answers] +\ProvidesPackage{catechis}[2021/07/17 v2.6 Support for writing catechism questions and answers] \RequirePackage{paralist} \setdefaultenum{(a)}{(1)}{(i)}{(A)} \setdefaultleftmargin{3.8em}{}{}{}{}{} @@ -75,9 +75,12 @@ \def\catcitetitlesty{\Large\scshape}% \def\catcitetitleword{Citations}% \def\catcitetitle{% -\begin{center}% -\catcitetitlesty\catcitetitleword% -\end{center}% +\hbox to\linewidth{% +\hfil% +{\catcitetitlesty\catcitetitleword}% +\hfil% +}% +\penalty10000% }% \newlength\catcitationbefskip\catcitationbefskip=1em% \newlength\catcitationaftskip\catcitationaftskip=1em% @@ -99,6 +102,7 @@ \def\catcite#1#2{% {\parindent=\catciteindent\hangindent=\catcitehindent\hangafter=1% {\par\catcitesty #1}\par}% +\penalty10000% {\parindent=\catsrcindent\hangindent=\catsrchindent\hangafter=1% {\par\catsrcsty#2}\par}% }% |