aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--ekdosis.dtx38
2 files changed, 23 insertions, 23 deletions
diff --git a/Makefile b/Makefile
index 8839dac..0772401 100644
--- a/Makefile
+++ b/Makefile
@@ -66,16 +66,16 @@ pandoc:
66 66
67auctex: 67auctex:
68 emacs --batch -f batch-byte-compile ekdosis.el &>/dev/null 68 emacs --batch -f batch-byte-compile ekdosis.el &>/dev/null
69 if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/auto" ]; then \ 69 if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/style" ]; then \
70 mkdir -p $(HOMEDIR)/.emacs.d/auctex/auto; \ 70 mkdir -p $(HOMEDIR)/.emacs.d/auctex/style; \
71 fi 71 fi
72 cp $(NAME)*.{el,elc} $(HOMEDIR)/.emacs.d/auctex/auto 72 cp $(NAME)*.{el,elc} $(HOMEDIR)/.emacs.d/auctex/style
73 73
74distclean: clean uninst 74distclean: clean uninst
75 75
76uninst: 76uninst:
77 rm -rf $(UTREE)/{tex,source,doc}/lualatex/$(NAME) 77 rm -rf $(UTREE)/{tex,source,doc}/lualatex/$(NAME)
78 rm -rf $(HOMEDIR)/.emacs.d/auctex/auto/$(NAME).{el,elc} 78 rm -rf $(HOMEDIR)/.emacs.d/auctex/style/$(NAME).{el,elc}
79 79
80inst: uninst auctex all 80inst: uninst auctex all
81 @ echo "Installing $(NAME) locally" 81 @ echo "Installing $(NAME) locally"
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 95c7e1f..7ba58b9 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -59,7 +59,7 @@ Alessi <alessi@robertalessi.net>
59%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] 59%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
60%<package>\ProvidesPackage{ekdosis} 60%<package>\ProvidesPackage{ekdosis}
61%<*package> 61%<*package>
62 [2023/01/24 v1.5-dev Typesetting TEI xml-compliant critical editions] 62 [2023/03/25 v1.5-dev Typesetting TEI xml-compliant critical editions]
63%</package> 63%</package>
64%<*driver> 64%<*driver>
65\begin{filecontents}[noheader,overwrite]{bibdata.xml} 65\begin{filecontents}[noheader,overwrite]{bibdata.xml}
@@ -6431,7 +6431,7 @@ subtype="arabtex">'inna 'abI kAna mina
6431% CTAN: 6431% CTAN:
6432% \url{https://ctan.org/tex-archive/macros/luatex/latex/ekdosis} 6432% \url{https://ctan.org/tex-archive/macros/luatex/latex/ekdosis}
6433% \item Copy this file to 6433% \item Copy this file to
6434% |$HOME/.emacs.d/auctex/auto/|\footnote{This directory must be 6434% |$HOME/.emacs.d/auctex/style/|\footnote{This directory must be
6435% created if need be.}\saveFN\fnAUCTeX\ where |$HOME| stands 6435% created if need be.}\saveFN\fnAUCTeX\ where |$HOME| stands
6436% for the directory of the current user. 6436% for the directory of the current user.
6437% \end{enumerate} 6437% \end{enumerate}
@@ -6444,7 +6444,7 @@ subtype="arabtex">'inna 'abI kAna mina
6444% repository 6444% repository
6445% (\url{https://git.sr.ht/~ralessi/ekdosis/blob/master/ekdosis.el}). 6445% (\url{https://git.sr.ht/~ralessi/ekdosis/blob/master/ekdosis.el}).
6446% \item Copy this file to 6446% \item Copy this file to
6447% |$HOME/.emacs.d/auctex/auto/|\useFN\fnAUCTeX\ where |$HOME| 6447% |$HOME/.emacs.d/auctex/style/|\useFN\fnAUCTeX\ where |$HOME|
6448% stands for the directory of the current user. 6448% stands for the directory of the current user.
6449% \end{enumerate} 6449% \end{enumerate}
6450% \end{description} 6450% \end{description}
@@ -8024,7 +8024,7 @@ Sample text with a \textcolor{red}{word} in red.
8024% \end{macrocode} 8024% \end{macrocode}
8025% \paragraph{\textsf{ekdosis} Symbol} 8025% \paragraph{\textsf{ekdosis} Symbol}
8026% \begin{macro}{\eKd} 8026% \begin{macro}{\eKd}
8027% \changes{v1.5}{2023/01/24}{Prints \textsf{ekdosis} indentifying 8027% \changes{v1.5}{2023/03/25}{Prints \textsf{ekdosis} indentifying
8028% symbol} As of v1.5, \pkg{ekdosis} has its own identifying 8028% symbol} As of v1.5, \pkg{ekdosis} has its own identifying
8029% symbol. It is produced by \cs{eKd} and best printed with the Old 8029% symbol. It is produced by \cs{eKd} and best printed with the Old
8030% Standard Greek font. 8030% Standard Greek font.
@@ -8287,7 +8287,7 @@ Sample text with a \textcolor{red}{word} in red.
8287% \begin{macro}{\teidirectE} 8287% \begin{macro}{\teidirectE}
8288% \changes{v1.3}{2021/08/18}{direct insertion of elements in the 8288% \changes{v1.3}{2021/08/18}{direct insertion of elements in the
8289% \texttt{TEI xml} file} 8289% \texttt{TEI xml} file}
8290% \changes{v1.5}{2023/01/24}{direct insertion of empty elements in the 8290% \changes{v1.5}{2023/03/25}{direct insertion of empty elements in the
8291% \texttt{TEI xml} file} 8291% \texttt{TEI xml} file}
8292% \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} 8292% \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code}
8293% does nothing in \LaTeX. It is only used to insert elements in the 8293% does nothing in \LaTeX. It is only used to insert elements in the
@@ -8302,7 +8302,7 @@ Sample text with a \textcolor{red}{word} in red.
8302% \end{macro} 8302% \end{macro}
8303% \end{macro} 8303% \end{macro}
8304% \begin{macro}{\getTEIxmlid} 8304% \begin{macro}{\getTEIxmlid}
8305% \changes{v1.5}{2023/01/24}{returns \texttt{TEI xml:ids} from a 8305% \changes{v1.5}{2023/03/25}{returns \texttt{TEI xml:ids} from a
8306% csv-list of ids} This command returns from a csv-list of unique 8306% csv-list of ids} This command returns from a csv-list of unique
8307% identifiers declared in commands such as \cs{DeclareWitness} and the 8307% identifiers declared in commands such as \cs{DeclareWitness} and the
8308% like a space-separated list of their corresponding |xml:id|s, each 8308% like a space-separated list of their corresponding |xml:id|s, each
@@ -8778,7 +8778,7 @@ Sample text with a \textcolor{red}{word} in red.
8778\newlength{\ekd@app@localheight} 8778\newlength{\ekd@app@localheight}
8779% \end{macrocode} 8779% \end{macrocode}
8780% \begin{macro}{\localappheight} 8780% \begin{macro}{\localappheight}
8781% \changes{v1.5}{2023/01/24}{changes the height of the apparatus 8781% \changes{v1.5}{2023/03/25}{changes the height of the apparatus
8782% criticus} 8782% criticus}
8783% \cs{localappheight}\marg{dimen} can be used to change locally the 8783% \cs{localappheight}\marg{dimen} can be used to change locally the
8784% length of \cs{ekd@app@height} set by the |appheight| option of 8784% length of \cs{ekd@app@height} set by the |appheight| option of
@@ -8797,7 +8797,7 @@ Sample text with a \textcolor{red}{word} in red.
8797% \end{macrocode} 8797% \end{macrocode}
8798% \end{macro} 8798% \end{macro}
8799% \begin{macro}{\addtoappheight} 8799% \begin{macro}{\addtoappheight}
8800% \changes{v1.5}{2023/01/24}{increases or decreases the height of the 8800% \changes{v1.5}{2023/03/25}{increases or decreases the height of the
8801% apparatus criticus} 8801% apparatus criticus}
8802% As the name suggests, in contrast to \cs{localappheight}, 8802% As the name suggests, in contrast to \cs{localappheight},
8803% \cs{addtoappheight}\marg{dimen} is used to increase or decrease 8803% \cs{addtoappheight}\marg{dimen} is used to increase or decrease
@@ -9083,7 +9083,7 @@ Sample text with a \textcolor{red}{word} in red.
9083% The following commands are provided to set and control the maximum 9083% The following commands are provided to set and control the maximum
9084% number of lines printed on each page. 9084% number of lines printed on each page.
9085% \begin{macro}{\setmaxlines} 9085% \begin{macro}{\setmaxlines}
9086% \changes{v1.5}{2023/01/24}{limits the number of lines per page} 9086% \changes{v1.5}{2023/03/25}{limits the number of lines per page}
9087% \cs{setmaxlines}\marg{n}, where \meta{n} is a positive integer 9087% \cs{setmaxlines}\marg{n}, where \meta{n} is a positive integer
9088% $\geq 1$, can be used either in the preamble or at any point of the 9088% $\geq 1$, can be used either in the preamble or at any point of the
9089% document to set the maximum number of lines to be printed on each 9089% document to set the maximum number of lines to be printed on each
@@ -9094,7 +9094,7 @@ Sample text with a \textcolor{red}{word} in red.
9094% \end{macrocode} 9094% \end{macrocode}
9095% \end{macro} 9095% \end{macro}
9096% \begin{macro}{\localmaxlines} 9096% \begin{macro}{\localmaxlines}
9097% \changes{v1.5}{2023/01/24}{changes the maximum number of lines 9097% \changes{v1.5}{2023/03/25}{changes the maximum number of lines
9098% locally} 9098% locally}
9099% Once a maximum number of lines per page has been set, 9099% Once a maximum number of lines per page has been set,
9100% \cs{localmaxlines}\marg{n} can be used to adjust this number on a 9100% \cs{localmaxlines}\marg{n} can be used to adjust this number on a
@@ -9107,7 +9107,7 @@ Sample text with a \textcolor{red}{word} in red.
9107% \end{macrocode} 9107% \end{macrocode}
9108% \end{macro} 9108% \end{macro}
9109% \begin{macro}{\addtomaxlines} 9109% \begin{macro}{\addtomaxlines}
9110% \changes{v1.5}{2023/01/24}{adds or subtracts lines from a given page} 9110% \changes{v1.5}{2023/03/25}{adds or subtracts lines from a given page}
9111% Unlike \cs{localmaxlines}, \cs{addtomaxlines}\meta{n} takes as 9111% Unlike \cs{localmaxlines}, \cs{addtomaxlines}\meta{n} takes as
9112% argument the number of lines one wishes to add or substract from the 9112% argument the number of lines one wishes to add or substract from the
9113% number that has been set by \cs{setmaxlines}. As a result, \meta{n} 9113% number that has been set by \cs{setmaxlines}. As a result, \meta{n}
@@ -9120,7 +9120,7 @@ Sample text with a \textcolor{red}{word} in red.
9120% \end{macrocode} 9120% \end{macrocode}
9121% \end{macro} 9121% \end{macro}
9122% \begin{macro}{\nomaxlines} 9122% \begin{macro}{\nomaxlines}
9123% \changes{v1.5}{2023/01/24}{unsets \cs{setmaxlines}} 9123% \changes{v1.5}{2023/03/25}{unsets \cs{setmaxlines}}
9124% \cs{nomaxlines} unsets any limit previously set by \cs{setmaxlines}. 9124% \cs{nomaxlines} unsets any limit previously set by \cs{setmaxlines}.
9125% \begin{macrocode} 9125% \begin{macrocode}
9126\def\nomaxlines{\luadirect{tex.sprint(ekdosis.resetlocalmaxlines())}} 9126\def\nomaxlines{\luadirect{tex.sprint(ekdosis.resetlocalmaxlines())}}
@@ -9184,7 +9184,7 @@ Sample text with a \textcolor{red}{word} in red.
9184% \end{macrocode} 9184% \end{macrocode}
9185% \end{macro} 9185% \end{macro}
9186% \begin{macro}{\App} 9186% \begin{macro}{\App}
9187% \changes{v1.5}{2023/01/24}{To be used conjointly with 9187% \changes{v1.5}{2023/03/25}{To be used conjointly with
9188% \texttt{ekdosis.el}} 9188% \texttt{ekdosis.el}}
9189% In contrast to \cs{app}, \cs{App} takes two mandatory arguments and 9189% In contrast to \cs{app}, \cs{App} takes two mandatory arguments and
9190% accepts one optional argument like so: 9190% accepts one optional argument like so:
@@ -10068,7 +10068,7 @@ Sample text with a \textcolor{red}{word} in red.
10068% \end{macro} 10068% \end{macro}
10069% \paragraph{Lacunae} 10069% \paragraph{Lacunae}
10070% \begin{macro}{\ilabel} 10070% \begin{macro}{\ilabel}
10071% \changes{v1.5}{2023/01/24}{recalls and sets the ending label of 10071% \changes{v1.5}{2023/03/25}{recalls and sets the ending label of
10072% lemmas used to mark lacunae in witnesses} When \cs{lem} has been 10072% lemmas used to mark lacunae in witnesses} When \cs{lem} has been
10073% used with the optional argument |ilabel=<label>|, 10073% used with the optional argument |ilabel=<label>|,
10074% \cs{ilabel}\marg{label} must be used to mark the point where the 10074% \cs{ilabel}\marg{label} must be used to mark the point where the
@@ -10384,7 +10384,7 @@ Sample text with a \textcolor{red}{word} in red.
10384% \end{macrocode} 10384% \end{macrocode}
10385% \end{macro} 10385% \end{macro}
10386% \begin{macro}{\ekdEOprint} 10386% \begin{macro}{\ekdEOprint}
10387% \changes{v1.5}{2023/01/24}{Sets headers and footers on 10387% \changes{v1.5}{2023/03/25}{Sets headers and footers on
10388% \enquote{paired} facing pages} 10388% \enquote{paired} facing pages}
10389% To set headers and footers on \enquote{paired} facing pages, 10389% To set headers and footers on \enquote{paired} facing pages,
10390% \cs{ekdEOprint} accepts two mandatory, self-evident arguments, like 10390% \cs{ekdEOprint} accepts two mandatory, self-evident arguments, like
@@ -10424,7 +10424,7 @@ Sample text with a \textcolor{red}{word} in red.
10424% counter to set the value of the page numbers. This counter should be 10424% counter to set the value of the page numbers. This counter should be
10425% incremented every two pages. 10425% incremented every two pages.
10426% \begin{counter}{pairedpage} 10426% \begin{counter}{pairedpage}
10427% \changes{v1.5}{2023/01/24}{A counter incremented every two pages} 10427% \changes{v1.5}{2023/03/25}{A counter incremented every two pages}
10428% |pairedpage| is first set as a global counter:--- 10428% |pairedpage| is first set as a global counter:---
10429% \begin{macrocode} 10429% \begin{macrocode}
10430\newcounter{pairedpage} 10430\newcounter{pairedpage}
@@ -10432,19 +10432,19 @@ Sample text with a \textcolor{red}{word} in red.
10432% \end{macrocode} 10432% \end{macrocode}
10433% \end{counter} 10433% \end{counter}
10434% \begin{macro}{\setpairedpagenum} 10434% \begin{macro}{\setpairedpagenum}
10435% \changes{v1.5}{2023/01/24}{sets the same page number on paired 10435% \changes{v1.5}{2023/03/25}{sets the same page number on paired
10436% pages} \cs{setpairedpagenum}\marg{number} is used just ahead of 10436% pages} \cs{setpairedpagenum}\marg{number} is used just ahead of
10437% the alignment environment to set the number of the first left-hand 10437% the alignment environment to set the number of the first left-hand
10438% paired page. 10438% paired page.
10439% \begin{macro}{\setpairedpage} 10439% \begin{macro}{\setpairedpage}
10440% \changes{v1.5}{2023/01/24}{sets the page number of the first paired 10440% \changes{v1.5}{2023/03/25}{sets the page number of the first paired
10441% page} \cs{setpairedpage} is an argument-less command meant to be 10441% page} \cs{setpairedpage} is an argument-less command meant to be
10442% issued in commands used to set headers or footers before 10442% issued in commands used to set headers or footers before
10443% \cs{thepage}. This command has the counter |pairedpage| 10443% \cs{thepage}. This command has the counter |pairedpage|
10444% incremented on right-hand pages only, and sets |page| $\leftarrow$ 10444% incremented on right-hand pages only, and sets |page| $\leftarrow$
10445% |pairedpage| on every page. 10445% |pairedpage| on every page.
10446% \begin{macro}{\resetpagenumber} 10446% \begin{macro}{\resetpagenumber}
10447% \changes{v1.5}{2023/01/24}{resets normal running page numbers} 10447% \changes{v1.5}{2023/03/25}{resets normal running page numbers}
10448% \cs{resetpagenumber} must be used right out of \enquote{mirrored} 10448% \cs{resetpagenumber} must be used right out of \enquote{mirrored}
10449% paired pages alignment environments. This argument-less command 10449% paired pages alignment environments. This argument-less command
10450% corrects any numbering error on the page following the edition 10450% corrects any numbering error on the page following the edition