From 2c1a4f9836588afb0f41f63a483f6d342bdcf103 Mon Sep 17 00:00:00 2001 From: "Fr. Samuel Springuel" Date: Sun, 19 Apr 2026 15:04:01 -0400 Subject: [PATCH] Mark finalpenalty as obsolete This should only be merged into a 7.0 release. --- tex/gregoriotex-spaces.tex | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tex/gregoriotex-spaces.tex b/tex/gregoriotex-spaces.tex index 0a5fa2f9..024c02d3 100644 --- a/tex/gregoriotex-spaces.tex +++ b/tex/gregoriotex-spaces.tex @@ -1486,15 +1486,15 @@ }% \def\grechangecount#1#2{% - \IfStrEqCase{#1}{% DEPRECATED - {finalpenalty}{\gre@warning{The count 'finalpenalty' no longer has any effect and will be removed in a future release}}% DEPRECATED - }[% DEPRECATED + \IfStrEqCase{#1}{% OBSOLETE + {finalpenalty}{\gre@error{The count 'finalpenalty' no longer has any effect}}% OBSOLETE + }[% OBSOLETE \ifcsname gre@space@count@#1\endcsname \expandafter\csname gre@space@count@#1\endcsname=#2\relax \else \gre@error{Unknown count '#1'}% \fi - ]% DEPRECATED + ]% OBSOLETE } % The common internals for \gre@createdim and \grechangedim. @@ -1594,7 +1594,6 @@ \newcount\gre@space@count@endofsyllablepenalty% \newcount\gre@space@count@endafterbarpenalty% \newcount\gre@space@count@endafterbaraltpenalty% -\newcount\gre@space@count@finalpenalty% DEPRECATED \newcount\gre@space@count@endofelementpenalty% \newcount\gre@space@count@hyphenpenalty% \newcount\gre@space@count@brokenpenalty%