aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2021-05-22 18:01:44 +0200
committerRobert Alessi <alessi@robertalessi.net>2021-05-22 18:01:44 +0200
commitb73e4d11b5cfbd60cd23a6af429455d3f66112d3 (patch)
tree646b74efb86bfbdea743db99cd3c91c551c5406d
parent97b2810e2923be9b12ead2af2eaa1c43de933316 (diff)
downloadekdosis-b73e4d11b5cfbd60cd23a6af429455d3f66112d3.tar.gz
use fontsetup until selecting NewCM by font name is possible again
-rw-r--r--ekdosis.dtx96
-rw-r--r--samples/Caesar_BG-6-13-1.tex9
2 files changed, 46 insertions, 59 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index f30f4cd..381fdc8 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/05/15 v1.3-dev Typesetting TEI xml-compliant critical editions] 64 [2021/05/22 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}
@@ -525,30 +525,24 @@ along with this program. If not, see
525\usepackage{dox} 525\usepackage{dox}
526\doxitem{Option}{option}{options} 526\doxitem{Option}{option}{options}
527\usepackage{microtype} 527\usepackage{microtype}
528\usepackage[no-math]{fontspec} 528\usepackage{fontspec}
529\usepackage[default]{fontsetup}
530\setmathfont[range=up]{OldStandard-Regular.otf}
531\setmathfont[range=bb]{OldStandard-Bold.otf}
532\setmathfont[range=it]{OldStandard-Italic.otf}
533\setmathfont[range=bbit]{OldStandard-BoldItalic.otf}
529\defaultfontfeatures{Renderer=Harfbuzz} 534\defaultfontfeatures{Renderer=Harfbuzz}
530\usepackage[latin.classic,greek.ancient,american]{babel} 535\usepackage[latin.classic,greek.ancient,american]{babel}
531\babelfont{rm}{Old Standard} 536\babelfont{rm}{Old Standard}
532\babelfont{sf}[ItalicFont=NewCMSans10-BookOblique,
533 BoldFont=NewCMSans10-Bold,
534 BoldItalicFont=NewCMSans10-BoldOblique]
535 {NewCMSans10-Book}
536\babelfont{tt}[ItalicFont=NewCMMono10-BookItalic,
537 BoldFont=NewCMMono10-Bold,
538 BoldItalicFont=NewCMMono10-BoldOblique]
539 {NewCMMono10-Book}
540\babelfont[greek]{rm}[ 537\babelfont[greek]{rm}[
541 Script=Greek, 538 Script=Greek,
542 RawFeature={+ss05;+ss06} 539 RawFeature={+ss05;+ss06}
543 ]{Old Standard} 540 ]{Old Standard}
544\babelfont[greek]{sf}[Script=Greek]{NewCMSans10-Book}
545\babelfont[greek]{tt}[Script=Greek]{NewCMMono10-Book}
546\newfontfamily{\junicode}{Junicode}[ 541\newfontfamily{\junicode}{Junicode}[
547 Ligatures=TeX, 542 Ligatures=TeX,
548 RawFeature={+hist}] 543 RawFeature={+hist}]
549\babeltags{ancientgreek = greek} 544\babeltags{ancientgreek = greek}
550\def\sg#1{\textancientgreek{#1}} 545\def\sg#1{\textancientgreek{#1}}
551\usepackage[Old Standard]{mathfont}
552\usepackage[biblatex=true]{embrac} 546\usepackage[biblatex=true]{embrac}
553\usepackage{chifoot} 547\usepackage{chifoot}
554\usepackage{arabluatex} 548\usepackage{arabluatex}
@@ -574,7 +568,7 @@ along with this program. If not, see
574 before=\smaller} 568 before=\smaller}
575\usepackage{manfnt} 569\usepackage{manfnt}
576\usepackage{lettrine} 570\usepackage{lettrine}
577\newcommand\danger{\lettrine[loversize=-.5]{\textdbend}{\hskip6pt}} 571\newcommand\ekdanger{\lettrine[loversize=-.5]{\textdbend}{\hskip6pt}}
578\usepackage{metalogox} 572\usepackage{metalogox}
579\usepackage{hologo} 573\usepackage{hologo}
580\usepackage{xcolor} 574\usepackage{xcolor}
@@ -1133,7 +1127,7 @@ along with this program. If not, see
1133% \meta{key}$=$\meta{value}. The description of the optional arguments 1127% \meta{key}$=$\meta{value}. The description of the optional arguments
1134% follows. 1128% follows.
1135% 1129%
1136% \danger The reader is invited to refer to the relevant sections of 1130% \ekdanger The reader is invited to refer to the relevant sections of
1137% this documentation for more information on how to use them. 1131% this documentation for more information on how to use them.
1138% 1132%
1139% \DescribeOption{layout}\phts\label{ref:layout-opt} 1133% \DescribeOption{layout}\phts\label{ref:layout-opt}
@@ -1159,7 +1153,7 @@ along with this program. If not, see
1159% \LaTeX{} standard textual divisions can be used and will be 1153% \LaTeX{} standard textual divisions can be used and will be
1160% translated into \texttt{TEI} numbered |<div>| elements. 1154% translated into \texttt{TEI} numbered |<div>| elements.
1161% 1155%
1162% \danger It must be noted that the two styles are mutually exclusive. 1156% \ekdanger It must be noted that the two styles are mutually exclusive.
1163% \vskip\baselineskip 1157% \vskip\baselineskip
1164% 1158%
1165% \DescribeOption{poetry}\phts\label{ref:poetry-opt} 1159% \DescribeOption{poetry}\phts\label{ref:poetry-opt}
@@ -1420,7 +1414,7 @@ along with this program. If not, see
1420% \item The rendition to be used in the printed apparatus criticus. 1414% \item The rendition to be used in the printed apparatus criticus.
1421% \end{enumerate} 1415% \end{enumerate}
1422% 1416%
1423% \danger As \pkg{ekdosis} can include and use \texttt{TEI 1417% \ekdanger As \pkg{ekdosis} can include and use \texttt{TEI
1424% xml}-compliant lists of references,\footnote{See below 1418% xml}-compliant lists of references,\footnote{See below
1425% \vref{sec:references-cited-works}.} it is advisable to use 1419% \vref{sec:references-cited-works}.} it is advisable to use
1426% Bib\hologo{(La)TeX} labels in the first argument of 1420% Bib\hologo{(La)TeX} labels in the first argument of
@@ -1687,7 +1681,7 @@ yesterday.
1687% \emph{reading}, which contains deviant readings rejected by the 1681% \emph{reading}, which contains deviant readings rejected by the
1688% editor. 1682% editor.
1689% 1683%
1690% \danger What follows refers to the notions of \enquote{witness}, 1684% \ekdanger What follows refers to the notions of \enquote{witness},
1691% \enquote{source} and \enquote{scholar} as defined above 1685% \enquote{source} and \enquote{scholar} as defined above
1692% \vpageref{sec:terminology}. 1686% \vpageref{sec:terminology}.
1693% 1687%
@@ -1749,7 +1743,7 @@ yesterday.
1749% |nosep| must be used when for some reason no \cs{rdg} command 1743% |nosep| must be used when for some reason no \cs{rdg} command
1750% follows a \cs{lem} command that has just been used, as shown below 1744% follows a \cs{lem} command that has just been used, as shown below
1751% in \vref{lst:emend-coni-corr}, l.~7. 1745% in \vref{lst:emend-coni-corr}, l.~7.
1752% \danger \DescribeMacro{\ekdsep} If |nosep| be used so as to insert 1746% \ekdanger \DescribeMacro{\ekdsep} If |nosep| be used so as to insert
1753% an explanatory note after the lemma text with the \cs{note} command 1747% an explanatory note after the lemma text with the \cs{note} command
1754% described below \vpageref{ref:editorial-notes}, then \cs{ekdsep} can 1748% described below \vpageref{ref:editorial-notes}, then \cs{ekdsep} can
1755% be used\---for instance as value of the |post| optional argument of 1749% be used\---for instance as value of the |post| optional argument of
@@ -1850,7 +1844,7 @@ yesterday.
1850% \DescribeOption{post} |post|$=$\meta{words}\\ 1844% \DescribeOption{post} |post|$=$\meta{words}\\
1851% |post| inserts \meta{words} immediately after the note.\\ 1845% |post| inserts \meta{words} immediately after the note.\\
1852% 1846%
1853% \danger Under no circumstances is it permitted to insert this 1847% \ekdanger Under no circumstances is it permitted to insert this
1854% command \cs{note} or \cs{note*} inside the argument of \cs{lem} or 1848% command \cs{note} or \cs{note*} inside the argument of \cs{lem} or
1855% \cs{rdg}. \cs{note}/\cs{note*} must go \emph{between} these 1849% \cs{rdg}. \cs{note}/\cs{note*} must go \emph{between} these
1856% commands. As a general rule, within \cs{app}|{}| elements, notes are 1850% commands. As a general rule, within \cs{app}|{}| elements, notes are
@@ -2001,7 +1995,7 @@ yesterday.
2001% Because apparatus entries may nest recursively, the \cs{app} command 1995% Because apparatus entries may nest recursively, the \cs{app} command
2002% can be used to group similar readings. 1996% can be used to group similar readings.
2003% 1997%
2004% \danger However, for nesting to work, the |alt| optional argument 1998% \ekdanger However, for nesting to work, the |alt| optional argument
2005% must be used in every \cs{lem} and \cs{rdg} command involved in the 1999% must be used in every \cs{lem} and \cs{rdg} command involved in the
2006% nesting. This rule applies to both parent and child commands, as 2000% nesting. This rule applies to both parent and child commands, as
2007% demonstrated in the following example:--- 2001% demonstrated in the following example:---
@@ -2071,7 +2065,7 @@ friend
2071%</example> 2065%</example>
2072% \fi 2066% \fi
2073% 2067%
2074% \danger It must be noted that from a technical standpoint, albeit 2068% \ekdanger It must be noted that from a technical standpoint, albeit
2075% the nested lemmas are printed \emph{before} their parents in the 2069% the nested lemmas are printed \emph{before} their parents in the
2076% apparatus criticus, they are seen by \pkg{ekdosis} \emph{after} the 2070% apparatus criticus, they are seen by \pkg{ekdosis} \emph{after} the
2077% latter as the source file is compiled. As a result, notably when the 2071% latter as the source file is compiled. As a result, notably when the
@@ -2397,7 +2391,7 @@ friend
2397%</example> 2391%</example>
2398% \fi 2392% \fi
2399% 2393%
2400% \danger If modified, brackets can be adapted to languages that are 2394% \ekdanger If modified, brackets can be adapted to languages that are
2401% written from right to left. To that effect, \pkg{ekdosis} provides a 2395% written from right to left. To that effect, \pkg{ekdosis} provides a
2402% boolean expression |al@rlmode| which is evaluated as |true| if the 2396% boolean expression |al@rlmode| which is evaluated as |true| if the
2403% writing direction be set from right to left and as |false| 2397% writing direction be set from right to left and as |false|
@@ -2634,7 +2628,7 @@ friend
2634% environment\---for instance the leftmost one\---will have all other 2628% environment\---for instance the leftmost one\---will have all other
2635% associated paragraphs printed aligned. 2629% associated paragraphs printed aligned.
2636% 2630%
2637% \danger While the whole edition text and the whole translation can 2631% \ekdanger While the whole edition text and the whole translation can
2638% be inserted in a single \env{edition}/\env{translation} environment 2632% be inserted in a single \env{edition}/\env{translation} environment
2639% respectively, it is recommended to enter both texts paragraph by 2633% respectively, it is recommended to enter both texts paragraph by
2640% paragraph as shown in the example above. Not only this method of 2634% paragraph as shown in the example above. Not only this method of
@@ -2994,7 +2988,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
2994% sections 7.3 to 7.6 on pp.~15--21 of the documentation of this 2988% sections 7.3 to 7.6 on pp.~15--21 of the documentation of this
2995% package.\footcite{paracol} 2989% package.\footcite{paracol}
2996% 2990%
2997% \danger It must be noted that all these commands are to be inserted 2991% \ekdanger It must be noted that all these commands are to be inserted
2998% \emph{before} the \env{alignment} environments on which they are 2992% \emph{before} the \env{alignment} environments on which they are
2999% supposed to operate. 2993% supposed to operate.
3000% 2994%
@@ -3110,7 +3104,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
3110% \env{alignment} environment, are printed in a single spanning block 3104% \env{alignment} environment, are printed in a single spanning block
3111% at the bottom of the page. 3105% at the bottom of the page.
3112% 3106%
3113% \danger Regular footnotes are printed above the block of critical 3107% \ekdanger Regular footnotes are printed above the block of critical
3114% notes. The respective places of these blocks can be interchanged by 3108% notes. The respective places of these blocks can be interchanged by
3115% just loading the \pkg{fnpos} package in the 3109% just loading the \pkg{fnpos} package in the
3116% preamble.\footcite{fnpos} 3110% preamble.\footcite{fnpos}
@@ -3338,7 +3332,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+
3338% variant readings (the apparatus criticus \emph{stricto sensu}). The 3332% variant readings (the apparatus criticus \emph{stricto sensu}). The
3339% former is always printed above the latter. 3333% former is always printed above the latter.
3340% 3334%
3341% \danger The default single-layer apparatus criticus that is 3335% \ekdanger The default single-layer apparatus criticus that is
3342% described above in \vref{sec:single-layer-app} is called |default| 3336% described above in \vref{sec:single-layer-app} is called |default|
3343% internally. If any additional layer of notes be declared in the 3337% internally. If any additional layer of notes be declared in the
3344% preamble, this |default| layer must be included in the list of 3338% preamble, this |default| layer must be included in the list of
@@ -3535,7 +3529,7 @@ Some \app[type=rec2]{
3535%</example> 3529%</example>
3536% \fi 3530% \fi
3537% 3531%
3538% \danger At any rate, |type=default| or |type=rec1|, depending on 3532% \ekdanger At any rate, |type=default| or |type=rec1|, depending on
3539% what has been chosen, must be used should the editor wish to retain 3533% what has been chosen, must be used should the editor wish to retain
3540% that information in the \texttt{TEI xml} output file. 3534% that information in the \texttt{TEI xml} output file.
3541% 3535%
@@ -3547,14 +3541,14 @@ Some \app[type=rec2]{
3547% translators. The former set is called an \emph{apparatus fontium} 3541% translators. The former set is called an \emph{apparatus fontium}
3548% while the latter is called an \emph{apparatus testium}. 3542% while the latter is called an \emph{apparatus testium}.
3549% 3543%
3550% \danger From a technical standpoint, these notes are very different 3544% \ekdanger From a technical standpoint, these notes are very different
3551% from the short editorial notes inserted between lemma texts and 3545% from the short editorial notes inserted between lemma texts and
3552% variant readings that have been described above 3546% variant readings that have been described above
3553% \vpageref{ref:editorial-notes}. However, for the sake of consistency 3547% \vpageref{ref:editorial-notes}. However, for the sake of consistency
3554% with \texttt{TEI xml} encoding, \pkg{ekdosis} uses the same command 3548% with \texttt{TEI xml} encoding, \pkg{ekdosis} uses the same command
3555% \cs{note} to insert both kinds of notes. 3549% \cs{note} to insert both kinds of notes.
3556% 3550%
3557% \danger One must also keep in mind that the notes that are described 3551% \ekdanger One must also keep in mind that the notes that are described
3558% in this section refer either to a single word or to a span of 3552% in this section refer either to a single word or to a span of
3559% text. By consequence, as boundaries must always be set outside spans 3553% text. By consequence, as boundaries must always be set outside spans
3560% of text, notes must be inserted immediately before the word or words 3554% of text, notes must be inserted immediately before the word or words
@@ -3591,7 +3585,7 @@ Some \app[type=rec2]{
3591% \DescribeOption{labelb} |labelb|$=$\meta{label} 3585% \DescribeOption{labelb} |labelb|$=$\meta{label}
3592% \hfill\tcboxverb{Mandatory}\\ 3586% \hfill\tcboxverb{Mandatory}\\
3593% |labelb| is the unique label to serve as a reference for the point 3587% |labelb| is the unique label to serve as a reference for the point
3594% immediately preceding the lemma text. \danger |labelb| is used by 3588% immediately preceding the lemma text. \ekdanger |labelb| is used by
3595% \pkg{ekdosis} to print the line numbers in the apparatus criticus 3589% \pkg{ekdosis} to print the line numbers in the apparatus criticus
3596% and to set the |left()| XPointer should \texttt{TEI} output be 3590% and to set the |left()| XPointer should \texttt{TEI} output be
3597% required. Therefore, it must be specified. Otherwise, \pkg{ekdosis} 3591% required. Therefore, it must be specified. Otherwise, \pkg{ekdosis}
@@ -3869,12 +3863,12 @@ argument of the
3869% prose text.\footnote{See \vpageref{ref:verse-lineation} for 3863% prose text.\footnote{See \vpageref{ref:verse-lineation} for
3870% details.} 3864% details.}
3871% 3865%
3872% \danger For what is described in this section to operate, 3866% \ekdanger For what is described in this section to operate,
3873% \pkg{ekdosis} must be loaded with the global option |poetry=verse| 3867% \pkg{ekdosis} must be loaded with the global option |poetry=verse|
3874% as explained above \vpageref{ref:poetry-opt}. Simply loading the 3868% as explained above \vpageref{ref:poetry-opt}. Simply loading the
3875% \pkg{verse} package by means of \cs{usepackage} will have no effect. 3869% \pkg{verse} package by means of \cs{usepackage} will have no effect.
3876% 3870%
3877% \danger The foregoing does not apply if the \cls{memoir} class be 3871% \ekdanger The foregoing does not apply if the \cls{memoir} class be
3878% used.\footcite{memoir} In this case, \pkg{ekdosis} automatically 3872% used.\footcite{memoir} In this case, \pkg{ekdosis} automatically
3879% uses the code provided by this class without the need to set 3873% uses the code provided by this class without the need to set
3880% the global option |poetry=verse|. 3874% the global option |poetry=verse|.
@@ -3941,7 +3935,7 @@ argument of the
3941% \enquote{sonnet}, \enquote{quatrain}, \enquote{couplet} and the 3935% \enquote{sonnet}, \enquote{quatrain}, \enquote{couplet} and the
3942% like. 3936% like.
3943% 3937%
3944% \danger Unlike the \texttt{TEI xml} element |<lg>|, \env{ekdverse} 3938% \ekdanger Unlike the \texttt{TEI xml} element |<lg>|, \env{ekdverse}
3945% may not nest hiearchichally. Within this environment, 3939% may not nest hiearchichally. Within this environment,
3946% \env{ekdstanza} must be used instead to encode stanzas as described 3940% \env{ekdstanza} must be used instead to encode stanzas as described
3947% \vpageref[below][below]{ref:ekdstanza}. 3941% \vpageref[below][below]{ref:ekdstanza}.
@@ -4456,7 +4450,7 @@ substantiall fewell,}
4456% 4450%
4457% \section{Lineation Settings} 4451% \section{Lineation Settings}
4458% \label{sec:lineation} 4452% \label{sec:lineation}
4459% \danger \pkg{ekdosis} uses \pkg{lineno} internally for line 4453% \ekdanger \pkg{ekdosis} uses \pkg{lineno} internally for line
4460% numbering.\footcite{lineno} But it must be noted that \pkg{ekdosis} 4454% numbering.\footcite{lineno} But it must be noted that \pkg{ekdosis}
4461% strictly prohibits the \enquote{pagewise} mode of operation that is 4455% strictly prohibits the \enquote{pagewise} mode of operation that is
4462% provided by \pkg{lineno}. As a result of this hinderance, all 4456% provided by \pkg{lineno}. As a result of this hinderance, all
@@ -4558,7 +4552,7 @@ substantiall fewell,}
4558% \DescribeMacro{\verselinenumfont} 4552% \DescribeMacro{\verselinenumfont}
4559% \cs{verselinenumfont}\marg{commands} can be used to set the font 4553% \cs{verselinenumfont}\marg{commands} can be used to set the font
4560% used for lines of verse. By default, the definition is 4554% used for lines of verse. By default, the definition is
4561% |\normalfont\footnotesize|. \danger If the \cls{memoir} class be 4555% |\normalfont\footnotesize|. \ekdanger If the \cls{memoir} class be
4562% loaded, this command is replaced with \cs{linenumberfont} described 4556% loaded, this command is replaced with \cs{linenumberfont} described
4563% above.\\ 4557% above.\\
4564% \DescribeMacro{\vrightskip} The \pkg{verse} package prints the 4558% \DescribeMacro{\vrightskip} The \pkg{verse} package prints the
@@ -4592,7 +4586,7 @@ substantiall fewell,}
4592% 4586%
4593% \section{Languages} 4587% \section{Languages}
4594% \label{sec:languages} 4588% \label{sec:languages}
4595% \danger \pkg{ekdosis} is fully compatible with \pkg{babel}. 4589% \ekdanger \pkg{ekdosis} is fully compatible with \pkg{babel}.
4596% \enquote{Fully compatible} means that all features provided by 4590% \enquote{Fully compatible} means that all features provided by
4597% \pkg{babel}, including language switching commands, are supported by 4591% \pkg{babel}, including language switching commands, are supported by
4598% \pkg{ekdosis}. \pkg{ekdosis} is also compatible with 4592% \pkg{ekdosis}. \pkg{ekdosis} is also compatible with
@@ -4616,7 +4610,7 @@ substantiall fewell,}
4616% file, the reader is invited to refer to point \vref{it:lang-subopt} 4610% file, the reader is invited to refer to point \vref{it:lang-subopt}
4617% and \vref{sec:teixml-output}. 4611% and \vref{sec:teixml-output}.
4618% 4612%
4619% \danger In some cases, it may be needed to apply in the apparatus 4613% \ekdanger In some cases, it may be needed to apply in the apparatus
4620% criticus a language different from the one that is selected in the 4614% criticus a language different from the one that is selected in the
4621% edition text. To this end, \pkg{ekdosis} provides a set of 4615% edition text. To this end, \pkg{ekdosis} provides a set of
4622% facilities which are described 4616% facilities which are described
@@ -4632,7 +4626,7 @@ substantiall fewell,}
4632% can be loaded concurrently with \pkg{polyglossia}, an easy way is to 4626% can be loaded concurrently with \pkg{polyglossia}, an easy way is to
4633% use \pkg{babel} to print such languages. 4627% use \pkg{babel} to print such languages.
4634% 4628%
4635% \danger The reader is invited to refer to and become acquainted with 4629% \ekdanger The reader is invited to refer to and become acquainted with
4636% the relevant parts of the documentation of the \pkg{babel} 4630% the relevant parts of the documentation of the \pkg{babel}
4637% package.\footcite{babel} 4631% package.\footcite{babel}
4638% 4632%
@@ -4944,7 +4938,7 @@ subtype="arabtex">'inna 'abI kAna mina
4944% such as \cs{chapter} or \cs{section} only act as milestones, 4938% such as \cs{chapter} or \cs{section} only act as milestones,
4945% contrary to \texttt{TEI} elements. 4939% contrary to \texttt{TEI} elements.
4946% 4940%
4947% \danger It must be noted that the two styles described hereinafter 4941% \ekdanger It must be noted that the two styles described hereinafter
4948% are mutually exclusive. \texttt{TEI xml} forbids that both be 4942% are mutually exclusive. \texttt{TEI xml} forbids that both be
4949% combined within a single |<body>| element.\footnote{See 4943% combined within a single |<body>| element.\footnote{See
4950% \url{https://tei-c.org/release/doc/tei-p5-doc/en/html/DS.html\#DSDIV}.} 4944% \url{https://tei-c.org/release/doc/tei-p5-doc/en/html/DS.html\#DSDIV}.}
@@ -4957,12 +4951,12 @@ subtype="arabtex">'inna 'abI kAna mina
4957% \pkg{ekdosis} can use the \LaTeX\ standard textual divisions, such 4951% \pkg{ekdosis} can use the \LaTeX\ standard textual divisions, such
4958% as \cs{book}, \cs{chapter}, \cs{section} and the like. 4952% as \cs{book}, \cs{chapter}, \cs{section} and the like.
4959% 4953%
4960% \danger However, to have these divisions properly translated into 4954% \ekdanger However, to have these divisions properly translated into
4961% \texttt{TEI} numbered |<div>| elements, the |divs| general option 4955% \texttt{TEI} numbered |<div>| elements, the |divs| general option
4962% must be set to |latex| explicitly\---viz. |divs=latex|\---as 4956% must be set to |latex| explicitly\---viz. |divs=latex|\---as
4963% described above \vpageref{ref:divs-opt}. 4957% described above \vpageref{ref:divs-opt}.
4964% 4958%
4965% \danger As the \env{alignment} environment that is provided by 4959% \ekdanger As the \env{alignment} environment that is provided by
4966% \pkg{ekdosis} places all aligned texts within \texttt{TEI xml} 4960% \pkg{ekdosis} places all aligned texts within \texttt{TEI xml}
4967% un-numbered |<div>| elements and \LaTeX\ textual divisions are 4961% un-numbered |<div>| elements and \LaTeX\ textual divisions are
4968% converted into numbered |<div|\textsubscript{\emph{n}}|>| elements, 4962% converted into numbered |<div|\textsubscript{\emph{n}}|>| elements,
@@ -5050,7 +5044,7 @@ subtype="arabtex">'inna 'abI kAna mina
5050% 5044%
5051% \subsection{Using \texttt{TEI} Un-numbered Divisions} 5045% \subsection{Using \texttt{TEI} Un-numbered Divisions}
5052% \label{sec:ekddiv} 5046% \label{sec:ekddiv}
5053% \danger As already described \vpageref{ref:divs-opt}, the 5047% \ekdanger As already described \vpageref{ref:divs-opt}, the
5054% un-numbered style of division is the one that is set by default. It 5048% un-numbered style of division is the one that is set by default. It
5055% is congruous to the general option |divs=ekdosis|. 5049% is congruous to the general option |divs=ekdosis|.
5056% 5050%
@@ -5329,7 +5323,7 @@ subtype="arabtex">'inna 'abI kAna mina
5329% any other declared layer can be specified in the optional argument 5323% any other declared layer can be specified in the optional argument
5330% of the command. 5324% of the command.
5331% 5325%
5332% \danger Of course, \cs{addentries} must be issued before the 5326% \ekdanger Of course, \cs{addentries} must be issued before the
5333% number of entries on a given page has reached the value set as 5327% number of entries on a given page has reached the value set as
5334% |maxentries|. 5328% |maxentries|.
5335% 5329%
@@ -5622,11 +5616,11 @@ subtype="arabtex">'inna 'abI kAna mina
5622% expected formatted siglum so that the error in the |.tex| source 5616% expected formatted siglum so that the error in the |.tex| source
5623% file can be easily spotted and corrected. 5617% file can be easily spotted and corrected.
5624% 5618%
5625% \danger As the \meta{unique id} declared with \cs{DeclareShorthand} 5619% \ekdanger As the \meta{unique id} declared with \cs{DeclareShorthand}
5626% is not to be exported in the \texttt{TEI xml} output file, 5620% is not to be exported in the \texttt{TEI xml} output file,
5627% \pkg{ekdosis} checks neither its uniqueness nor its validness. 5621% \pkg{ekdosis} checks neither its uniqueness nor its validness.
5628% 5622%
5629% \danger It must be noted that \LaTeX\ labels that are provided in 5623% \ekdanger It must be noted that \LaTeX\ labels that are provided in
5630% commands such as \cs{label}, \cs{cite} and the like must also be 5624% commands such as \cs{label}, \cs{cite} and the like must also be
5631% unique in the document. As \LaTeX\ will issue warnings if duplicates 5625% unique in the document. As \LaTeX\ will issue warnings if duplicates
5632% be found, \cs{ekdosis} does not check their uniqueness but will 5626% be found, \cs{ekdosis} does not check their uniqueness but will
@@ -5918,7 +5912,7 @@ many mathematical writings and to the sense of
5918% strings captured are inserted where each of them is expected in 5912% strings captured are inserted where each of them is expected in
5919% the \texttt{TEI} element. 5913% the \texttt{TEI} element.
5920% 5914%
5921% \danger If the entire string to be captured be enclosed in square or 5915% \ekdanger If the entire string to be captured be enclosed in square or
5922% curly brackets, it is advisable to use |@b|\texttt{\emph{n}} (for 5916% curly brackets, it is advisable to use |@b|\texttt{\emph{n}} (for
5923% curly brackets) or |@s|\texttt{\emph{n}} (for square brackets) 5917% curly brackets) or |@s|\texttt{\emph{n}} (for square brackets)
5924% instead of |#|\texttt{\emph{n}}, where \texttt{\emph{n}} is the 5918% instead of |#|\texttt{\emph{n}}, where \texttt{\emph{n}} is the
@@ -5926,7 +5920,7 @@ many mathematical writings and to the sense of
5926% brackets that may be found in the captured string from being 5920% brackets that may be found in the captured string from being
5927% interpreted. 5921% interpreted.
5928% 5922%
5929% \danger Strings must be entered exactly as \pkg{ekdosis} will find 5923% \ekdanger Strings must be entered exactly as \pkg{ekdosis} will find
5930% them as the |.tex| source file is compiled. Specifically, 5924% them as the |.tex| source file is compiled. Specifically,
5931% \emph{control sequences}, namely the coded commands immediately 5925% \emph{control sequences}, namely the coded commands immediately
5932% preceded by `\verb+\+' are always found followed by a space. For 5926% preceded by `\verb+\+' are always found followed by a space. For
@@ -6227,7 +6221,7 @@ Sample text with a \textcolor{red}{word} in red.
6227%</example> 6221%</example>
6228% \fi 6222% \fi
6229% 6223%
6230% \danger As can be seen, the same string |Drak| is used as a label in 6224% \ekdanger As can be seen, the same string |Drak| is used as a label in
6231% the Bib\hologo{(La)TeX} file (l.~1) and an |xml:id| in the 6225% the Bib\hologo{(La)TeX} file (l.~1) and an |xml:id| in the
6232% \texttt{TEI} file (l.~3). This same label must be used again in the 6226% \texttt{TEI} file (l.~3). This same label must be used again in the
6233% preamble of the |.tex| source file to declare Arnold Drakenborch as a 6227% preamble of the |.tex| source file to declare Arnold Drakenborch as a
@@ -7508,7 +7502,7 @@ Sample text with a \textcolor{red}{word} in red.
7508% \end{macrocode} 7502% \end{macrocode}
7509% \end{macro} 7503% \end{macro}
7510% \begin{macro}{\teidirect} 7504% \begin{macro}{\teidirect}
7511% \changes{v1.3}{2021/05/15}{direct insertion of elements in the 7505% \changes{v1.3}{2021/05/22}{direct insertion of elements in the
7512% \texttt{TEI xml} file} 7506% \texttt{TEI xml} file}
7513% \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} 7507% \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code}
7514% does nothing in \LaTeX. Its only use is to insert elements in the 7508% does nothing in \LaTeX. Its only use is to insert elements in the
@@ -7862,7 +7856,7 @@ Sample text with a \textcolor{red}{word} in red.
7862% \end{macrocode} 7856% \end{macrocode}
7863% \end{macro} 7857% \end{macro}
7864% \begin{macro}{\SetApparatusNoteLanguage} 7858% \begin{macro}{\SetApparatusNoteLanguage}
7865% \changes{v1.3}{2021/05/15}{defines an alternate language to be 7859% \changes{v1.3}{2021/05/22}{defines an alternate language to be
7866% applied in note apparatus entries} 7860% applied in note apparatus entries}
7867% \cs{SetApparatusNoteLang}\marg{languagename} can be used when 7861% \cs{SetApparatusNoteLang}\marg{languagename} can be used when
7868% it is needed to apply in entries introduced by the \cs{note} command 7862% it is needed to apply in entries introduced by the \cs{note} command
diff --git a/samples/Caesar_BG-6-13-1.tex b/samples/Caesar_BG-6-13-1.tex
index 1be88de..538648b 100644
--- a/samples/Caesar_BG-6-13-1.tex
+++ b/samples/Caesar_BG-6-13-1.tex
@@ -1,15 +1,8 @@
1\documentclass[12pt]{article} 1\documentclass[12pt]{article}
2\usepackage{fontspec} 2\usepackage{fontspec}
3\usepackage[default]{fontsetup}
3\usepackage[latin.classic,french,english]{babel} 4\usepackage[latin.classic,french,english]{babel}
4\babelfont{rm}{Old Standard} 5\babelfont{rm}{Old Standard}
5\babelfont{sf}[ItalicFont=NewCMSans10-BookOblique,
6 BoldFont=NewCMSans10-Bold,
7 BoldItalicFont=NewCMSans10-BoldOblique]
8 {NewCMSans10-Book}
9\babelfont{tt}[ItalicFont=NewCMMono10-BookItalic,
10 BoldFont=NewCMMono10-Bold,
11 BoldItalicFont=NewCMMono10-BoldOblique]
12 {NewCMMono10-Book}
13 6
14\usepackage{nextpage} 7\usepackage{nextpage}
15\usepackage{xltabular} 8\usepackage{xltabular}