aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2021-08-18 10:24:51 +0200
committerRobert Alessi <alessi@robertalessi.net>2021-08-18 10:24:51 +0200
commitb4e0129a4260291c84b2ec583d1545452a6b574b (patch)
treed4c6b4655730d0e4694bf3a3b23bc0327e6c5d07
parentbb117c1604154c6b341b4499ccef84e1f575ca0b (diff)
downloadekdosis-b4e0129a4260291c84b2ec583d1545452a6b574b.tar.gz
a few corrections. this is v1.3
-rw-r--r--ekdosis.dtx49
1 files changed, 29 insertions, 20 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 3e6ba5f..a429ee2 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/08/17 v1.3 Typesetting TEI xml-compliant critical editions] 64 [2021/08/18 v1.3 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}
@@ -4804,8 +4804,9 @@ substantiall fewell,}
4804% \pkg{babel},\footcite[See][3.2 \pno~14]{polyglossia} the general 4804% \pkg{babel},\footcite[See][3.2 \pno~14]{polyglossia} the general
4805% advice given above in \vref{sec:alignment-hooks} applies in all 4805% advice given above in \vref{sec:alignment-hooks} applies in all
4806% cases. As regards setting languages in the \texttt{TEI xml} output 4806% cases. As regards setting languages in the \texttt{TEI xml} output
4807% file, the reader is invited to refer to point \vref{it:lang-subopt} 4807% file, the reader is invited to refer to point \vref{it:lang-subopt},
4808% and \vref{sec:teixml-output}. 4808% and \vref{sec:teixml-output} including the example provided
4809% \vpageref{ref:ancientgreek-ex}.
4809% 4810%
4810% \danger In some cases, it may be needed to apply in the apparatus 4811% \danger In some cases, it may be needed to apply in the apparatus
4811% criticus a language different from the one that is selected in the 4812% criticus a language different from the one that is selected in the
@@ -5284,7 +5285,7 @@ subtype="arabtex">'inna 'abI kAna mina
5284% being |1| and the smallest being |9|.\\ 5285% being |1| and the smallest being |9|.\\
5285% \DescribeOption{toc} 5286% \DescribeOption{toc}
5286% |toc|$=$\verb+book|part|chapter|section|subsection|subsubsection|paragraph|+\\ 5287% |toc|$=$\verb+book|part|chapter|section|subsection|subsubsection|paragraph|+\\
5287% |subparagraph|\hfill\tcboxverb{Default: not set}\\ 5288% \phantom{|toc|$=$}|subparagraph|\hfill\tcboxverb{Default: not set}\\
5288% If |toc| be set, the title of the division goes into the table of 5289% If |toc| be set, the title of the division goes into the table of
5289% contents at the hierarchic level that is specified as value.\\ 5290% contents at the hierarchic level that is specified as value.\\
5290% \DescribeOption{mark} \newfeature[v1.3] |mark|$=$\meta{signpost} 5291% \DescribeOption{mark} \newfeature[v1.3] |mark|$=$\meta{signpost}
@@ -6208,7 +6209,8 @@ many mathematical writings and to the sense of
6208% example illustrates how \cs{EnvtoTEI} can be used conjointly with 6209% example illustrates how \cs{EnvtoTEI} can be used conjointly with
6209% \pkg{babel} to convey information about the languages used from 6210% \pkg{babel} to convey information about the languages used from
6210% \LaTeX\ to \texttt{TEI}:--- 6211% \LaTeX\ to \texttt{TEI}:---
6211% 6212%
6213% \phts\label{ref:ancientgreek-ex}
6212% \iffalse 6214% \iffalse
6213%<*example> 6215%<*example>
6214% \fi 6216% \fi
@@ -7651,7 +7653,7 @@ Sample text with a \textcolor{red}{word} in red.
7651% \end{macrocode} 7653% \end{macrocode}
7652% \paragraph{Setup} 7654% \paragraph{Setup}
7653% \begin{macro}{\ekdsetup} 7655% \begin{macro}{\ekdsetup}
7654% \changes{v1.3}{2021/08/17}{new command for global options} 7656% \changes{v1.3}{2021/08/18}{new command for global options}
7655% \cs{ekdsetup} is used to specify options that affect the general 7657% \cs{ekdsetup} is used to specify options that affect the general
7656% behavior of \pkg{ekdosis}. It is a preamble-only command. 7658% behavior of \pkg{ekdosis}. It is a preamble-only command.
7657% \begin{macrocode} 7659% \begin{macrocode}
@@ -7674,7 +7676,7 @@ Sample text with a \textcolor{red}{word} in red.
7674% \texttt{lemmastyle}} 7676% \texttt{lemmastyle}}
7675% \changes{v1.2}{2021/04/02}{general hooks: new option 7677% \changes{v1.2}{2021/04/02}{general hooks: new option
7676% \texttt{readingstyle}} 7678% \texttt{readingstyle}}
7677% \changes{v1.3}{2021/08/17}{general hooks: new options 7679% \changes{v1.3}{2021/08/18}{general hooks: new options
7678% \texttt{keyparopts} and \texttt{appheight}} 7680% \texttt{keyparopts} and \texttt{appheight}}
7679% \begin{macrocode} 7681% \begin{macrocode}
7680\ekvdefinekeys{ekd@hooks}{ 7682\ekvdefinekeys{ekd@hooks}{
@@ -7895,7 +7897,7 @@ Sample text with a \textcolor{red}{word} in red.
7895% \end{macrocode} 7897% \end{macrocode}
7896% \end{macro} 7898% \end{macro}
7897% \begin{macro}{\teidirect} 7899% \begin{macro}{\teidirect}
7898% \changes{v1.3}{2021/08/17}{direct insertion of elements in the 7900% \changes{v1.3}{2021/08/18}{direct insertion of elements in the
7899% \texttt{TEI xml} file} 7901% \texttt{TEI xml} file}
7900% \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} 7902% \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code}
7901% does nothing in \LaTeX. Its only use is to insert elements in the 7903% does nothing in \LaTeX. Its only use is to insert elements in the
@@ -8188,11 +8190,11 @@ Sample text with a \textcolor{red}{word} in red.
8188 initial rule = \rule{0.4\columnwidth}{0.4pt}, 8190 initial rule = \rule{0.4\columnwidth}{0.4pt},
8189 noval norule = \def\ekd@default@rule{\mbox{}}, 8191 noval norule = \def\ekd@default@rule{\mbox{}},
8190 store lang = \ekd@singleapp@lang, 8192 store lang = \ekd@singleapp@lang,
8191 initial lang = \ltx@ifpackageloaded{babel}{\languagename}{}% 8193 initial lang = \ltx@ifpackageloaded{babel}{\languagename}{%
8192 \ltx@ifpackageloaded{polyglossia}{\languagename}{}, 8194 \ltx@ifpackageloaded{polyglossia}{\languagename}{}},
8193 store notelang = \ekd@singleapp@note@lang, 8195 store notelang = \ekd@singleapp@note@lang,
8194 initial notelang = \ltx@ifpackageloaded{babel}{\languagename}{}% 8196 initial notelang = \ltx@ifpackageloaded{babel}{\languagename}{%
8195 \ltx@ifpackageloaded{polyglossia}{\languagename}{} 8197 \ltx@ifpackageloaded{polyglossia}{\languagename}{}}
8196} 8198}
8197% \end{macrocode} 8199% \end{macrocode}
8198% \begin{macro}{\SetApparatus} 8200% \begin{macro}{\SetApparatus}
@@ -8262,7 +8264,7 @@ Sample text with a \textcolor{red}{word} in red.
8262% \end{macrocode} 8264% \end{macrocode}
8263% \end{macro} 8265% \end{macro}
8264% \begin{macro}{\SetApparatusNoteLanguage} 8266% \begin{macro}{\SetApparatusNoteLanguage}
8265% \changes{v1.3}{2021/08/17}{defines an alternate language to be 8267% \changes{v1.3}{2021/08/18}{defines an alternate language to be
8266% applied in note apparatus entries} 8268% applied in note apparatus entries}
8267% \cs{SetApparatusNoteLang}\marg{languagename} can be used when 8269% \cs{SetApparatusNoteLang}\marg{languagename} can be used when
8268% it is needed to apply in entries introduced by the \cs{note} command 8270% it is needed to apply in entries introduced by the \cs{note} command
@@ -8346,8 +8348,11 @@ Sample text with a \textcolor{red}{word} in red.
8346% apparatus criticus, a conditional is first defined. 8348% apparatus criticus, a conditional is first defined.
8347% \begin{macrocode} 8349% \begin{macrocode}
8348\newif\ifekd@inside@app 8350\newif\ifekd@inside@app
8351% \end{macrocode}
8352% Then \cs{ekd@fitapp} is defined for |layout=fitapp|:---
8353% \begin{macrocode}
8349\if@pkg@fitfloat 8354\if@pkg@fitfloat
8350 \newtcboxfit{\ekdfitapp}{% 8355 \newtcboxfit{\ekd@fitapp}{%
8351 blankest, 8356 blankest,
8352 fit basedim = \f@size pt, 8357 fit basedim = \f@size pt,
8353 fit fontsize macros, 8358 fit fontsize macros,
@@ -8355,6 +8360,10 @@ Sample text with a \textcolor{red}{word} in red.
8355 fit algorithm = \ekd@fit@algorithm, 8360 fit algorithm = \ekd@fit@algorithm,
8356 float=!b} 8361 float=!b}
8357\fi 8362\fi
8363% \end{macrocode}
8364% Finally two commands are used to actually insert the apparatus
8365% depending on the value set in the |layout| global option.
8366% \begin{macrocode}
8358\long\def\ekd@insert@apparatus{% 8367\long\def\ekd@insert@apparatus{%
8359 \unless\ifekd@mapps 8368 \unless\ifekd@mapps
8360 \ifrtl@app\pardir TRT\leavevmode\textdir TRT\else 8369 \ifrtl@app\pardir TRT\leavevmode\textdir TRT\else
@@ -8410,7 +8419,7 @@ Sample text with a \textcolor{red}{word} in red.
8410 \ekd@insert@keyparapp 8419 \ekd@insert@keyparapp
8411 \fi 8420 \fi
8412 \if@pkg@fitfloat 8421 \if@pkg@fitfloat
8413 \ekdfitapp{\ekd@insert@apparatus}% 8422 \ekd@fitapp{\ekd@insert@apparatus}%
8414 \fi 8423 \fi
8415} 8424}
8416% \end{macrocode} 8425% \end{macrocode}
@@ -9524,7 +9533,7 @@ Sample text with a \textcolor{red}{word} in red.
9524% \end{macrocode} 9533% \end{macrocode}
9525% \end{macro} 9534% \end{macro}
9526% \begin{macro}{\endmark} 9535% \begin{macro}{\endmark}
9527% \changes{v1.3}{2021/08/17}{prints the last-emitted mark of the 9536% \changes{v1.3}{2021/08/18}{prints the last-emitted mark of the
9528% preceding page} 9537% preceding page}
9529% By default, \cs{ekdmark} described below prints the first mark 9538% By default, \cs{ekdmark} described below prints the first mark
9530% that is emitted on a given page and ignores the mark corresponding 9539% that is emitted on a given page and ignores the mark corresponding
@@ -9546,7 +9555,7 @@ Sample text with a \textcolor{red}{word} in red.
9546% \end{macrocode} 9555% \end{macrocode}
9547% \end{macro} 9556% \end{macro}
9548% \begin{macro}{\edkmark} 9557% \begin{macro}{\edkmark}
9549% \changes{v1.3}{2021/08/17}{prints marks in headers or footers} 9558% \changes{v1.3}{2021/08/18}{prints marks in headers or footers}
9550% \cs{ekdmark} is an argument-less command called in commands used to 9559% \cs{ekdmark} is an argument-less command called in commands used to
9551% make headers and footers where the marks stored by means of the 9560% make headers and footers where the marks stored by means of the
9552% |mark| optional argument of \cs{ekddiv} are to be printed. 9561% |mark| optional argument of \cs{ekddiv} are to be printed.
@@ -9557,7 +9566,7 @@ Sample text with a \textcolor{red}{word} in red.
9557% \end{macrocode} 9566% \end{macrocode}
9558% \end{macro} 9567% \end{macro}
9559% \begin{macro}{\ekdprintmark} 9568% \begin{macro}{\ekdprintmark}
9560% \changes{v1.3}{2021/08/17}{prints or removes the marks in headers 9569% \changes{v1.3}{2021/08/18}{prints or removes the marks in headers
9561% and footers} \cs{ekdprintmark}\marg{selector}\marg{signpost} The 9570% and footers} \cs{ekdprintmark}\marg{selector}\marg{signpost} The
9562% signposts printed in headers and footers must be 9571% signposts printed in headers and footers must be
9563% passed as second argument of \cs{ekdprintmark} so that \pkg{ekdosis} 9572% passed as second argument of \cs{ekdprintmark} so that \pkg{ekdosis}
@@ -9595,7 +9604,7 @@ Sample text with a \textcolor{red}{word} in red.
9595% \end{macrocode} 9604% \end{macrocode}
9596% \end{macro} 9605% \end{macro}
9597% \begin{macro}{\ekdnofhmarks} 9606% \begin{macro}{\ekdnofhmarks}
9598% \changes{v1.3}{2021/08/17}{removes headers and footers on specific 9607% \changes{v1.3}{2021/08/18}{removes headers and footers on specific
9599% pages} Once the signposts are marked with \cs{ekdprintmark}, 9608% pages} Once the signposts are marked with \cs{ekdprintmark},
9600% \cs{ekdnohfmarks} has the same effect as the \LaTeX\ standard 9609% \cs{ekdnohfmarks} has the same effect as the \LaTeX\ standard
9601% command \cs{thispagestyle}|{empty}|. 9610% command \cs{thispagestyle}|{empty}|.
@@ -9606,7 +9615,7 @@ Sample text with a \textcolor{red}{word} in red.
9606% \end{macrocode} 9615% \end{macrocode}
9607% \end{macro} 9616% \end{macro}
9608% \begin{macro}{\ekdresethfmarks} 9617% \begin{macro}{\ekdresethfmarks}
9609% \changes{v1.3}{2021/08/17}{marks headers and footers as printable} 9618% \changes{v1.3}{2021/08/18}{marks headers and footers as printable}
9610% \cs{ekdresethfmarks} can be used in rare cases when it is needed to 9619% \cs{ekdresethfmarks} can be used in rare cases when it is needed to
9611% reset headers and footers to their original, viz.\ printable state. 9620% reset headers and footers to their original, viz.\ printable state.
9612% \begin{macrocode} 9621% \begin{macrocode}