diff options
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r-- | ekdosis.dtx | 68 |
1 files changed, 46 insertions, 22 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index 4319887..20ba5ec 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -829,9 +829,10 @@ along with this program. If not, see | |||
829 | %</example> | 829 | %</example> |
830 | % \fi | 830 | % \fi |
831 | % | 831 | % |
832 | % \needspace{5\baselineskip} | ||
833 | % PDF output:--- | 832 | % PDF output:--- |
834 | % \medskip | 833 | % \medskip |
834 | % | ||
835 | % \needspace{7\baselineskip} | ||
835 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] | 836 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] |
836 | % \begin{specimen} | 837 | % \begin{specimen} |
837 | % I | 838 | % I |
@@ -1805,14 +1806,14 @@ yesterday. | |||
1805 | % |prewit=|\texttt{coni.} or |prewit=|\texttt{falso coni.}, to print | 1806 | % |prewit=|\texttt{coni.} or |prewit=|\texttt{falso coni.}, to print |
1806 | % explanatory words in the apparatus criticus before the abridged | 1807 | % explanatory words in the apparatus criticus before the abridged |
1807 | % name of the scholar. | 1808 | % name of the scholar. |
1808 | % \item Conversely, line~9 introduces an \emph{emendation} for which | 1809 | % \item \label{it:egomute}Conversely, line~9 introduces an |
1809 | % the shorthand |egoscr| has been used to print the exact term | 1810 | % \emph{emendation} for which the shorthand |egoscr| has been used |
1810 | % \emph{scripsi} in the apparatus criticus while keeping |ego| as an | 1811 | % to print the exact term \emph{scripsi} in the apparatus criticus |
1811 | % |xml:id| for the \texttt{TEI xml} ouput file. Other strategies | 1812 | % while keeping |ego| as an |xml:id| for the \texttt{TEI xml} ouput |
1812 | % could have been used. For example, one could have defined a | 1813 | % file. Other strategies could have been used. For example, one |
1813 | % specific shorthand to print nothing in place of |ego| and leave | 1814 | % could have defined a specific shorthand to print nothing in place |
1814 | % the insertion of technical terms to the |post| optional argument | 1815 | % of |ego| and leave the insertion of technical terms to the |post| |
1815 | % of \cs{lem}, like so:--- | 1816 | % optional argument of \cs{lem}, like so:--- |
1816 | % \iffalse | 1817 | % \iffalse |
1817 | %<*example> | 1818 | %<*example> |
1818 | % \fi | 1819 | % \fi |
@@ -1992,7 +1993,8 @@ yesterday. | |||
1992 | % |type=emendation| to indicate that the lacuna has been accepted by | 1993 | % |type=emendation| to indicate that the lacuna has been accepted by |
1993 | % the editor. | 1994 | % the editor. |
1994 | % | 1995 | % |
1995 | % Examples follow:--- | 1996 | % Examples follow:\footnote{On the use of \texttt{egomute} (l.~2), see |
1997 | % above \vref{it:egomute}.}--- | ||
1996 | % | 1998 | % |
1997 | % \iffalse | 1999 | % \iffalse |
1998 | %<*example> | 2000 | %<*example> |
@@ -2030,9 +2032,10 @@ yesterday. | |||
2030 | % \iffalse | 2032 | % \iffalse |
2031 | %</example> | 2033 | %</example> |
2032 | % \fi | 2034 | % \fi |
2033 | % | 2035 | % |
2034 | % PDF output:--- | 2036 | % PDF output:--- |
2035 | % \medskip | 2037 | % \medskip |
2038 | % | ||
2036 | % \needspace{7\baselineskip} | 2039 | % \needspace{7\baselineskip} |
2037 | % \resetlinenumber | 2040 | % \resetlinenumber |
2038 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] | 2041 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] |
@@ -2223,6 +2226,7 @@ yesterday. | |||
2223 | %</example> | 2226 | %</example> |
2224 | % \fi | 2227 | % \fi |
2225 | % | 2228 | % |
2229 | % \needspace{7\baselineskip} | ||
2226 | % \resetlinenumber | 2230 | % \resetlinenumber |
2227 | % \FormatDiv{2}{}{.} | 2231 | % \FormatDiv{2}{}{.} |
2228 | % \begin{alignment}[flush,lcols=2, | 2232 | % \begin{alignment}[flush,lcols=2, |
@@ -2953,9 +2957,10 @@ Some \app[type=rec2]{ | |||
2953 | %</example> | 2957 | %</example> |
2954 | % \fi | 2958 | % \fi |
2955 | % | 2959 | % |
2956 | % \needspace{5\baselineskip} | ||
2957 | % PDF output:--- | 2960 | % PDF output:--- |
2958 | % \medskip | 2961 | % \medskip |
2962 | % | ||
2963 | % \needspace{7\baselineskip} | ||
2959 | % \resetlinenumber | 2964 | % \resetlinenumber |
2960 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] | 2965 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] |
2961 | % \begin{specimen} | 2966 | % \begin{specimen} |
@@ -3023,9 +3028,10 @@ text to demonstrate how to insert a note in the argument of the | |||
3023 | %</example> | 3028 | %</example> |
3024 | % \fi | 3029 | % \fi |
3025 | % | 3030 | % |
3026 | % \needspace{5\baselineskip} | ||
3027 | % PDF output:--- | 3031 | % PDF output:--- |
3028 | % \medskip | 3032 | % \medskip |
3033 | % | ||
3034 | % \needspace{7\baselineskip} | ||
3029 | % \resetlinenumber | 3035 | % \resetlinenumber |
3030 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] | 3036 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] |
3031 | % \begin{specimen} | 3037 | % \begin{specimen} |
@@ -3345,9 +3351,10 @@ argument of the | |||
3345 | % \vref{sec:multilayer-apparatus} (multiple-layer apparatus | 3351 | % \vref{sec:multilayer-apparatus} (multiple-layer apparatus |
3346 | % criticus).} | 3352 | % criticus).} |
3347 | % | 3353 | % |
3348 | % \needspace{5\baselineskip} | ||
3349 | % The PDF output with left-to-right apparatus criticus follows:--- | 3354 | % The PDF output with left-to-right apparatus criticus follows:--- |
3350 | % \medskip | 3355 | % \medskip |
3356 | % | ||
3357 | % \needspace{7\baselineskip} | ||
3351 | % \resetlinenumber | 3358 | % \resetlinenumber |
3352 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] | 3359 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] |
3353 | % \begin{specimen} | 3360 | % \begin{specimen} |
@@ -3363,7 +3370,10 @@ argument of the | |||
3363 | % \needspace{5\baselineskip} | 3370 | % \needspace{5\baselineskip} |
3364 | % And here follows the PDF output with right-to-left apparatus | 3371 | % And here follows the PDF output with right-to-left apparatus |
3365 | % criticus:--- | 3372 | % criticus:--- |
3366 | % \medskip \resetlinenumber | 3373 | % \medskip |
3374 | % | ||
3375 | % \needspace{7\baselineskip} | ||
3376 | % \resetlinenumber | ||
3367 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] | 3377 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] |
3368 | % \begin{specimen} | 3378 | % \begin{specimen} |
3369 | % \begin{arab}[fullvoc] | 3379 | % \begin{arab}[fullvoc] |
@@ -3425,9 +3435,11 @@ argument of the | |||
3425 | %</example> | 3435 | %</example> |
3426 | % \fi | 3436 | % \fi |
3427 | % | 3437 | % |
3428 | % \needspace{7\baselineskip} | ||
3429 | % The PDF output with left-to-right apparatus criticus is of course | 3438 | % The PDF output with left-to-right apparatus criticus is of course |
3430 | % the same as above:--- | 3439 | % the same as above:--- |
3440 | % \medskip | ||
3441 | % | ||
3442 | % \needspace{7\baselineskip} | ||
3431 | % \resetlinenumber | 3443 | % \resetlinenumber |
3432 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] | 3444 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] |
3433 | % \begin{specimen} | 3445 | % \begin{specimen} |
@@ -3552,12 +3564,13 @@ subtype="arabtex">'inna 'abI kAna mina | |||
3552 | % Variant readings can be inserted in headings. In this case, the | 3564 | % Variant readings can be inserted in headings. In this case, the |
3553 | % optional argument of the \LaTeX\ sectional command must naturally be | 3565 | % optional argument of the \LaTeX\ sectional command must naturally be |
3554 | % used to prevent variants from going into headers, footers or the | 3566 | % used to prevent variants from going into headers, footers or the |
3555 | % table of contents, like so:--- | 3567 | % table of contents, like so:\footnote{On the use of \texttt{egomute} |
3568 | % (l.~13), see above \vref{it:egomute}.}--- | ||
3556 | % | 3569 | % |
3557 | % \iffalse | 3570 | % \iffalse |
3558 | %<*example> | 3571 | %<*example> |
3559 | % \fi | 3572 | % \fi |
3560 | \begin{minted}[linenos=false]{latex} | 3573 | \begin{minted}{latex} |
3561 | % Preamble: | 3574 | % Preamble: |
3562 | \usepackage[teiexport=tidy, divs=latex]{ekdosis} | 3575 | \usepackage[teiexport=tidy, divs=latex]{ekdosis} |
3563 | \MkBodyDivs{chapter}{section}{}{}{}{} | 3576 | \MkBodyDivs{chapter}{section}{}{}{}{} |
@@ -3568,7 +3581,11 @@ subtype="arabtex">'inna 'abI kAna mina | |||
3568 | \lem[wit={I,R,H}]{βιβλίον δεύτερον} | 3581 | \lem[wit={I,R,H}]{βιβλίον δεύτερον} |
3569 | \rdg[wit=V]{λόγος β’}}} | 3582 | \rdg[wit=V]{λόγος β’}}} |
3570 | 3583 | ||
3571 | \section{<Τμῆμα πρῶτον>} | 3584 | \section[Τμῆμα πρῶτον]{ |
3585 | \app{ | ||
3586 | \lem[resp=egomute, type=emendation, nosep, | ||
3587 | post=suppleui]{\supplied{Τμῆμα πρῶτον}} | ||
3588 | }} | ||
3572 | Ἄνθρακες θερινοὶ ἐν Κραννῶνι· [...] | 3589 | Ἄνθρακες θερινοὶ ἐν Κραννῶνι· [...] |
3573 | \end{minted} | 3590 | \end{minted} |
3574 | % \iffalse | 3591 | % \iffalse |
@@ -3588,7 +3605,12 @@ subtype="arabtex">'inna 'abI kAna mina | |||
3588 | <rdg wit="#V">λόγος β’</rdg> | 3605 | <rdg wit="#V">λόγος β’</rdg> |
3589 | </app></head> | 3606 | </app></head> |
3590 | <div2 type="section"> | 3607 | <div2 type="section"> |
3591 | <head><Τμῆμα πρῶτον></head> | 3608 | <head> |
3609 | <app> | ||
3610 | <lem><supplied resp="#ego" type="emendation">Τμῆμα | ||
3611 | πρῶτον</supplied></lem> | ||
3612 | </app> | ||
3613 | </head> | ||
3592 | <p>Ἄνθρακες θερινοὶ ἐν Κραννῶνι· [...]</p> | 3614 | <p>Ἄνθρακες θερινοὶ ἐν Κραννῶνι· [...]</p> |
3593 | </div2> | 3615 | </div2> |
3594 | </div1> | 3616 | </div1> |
@@ -3711,10 +3733,10 @@ subtype="arabtex">'inna 'abI kAna mina | |||
3711 | %</example> | 3733 | %</example> |
3712 | % \fi | 3734 | % \fi |
3713 | % | 3735 | % |
3714 | % \needspace{5\baselineskip} | ||
3715 | % PDF output:--- | 3736 | % PDF output:--- |
3716 | % \medskip | 3737 | % \medskip |
3717 | % | 3738 | % |
3739 | % \needspace{7\baselineskip} | ||
3718 | % \resetlinenumber | 3740 | % \resetlinenumber |
3719 | % \FormatDiv{1}{\begin{center}\Large}{\end{center}} | 3741 | % \FormatDiv{1}{\begin{center}\Large}{\end{center}} |
3720 | % \FormatDiv{2}{\begin{center}\large}{\end{center}} | 3742 | % \FormatDiv{2}{\begin{center}\large}{\end{center}} |
@@ -4413,6 +4435,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
4413 | % PDF output:--- | 4435 | % PDF output:--- |
4414 | % \medskip | 4436 | % \medskip |
4415 | % | 4437 | % |
4438 | % \needspace{7\baselineskip} | ||
4416 | % \SetTEIxmlExport{autopar=false} | 4439 | % \SetTEIxmlExport{autopar=false} |
4417 | % \begingroup | 4440 | % \begingroup |
4418 | % \newenvironment{speech}{\par\selectlanguage{greek}}{\par} | 4441 | % \newenvironment{speech}{\par\selectlanguage{greek}}{\par} |
@@ -4598,10 +4621,10 @@ Sample text with a \textcolor{red}{word} in red. | |||
4598 | %</example> | 4621 | %</example> |
4599 | % \fi | 4622 | % \fi |
4600 | % | 4623 | % |
4601 | % \needspace{7\baselineskip} | ||
4602 | % PDF output:--- | 4624 | % PDF output:--- |
4603 | % \medskip | 4625 | % \medskip |
4604 | % | 4626 | % |
4627 | % \needspace{7\baselineskip} | ||
4605 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] | 4628 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] |
4606 | % \resetlinenumber[30]\rightlinenumbers | 4629 | % \resetlinenumber[30]\rightlinenumbers |
4607 | % \setlength{\linenumbersep}{-1.5in} | 4630 | % \setlength{\linenumbersep}{-1.5in} |
@@ -4769,6 +4792,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
4769 | % PDF output:--- | 4792 | % PDF output:--- |
4770 | % \medskip | 4793 | % \medskip |
4771 | % | 4794 | % |
4795 | % \needspace{7\baselineskip} | ||
4772 | % \resetlinenumber | 4796 | % \resetlinenumber |
4773 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] | 4797 | % \begin{alignment}[flush,tcols=1,texts=specimen,apparatus=specimen] |
4774 | % \begin{specimen} | 4798 | % \begin{specimen} |