diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-01 20:45:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-01 20:45:53 +0000 |
commit | 671c1be8b30497ad3b3bf02672b74b997984e4f7 (patch) | |
tree | 800abc50a88e1272cd06594e41e047076b9c25cb /Master/texmf-dist/tex/latex/covington | |
parent | 4f4e0fa198c44a57869fa912453e1ac9cdfe2ade (diff) |
covington (1sep21)
git-svn-id: svn://tug.org/texlive/trunk@60388 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/covington')
-rw-r--r-- | Master/texmf-dist/tex/latex/covington/covington.sty | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/covington/covington.sty b/Master/texmf-dist/tex/latex/covington/covington.sty index 79601a2ebad..687e496155a 100644 --- a/Master/texmf-dist/tex/latex/covington/covington.sty +++ b/Master/texmf-dist/tex/latex/covington/covington.sty @@ -42,8 +42,8 @@ %%% Metadata %%% -\def\filedate{2021/05/19} -\def\fileversion{2.6} +\def\filedate{2021/09/01} +\def\fileversion{2.7} \def\filename{covington.sty} % Force redefinition of environments? @@ -413,6 +413,10 @@ \def\cov@glp{} \newcommand*\glosspreamble[1]{\def\cov@glp{#1}} +% 2021-09-01: optional trailing gloss text (non-interlinearized) +\newcommand*\glosslinepostamble[1]{#1} +\def\cov@glpst{} + \def\gll{% % Introduces 2-line text-and-gloss. \begin{flushleft} \vskip\baselineskip% % Added 1992 Nov 8 to force single spacing @@ -473,6 +477,7 @@ \def\glend{% \end{flushleft}% \def\cov@glp{}% + \def\cov@glpst{}% } % Ends the gloss environment. % The following TeX code is adapted, with permission, from: @@ -719,6 +724,11 @@ \define@key{covington}{preamble}{\def\cov@lglp{#1}} \define@key{gcovington}{preamble}{\def\cov@gglp{#1}} % +% 5. Gloss postamble text +\def\cov@gglpst{} +\define@key{covington}{postamble}{\def\cov@lglpst{#1}} +\define@key{gcovington}{postamble}{\def\cov@gglpst{#1}} +% % General setting option \newcommand*\setglossoptions[1]{\setkeys{gcovington}{#1}} % @@ -743,13 +753,16 @@ \@ifundefined{lglosslinethree}{}{\def\glosslinethree{\lglosslinethree}}% \@ifundefined{cov@lglp}{}{\def\cov@gglp{\cov@lglp}}% \ifx\cov@gglp\empty\else\def\cov@glp{\cov@gglp}\fi% + \@ifundefined{cov@lglpst}{}{\def\cov@gglpst{\cov@lglpst}}% + \ifx\cov@gglpst\empty\else\def\cov@glpst{\cov@gglpst}\fi% \xgll #2\xgle #3\xgle \ifgtright - \gln #4 + \gln #4% \else - \glot{#4} + \glot{#4}% \fi + \ifx\cov@glpst\empty\else\glosslinepostamble{\cov@glpst}\cov@nopagebreak\fi% \glend \ifgexample \end{covexample} @@ -781,14 +794,17 @@ \@ifundefined{lglosslinethree}{}{\def\glosslinethree{\lglosslinethree}}% \@ifundefined{cov@lglp}{}{\def\cov@gglp{\cov@lglp}}% \ifx\cov@gglp\empty\else\def\cov@glp{\cov@gglp}\fi% + \@ifundefined{cov@lglpst}{}{\def\cov@gglpst{\cov@lglpst}}% + \ifx\cov@gglpst\empty\else\def\cov@glpst{\cov@gglpst}\fi% \xglll #2\xgle #3\xgle #4\xgle \ifgtright - \gln #5 + \gln #5% \else - \glot{#5} + \glot{#5}% \fi + \ifx\cov@glpst\empty\else\glosslinepostamble{\cov@glpst}\cov@nopagebreak\fi% \glend \ifgexample \end{covexample} |