diff options
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r-- | ekdosis.dtx | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index 91d3da5..29919e1 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -2321,14 +2321,21 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+ | |||
2321 | choice layout = {float = {\@pkg@floattrue}, | 2321 | choice layout = {float = {\@pkg@floattrue}, |
2322 | footins = {\@pkg@footinstrue}}, | 2322 | footins = {\@pkg@footinstrue}}, |
2323 | initial layout = float, | 2323 | initial layout = float, |
2324 | unknown-choice layout = \PackageError{ekdosis}{unknown | ||
2325 | layout=#1}{`layout' must be either `float' or `footins'.}, | ||
2324 | choice divs = {ekdosis = {\@pkg@ekddivstrue}, | 2326 | choice divs = {ekdosis = {\@pkg@ekddivstrue}, |
2325 | latex = {\@pkg@ekddivsfalse | 2327 | latex = {\@pkg@ekddivsfalse |
2326 | \AtBeginDocument{\luadirect{ekdosis.setekddivsfalse()}}}}, | 2328 | \AtBeginDocument{\luadirect{ekdosis.setekddivsfalse()}}}}, |
2327 | initial divs = ekdosis, | 2329 | initial divs = ekdosis, |
2330 | unknown-choice divs = \PackageError{ekdosis}{unknown divs=#1}{`divs' | ||
2331 | must be either `ekdosis' or `latex'.}, | ||
2328 | choice parnotes = {false = {}, | 2332 | choice parnotes = {false = {}, |
2329 | true = {\@pkg@parnotestrue}, | 2333 | true = {\@pkg@parnotestrue}, |
2330 | roman = {\@pkg@parnotestrue\@parnotesromantrue}}, | 2334 | roman = {\@pkg@parnotestrue\@parnotesromantrue}}, |
2331 | default parnotes = true, | 2335 | default parnotes = true, |
2336 | unknown-choice parnotes = \PackageError{ekdosis}{unknown | ||
2337 | parnotes=#1}{`parnotes' must be either `true', or `false' or | ||
2338 | `roman'.}, | ||
2332 | choice teiexport = {false = {}, | 2339 | choice teiexport = {false = {}, |
2333 | true = {\tei@exporttrue | 2340 | true = {\tei@exporttrue |
2334 | \AtBeginDocument{\luadirect{ekdosis.openteistream()}}% | 2341 | \AtBeginDocument{\luadirect{ekdosis.openteistream()}}% |
@@ -2336,7 +2343,9 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+ | |||
2336 | tidy = {\tei@exporttrue | 2343 | tidy = {\tei@exporttrue |
2337 | \AtBeginDocument{\luadirect{ekdosis.openteistream()}}% | 2344 | \AtBeginDocument{\luadirect{ekdosis.openteistream()}}% |
2338 | \AtEndDocument{\luadirect{ekdosis.closeteistream("tidy")}}}}, | 2345 | \AtEndDocument{\luadirect{ekdosis.closeteistream("tidy")}}}}, |
2339 | default teiexport = true | 2346 | default teiexport = true, |
2347 | unknown-choice teiexport = \PackageError{ekdosis}{unknown | ||
2348 | teiexport=#1}{`teiexport' must be either `true', `false' or `tidy'}, | ||
2340 | } | 2349 | } |
2341 | \ekvoProcessLocalOptions{ekdosis} | 2350 | \ekvoProcessLocalOptions{ekdosis} |
2342 | % \end{macrocode} | 2351 | % \end{macrocode} |
@@ -2541,6 +2550,8 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+ | |||
2541 | \ekvdefinekeys{ekd@newapp}{ | 2550 | \ekvdefinekeys{ekd@newapp}{ |
2542 | choice direction = {LR = \def\direction@val{LR}, | 2551 | choice direction = {LR = \def\direction@val{LR}, |
2543 | RL = \def\direction@val{RL}}, | 2552 | RL = \def\direction@val{RL}}, |
2553 | unknown-choice direction = \PackageError{ekdosis}{unknown | ||
2554 | direction=#1}{`direction' must be either `LR' or `RL'.}, | ||
2544 | store rule = \rule@val, | 2555 | store rule = \rule@val, |
2545 | store delim = \delim@val, | 2556 | store delim = \delim@val, |
2546 | store sep = \sep@val, | 2557 | store sep = \sep@val, |
@@ -3302,8 +3313,13 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+ | |||
3302 | bool paired = \ifekd@paired, | 3313 | bool paired = \ifekd@paired, |
3303 | choice lineation = {page = \ekd@pagelineationtrue, | 3314 | choice lineation = {page = \ekd@pagelineationtrue, |
3304 | document = \ekd@pagelineationfalse}, | 3315 | document = \ekd@pagelineationfalse}, |
3316 | unknown-choice lineation = \PackageError{ekdosis}{unknown | ||
3317 | lineation=#1}{`lineation' must be either `page' or `document'.}, | ||
3305 | choice segmentation = {auto = \def\segmentation@val{auto}, | 3318 | choice segmentation = {auto = \def\segmentation@val{auto}, |
3306 | noauto = \def\segmentation@val{noauto}}, | 3319 | noauto = \def\segmentation@val{noauto}}, |
3320 | unknown-choice segmentation = \PackageError{ekdosis}{unknown | ||
3321 | segmentation=#1}{`segmentation' must be either `auto' or | ||
3322 | `noauto'.}, | ||
3307 | bool flush = \ifekd@flushapp, | 3323 | bool flush = \ifekd@flushapp, |
3308 | initial tcols = 2, | 3324 | initial tcols = 2, |
3309 | initial lcols = 1, | 3325 | initial lcols = 1, |
@@ -3399,6 +3415,9 @@ texts=latin[xml:lang="la"]+\textcolor{red}{;}+ | |||
3399 | subsubsection = \def\toc@value{subsubsection}, | 3415 | subsubsection = \def\toc@value{subsubsection}, |
3400 | paragraph = \def\toc@value{paragraph}, | 3416 | paragraph = \def\toc@value{paragraph}, |
3401 | subparagraph = \def\toc@value{subparagraph}}, | 3417 | subparagraph = \def\toc@value{subparagraph}}, |
3418 | unknown-choice toc = \PackageError{ekdosis}{unknown toc=#1}{`toc' | ||
3419 | must be either `book', `part', `chapter', `section', `subsection', | ||
3420 | \MessageBreak `subsubsection', `paragraph' or `subparagraph'.}, | ||
3402 | initial depth = 1 | 3421 | initial depth = 1 |
3403 | } | 3422 | } |
3404 | 3423 | ||