diff options
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r-- | ekdosis.dtx | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index 620fc2b..a771bc0 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -515,8 +515,7 @@ along with this program. If not, see | |||
515 | \ifbool{nocolordoc}{\usemintedstyle{bw}}{} | 515 | \ifbool{nocolordoc}{\usemintedstyle{bw}}{} |
516 | \setminted{bgcolor=ekdcolor,linenos, fontsize=\small} | 516 | \setminted{bgcolor=ekdcolor,linenos, fontsize=\small} |
517 | \newminted[ekdlua]{lua}{bgcolor={}, linenos, fontsize=\relsize{-0.5}, | 517 | \newminted[ekdlua]{lua}{bgcolor={}, linenos, fontsize=\relsize{-0.5}, |
518 | xleftmargin=12pt, breaklines, numberblanklines=false, numbersep=3pt, | 518 | xleftmargin=12pt, breaklines, numberblanklines=false, numbersep=3pt} |
519 | firstnumber=last} | ||
520 | \renewcommand{\theFancyVerbLine}{\normalfont\smaller\arabic{FancyVerbLine}} | 519 | \renewcommand{\theFancyVerbLine}{\normalfont\smaller\arabic{FancyVerbLine}} |
521 | \usepackage[contents]{colordoc} | 520 | \usepackage[contents]{colordoc} |
522 | \newcommand{\pkg}[1]{\textsf{#1}\index{#1=#1 (package)}} | 521 | \newcommand{\pkg}[1]{\textsf{#1}\index{#1=#1 (package)}} |
@@ -1050,8 +1049,10 @@ along with this program. If not, see | |||
1050 | % \label{ref:marcianus-b} | 1049 | % \label{ref:marcianus-b} |
1051 | % To take here one example, a witness such as the \emph{Marcianus | 1050 | % To take here one example, a witness such as the \emph{Marcianus |
1052 | % Graecus}~269, referred to as manuscript \enquote*{M} in the | 1051 | % Graecus}~269, referred to as manuscript \enquote*{M} in the |
1053 | % editions, which contains sixty treatises from Hippocrates, could be | 1052 | % editions, which contains sixty treatises transmitted under the name |
1054 | % declared as follows:--- \iffalse | 1053 | % of Hippocrates, could be declared as follows:--- |
1054 | % | ||
1055 | %\iffalse | ||
1055 | %<*example> | 1056 | %<*example> |
1056 | % \fi | 1057 | % \fi |
1057 | \begin{minted}[linenos=false]{latex} | 1058 | \begin{minted}[linenos=false]{latex} |
@@ -4196,7 +4197,7 @@ subtype="arabtex">'inna 'abI kAna mina | |||
4196 | % \cs{vref}|{label}| & |<ptr ="#label"/>| \\ | 4197 | % \cs{vref}|{label}| & |<ptr ="#label"/>| \\ |
4197 | % \cs{vpageref}|{label}| & |<ptr ="#label"/>| \\ | 4198 | % \cs{vpageref}|{label}| & |<ptr ="#label"/>| \\ |
4198 | % \cs{pagebreak}\meta{\oarg{1-4}} & no output \\ | 4199 | % \cs{pagebreak}\meta{\oarg{1-4}} & no output \\ |
4199 | % \cs{mbox}|{}| & no output \\ | 4200 | % \cs{mbox}\marg{text} & \meta{text} \\ |
4200 | % \bottomrule | 4201 | % \bottomrule |
4201 | % \end{xltabular} | 4202 | % \end{xltabular} |
4202 | % | 4203 | % |
@@ -5687,6 +5688,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
5687 | \RequirePackage{zref-user} | 5688 | \RequirePackage{zref-user} |
5688 | \RequirePackage{zref-abspage} | 5689 | \RequirePackage{zref-abspage} |
5689 | \RequirePackage{ltxcmds} | 5690 | \RequirePackage{ltxcmds} |
5691 | \RequirePackage{pdftexcmds} | ||
5690 | \RequirePackage{atbegshi} | 5692 | \RequirePackage{atbegshi} |
5691 | \RequirePackage{ifoddpage} | 5693 | \RequirePackage{ifoddpage} |
5692 | \if@pkg@parnotes | 5694 | \if@pkg@parnotes |
@@ -6434,9 +6436,9 @@ Sample text with a \textcolor{red}{word} in red. | |||
6434 | \def\current@ref@arg#1#2{{%\textdir TLT% | 6436 | \def\current@ref@arg#1#2{{%\textdir TLT% |
6435 | \unexpanded\expandafter{\ekd@refnumstyle}% | 6437 | \unexpanded\expandafter{\ekd@refnumstyle}% |
6436 | \ifnum% | 6438 | \ifnum% |
6437 | \getpagerefnumber{#1} | 6439 | \pdf@strcmp{\getpagerefnumber{#1}}{\getpagerefnumber{#2}} |
6438 | = | 6440 | = |
6439 | \getpagerefnumber{#2} | 6441 | 0 |
6440 | \ifnum% | 6442 | \ifnum% |
6441 | \getrefnumber{#1} | 6443 | \getrefnumber{#1} |
6442 | = | 6444 | = |
@@ -6493,9 +6495,11 @@ Sample text with a \textcolor{red}{word} in red. | |||
6493 | \def\current@ref{{%\textdir TLT% | 6495 | \def\current@ref{{%\textdir TLT% |
6494 | \unexpanded\expandafter{\ekd@refnumstyle}% | 6496 | \unexpanded\expandafter{\ekd@refnumstyle}% |
6495 | \ifnum% | 6497 | \ifnum% |
6496 | \getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b} | 6498 | \pdf@strcmp{% |
6499 | \getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b}}% | ||
6500 | {\getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-e}} | ||
6497 | = | 6501 | = |
6498 | \getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-e} | 6502 | 0 |
6499 | \ifnum% | 6503 | \ifnum% |
6500 | \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b} | 6504 | \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b} |
6501 | = | 6505 | = |