texlive[59998] Master/texmf-dist: catechis (20jul21)

commits+karl at tug.org commits+karl at tug.org
Tue Jul 20 21:43:52 CEST 2021


Revision: 59998
          http://tug.org/svn/texlive?view=revision&revision=59998
Author:   karl
Date:     2021-07-20 21:43:52 +0200 (Tue, 20 Jul 2021)
Log Message:
-----------
catechis (20jul21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/catechis/CHANGES
    trunk/Master/texmf-dist/doc/latex/catechis/catechis.pdf
    trunk/Master/texmf-dist/source/latex/catechis/catechis.dtx
    trunk/Master/texmf-dist/tex/latex/catechis/catechis.sty

Modified: trunk/Master/texmf-dist/doc/latex/catechis/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/catechis/CHANGES	2021-07-20 19:43:38 UTC (rev 59997)
+++ trunk/Master/texmf-dist/doc/latex/catechis/CHANGES	2021-07-20 19:43:52 UTC (rev 59998)
@@ -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.

Modified: trunk/Master/texmf-dist/doc/latex/catechis/catechis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/catechis/catechis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/catechis/catechis.dtx	2021-07-20 19:43:38 UTC (rev 59997)
+++ trunk/Master/texmf-dist/source/latex/catechis/catechis.dtx	2021-07-20 19:43:52 UTC (rev 59998)
@@ -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}%
 }%

Modified: trunk/Master/texmf-dist/tex/latex/catechis/catechis.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/catechis/catechis.sty	2021-07-20 19:43:38 UTC (rev 59997)
+++ trunk/Master/texmf-dist/tex/latex/catechis/catechis.sty	2021-07-20 19:43:52 UTC (rev 59998)
@@ -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,10 +75,13 @@
 \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%
 \def\catcitations{%
@@ -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}%
 }%



More information about the tex-live-commits mailing list.