From 6bd23e94ef2b1b35e6ac5ae81a8dc100e01209f0 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sat, 25 Mar 2023 09:35:43 +0100 Subject: .el style files have to go into /home/robert/.emacs.d/auctex/style --- Makefile | 8 ++++---- ekdosis.dtx | 38 +++++++++++++++++++------------------- 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: auctex: emacs --batch -f batch-byte-compile ekdosis.el &>/dev/null - if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/auto" ]; then \ - mkdir -p $(HOMEDIR)/.emacs.d/auctex/auto; \ + if [ ! -d "$(HOMEDIR)/.emacs.d/auctex/style" ]; then \ + mkdir -p $(HOMEDIR)/.emacs.d/auctex/style; \ fi - cp $(NAME)*.{el,elc} $(HOMEDIR)/.emacs.d/auctex/auto + cp $(NAME)*.{el,elc} $(HOMEDIR)/.emacs.d/auctex/style distclean: clean uninst uninst: rm -rf $(UTREE)/{tex,source,doc}/lualatex/$(NAME) - rm -rf $(HOMEDIR)/.emacs.d/auctex/auto/$(NAME).{el,elc} + rm -rf $(HOMEDIR)/.emacs.d/auctex/style/$(NAME).{el,elc} inst: uninst auctex all @ 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 %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{ekdosis} %<*package> - [2023/01/24 v1.5-dev Typesetting TEI xml-compliant critical editions] + [2023/03/25 v1.5-dev Typesetting TEI xml-compliant critical editions] % %<*driver> \begin{filecontents}[noheader,overwrite]{bibdata.xml} @@ -6431,7 +6431,7 @@ subtype="arabtex">'inna 'abI kAna mina % CTAN: % \url{https://ctan.org/tex-archive/macros/luatex/latex/ekdosis} % \item Copy this file to -% |$HOME/.emacs.d/auctex/auto/|\footnote{This directory must be +% |$HOME/.emacs.d/auctex/style/|\footnote{This directory must be % created if need be.}\saveFN\fnAUCTeX\ where |$HOME| stands % for the directory of the current user. % \end{enumerate} @@ -6444,7 +6444,7 @@ subtype="arabtex">'inna 'abI kAna mina % repository % (\url{https://git.sr.ht/~ralessi/ekdosis/blob/master/ekdosis.el}). % \item Copy this file to -% |$HOME/.emacs.d/auctex/auto/|\useFN\fnAUCTeX\ where |$HOME| +% |$HOME/.emacs.d/auctex/style/|\useFN\fnAUCTeX\ where |$HOME| % stands for the directory of the current user. % \end{enumerate} % \end{description} @@ -8024,7 +8024,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \paragraph{\textsf{ekdosis} Symbol} % \begin{macro}{\eKd} -% \changes{v1.5}{2023/01/24}{Prints \textsf{ekdosis} indentifying +% \changes{v1.5}{2023/03/25}{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. @@ -8287,7 +8287,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}{2023/01/24}{direct insertion of empty elements in the +% \changes{v1.5}{2023/03/25}{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 @@ -8302,7 +8302,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macro} % \end{macro} % \begin{macro}{\getTEIxmlid} -% \changes{v1.5}{2023/01/24}{returns \texttt{TEI xml:ids} from a +% \changes{v1.5}{2023/03/25}{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 @@ -8778,7 +8778,7 @@ Sample text with a \textcolor{red}{word} in red. \newlength{\ekd@app@localheight} % \end{macrocode} % \begin{macro}{\localappheight} -% \changes{v1.5}{2023/01/24}{changes the height of the apparatus +% \changes{v1.5}{2023/03/25}{changes the height of the apparatus % criticus} % \cs{localappheight}\marg{dimen} can be used to change locally the % 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. % \end{macrocode} % \end{macro} % \begin{macro}{\addtoappheight} -% \changes{v1.5}{2023/01/24}{increases or decreases the height of the +% \changes{v1.5}{2023/03/25}{increases or decreases the height of the % apparatus criticus} % As the name suggests, in contrast to \cs{localappheight}, % \cs{addtoappheight}\marg{dimen} is used to increase or decrease @@ -9083,7 +9083,7 @@ Sample text with a \textcolor{red}{word} in red. % The following commands are provided to set and control the maximum % number of lines printed on each page. % \begin{macro}{\setmaxlines} -% \changes{v1.5}{2023/01/24}{limits the number of lines per page} +% \changes{v1.5}{2023/03/25}{limits the number of lines per page} % \cs{setmaxlines}\marg{n}, where \meta{n} is a positive integer % $\geq 1$, can be used either in the preamble or at any point of the % 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. % \end{macrocode} % \end{macro} % \begin{macro}{\localmaxlines} -% \changes{v1.5}{2023/01/24}{changes the maximum number of lines +% \changes{v1.5}{2023/03/25}{changes the maximum number of lines % locally} % Once a maximum number of lines per page has been set, % \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. % \end{macrocode} % \end{macro} % \begin{macro}{\addtomaxlines} -% \changes{v1.5}{2023/01/24}{adds or subtracts lines from a given page} +% \changes{v1.5}{2023/03/25}{adds or subtracts lines from a given page} % Unlike \cs{localmaxlines}, \cs{addtomaxlines}\meta{n} takes as % argument the number of lines one wishes to add or substract from the % 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. % \end{macrocode} % \end{macro} % \begin{macro}{\nomaxlines} -% \changes{v1.5}{2023/01/24}{unsets \cs{setmaxlines}} +% \changes{v1.5}{2023/03/25}{unsets \cs{setmaxlines}} % \cs{nomaxlines} unsets any limit previously set by \cs{setmaxlines}. % \begin{macrocode} \def\nomaxlines{\luadirect{tex.sprint(ekdosis.resetlocalmaxlines())}} @@ -9184,7 +9184,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \begin{macro}{\App} -% \changes{v1.5}{2023/01/24}{To be used conjointly with +% \changes{v1.5}{2023/03/25}{To be used conjointly with % \texttt{ekdosis.el}} % In contrast to \cs{app}, \cs{App} takes two mandatory arguments and % accepts one optional argument like so: @@ -10068,7 +10068,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macro} % \paragraph{Lacunae} % \begin{macro}{\ilabel} -% \changes{v1.5}{2023/01/24}{recalls and sets the ending label of +% \changes{v1.5}{2023/03/25}{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=