aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ekdosis.dtx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 1117273..f1a59e9 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -61,7 +61,7 @@ along with this program. If not, see
61%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] 61%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
62%<package>\ProvidesPackage{ekdosis} 62%<package>\ProvidesPackage{ekdosis}
63%<*package> 63%<*package>
64 [2021/12/11 v1.5-dev Typesetting TEI xml-compliant critical editions] 64 [2021/12/14 v1.5-dev Typesetting TEI xml-compliant critical editions]
65%</package> 65%</package>
66%<*driver> 66%<*driver>
67\begin{filecontents}[noheader,overwrite]{bibdata.xml} 67\begin{filecontents}[noheader,overwrite]{bibdata.xml}
@@ -7758,7 +7758,7 @@ Sample text with a \textcolor{red}{word} in red.
7758% \end{macrocode} 7758% \end{macrocode}
7759% \paragraph{\textsf{ekdosis} Symbol} 7759% \paragraph{\textsf{ekdosis} Symbol}
7760% \begin{macro}{\eKd} 7760% \begin{macro}{\eKd}
7761% \changes{v1.5}{2021/12/11}{Prints \textsf{ekdosis} indentifying 7761% \changes{v1.5}{2021/12/14}{Prints \textsf{ekdosis} indentifying
7762% symbol} As of v1.5, \pkg{ekdosis} has its own indentifying 7762% symbol} As of v1.5, \pkg{ekdosis} has its own indentifying
7763% symbol. It is produced by \cs{eKd} and best printed with the Old 7763% symbol. It is produced by \cs{eKd} and best printed with the Old
7764% Standard Greek font. 7764% Standard Greek font.
@@ -10696,9 +10696,9 @@ end
10696local function remove_extra_anchors(str) 10696local function remove_extra_anchors(str)
10697 str = gsub(str, lpeg.Cs("</note>") * inanchor * inopeningnote, function(enote, anchor, bnote) 10697 str = gsub(str, lpeg.Cs("</note>") * inanchor * inopeningnote, function(enote, anchor, bnote)
10698 local id_one = string.gsub(anchor, "(%<anchor )(.-)(/%>)", "%2") 10698 local id_one = string.gsub(anchor, "(%<anchor )(.-)(/%>)", "%2")
10699 id_one = string.sub(get_attr_value(id_one, "xml:id"), 2, -2) 10699 id_one = string.sub(get_attr_value(tostring(id_one), "xml:id"), 2, -2)
10700 local id_two = string.match(bnote, "target%=.-right%((.-)%)") 10700 local id_two = string.match(bnote, "target%=.-right%((.-)%)")
10701 id_two = string.gsub(id_two, ".-right%((.-)%)", "%1") 10701 id_two = string.gsub(tostring(id_two), ".-right%((.-)%)", "%1")
10702 if id_one == id_two 10702 if id_one == id_two
10703 then 10703 then
10704 return string.format("%s%s", enote, bnote) 10704 return string.format("%s%s", enote, bnote)