From 85c24f3b6b937e91527e53dd911b9e6279552e09 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 14 Oct 2020 08:40:29 +0200 Subject: renamed \TeXtoTEIPatt -> \TeXtoTEIPat --- ekdosis.dtx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index 4c994f7..e9247a1 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -4762,8 +4762,8 @@ many mathematical writings and to the sense of % % \fi % -% \DescribeMacro{\TeXtoTEIPatt} -% \cs{TeXtoTEIPatt}\marg{\TeX\ pattern}\marg{TEI pattern}\\ +% \DescribeMacro{\TeXtoTEIPat} +% \cs{TeXtoTEIPat}\marg{\TeX\ pattern}\marg{TEI pattern}\\ % Finally, this more flexible\---and more delicate to % handle\---command uses pattern matching to instruct \pkg{ekdosis} % how to convert \hologo{(La)TeX} commands into \texttt{TEI} @@ -4788,7 +4788,7 @@ many mathematical writings and to the sense of %<*example> % \fi \begin{minted}[linenos=false]{latex} -\TeXtoTEIPatt{\textcolor␣{#1}{#2}}{#2} +\TeXtoTEIPat{\textcolor␣{#1}{#2}}{#2} Sample text with a \textcolor{red}{word} in red. \end{minted} @@ -6260,14 +6260,14 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \end{macro} -% \begin{macro}{\TeXtoTEIPatt} +% \begin{macro}{\TeXtoTEIPat} % Finally, the more flexible\---and more delicate to -% handle\---\cs{TeXtoTEIPatt}\marg{\TeX\ +% handle\---\cs{TeXtoTEIPat}\marg{\TeX\ % pattern}\allowbreak\marg{\texttt{TEI} pattern} uses pattern matching % to instruct \pkg{ekdosis} how to convert \hologo{(La)TeX} commands % into \texttt{TEI} equivalents. % \begin{macrocode} -\NewDocumentCommand{\TeXtoTEIPatt}{m m}{% +\NewDocumentCommand{\TeXtoTEIPat}{m m}{% \luadirect{ekdosis.newpatttotag(\luastringN{#1}, \luastringN{#2})} } % \end{macrocode} -- cgit v1.2.3