diff options
-rw-r--r-- | ekdosis.dtx | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index 593c1a9..293cc1c 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -223,7 +223,7 @@ Running "make install" installs the files in the local TeX tree. | |||
223 | % | 223 | % |
224 | % \title{\tcbox[colframe=black, enhanced, tikznode, drop lifted | 224 | % \title{\tcbox[colframe=black, enhanced, tikznode, drop lifted |
225 | % shadow, colback=white, boxrule=.25mm]% | 225 | % shadow, colback=white, boxrule=.25mm]% |
226 | % {\textsf{ekdosis}\\ | 226 | % {ἔκδοσις\\ |
227 | % Typesetting \texttt{TEI xml} compliant critical editions\\ | 227 | % Typesetting \texttt{TEI xml} compliant critical editions\\ |
228 | % \fileversion\ --- \filedate}} | 228 | % \fileversion\ --- \filedate}} |
229 | % | 229 | % |
@@ -328,7 +328,6 @@ Running "make install" installs the files in the local TeX tree. | |||
328 | \RequirePackage[addpageno]{lineno} | 328 | \RequirePackage[addpageno]{lineno} |
329 | \RequirePackage{vplref} | 329 | \RequirePackage{vplref} |
330 | \RequirePackage{keyfloat} | 330 | \RequirePackage{keyfloat} |
331 | % \RequirePackage{afterpage} | ||
332 | \RequirePackage{refcount} | 331 | \RequirePackage{refcount} |
333 | \RequirePackage[user,abspage]{zref} | 332 | \RequirePackage[user,abspage]{zref} |
334 | \if@pkg@parnotes | 333 | \if@pkg@parnotes |
@@ -344,7 +343,6 @@ Running "make install" installs the files in the local TeX tree. | |||
344 | % \end{macrocode} | 343 | % \end{macrocode} |
345 | % \begin{macrocode} | 344 | % \begin{macrocode} |
346 | \newbool{ekdstarted} | 345 | \newbool{ekdstarted} |
347 | \newbool{isapp} | ||
348 | \newbool{doapp} | 346 | \newbool{doapp} |
349 | \newbool{ekdstate} | 347 | \newbool{ekdstate} |
350 | \providebool{al@rlmode} | 348 | \providebool{al@rlmode} |
@@ -364,8 +362,6 @@ Running "make install" installs the files in the local TeX tree. | |||
364 | }% | 362 | }% |
365 | } | 363 | } |
366 | \def\add@apparatus{% | 364 | \def\add@apparatus{% |
367 | % \ifbool{isapp}{\testapparatus}{\add@@apparatus% | ||
368 | % \setbool{isapp}{true}}% | ||
369 | \notbool{ekdstarted}{\add@@apparatus% | 365 | \notbool{ekdstarted}{\add@@apparatus% |
370 | \global\setbool{ekdstarted}{true}} | 366 | \global\setbool{ekdstarted}{true}} |
371 | {\testapparatus% | 367 | {\testapparatus% |
@@ -411,12 +407,6 @@ Running "make install" installs the files in the local TeX tree. | |||
411 | \NewDocumentCommand{\apparatus}{}{\luadirect{tex.sprint(appout())}} | 407 | \NewDocumentCommand{\apparatus}{}{\luadirect{tex.sprint(appout())}} |
412 | \NewDocumentCommand{\testapparatus}{}{% | 408 | \NewDocumentCommand{\testapparatus}{}{% |
413 | \luadirect{tex.sprint(ekdosis.testapparatus())}} | 409 | \luadirect{tex.sprint(ekdosis.testapparatus())}} |
414 | % \def\add@apparatus{% | ||
415 | % \add@@apparatus% | ||
416 | % \afterpage{\add@apparatus}} | ||
417 | % \NewDocumentCommand{\EkdosisStart}{}{% | ||
418 | % \add@@apparatus% | ||
419 | % \afterpage{\add@apparatus}} | ||
420 | \NewDocumentCommand{\EkdosisStart}{}{% | 410 | \NewDocumentCommand{\EkdosisStart}{}{% |
421 | \stepcounter{ekd@lab}% | 411 | \stepcounter{ekd@lab}% |
422 | \zlabel{ekd:\theekd@lab}% | 412 | \zlabel{ekd:\theekd@lab}% |
@@ -427,7 +417,6 @@ Running "make install" installs the files in the local TeX tree. | |||
427 | \NewDocumentCommand{\EkdosisOn}{}{\setbool{ekdstate}{true}} | 417 | \NewDocumentCommand{\EkdosisOn}{}{\setbool{ekdstate}{true}} |
428 | \NewDocumentCommand{\EkdosisOff}{}{% | 418 | \NewDocumentCommand{\EkdosisOff}{}{% |
429 | \setbool{ekdstate}{false}% | 419 | \setbool{ekdstate}{false}% |
430 | % \setbool{isapp}{false}% | ||
431 | } | 420 | } |
432 | \newenvironment{ekdosis}{% | 421 | \newenvironment{ekdosis}{% |
433 | \EkdosisStart% | 422 | \EkdosisStart% |
@@ -523,18 +512,6 @@ function appout() | |||
523 | else end | 512 | else end |
524 | end | 513 | end |
525 | 514 | ||
526 | --[[ | ||
527 | function testapparatus() | ||
528 | local file = io.open(tex.jobname..".ekd", "r") | ||
529 | if file ~= nil then | ||
530 | local t = file:read("*a") | ||
531 | if string.find(t, "<"..tex.count[0]..">") then | ||
532 | return "\\booltrue{isapp}" else return "\\boolfalse{isapp}" end | ||
533 | else return "\\boolfalse{isapp}" end | ||
534 | file:close() | ||
535 | end | ||
536 | --]] | ||
537 | |||
538 | ekdosis.testapparatus = function() | 515 | ekdosis.testapparatus = function() |
539 | if pg_ii == pg_i then | 516 | if pg_ii == pg_i then |
540 | return "\\boolfalse{doapp}" | 517 | return "\\boolfalse{doapp}" |
@@ -563,15 +540,6 @@ ekdosis.mdvappend = function(str) | |||
563 | "\\append{\\textbf{\\getrefnumber{"..i.."}} "..str.."}" | 540 | "\\append{\\textbf{\\getrefnumber{"..i.."}} "..str.."}" |
564 | end | 541 | end |
565 | 542 | ||
566 | --[[ -- of no use | ||
567 | function writemdv(str) | ||
568 | str = md5.sumhexa(str) | ||
569 | local f = io.open(tex.jobname.."_tmp.ekd", "a+") | ||
570 | f:write("<md5>", str, "</md5>", "\n") | ||
571 | f:close() | ||
572 | return true | ||
573 | end | ||
574 | --]] | ||
575 | % \end{ekdlua} | 543 | % \end{ekdlua} |
576 | % \iffalse | 544 | % \iffalse |
577 | %</lua> | 545 | %</lua> |