diff options
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r-- | ekdosis.dtx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index 01d9b60..502f032 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/06/08 v1.3-dev Typesetting TEI xml-compliant critical editions] | 64 | [2021/06/25 v1.3-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} |
@@ -7353,7 +7353,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
7353 | % \end{macrocode} | 7353 | % \end{macrocode} |
7354 | % \paragraph{Setup} | 7354 | % \paragraph{Setup} |
7355 | % \begin{macro}{\ekdsetup} | 7355 | % \begin{macro}{\ekdsetup} |
7356 | % \changes{v1.3}{2021/06/08}{new command for global options} | 7356 | % \changes{v1.3}{2021/06/25}{new command for global options} |
7357 | % \cs{ekdsetup} is used to specify options that affect the general | 7357 | % \cs{ekdsetup} is used to specify options that affect the general |
7358 | % behavior of \pkg{ekdosis}. It is a preamble-only command. | 7358 | % behavior of \pkg{ekdosis}. It is a preamble-only command. |
7359 | % \begin{macrocode} | 7359 | % \begin{macrocode} |
@@ -7584,7 +7584,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
7584 | % \end{macrocode} | 7584 | % \end{macrocode} |
7585 | % \end{macro} | 7585 | % \end{macro} |
7586 | % \begin{macro}{\teidirect} | 7586 | % \begin{macro}{\teidirect} |
7587 | % \changes{v1.3}{2021/06/08}{direct insertion of elements in the | 7587 | % \changes{v1.3}{2021/06/25}{direct insertion of elements in the |
7588 | % \texttt{TEI xml} file} | 7588 | % \texttt{TEI xml} file} |
7589 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} | 7589 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} |
7590 | % does nothing in \LaTeX. Its only use is to insert elements in the | 7590 | % does nothing in \LaTeX. Its only use is to insert elements in the |
@@ -7951,7 +7951,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
7951 | % \end{macrocode} | 7951 | % \end{macrocode} |
7952 | % \end{macro} | 7952 | % \end{macro} |
7953 | % \begin{macro}{\SetApparatusNoteLanguage} | 7953 | % \begin{macro}{\SetApparatusNoteLanguage} |
7954 | % \changes{v1.3}{2021/06/08}{defines an alternate language to be | 7954 | % \changes{v1.3}{2021/06/25}{defines an alternate language to be |
7955 | % applied in note apparatus entries} | 7955 | % applied in note apparatus entries} |
7956 | % \cs{SetApparatusNoteLang}\marg{languagename} can be used when | 7956 | % \cs{SetApparatusNoteLang}\marg{languagename} can be used when |
7957 | % it is needed to apply in entries introduced by the \cs{note} command | 7957 | % it is needed to apply in entries introduced by the \cs{note} command |
@@ -9870,6 +9870,7 @@ local texpatttotags = { | |||
9870 | {a="\\endmark%s+", b=""}, | 9870 | {a="\\endmark%s+", b=""}, |
9871 | {a="\\ekdpb%s+%*?%[(.-)%]{(.-)}", b=""}, | 9871 | {a="\\ekdpb%s+%*?%[(.-)%]{(.-)}", b=""}, |
9872 | {a="\\ekdpb%s+%*?{(.-)}", b=""}, | 9872 | {a="\\ekdpb%s+%*?{(.-)}", b=""}, |
9873 | {a="\\ekdpb%s+%*\\?", b=""}, | ||
9873 | {a="\\mbox%s+(%b{})", b="ekd@ob%1ekd@cb"}, | 9874 | {a="\\mbox%s+(%b{})", b="ekd@ob%1ekd@cb"}, |
9874 | {a="\\LR%s+(%b{})", b="ekd@ob%1ekd@cb"}, | 9875 | {a="\\LR%s+(%b{})", b="ekd@ob%1ekd@cb"}, |
9875 | {a="\\RL%s+(%b{})", b="ekd@ob%1ekd@cb"}, | 9876 | {a="\\RL%s+(%b{})", b="ekd@ob%1ekd@cb"}, |
@@ -11397,7 +11398,7 @@ end | |||
11397 | 11398 | ||
11398 | function ekdosis.limit_bagunits(teitype) | 11399 | function ekdosis.limit_bagunits(teitype) |
11399 | local limit = tonumber(getapplimit(teitype)) | 11400 | local limit = tonumber(getapplimit(teitype)) |
11400 | if limit >= 10 and bagunits[teitype] > limit | 11401 | if limit >= 10 and bagunits[teitype] >= limit |
11401 | then | 11402 | then |
11402 | bagunits[teitype] = 2 | 11403 | bagunits[teitype] = 2 |
11403 | return "\\pagebreak" | 11404 | return "\\pagebreak" |