texlive[76053] Master/texmf-dist: liturgy-cw (14aug25)

commits+karl at tug.org commits+karl at tug.org
Thu Aug 14 22:02:06 CEST 2025


Revision: 76053
          https://tug.org/svn/texlive?view=revision&revision=76053
Author:   karl
Date:     2025-08-14 22:02:06 +0200 (Thu, 14 Aug 2025)
Log Message:
-----------
liturgy-cw (14aug25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/liturgy-cw/liturgy-cw.pdf
    trunk/Master/texmf-dist/source/latex/liturgy-cw/liturgy-cw.dtx
    trunk/Master/texmf-dist/source/latex/liturgy-cw/liturgy-cw.ins
    trunk/Master/texmf-dist/tex/latex/liturgy-cw/liturgy-cw.sty

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

Modified: trunk/Master/texmf-dist/source/latex/liturgy-cw/liturgy-cw.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/liturgy-cw/liturgy-cw.dtx	2025-08-14 08:38:15 UTC (rev 76052)
+++ trunk/Master/texmf-dist/source/latex/liturgy-cw/liturgy-cw.dtx	2025-08-14 20:02:06 UTC (rev 76053)
@@ -4,7 +4,7 @@
 % ------------------------------------------------------------------
 %
 % This file may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
+% conditions of the LaTeX Project Public License, either version 1.3c
 % of this license or (at your option) any later version.
 % The latest version of this license is in:
 %
@@ -22,12 +22,12 @@
 %<package>\NeedsTeXFormat{LaTeX2e}[2020-02-02]
 %<package>\ProvidesPackage{liturgy-cw}
 %<*package>
-[2025-06-03 v0.2 LaTeX package for typesetting Common Worship liturgies]
+[2025-08-13 v0.3 LaTeX package for typesetting Common Worship liturgies]
 %</package>
 %
 %<*driver>
 \documentclass{ltxdoc}
-\usepackage{liturgy-cw}[2025-06-03]
+\usepackage{liturgy-cw}[2025-08-13]
 \usepackage{xcolor}
 \usepackage{verse}
 \usepackage[most]{tcolorbox}
@@ -55,6 +55,7 @@
 %
 % \changes{v0.1}{2025-05-02}{Initial version}
 % \changes{v0.2}{2025-06-03}{Initial release}
+% \changes{v0.3}{2025-08-13}{Minor improvements}
 %
 % \GetFileInfo{liturgy-cw.dtx}
 %
@@ -75,12 +76,12 @@
 %
 % \section{Introduction}
 %
-% For the past quarter century Common Worship prayers and services has been
-% the authorised liturygy for worship in the Church of
-% England\cite{commonworship}. For practical and (not least) financial
-% reasons many churches have produced their own service sheets and booklets.
-% These materials are often created using widely available word processing
-% and desktop publishing software packages with varying success.
+% For the past quarter century \textit{Common Worship Prayers and Services}\cite{commonworship}
+% has been the authorised liturygy for worship in the Church of England.
+% For practical and (not least) financial reasons many churches have produced 
+% their own service sheets and booklets. These materials are often created 
+% using widely available word processing and desktop publishing software 
+% packages with varying success.
 %
 % The \textsf{liturgy-cw} package arose from the need to create service
 % sheets and booklets quickly and easily, while ensuring these retain a
@@ -118,8 +119,9 @@
 % \subsection{Basic usage}
 % The \textsf{liturgy-cw} package provides functions and environments to
 % create service booklets and sheets in the style of Common Worship. The
-% following simple example typesets the contemporary version of the Lord's
-% prayer as a 'required part':
+% simple example below typesets the contemporary version of the Lord's
+% prayer as a `required part'. A comprehensive example, `\textit{An
+% Order for Night Prayer (Compline)}' is included in the source repository.
 %
 % \vspace*{1ex}
 %
@@ -130,7 +132,6 @@
 %  \minister{
 %    Rejoicing in God’s new creation,\\
 %    as our Saviour taught us, so we pray}
-%
 %  \lpc
 % \end{required}
 % \end{commandbox}
@@ -145,7 +146,6 @@
 %
 %   \minister{Rejoicing in God’s new creation,\\
 %     as our Saviour taught us, so we pray}
-%
 %   \lpc
 % \end{required}
 % \end{resultbox}
@@ -155,7 +155,7 @@
 % \subsubsection{Environments}
 % \DescribeEnv{required}
 % Required parts of Common Worship liturgy are indicated by a vertical red
-% bar. The |required| environment can be used to mark these parts. The
+% bar. The |required| environment can be used to mark such sections. The
 % position of the vertical bar is defined by |\vbarhskip|.
 %
 % \subsubsection{Functions}
@@ -237,7 +237,10 @@
 % \vspace*{1ex}
 %
 % \noindent\begin{commandbox}
-% \Cross\ In the name of the Father, and of the Son, and of the Holy Spirit.
+%	\textit{N}, I baptize you\\
+% 	in the name of the Father, \Cross\\
+%	and of the Son,\\
+%	and of the Holy Spirit.
 % \end{commandbox}
 %
 % \vspace*{1ex}
@@ -244,7 +247,10 @@
 %
 % \noindent\begin{resultbox}
 % \setmainfont[Ligatures=TeX]{Gill Sans MT}
-% \Cross\ In the name of the Father, and of the Son, and of the Holy Spirit.
+%	\textit{N}, I baptize you\\
+% 	in the name of the Father, \Cross\\
+%	and of the Son,\\
+%	and of the Holy Spirit.
 % \end{resultbox}
 %
 % \DescribeMacro{Pause}
@@ -402,28 +408,31 @@
 	}
 }
 \DeclareOption{titles}{
-	\newlength{\@cwpw}
-	\settowidth{\@cwpw}{\huge\P}
-	\titleformat{\chapter}[display]
-	{\huge\color{red}}{\thechapter}{0pt}{\hspace*{\dimexpr-\@cwpw+10mm}\P\hspace*{5mm}\itshape\begin{minipage}[t]{\linewidth-15mm}}[\end{minipage}]
-	\titlespacing{\chapter}{0pt}{10pt}{10pt}
-
+	\ifdefined\chapter
+		\newlength{\@cwpw}
+		\settowidth{\@cwpw}{\huge\P}
+		\titleformat{\chapter}[display]
+		{\huge\color{red}}{\thechapter}{0pt}{\hspace*{\dimexpr-\@cwpw+10mm}\P\hspace*{5mm}\itshape\begin{minipage}[t]{\linewidth-15mm}}[\end{minipage}]
+		\titlespacing{\chapter}{0pt}{1\baselineskip plus .333\baselineskip minus .125\baselineskip}{0pt plus .125\baselineskip minus .125\baselineskip}
+	
+		\let\@cwchapter\chapter
+		\renewcommand{\chapter}{\@ifstar{\@cwchapter*}{\@cwchapter*}}
+	\else
+		\PackageWarning{liturgy-cw}{chapter not defined; skipping.}
+	\fi
 	\newcommand{\@cwpadright}[1]{#1\hspace*{15mm}}
 	\titleformat{\section}
 	{\large\raggedleft\bfseries}{\thesection}{0pt}{\@cwpadright}
-	\titlespacing{\section}{0pt}{8pt}{0pt}
+	\titlespacing{\section}{0pt}{1\baselineskip plus .333\baselineskip minus .125\baselineskip}{0pt plus .125\baselineskip minus .125\baselineskip}
 
 	\titleformat{\subsection}
 	{\large\raggedleft\color{red}\itshape}{\thesubsection}{0pt}{\@cwpadright}
-	\titlespacing{\subsection}{0pt}{8pt}{0pt}
+	\titlespacing{\subsection}{0pt}{1\baselineskip plus .333\baselineskip minus .125\baselineskip}{0pt plus .125\baselineskip minus .125\baselineskip}
 
 	\titleformat{\subsubsection}
 	{\bfseries}{\thesubsubsection}{0pt}{}
-	\titlespacing{\subsubsection}{15mm}{8pt}{0pt}
+	\titlespacing{\subsubsection}{15mm}{1\baselineskip plus .333\baselineskip minus .125\baselineskip}{0pt plus .125\baselineskip minus .125\baselineskip}
 
-	\let\@cwchapter\chapter
-	\renewcommand{\chapter}{\@ifstar{\@cwchapter*}{\@cwchapter*}}
-
 	\let\@cwsection\section
 	\renewcommand{\section}{\@ifstar{\@cwsection*}{\@cwsection*}}
 

Modified: trunk/Master/texmf-dist/source/latex/liturgy-cw/liturgy-cw.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/liturgy-cw/liturgy-cw.ins	2025-08-14 08:38:15 UTC (rev 76052)
+++ trunk/Master/texmf-dist/source/latex/liturgy-cw/liturgy-cw.ins	2025-08-14 20:02:06 UTC (rev 76053)
@@ -2,7 +2,7 @@
 %% Copyright (C) 2025 Dimitri Theulings <rector at becclesparish.org.uk>
 %%
 %% This file may be distributed and/or modified under the conditions of
-%% the LaTeX Project Public License, either version 1.3 of this license
+%% the LaTeX Project Public License, either version 1.3c of this license
 %% or (at your option) any later version.  The latest version of this
 %% license is in:
 %%
@@ -24,7 +24,7 @@
 Copyright (C) 2025 Dimitri Theulings <rector at becclesparish.org.uk>
 
 This file may be distributed and/or modified under the conditions of
-the LaTeX Project Public License, either version 1.3 of this license
+the LaTeX Project Public License, either version 1.3c of this license
 or (at your option) any later version.  The latest version of this
 license is in:
 

Modified: trunk/Master/texmf-dist/tex/latex/liturgy-cw/liturgy-cw.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/liturgy-cw/liturgy-cw.sty	2025-08-14 08:38:15 UTC (rev 76052)
+++ trunk/Master/texmf-dist/tex/latex/liturgy-cw/liturgy-cw.sty	2025-08-14 20:02:06 UTC (rev 76053)
@@ -11,7 +11,7 @@
 %% Copyright (C) 2025 Dimitri Theulings <rector at becclesparish.org.uk>
 %% 
 %% This file may be distributed and/or modified under the conditions of
-%% the LaTeX Project Public License, either version 1.3 of this license
+%% the LaTeX Project Public License, either version 1.3c of this license
 %% or (at your option) any later version.  The latest version of this
 %% license is in:
 %% 
@@ -22,7 +22,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-02-02]
 \ProvidesPackage{liturgy-cw}
-[2025-06-03 v0.2 LaTeX package for typesetting Common Worship liturgies]
+[2025-08-13 v0.3 LaTeX package for typesetting Common Worship liturgies]
 \RequirePackage{array}
 \RequirePackage{bibleref}
 \RequirePackage{booktabs}
@@ -44,28 +44,31 @@
 }
 }
 \DeclareOption{titles}{
+\ifdefined\chapter
 \newlength{\@cwpw}
 \settowidth{\@cwpw}{\huge\P}
 \titleformat{\chapter}[display]
 {\huge\color{red}}{\thechapter}{0pt}{\hspace*{\dimexpr-\@cwpw+10mm}\P\hspace*{5mm}\itshape\begin{minipage}[t]{\linewidth-15mm}}[\end{minipage}]
-\titlespacing{\chapter}{0pt}{10pt}{10pt}
+\titlespacing{\chapter}{0pt}{1\baselineskip plus .333\baselineskip minus .125\baselineskip}{0pt plus .125\baselineskip minus .125\baselineskip}
 
+\let\@cwchapter\chapter
+\renewcommand{\chapter}{\@ifstar{\@cwchapter*}{\@cwchapter*}}
+\else
+\PackageWarning{liturgy-cw}{chapter not defined; skipping.}
+\fi
 \newcommand{\@cwpadright}[1]{#1\hspace*{15mm}}
 \titleformat{\section}
 {\large\raggedleft\bfseries}{\thesection}{0pt}{\@cwpadright}
-\titlespacing{\section}{0pt}{8pt}{0pt}
+\titlespacing{\section}{0pt}{1\baselineskip plus .333\baselineskip minus .125\baselineskip}{0pt plus .125\baselineskip minus .125\baselineskip}
 
 \titleformat{\subsection}
 {\large\raggedleft\color{red}\itshape}{\thesubsection}{0pt}{\@cwpadright}
-\titlespacing{\subsection}{0pt}{8pt}{0pt}
+\titlespacing{\subsection}{0pt}{1\baselineskip plus .333\baselineskip minus .125\baselineskip}{0pt plus .125\baselineskip minus .125\baselineskip}
 
 \titleformat{\subsubsection}
 {\bfseries}{\thesubsubsection}{0pt}{}
-\titlespacing{\subsubsection}{15mm}{8pt}{0pt}
+\titlespacing{\subsubsection}{15mm}{1\baselineskip plus .333\baselineskip minus .125\baselineskip}{0pt plus .125\baselineskip minus .125\baselineskip}
 
-\let\@cwchapter\chapter
-\renewcommand{\chapter}{\@ifstar{\@cwchapter*}{\@cwchapter*}}
-
 \let\@cwsection\section
 \renewcommand{\section}{\@ifstar{\@cwsection*}{\@cwsection*}}
 



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