aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx46
1 files changed, 36 insertions, 10 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index ca73f75..7ff76a2 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -2558,6 +2558,14 @@ friend
2558% \DescribeOption{gapmark}|gapmark|$=$\meta{symbols} 2558% \DescribeOption{gapmark}|gapmark|$=$\meta{symbols}
2559% \hfill\tcboxverb{Default: ***}\\ 2559% \hfill\tcboxverb{Default: ***}\\
2560% The symbols used to mark lacunae.\\ 2560% The symbols used to mark lacunae.\\
2561% \DescribeOption{keepinapp} |keepinapp|$=$\verb+true|false+
2562% \hfill\tcboxverb{Default: false}\\
2563% \newfeature[v1.4] This named argument does not need a value as it
2564% defaults to |true| if used. By default, the critical symbols used by
2565% \cs{supplied}, \cs{surplus} and \cs{sic} described below
2566% \vpagerefrange{ref:corr-cmds-b}{ref:corr-cmds-e} are printed in the
2567% edition text but removed from the apparatus. |keepinapp| instructs
2568% \pkg{ekdosis} to print these symbols in both places.
2561% 2569%
2562% As an example, what follows sets |[]| for deletions and |...| for 2570% As an example, what follows sets |[]| for deletions and |...| for
2563% lacunae:--- 2571% lacunae:---
@@ -2585,6 +2593,7 @@ friend
2585% used to perform the test. 2593% used to perform the test.
2586% 2594%
2587% \paragraph{Editorial Addition} 2595% \paragraph{Editorial Addition}
2596% \phts\label{ref:corr-cmds-b}
2588% \DescribeMacro{\supplied}\newfeature[v1.1]\cs{supplied}\marg{text} 2597% \DescribeMacro{\supplied}\newfeature[v1.1]\cs{supplied}\marg{text}
2589% is used to mark \meta{text} that is by definition missing from the 2598% is used to mark \meta{text} that is by definition missing from the
2590% tradition as supplied by the editor or some other scholar. This 2599% tradition as supplied by the editor or some other scholar. This
@@ -2602,6 +2611,7 @@ friend
2602% mandatory argument the text deemed by the editor to be readable but 2611% mandatory argument the text deemed by the editor to be readable but
2603% not understandable. \cs{sic} inserts \meta{text} between cruces 2612% not understandable. \cs{sic} inserts \meta{text} between cruces
2604% while \cs{sic*} prints only one crux before \meta{text}. 2613% while \cs{sic*} prints only one crux before \meta{text}.
2614% \phts\label{ref:corr-cmds-e}
2605% 2615%
2606% \paragraph{Lacuna} 2616% \paragraph{Lacuna}
2607% \DescribeMacro{\gap}\newfeature[v1.1] \cs{gap}\marg{csv list of 2617% \DescribeMacro{\gap}\newfeature[v1.1] \cs{gap}\marg{csv list of
@@ -8422,9 +8432,10 @@ Sample text with a \textcolor{red}{word} in red.
8422% either in the footnote floating block or in a float of its own, 8432% either in the footnote floating block or in a float of its own,
8423% depending on the value set in the |layout| global option. As some 8433% depending on the value set in the |layout| global option. As some
8424% commands need to know whether they are called from inside the 8434% commands need to know whether they are called from inside the
8425% apparatus criticus, a conditional is first defined. 8435% apparatus criticus, two conditionals are first defined.
8426% \begin{macrocode} 8436% \begin{macrocode}
8427\newif\ifekd@inside@app 8437\newif\ifekd@inside@app
8438\newif\ifekd@keepinapp
8428% \end{macrocode} 8439% \end{macrocode}
8429% Then \cs{ekd@fitapp} is defined for |layout=fitapp|:--- 8440% Then \cs{ekd@fitapp} is defined for |layout=fitapp|:---
8430% \begin{macrocode} 8441% \begin{macrocode}
@@ -9361,7 +9372,8 @@ Sample text with a \textcolor{red}{word} in red.
9361 initial delend = \ifbool{al@rlmode}{\{}{\}}, 9372 initial delend = \ifbool{al@rlmode}{\{}{\}},
9362 initial sicbegin = \dag, 9373 initial sicbegin = \dag,
9363 initial sicend = \dag, 9374 initial sicend = \dag,
9364 initial gapmark = *** 9375 initial gapmark = ***,
9376 bool keepinapp = \ifekd@keepinapp
9365} 9377}
9366% \end{macrocode} 9378% \end{macrocode}
9367% \begin{macro}{\supplied} 9379% \begin{macro}{\supplied}
@@ -9371,9 +9383,13 @@ Sample text with a \textcolor{red}{word} in red.
9371% \begin{macrocode} 9383% \begin{macrocode}
9372\NewDocumentCommand{\supplied}{m}{% 9384\NewDocumentCommand{\supplied}{m}{%
9373 \ifekd@inside@app 9385 \ifekd@inside@app
9374 #1% 9386 \ifekd@keepinapp
9387 \suppb@value #1\suppe@value
9388 \else
9389 #1%
9390 \fi
9375 \else 9391 \else
9376 \suppb@value #1\suppe@value 9392 \suppb@value #1\suppe@value
9377 \fi 9393 \fi
9378} 9394}
9379% \end{macrocode} 9395% \end{macrocode}
@@ -9387,9 +9403,13 @@ Sample text with a \textcolor{red}{word} in red.
9387% \begin{macrocode} 9403% \begin{macrocode}
9388\NewDocumentCommand{\surplus}{m}{% 9404\NewDocumentCommand{\surplus}{m}{%
9389 \ifekd@inside@app 9405 \ifekd@inside@app
9390 #1% 9406 \ifekd@keepinapp
9407 \delb@value #1\dele@value
9408 \else
9409 #1%
9410 \fi
9391 \else 9411 \else
9392 \delb@value #1\dele@value 9412 \delb@value #1\dele@value
9393 \fi 9413 \fi
9394} 9414}
9395% \end{macrocode} 9415% \end{macrocode}
@@ -9404,11 +9424,17 @@ Sample text with a \textcolor{red}{word} in red.
9404% \begin{macrocode} 9424% \begin{macrocode}
9405\NewDocumentCommand{\sic}{s m}{% 9425\NewDocumentCommand{\sic}{s m}{%
9406 \ifekd@inside@app 9426 \ifekd@inside@app
9407 #2% 9427 \ifekd@keepinapp
9428 \IfBooleanTF{#1}
9429 {\sicb@value #2}
9430 {\sicb@value #2\sice@value}%
9431 \else
9432 #2%
9433 \fi
9408 \else 9434 \else
9409 \IfBooleanTF{#1} 9435 \IfBooleanTF{#1}
9410 {\sicb@value #2} 9436 {\sicb@value #2}
9411 {\sicb@value #2\sice@value}% 9437 {\sicb@value #2\sice@value}%
9412 \fi 9438 \fi
9413} 9439}
9414% \end{macrocode} 9440% \end{macrocode}