diff options
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r-- | ekdosis.dtx | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index d1edd77..b51cf53 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/24 v1.3-dev Typesetting TEI xml-compliant critical editions] | 64 | [2021/05/27 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,24 +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{fontspec} | 528 | \usepackage[no-math]{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} | ||
534 | \defaultfontfeatures{Renderer=Harfbuzz} | 529 | \defaultfontfeatures{Renderer=Harfbuzz} |
535 | \usepackage[latin.classic,greek.ancient,american]{babel} | 530 | \usepackage[latin.classic,greek.ancient,american]{babel} |
536 | \babelfont{rm}{Old Standard} | 531 | \babelfont{rm}{Old Standard} |
532 | \babelfont{sf}{NewComputerModernSans10} | ||
533 | \babelfont{tt}{NewComputerModernMono10} | ||
537 | \babelfont[greek]{rm}[ | 534 | \babelfont[greek]{rm}[ |
538 | Script=Greek, | 535 | Script=Greek, |
539 | RawFeature={+ss05;+ss06} | 536 | RawFeature={+ss05;+ss06} |
540 | ]{Old Standard} | 537 | ]{Old Standard} |
538 | \babelfont[greek]{sf}[Script=Greek]{NewComputerModernSans10} | ||
539 | \babelfont[greek]{tt}[Script=Greek]{NewComputerModernMono10} | ||
541 | \newfontfamily{\junicode}{Junicode}[ | 540 | \newfontfamily{\junicode}{Junicode}[ |
542 | Ligatures=TeX, | 541 | Ligatures=TeX, |
543 | RawFeature={+hist}] | 542 | RawFeature={+hist}] |
544 | \babeltags{ancientgreek = greek} | 543 | \babeltags{ancientgreek = greek} |
545 | \def\sg#1{\textancientgreek{#1}} | 544 | \def\sg#1{\textancientgreek{#1}} |
545 | \usepackage[Old Standard]{mathfont} | ||
546 | \usepackage[biblatex=true]{embrac} | 546 | \usepackage[biblatex=true]{embrac} |
547 | \usepackage{chifoot} | 547 | \usepackage{chifoot} |
548 | \usepackage{arabluatex} | 548 | \usepackage{arabluatex} |
@@ -568,7 +568,7 @@ along with this program. If not, see | |||
568 | before=\smaller} | 568 | before=\smaller} |
569 | \usepackage{manfnt} | 569 | \usepackage{manfnt} |
570 | \usepackage{lettrine} | 570 | \usepackage{lettrine} |
571 | \newcommand\ekdanger{\lettrine[loversize=-.5]{\textdbend}{\hskip6pt}} | 571 | \newcommand\danger{\lettrine[loversize=-.5]{\textdbend}{\hskip6pt}} |
572 | \usepackage{metalogox} | 572 | \usepackage{metalogox} |
573 | \usepackage{hologo} | 573 | \usepackage{hologo} |
574 | \usepackage{xcolor} | 574 | \usepackage{xcolor} |
@@ -1127,7 +1127,7 @@ along with this program. If not, see | |||
1127 | % \meta{key}$=$\meta{value}. The description of the optional arguments | 1127 | % \meta{key}$=$\meta{value}. The description of the optional arguments |
1128 | % follows. | 1128 | % follows. |
1129 | % | 1129 | % |
1130 | % \ekdanger The reader is invited to refer to the relevant sections of | 1130 | % \danger The reader is invited to refer to the relevant sections of |
1131 | % this documentation for more information on how to use them. | 1131 | % this documentation for more information on how to use them. |
1132 | % | 1132 | % |
1133 | % \DescribeOption{layout}\phts\label{ref:layout-opt} | 1133 | % \DescribeOption{layout}\phts\label{ref:layout-opt} |
@@ -1153,7 +1153,7 @@ along with this program. If not, see | |||
1153 | % \LaTeX{} standard textual divisions can be used and will be | 1153 | % \LaTeX{} standard textual divisions can be used and will be |
1154 | % translated into \texttt{TEI} numbered |<div>| elements. | 1154 | % translated into \texttt{TEI} numbered |<div>| elements. |
1155 | % | 1155 | % |
1156 | % \ekdanger It must be noted that the two styles are mutually exclusive. | 1156 | % \danger It must be noted that the two styles are mutually exclusive. |
1157 | % \vskip\baselineskip | 1157 | % \vskip\baselineskip |
1158 | % | 1158 | % |
1159 | % \DescribeOption{poetry}\phts\label{ref:poetry-opt} | 1159 | % \DescribeOption{poetry}\phts\label{ref:poetry-opt} |
@@ -1414,7 +1414,7 @@ along with this program. If not, see | |||
1414 | % \item The rendition to be used in the printed apparatus criticus. | 1414 | % \item The rendition to be used in the printed apparatus criticus. |
1415 | % \end{enumerate} | 1415 | % \end{enumerate} |
1416 | % | 1416 | % |
1417 | % \ekdanger As \pkg{ekdosis} can include and use \texttt{TEI | 1417 | % \danger As \pkg{ekdosis} can include and use \texttt{TEI |
1418 | % xml}-compliant lists of references,\footnote{See below | 1418 | % xml}-compliant lists of references,\footnote{See below |
1419 | % \vref{sec:references-cited-works}.} it is advisable to use | 1419 | % \vref{sec:references-cited-works}.} it is advisable to use |
1420 | % Bib\hologo{(La)TeX} labels in the first argument of | 1420 | % Bib\hologo{(La)TeX} labels in the first argument of |
@@ -1681,7 +1681,7 @@ yesterday. | |||
1681 | % \emph{reading}, which contains deviant readings rejected by the | 1681 | % \emph{reading}, which contains deviant readings rejected by the |
1682 | % editor. | 1682 | % editor. |
1683 | % | 1683 | % |
1684 | % \ekdanger What follows refers to the notions of \enquote{witness}, | 1684 | % \danger What follows refers to the notions of \enquote{witness}, |
1685 | % \enquote{source} and \enquote{scholar} as defined above | 1685 | % \enquote{source} and \enquote{scholar} as defined above |
1686 | % \vpageref{sec:terminology}. | 1686 | % \vpageref{sec:terminology}. |
1687 | % | 1687 | % |
@@ -1743,7 +1743,7 @@ yesterday. | |||
1743 | % |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 |
1744 | % 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 |
1745 | % in \vref{lst:emend-coni-corr}, l.~7. | 1745 | % in \vref{lst:emend-coni-corr}, l.~7. |
1746 | % \ekdanger \DescribeMacro{\ekdsep} If |nosep| be used so as to insert | 1746 | % \danger \DescribeMacro{\ekdsep} If |nosep| be used so as to insert |
1747 | % 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 |
1748 | % described below \vpageref{ref:editorial-notes}, then \cs{ekdsep} can | 1748 | % described below \vpageref{ref:editorial-notes}, then \cs{ekdsep} can |
1749 | % 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 |
@@ -1844,7 +1844,7 @@ yesterday. | |||
1844 | % \DescribeOption{post} |post|$=$\meta{words}\\ | 1844 | % \DescribeOption{post} |post|$=$\meta{words}\\ |
1845 | % |post| inserts \meta{words} immediately after the note.\\ | 1845 | % |post| inserts \meta{words} immediately after the note.\\ |
1846 | % | 1846 | % |
1847 | % \ekdanger Under no circumstances is it permitted to insert this | 1847 | % \danger Under no circumstances is it permitted to insert this |
1848 | % 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 |
1849 | % \cs{rdg}. \cs{note}/\cs{note*} must go \emph{between} these | 1849 | % \cs{rdg}. \cs{note}/\cs{note*} must go \emph{between} these |
1850 | % commands. As a general rule, within \cs{app}|{}| elements, notes are | 1850 | % commands. As a general rule, within \cs{app}|{}| elements, notes are |
@@ -1995,7 +1995,7 @@ yesterday. | |||
1995 | % Because apparatus entries may nest recursively, the \cs{app} command | 1995 | % Because apparatus entries may nest recursively, the \cs{app} command |
1996 | % can be used to group similar readings. | 1996 | % can be used to group similar readings. |
1997 | % | 1997 | % |
1998 | % \ekdanger However, for nesting to work, the |alt| optional argument | 1998 | % \danger However, for nesting to work, the |alt| optional argument |
1999 | % 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 |
2000 | % nesting. This rule applies to both parent and child commands, as | 2000 | % nesting. This rule applies to both parent and child commands, as |
2001 | % demonstrated in the following example:--- | 2001 | % demonstrated in the following example:--- |
@@ -2065,7 +2065,7 @@ friend | |||
2065 | %</example> | 2065 | %</example> |
2066 | % \fi | 2066 | % \fi |
2067 | % | 2067 | % |
2068 | % \ekdanger It must be noted that from a technical standpoint, albeit | 2068 | % \danger It must be noted that from a technical standpoint, albeit |
2069 | % the nested lemmas are printed \emph{before} their parents in the | 2069 | % the nested lemmas are printed \emph{before} their parents in the |
2070 | % apparatus criticus, they are seen by \pkg{ekdosis} \emph{after} the | 2070 | % apparatus criticus, they are seen by \pkg{ekdosis} \emph{after} the |
2071 | % 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 |
@@ -2391,7 +2391,7 @@ friend | |||
2391 | %</example> | 2391 | %</example> |
2392 | % \fi | 2392 | % \fi |
2393 | % | 2393 | % |
2394 | % \ekdanger If modified, brackets can be adapted to languages that are | 2394 | % \danger If modified, brackets can be adapted to languages that are |
2395 | % 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 |
2396 | % boolean expression |al@rlmode| which is evaluated as |true| if the | 2396 | % boolean expression |al@rlmode| which is evaluated as |true| if the |
2397 | % writing direction be set from right to left and as |false| | 2397 | % writing direction be set from right to left and as |false| |
@@ -2628,7 +2628,7 @@ friend | |||
2628 | % environment\---for instance the leftmost one\---will have all other | 2628 | % environment\---for instance the leftmost one\---will have all other |
2629 | % associated paragraphs printed aligned. | 2629 | % associated paragraphs printed aligned. |
2630 | % | 2630 | % |
2631 | % \ekdanger While the whole edition text and the whole translation can | 2631 | % \danger While the whole edition text and the whole translation can |
2632 | % be inserted in a single \env{edition}/\env{translation} environment | 2632 | % be inserted in a single \env{edition}/\env{translation} environment |
2633 | % respectively, it is recommended to enter both texts paragraph by | 2633 | % respectively, it is recommended to enter both texts paragraph by |
2634 | % 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 |
@@ -2988,7 +2988,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+ | |||
2988 | % 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 |
2989 | % package.\footcite{paracol} | 2989 | % package.\footcite{paracol} |
2990 | % | 2990 | % |
2991 | % \ekdanger It must be noted that all these commands are to be inserted | 2991 | % \danger It must be noted that all these commands are to be inserted |
2992 | % \emph{before} the \env{alignment} environments on which they are | 2992 | % \emph{before} the \env{alignment} environments on which they are |
2993 | % supposed to operate. | 2993 | % supposed to operate. |
2994 | % | 2994 | % |
@@ -3104,7 +3104,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+ | |||
3104 | % \env{alignment} environment, are printed in a single spanning block | 3104 | % \env{alignment} environment, are printed in a single spanning block |
3105 | % at the bottom of the page. | 3105 | % at the bottom of the page. |
3106 | % | 3106 | % |
3107 | % \ekdanger Regular footnotes are printed above the block of critical | 3107 | % \danger Regular footnotes are printed above the block of critical |
3108 | % notes. The respective places of these blocks can be interchanged by | 3108 | % notes. The respective places of these blocks can be interchanged by |
3109 | % just loading the \pkg{fnpos} package in the | 3109 | % just loading the \pkg{fnpos} package in the |
3110 | % preamble.\footcite{fnpos} | 3110 | % preamble.\footcite{fnpos} |
@@ -3332,7 +3332,7 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+ | |||
3332 | % variant readings (the apparatus criticus \emph{stricto sensu}). The | 3332 | % variant readings (the apparatus criticus \emph{stricto sensu}). The |
3333 | % former is always printed above the latter. | 3333 | % former is always printed above the latter. |
3334 | % | 3334 | % |
3335 | % \ekdanger The default single-layer apparatus criticus that is | 3335 | % \danger The default single-layer apparatus criticus that is |
3336 | % described above in \vref{sec:single-layer-app} is called |default| | 3336 | % described above in \vref{sec:single-layer-app} is called |default| |
3337 | % internally. If any additional layer of notes be declared in the | 3337 | % internally. If any additional layer of notes be declared in the |
3338 | % preamble, this |default| layer must be included in the list of | 3338 | % preamble, this |default| layer must be included in the list of |
@@ -3529,7 +3529,7 @@ Some \app[type=rec2]{ | |||
3529 | %</example> | 3529 | %</example> |
3530 | % \fi | 3530 | % \fi |
3531 | % | 3531 | % |
3532 | % \ekdanger At any rate, |type=default| or |type=rec1|, depending on | 3532 | % \danger At any rate, |type=default| or |type=rec1|, depending on |
3533 | % 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 |
3534 | % that information in the \texttt{TEI xml} output file. | 3534 | % that information in the \texttt{TEI xml} output file. |
3535 | % | 3535 | % |
@@ -3541,14 +3541,14 @@ Some \app[type=rec2]{ | |||
3541 | % translators. The former set is called an \emph{apparatus fontium} | 3541 | % translators. The former set is called an \emph{apparatus fontium} |
3542 | % while the latter is called an \emph{apparatus testium}. | 3542 | % while the latter is called an \emph{apparatus testium}. |
3543 | % | 3543 | % |
3544 | % \ekdanger From a technical standpoint, these notes are very different | 3544 | % \danger From a technical standpoint, these notes are very different |
3545 | % from the short editorial notes inserted between lemma texts and | 3545 | % from the short editorial notes inserted between lemma texts and |
3546 | % variant readings that have been described above | 3546 | % variant readings that have been described above |
3547 | % \vpageref{ref:editorial-notes}. However, for the sake of consistency | 3547 | % \vpageref{ref:editorial-notes}. However, for the sake of consistency |
3548 | % with \texttt{TEI xml} encoding, \pkg{ekdosis} uses the same command | 3548 | % with \texttt{TEI xml} encoding, \pkg{ekdosis} uses the same command |
3549 | % \cs{note} to insert both kinds of notes. | 3549 | % \cs{note} to insert both kinds of notes. |
3550 | % | 3550 | % |
3551 | % \ekdanger One must also keep in mind that the notes that are described | 3551 | % \danger One must also keep in mind that the notes that are described |
3552 | % 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 |
3553 | % text. By consequence, as boundaries must always be set outside spans | 3553 | % text. By consequence, as boundaries must always be set outside spans |
3554 | % 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 |
@@ -3585,7 +3585,7 @@ Some \app[type=rec2]{ | |||
3585 | % \DescribeOption{labelb} |labelb|$=$\meta{label} | 3585 | % \DescribeOption{labelb} |labelb|$=$\meta{label} |
3586 | % \hfill\tcboxverb{Mandatory}\\ | 3586 | % \hfill\tcboxverb{Mandatory}\\ |
3587 | % |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 |
3588 | % immediately preceding the lemma text. \ekdanger |labelb| is used by | 3588 | % immediately preceding the lemma text. \danger |labelb| is used by |
3589 | % \pkg{ekdosis} to print the line numbers in the apparatus criticus | 3589 | % \pkg{ekdosis} to print the line numbers in the apparatus criticus |
3590 | % and to set the |left()| XPointer should \texttt{TEI} output be | 3590 | % and to set the |left()| XPointer should \texttt{TEI} output be |
3591 | % required. Therefore, it must be specified. Otherwise, \pkg{ekdosis} | 3591 | % required. Therefore, it must be specified. Otherwise, \pkg{ekdosis} |
@@ -3863,12 +3863,12 @@ argument of the | |||
3863 | % prose text.\footnote{See \vpageref{ref:verse-lineation} for | 3863 | % prose text.\footnote{See \vpageref{ref:verse-lineation} for |
3864 | % details.} | 3864 | % details.} |
3865 | % | 3865 | % |
3866 | % \ekdanger For what is described in this section to operate, | 3866 | % \danger For what is described in this section to operate, |
3867 | % \pkg{ekdosis} must be loaded with the global option |poetry=verse| | 3867 | % \pkg{ekdosis} must be loaded with the global option |poetry=verse| |
3868 | % as explained above \vpageref{ref:poetry-opt}. Simply loading the | 3868 | % as explained above \vpageref{ref:poetry-opt}. Simply loading the |
3869 | % \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. |
3870 | % | 3870 | % |
3871 | % \ekdanger The foregoing does not apply if the \cls{memoir} class be | 3871 | % \danger The foregoing does not apply if the \cls{memoir} class be |
3872 | % used.\footcite{memoir} In this case, \pkg{ekdosis} automatically | 3872 | % used.\footcite{memoir} In this case, \pkg{ekdosis} automatically |
3873 | % 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 |
3874 | % the global option |poetry=verse|. | 3874 | % the global option |poetry=verse|. |
@@ -3935,7 +3935,7 @@ argument of the | |||
3935 | % \enquote{sonnet}, \enquote{quatrain}, \enquote{couplet} and the | 3935 | % \enquote{sonnet}, \enquote{quatrain}, \enquote{couplet} and the |
3936 | % like. | 3936 | % like. |
3937 | % | 3937 | % |
3938 | % \ekdanger Unlike the \texttt{TEI xml} element |<lg>|, \env{ekdverse} | 3938 | % \danger Unlike the \texttt{TEI xml} element |<lg>|, \env{ekdverse} |
3939 | % may not nest hiearchichally. Within this environment, | 3939 | % may not nest hiearchichally. Within this environment, |
3940 | % \env{ekdstanza} must be used instead to encode stanzas as described | 3940 | % \env{ekdstanza} must be used instead to encode stanzas as described |
3941 | % \vpageref[below][below]{ref:ekdstanza}. | 3941 | % \vpageref[below][below]{ref:ekdstanza}. |
@@ -4450,7 +4450,7 @@ substantiall fewell,} | |||
4450 | % | 4450 | % |
4451 | % \section{Lineation Settings} | 4451 | % \section{Lineation Settings} |
4452 | % \label{sec:lineation} | 4452 | % \label{sec:lineation} |
4453 | % \ekdanger \pkg{ekdosis} uses \pkg{lineno} internally for line | 4453 | % \danger \pkg{ekdosis} uses \pkg{lineno} internally for line |
4454 | % numbering.\footcite{lineno} But it must be noted that \pkg{ekdosis} | 4454 | % numbering.\footcite{lineno} But it must be noted that \pkg{ekdosis} |
4455 | % strictly prohibits the \enquote{pagewise} mode of operation that is | 4455 | % strictly prohibits the \enquote{pagewise} mode of operation that is |
4456 | % provided by \pkg{lineno}. As a result of this hinderance, all | 4456 | % provided by \pkg{lineno}. As a result of this hinderance, all |
@@ -4552,7 +4552,7 @@ substantiall fewell,} | |||
4552 | % \DescribeMacro{\verselinenumfont} | 4552 | % \DescribeMacro{\verselinenumfont} |
4553 | % \cs{verselinenumfont}\marg{commands} can be used to set the font | 4553 | % \cs{verselinenumfont}\marg{commands} can be used to set the font |
4554 | % used for lines of verse. By default, the definition is | 4554 | % used for lines of verse. By default, the definition is |
4555 | % |\normalfont\footnotesize|. \ekdanger If the \cls{memoir} class be | 4555 | % |\normalfont\footnotesize|. \danger If the \cls{memoir} class be |
4556 | % loaded, this command is replaced with \cs{linenumberfont} described | 4556 | % loaded, this command is replaced with \cs{linenumberfont} described |
4557 | % above.\\ | 4557 | % above.\\ |
4558 | % \DescribeMacro{\vrightskip} The \pkg{verse} package prints the | 4558 | % \DescribeMacro{\vrightskip} The \pkg{verse} package prints the |
@@ -4586,7 +4586,7 @@ substantiall fewell,} | |||
4586 | % | 4586 | % |
4587 | % \section{Languages} | 4587 | % \section{Languages} |
4588 | % \label{sec:languages} | 4588 | % \label{sec:languages} |
4589 | % \ekdanger \pkg{ekdosis} is fully compatible with \pkg{babel}. | 4589 | % \danger \pkg{ekdosis} is fully compatible with \pkg{babel}. |
4590 | % \enquote{Fully compatible} means that all features provided by | 4590 | % \enquote{Fully compatible} means that all features provided by |
4591 | % \pkg{babel}, including language switching commands, are supported by | 4591 | % \pkg{babel}, including language switching commands, are supported by |
4592 | % \pkg{ekdosis}. \pkg{ekdosis} is also compatible with | 4592 | % \pkg{ekdosis}. \pkg{ekdosis} is also compatible with |
@@ -4610,7 +4610,7 @@ substantiall fewell,} | |||
4610 | % 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} |
4611 | % and \vref{sec:teixml-output}. | 4611 | % and \vref{sec:teixml-output}. |
4612 | % | 4612 | % |
4613 | % \ekdanger In some cases, it may be needed to apply in the apparatus | 4613 | % \danger In some cases, it may be needed to apply in the apparatus |
4614 | % 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 |
4615 | % edition text. To this end, \pkg{ekdosis} provides a set of | 4615 | % edition text. To this end, \pkg{ekdosis} provides a set of |
4616 | % facilities which are described | 4616 | % facilities which are described |
@@ -4626,7 +4626,7 @@ substantiall fewell,} | |||
4626 | % 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 |
4627 | % use \pkg{babel} to print such languages. | 4627 | % use \pkg{babel} to print such languages. |
4628 | % | 4628 | % |
4629 | % \ekdanger The reader is invited to refer to and become acquainted with | 4629 | % \danger The reader is invited to refer to and become acquainted with |
4630 | % the relevant parts of the documentation of the \pkg{babel} | 4630 | % the relevant parts of the documentation of the \pkg{babel} |
4631 | % package.\footcite{babel} | 4631 | % package.\footcite{babel} |
4632 | % | 4632 | % |
@@ -4938,7 +4938,7 @@ subtype="arabtex">'inna 'abI kAna mina | |||
4938 | % such as \cs{chapter} or \cs{section} only act as milestones, | 4938 | % such as \cs{chapter} or \cs{section} only act as milestones, |
4939 | % contrary to \texttt{TEI} elements. | 4939 | % contrary to \texttt{TEI} elements. |
4940 | % | 4940 | % |
4941 | % \ekdanger It must be noted that the two styles described hereinafter | 4941 | % \danger It must be noted that the two styles described hereinafter |
4942 | % are mutually exclusive. \texttt{TEI xml} forbids that both be | 4942 | % are mutually exclusive. \texttt{TEI xml} forbids that both be |
4943 | % combined within a single |<body>| element.\footnote{See | 4943 | % combined within a single |<body>| element.\footnote{See |
4944 | % \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}.} |
@@ -4951,12 +4951,12 @@ subtype="arabtex">'inna 'abI kAna mina | |||
4951 | % \pkg{ekdosis} can use the \LaTeX\ standard textual divisions, such | 4951 | % \pkg{ekdosis} can use the \LaTeX\ standard textual divisions, such |
4952 | % as \cs{book}, \cs{chapter}, \cs{section} and the like. | 4952 | % as \cs{book}, \cs{chapter}, \cs{section} and the like. |
4953 | % | 4953 | % |
4954 | % \ekdanger However, to have these divisions properly translated into | 4954 | % \danger However, to have these divisions properly translated into |
4955 | % \texttt{TEI} numbered |<div>| elements, the |divs| general option | 4955 | % \texttt{TEI} numbered |<div>| elements, the |divs| general option |
4956 | % must be set to |latex| explicitly\---viz. |divs=latex|\---as | 4956 | % must be set to |latex| explicitly\---viz. |divs=latex|\---as |
4957 | % described above \vpageref{ref:divs-opt}. | 4957 | % described above \vpageref{ref:divs-opt}. |
4958 | % | 4958 | % |
4959 | % \ekdanger As the \env{alignment} environment that is provided by | 4959 | % \danger As the \env{alignment} environment that is provided by |
4960 | % \pkg{ekdosis} places all aligned texts within \texttt{TEI xml} | 4960 | % \pkg{ekdosis} places all aligned texts within \texttt{TEI xml} |
4961 | % un-numbered |<div>| elements and \LaTeX\ textual divisions are | 4961 | % un-numbered |<div>| elements and \LaTeX\ textual divisions are |
4962 | % converted into numbered |<div|\textsubscript{\emph{n}}|>| elements, | 4962 | % converted into numbered |<div|\textsubscript{\emph{n}}|>| elements, |
@@ -5044,7 +5044,7 @@ subtype="arabtex">'inna 'abI kAna mina | |||
5044 | % | 5044 | % |
5045 | % \subsection{Using \texttt{TEI} Un-numbered Divisions} | 5045 | % \subsection{Using \texttt{TEI} Un-numbered Divisions} |
5046 | % \label{sec:ekddiv} | 5046 | % \label{sec:ekddiv} |
5047 | % \ekdanger As already described \vpageref{ref:divs-opt}, the | 5047 | % \danger As already described \vpageref{ref:divs-opt}, the |
5048 | % 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 |
5049 | % is congruous to the general option |divs=ekdosis|. | 5049 | % is congruous to the general option |divs=ekdosis|. |
5050 | % | 5050 | % |
@@ -5326,7 +5326,7 @@ subtype="arabtex">'inna 'abI kAna mina | |||
5326 | % any other declared layer can be specified in the optional argument | 5326 | % any other declared layer can be specified in the optional argument |
5327 | % of the command. | 5327 | % of the command. |
5328 | % | 5328 | % |
5329 | % \ekdanger Of course, \cs{addentries} must be issued before the | 5329 | % \danger Of course, \cs{addentries} must be issued before the |
5330 | % number of entries on a given page has reached the value set as | 5330 | % number of entries on a given page has reached the value set as |
5331 | % |maxentries|. | 5331 | % |maxentries|. |
5332 | % | 5332 | % |
@@ -5619,11 +5619,11 @@ subtype="arabtex">'inna 'abI kAna mina | |||
5619 | % expected formatted siglum so that the error in the |.tex| source | 5619 | % expected formatted siglum so that the error in the |.tex| source |
5620 | % file can be easily spotted and corrected. | 5620 | % file can be easily spotted and corrected. |
5621 | % | 5621 | % |
5622 | % \ekdanger As the \meta{unique id} declared with \cs{DeclareShorthand} | 5622 | % \danger As the \meta{unique id} declared with \cs{DeclareShorthand} |
5623 | % is not to be exported in the \texttt{TEI xml} output file, | 5623 | % is not to be exported in the \texttt{TEI xml} output file, |
5624 | % \pkg{ekdosis} checks neither its uniqueness nor its validness. | 5624 | % \pkg{ekdosis} checks neither its uniqueness nor its validness. |
5625 | % | 5625 | % |
5626 | % \ekdanger It must be noted that \LaTeX\ labels that are provided in | 5626 | % \danger It must be noted that \LaTeX\ labels that are provided in |
5627 | % commands such as \cs{label}, \cs{cite} and the like must also be | 5627 | % commands such as \cs{label}, \cs{cite} and the like must also be |
5628 | % unique in the document. As \LaTeX\ will issue warnings if duplicates | 5628 | % unique in the document. As \LaTeX\ will issue warnings if duplicates |
5629 | % be found, \cs{ekdosis} does not check their uniqueness but will | 5629 | % be found, \cs{ekdosis} does not check their uniqueness but will |
@@ -5915,7 +5915,7 @@ many mathematical writings and to the sense of | |||
5915 | % strings captured are inserted where each of them is expected in | 5915 | % strings captured are inserted where each of them is expected in |
5916 | % the \texttt{TEI} element. | 5916 | % the \texttt{TEI} element. |
5917 | % | 5917 | % |
5918 | % \ekdanger If the entire string to be captured be enclosed in square or | 5918 | % \danger If the entire string to be captured be enclosed in square or |
5919 | % curly brackets, it is advisable to use |@b|\texttt{\emph{n}} (for | 5919 | % curly brackets, it is advisable to use |@b|\texttt{\emph{n}} (for |
5920 | % curly brackets) or |@s|\texttt{\emph{n}} (for square brackets) | 5920 | % curly brackets) or |@s|\texttt{\emph{n}} (for square brackets) |
5921 | % instead of |#|\texttt{\emph{n}}, where \texttt{\emph{n}} is the | 5921 | % instead of |#|\texttt{\emph{n}}, where \texttt{\emph{n}} is the |
@@ -5923,7 +5923,7 @@ many mathematical writings and to the sense of | |||
5923 | % brackets that may be found in the captured string from being | 5923 | % brackets that may be found in the captured string from being |
5924 | % interpreted. | 5924 | % interpreted. |
5925 | % | 5925 | % |
5926 | % \ekdanger Strings must be entered exactly as \pkg{ekdosis} will find | 5926 | % \danger Strings must be entered exactly as \pkg{ekdosis} will find |
5927 | % them as the |.tex| source file is compiled. Specifically, | 5927 | % them as the |.tex| source file is compiled. Specifically, |
5928 | % \emph{control sequences}, namely the coded commands immediately | 5928 | % \emph{control sequences}, namely the coded commands immediately |
5929 | % preceded by `\verb+\+' are always found followed by a space. For | 5929 | % preceded by `\verb+\+' are always found followed by a space. For |
@@ -6224,7 +6224,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
6224 | %</example> | 6224 | %</example> |
6225 | % \fi | 6225 | % \fi |
6226 | % | 6226 | % |
6227 | % \ekdanger As can be seen, the same string |Drak| is used as a label in | 6227 | % \danger As can be seen, the same string |Drak| is used as a label in |
6228 | % the Bib\hologo{(La)TeX} file (l.~1) and an |xml:id| in the | 6228 | % the Bib\hologo{(La)TeX} file (l.~1) and an |xml:id| in the |
6229 | % \texttt{TEI} file (l.~3). This same label must be used again in the | 6229 | % \texttt{TEI} file (l.~3). This same label must be used again in the |
6230 | % preamble of the |.tex| source file to declare Arnold Drakenborch as a | 6230 | % preamble of the |.tex| source file to declare Arnold Drakenborch as a |
@@ -7507,7 +7507,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
7507 | % \end{macrocode} | 7507 | % \end{macrocode} |
7508 | % \end{macro} | 7508 | % \end{macro} |
7509 | % \begin{macro}{\teidirect} | 7509 | % \begin{macro}{\teidirect} |
7510 | % \changes{v1.3}{2021/05/24}{direct insertion of elements in the | 7510 | % \changes{v1.3}{2021/05/27}{direct insertion of elements in the |
7511 | % \texttt{TEI xml} file} | 7511 | % \texttt{TEI xml} file} |
7512 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} | 7512 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} |
7513 | % does nothing in \LaTeX. Its only use is to insert elements in the | 7513 | % does nothing in \LaTeX. Its only use is to insert elements in the |
@@ -7866,7 +7866,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
7866 | % \end{macrocode} | 7866 | % \end{macrocode} |
7867 | % \end{macro} | 7867 | % \end{macro} |
7868 | % \begin{macro}{\SetApparatusNoteLanguage} | 7868 | % \begin{macro}{\SetApparatusNoteLanguage} |
7869 | % \changes{v1.3}{2021/05/24}{defines an alternate language to be | 7869 | % \changes{v1.3}{2021/05/27}{defines an alternate language to be |
7870 | % applied in note apparatus entries} | 7870 | % applied in note apparatus entries} |
7871 | % \cs{SetApparatusNoteLang}\marg{languagename} can be used when | 7871 | % \cs{SetApparatusNoteLang}\marg{languagename} can be used when |
7872 | % it is needed to apply in entries introduced by the \cs{note} command | 7872 | % it is needed to apply in entries introduced by the \cs{note} command |