aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-11-12 12:27:32 +0100
committerRobert Alessi <alessi@robertalessi.net>2018-11-12 12:27:32 +0100
commitbe54da1a6fa8c8a39043b9bca77d8217bd4751fc (patch)
tree47c0a257ca9649d91c088ddf8a2cdc461b139b81 /ekdosis.dtx
parenta3e4294f4c1c16a8b065ad2301da1cdb2f16c03a (diff)
downloadekdosis-be54da1a6fa8c8a39043b9bca77d8217bd4751fc.tar.gz
print title in Greek. tidy up
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx34
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
524end 513end
525 514
526--[[
527function 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()
535end
536--]]
537
538ekdosis.testapparatus = function() 515ekdosis.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.."}"
564end 541end
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>