diff options
author | Robert Alessi <alessi@robertalessi.net> | 2020-10-14 08:40:29 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2020-10-14 08:40:29 +0200 |
commit | 85c24f3b6b937e91527e53dd911b9e6279552e09 (patch) | |
tree | b77a61d4df626b2c07a8f4f9814f83e994720e9a | |
parent | bb69e1ec30371cbd9b81390c74ccb67fbb510664 (diff) | |
download | ekdosis-85c24f3b6b937e91527e53dd911b9e6279552e09.tar.gz |
renamed \TeXtoTEIPatt -> \TeXtoTEIPat
-rw-r--r-- | ekdosis.dtx | 12 |
1 files 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 | |||
4762 | %</example> | 4762 | %</example> |
4763 | % \fi | 4763 | % \fi |
4764 | % | 4764 | % |
4765 | % \DescribeMacro{\TeXtoTEIPatt} | 4765 | % \DescribeMacro{\TeXtoTEIPat} |
4766 | % \cs{TeXtoTEIPatt}\marg{\TeX\ pattern}\marg{TEI pattern}\\ | 4766 | % \cs{TeXtoTEIPat}\marg{\TeX\ pattern}\marg{TEI pattern}\\ |
4767 | % Finally, this more flexible\---and more delicate to | 4767 | % Finally, this more flexible\---and more delicate to |
4768 | % handle\---command uses pattern matching to instruct \pkg{ekdosis} | 4768 | % handle\---command uses pattern matching to instruct \pkg{ekdosis} |
4769 | % how to convert \hologo{(La)TeX} commands into \texttt{TEI} | 4769 | % how to convert \hologo{(La)TeX} commands into \texttt{TEI} |
@@ -4788,7 +4788,7 @@ many mathematical writings and to the sense of | |||
4788 | %<*example> | 4788 | %<*example> |
4789 | % \fi | 4789 | % \fi |
4790 | \begin{minted}[linenos=false]{latex} | 4790 | \begin{minted}[linenos=false]{latex} |
4791 | \TeXtoTEIPatt{\textcolor␣{#1}{#2}}{<hi rend="#1">#2</hi>} | 4791 | \TeXtoTEIPat{\textcolor␣{#1}{#2}}{<hi rend="#1">#2</hi>} |
4792 | 4792 | ||
4793 | Sample text with a \textcolor{red}{word} in red. | 4793 | Sample text with a \textcolor{red}{word} in red. |
4794 | \end{minted} | 4794 | \end{minted} |
@@ -6260,14 +6260,14 @@ Sample text with a \textcolor{red}{word} in red. | |||
6260 | % \end{macrocode} | 6260 | % \end{macrocode} |
6261 | % \end{macro} | 6261 | % \end{macro} |
6262 | % \end{macro} | 6262 | % \end{macro} |
6263 | % \begin{macro}{\TeXtoTEIPatt} | 6263 | % \begin{macro}{\TeXtoTEIPat} |
6264 | % Finally, the more flexible\---and more delicate to | 6264 | % Finally, the more flexible\---and more delicate to |
6265 | % handle\---\cs{TeXtoTEIPatt}\marg{\TeX\ | 6265 | % handle\---\cs{TeXtoTEIPat}\marg{\TeX\ |
6266 | % pattern}\allowbreak\marg{\texttt{TEI} pattern} uses pattern matching | 6266 | % pattern}\allowbreak\marg{\texttt{TEI} pattern} uses pattern matching |
6267 | % to instruct \pkg{ekdosis} how to convert \hologo{(La)TeX} commands | 6267 | % to instruct \pkg{ekdosis} how to convert \hologo{(La)TeX} commands |
6268 | % into \texttt{TEI} equivalents. | 6268 | % into \texttt{TEI} equivalents. |
6269 | % \begin{macrocode} | 6269 | % \begin{macrocode} |
6270 | \NewDocumentCommand{\TeXtoTEIPatt}{m m}{% | 6270 | \NewDocumentCommand{\TeXtoTEIPat}{m m}{% |
6271 | \luadirect{ekdosis.newpatttotag(\luastringN{#1}, \luastringN{#2})} | 6271 | \luadirect{ekdosis.newpatttotag(\luastringN{#1}, \luastringN{#2})} |
6272 | } | 6272 | } |
6273 | % \end{macrocode} | 6273 | % \end{macrocode} |