summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/catechis
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-21 03:00:43 +0000
committerNorbert Preining <norbert@preining.info>2021-07-21 03:00:43 +0000
commitd06b4118c72d0c81fc0760e24add55e808471dbc (patch)
treeb66ab79ad229352b74d6e1f7ed8dc2884e671737 /macros/latex/contrib/catechis
parent933416e3a978851a263168f5daad76eea18de483 (diff)
CTAN sync 202107210300
Diffstat (limited to 'macros/latex/contrib/catechis')
-rw-r--r--macros/latex/contrib/catechis/CHANGES4
-rw-r--r--macros/latex/contrib/catechis/catechis.dtx14
-rw-r--r--macros/latex/contrib/catechis/catechis.pdfbin388369 -> 388762 bytes
3 files changed, 13 insertions, 5 deletions
diff --git a/macros/latex/contrib/catechis/CHANGES b/macros/latex/contrib/catechis/CHANGES
index 1f13f13936..24c25df8e7 100644
--- a/macros/latex/contrib/catechis/CHANGES
+++ b/macros/latex/contrib/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/macros/latex/contrib/catechis/catechis.dtx b/macros/latex/contrib/catechis/catechis.dtx
index b650d413a7..fe184bf45d 100644
--- a/macros/latex/contrib/catechis/catechis.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/catechis/catechis.pdf b/macros/latex/contrib/catechis/catechis.pdf
index 291c99db91..6df8d37382 100644
--- a/macros/latex/contrib/catechis/catechis.pdf
+++ b/macros/latex/contrib/catechis/catechis.pdf
Binary files differ