From 863ad49de9f09ea0a567ac800725c2e56244967e Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sun, 16 Jan 2022 17:19:25 +0100 Subject: Allow xml:ids to start with chars above #127 (eg. Greek letters). Fixed unwanted space after empty \rdg. --- ekdosis.dtx | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index c8f3850..a5d40be 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -61,7 +61,7 @@ along with this program. If not, see %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{ekdosis} %<*package> - [2022/01/15 v1.5-dev Typesetting TEI xml-compliant critical editions] + [2022/01/16 v1.5-dev Typesetting TEI xml-compliant critical editions] % %<*driver> \begin{filecontents}[noheader,overwrite]{bibdata.xml} @@ -7943,11 +7943,11 @@ Sample text with a \textcolor{red}{word} in red. % % \section{Implementation} % \label{sec:implementation} -% +% % \iffalse %<*package> % \fi -% +% % \pkg{ekdosis} relies on Lua functions and tables. Read the % |.lua| files that accompany \pkg{ekdosis} for more % information. @@ -8063,7 +8063,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \paragraph{\textsf{ekdosis} Symbol} % \begin{macro}{\eKd} -% \changes{v1.5}{2022/01/15}{Prints \textsf{ekdosis} indentifying +% \changes{v1.5}{2022/01/16}{Prints \textsf{ekdosis} indentifying % symbol} As of v1.5, \pkg{ekdosis} has its own identifying % symbol. It is produced by \cs{eKd} and best printed with the Old % Standard Greek font. @@ -8324,7 +8324,7 @@ Sample text with a \textcolor{red}{word} in red. % \begin{macro}{\teidirectE} % \changes{v1.3}{2021/08/18}{direct insertion of elements in the % \texttt{TEI xml} file} -% \changes{v1.5}{2022/01/15}{direct insertion of empty elements in the +% \changes{v1.5}{2022/01/16}{direct insertion of empty elements in the % \texttt{TEI xml} file} % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} % does nothing in \LaTeX. It is only used to insert elements in the @@ -8339,7 +8339,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macro} % \end{macro} % \begin{macro}{\getTEIxmlid} -% \changes{v1.5}{2022/01/15}{returns \texttt{TEI xml:ids} from a +% \changes{v1.5}{2022/01/16}{returns \texttt{TEI xml:ids} from a % csv-list of ids} This command returns from a csv-list of unique % identifiers declared in commands such as \cs{DeclareWitness} and the % like a space-separated list of their corresponding |xml:id|s, each @@ -9523,13 +9523,13 @@ Sample text with a \textcolor{red}{word} in red. % \ifekdr@nordg\append@app{}\else% do we need \append@app{} here? If % % so, keep in mind \ifekd@mapps, % like so: - \ifekdr@nordg% - \ifekd@mapps% - \append@app[\ekdan@type]{}% - \else% - \append@app{}% - \fi% - \else% + \ifekdr@nordg + \ifekd@mapps + \append@app[\ekdan@type]{\ekdunspace}% + \else + \append@app{\ekdunspace}% + \fi + \else \ifbool{al@rlmode}{% \edef\rdg@app{% \ifekd@subsq@rdg @@ -9915,7 +9915,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macro} % \paragraph{Lacunae} % \begin{macro}{\ilabel} -% \changes{v1.5}{2022/01/15}{recalls and sets the ending label of +% \changes{v1.5}{2022/01/16}{recalls and sets the ending label of % lemmas used to mark lacunae in witnesses} When \cs{lem} has been % used with the optional argument |ilabel=