aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--about.html25
-rw-r--r--ekdosis.dtx22
2 files changed, 28 insertions, 19 deletions
diff --git a/about.html b/about.html
index a246b48..4c359c6 100644
--- a/about.html
+++ b/about.html
@@ -1,18 +1,23 @@
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1<!DOCTYPE html>
2<html xmlns="http://www.w3.org/1999/xhtml"> 2<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
3<head> 3<head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4 <meta charset="utf-8" />
5 <meta http-equiv="Content-Style-Type" content="text/css" />
6 <meta name="generator" content="pandoc" /> 5 <meta name="generator" content="pandoc" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
7 <meta name="author" content="Robert Alessi" /> 7 <meta name="author" content="Robert Alessi" />
8 <title>The ekdosis package – README file</title> 8 <title>The ekdosis package – README file</title>
9 <style type="text/css">code{white-space: pre;}</style> 9 <style type="text/css">
10 code{white-space: pre-wrap;}
11 span.smallcaps{font-variant: small-caps;}
12 span.underline{text-decoration: underline;}
13 div.column{display: inline-block; vertical-align: top; width: 50%;}
14 </style>
10</head> 15</head>
11<body> 16<body>
12<div id="header"> 17<header>
13<h1 class="title">The ekdosis package – README file</h1> 18<h1 class="title">The ekdosis package – README file</h1>
14<h2 class="author">Robert Alessi</h2> 19<p class="author">Robert Alessi</p>
15</div> 20</header>
16<h1 id="overview">Overview</h1> 21<h1 id="overview">Overview</h1>
17<p><code>ekdosis</code> is a LuaLaTeX package designed for multilingual critical editions. It can be used to typeset texts and different layers of critical notes in any direction accepted by LuaTeX. Texts can be arranged in running paragraphs or on facing pages, in any number of columns which in turn can be synchronized or not. In addition to printed texts, <code>ekdosis</code> can convert <code>.tex</code> source files so as to produce <code>TEI xml</code> compliant critical editions. Database-driven encoding under LaTeX then allows extraction of texts entered segment by segment according to various criteria: main edited text, variant readings, translations or annotated borrowings between texts. It is published under the terms of the GNU General Public License (GPL) version 3.</p> 22<p><code>ekdosis</code> is a LuaLaTeX package designed for multilingual critical editions. It can be used to typeset texts and different layers of critical notes in any direction accepted by LuaTeX. Texts can be arranged in running paragraphs or on facing pages, in any number of columns which in turn can be synchronized or not. In addition to printed texts, <code>ekdosis</code> can convert <code>.tex</code> source files so as to produce <code>TEI xml</code> compliant critical editions. Database-driven encoding under LaTeX then allows extraction of texts entered segment by segment according to various criteria: main edited text, variant readings, translations or annotated borrowings between texts. It is published under the terms of the GNU General Public License (GPL) version 3.</p>
18<h1 id="license-and-disclamer">License and Disclamer</h1> 23<h1 id="license-and-disclamer">License and Disclamer</h1>
@@ -37,10 +42,10 @@
37</ul> 42</ul>
38<h2 id="license-applicable-to-the-documentation">License Applicable to the Documentation</h2> 43<h2 id="license-applicable-to-the-documentation">License Applicable to the Documentation</h2>
39<p>Copyright ⓒ 2020 Robert Alessi</p> 44<p>Copyright ⓒ 2020 Robert Alessi</p>
40<p>The documentation file <code>ekdosis.pdf</code> that is generated from the <code>ekdosis.dtx</code> source file is licensed under the GNU Free Documentation License, as follows:---</p> 45<p>The documentation file <code>ekdosis.pdf</code> that is generated from the <code>ekdosis.dtx</code> source file is licensed under the GNU Free Documentation License, as follows:—</p>
41<p>Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.</p> 46<p>Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.</p>
42<h1 id="installation">Installation</h1> 47<h1 id="installation">Installation</h1>
43<ol style="list-style-type: decimal"> 48<ol type="1">
44<li><p>Run <code>'latex ekdosis.ins'</code> to produce the <code>ekdosis.sty</code> and <code>ekdosis.lua</code> files.</p></li> 49<li><p>Run <code>'latex ekdosis.ins'</code> to produce the <code>ekdosis.sty</code> and <code>ekdosis.lua</code> files.</p></li>
45<li><p>To finish the installation you have to move the <code>ekdosis.sty</code> and <code>ekdosis.lua</code> files into a directory where LaTeX can find them. See the FAQ on <code>texfaq.org</code> at <a href="https://texfaq.org/FAQ-inst-wlcf" class="uri">https://texfaq.org/FAQ-inst-wlcf</a> for more on this.</p></li> 50<li><p>To finish the installation you have to move the <code>ekdosis.sty</code> and <code>ekdosis.lua</code> files into a directory where LaTeX can find them. See the FAQ on <code>texfaq.org</code> at <a href="https://texfaq.org/FAQ-inst-wlcf" class="uri">https://texfaq.org/FAQ-inst-wlcf</a> for more on this.</p></li>
46</ol> 51</ol>
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 =