aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-10-16 16:16:53 +0200
committerRobert Alessi <alessi@robertalessi.net>2018-10-16 16:16:53 +0200
commitee6b19606d2fcbb616335f0748f710bbcd030aa5 (patch)
tree76b2ed00a6407ed3e752cdb717c4292515868fc0 /ekdosis.dtx
parent6260d5667d5e96af19fe070ae9887b459ac00577 (diff)
downloadekdosis-ee6b19606d2fcbb616335f0748f710bbcd030aa5.tar.gz
set title, documentation licensing and layout
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx69
1 files changed, 56 insertions, 13 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index eaa13b2..3baefd9 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -6,7 +6,7 @@
6%<*readme> 6%<*readme>
7| 7|
8-------:| ----------------------------------------------------------------- 8-------:| -----------------------------------------------------------------
9ekdosis:| Typesetting of TEI xml compliant critical editions 9ekdosis:| Typesetting TEI xml compliant critical editions
10 Author:| Robert Alessi 10 Author:| Robert Alessi
11 E-mail:| alessi@robertalessi.net 11 E-mail:| alessi@robertalessi.net
12License:| Released under the GNU General Public License v3 or later 12License:| Released under the GNU General Public License v3 or later
@@ -20,7 +20,7 @@ Some text about the package: probably the same as the abstract.
20--[[ 20--[[
21This file is part of the `ekdosis' package 21This file is part of the `ekdosis' package
22 22
23ekdosis -- Typesetting of TEI xml compliant critical editions 23ekdosis -- Typesetting TEI xml compliant critical editions
24Copyright (C) 2016 Robert Alessi 24Copyright (C) 2016 Robert Alessi
25 25
26Please send error reports and suggestions for improvements to Robert 26Please send error reports and suggestions for improvements to Robert
@@ -55,7 +55,7 @@ along with this program. If not, see
55\askforoverwritefalse 55\askforoverwritefalse
56\preamble 56\preamble
57-------:| ----------------------------------------------------------------- 57-------:| -----------------------------------------------------------------
58ekdosis:| Typesetting of TEI xml compliant critical editions 58ekdosis:| Typesetting TEI xml compliant critical editions
59 Author:| Robert Alessi 59 Author:| Robert Alessi
60 E-mail:| alessi@robertalessi.net 60 E-mail:| alessi@robertalessi.net
61License:| Released under the GNU General Public License v3 or later 61License:| Released under the GNU General Public License v3 or later
@@ -63,7 +63,7 @@ License:| Released under the GNU General Public License v3 or later
63 63
64This file is part of the `ekdosis' package 64This file is part of the `ekdosis' package
65 65
66ekdosis -- Typesetting of TEI xml compliant critical editions 66ekdosis -- Typesetting TEI xml compliant critical editions
67Copyright (C) 2016 Robert Alessi 67Copyright (C) 2016 Robert Alessi
68 68
69Please send error reports and suggestions for improvements to Robert 69Please send error reports and suggestions for improvements to Robert
@@ -126,17 +126,35 @@ Running "make install" installs the files in the local TeX tree.
126%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] 126%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
127%<package>\ProvidesPackage{ekdosis} 127%<package>\ProvidesPackage{ekdosis}
128%<*package> 128%<*package>
129 [2016/08/03 v1.0 Typesetting of TEI xml compliant critical editions] 129 [2016/08/03 v1.0 Typesetting TEI xml compliant critical editions]
130%</package> 130%</package>
131%<*driver> 131%<*driver>
132\documentclass{ltxdoc} 132\documentclass{ltxdoc}
133\usepackage[a4paper,margin=25mm,left=50mm,nohead]{geometry} 133\usepackage[letterpaper,margin=25mm,left=50mm,nohead]{geometry}
134\usepackage{hyperxmp}
134\usepackage{uri} 135\usepackage{uri}
135\usepackage[numbered]{hypdoc} 136\usepackage[numbered]{hypdoc}
136\usepackage[toc,lot]{multitoc} 137\hypersetup{unicode=true, colorlinks, allcolors=blue,
138 linktocpage=true, pdfauthor={Robert Alessi}, pdftitle={The
139 ekdosis package}, pdfcontactemail={alessi@robertalessi.net},
140 pdfcontacturl={http://www.robertalessi.net/ekdosis},
141 pdfcopyright={Copyright (C) 2018 Robert Alessi
142 <alessi@robertalessi.net>. This document is licensed under the
143 Creative Commons Attribution-ShareAlike 4.0 International
144 License. To view a copy of this license, visit
145 http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to
146 Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.},
147 pdflicenseurl={https://creativecommons.org/licenses/by-sa/4.0/legalcode},
148 pdfmetalang={en-US}, pdftype={Text}, pdfkeywords={Arabic language,
149 arabtex, luatex}}
150\usepackage[lot]{multitoc}
137\usepackage{\jobname} 151\usepackage{\jobname}
138\usepackage{fontspec,luatextra} 152\usepackage{fontspec,luatextra}
139\setmainfont{Old Standard}[RawFeature={+ss05;+ss06}] 153\setmainfont{Old Standard}[RawFeature={+ss05;+ss06}]
154\usepackage{newunicodechar}
155\newunicodechar{ǧ}{ǧ} % Old Standard does not include ǧ/Ǧ
156\newunicodechar{Ǧ}{Ǧ} %
157\usepackage{arabluatex}
140\usepackage{relsize} 158\usepackage{relsize}
141\usepackage{minted} 159\usepackage{minted}
142\newminted[ekdlua]{lua}{linenos, fontsize=\relsize{-0.5}, 160\newminted[ekdlua]{lua}{linenos, fontsize=\relsize{-0.5},
@@ -146,6 +164,28 @@ Running "make install" installs the files in the local TeX tree.
146\usepackage[contents]{colordoc} 164\usepackage[contents]{colordoc}
147\usepackage{authblk} 165\usepackage{authblk}
148\newcommand{\package}[1]{\textsf{#1}\index{#1=#1 (package)}} 166\newcommand{\package}[1]{\textsf{#1}\index{#1=#1 (package)}}
167\usepackage{tikz}
168\usepackage[breakable, skins, xparse, minted]{tcolorbox}
169\usepackage{etoc}
170\etocsettocdepth{paragraph}
171\newcommand{\ekdtableofcontents}{%
172 \begingroup
173 \etocsetstyle{section}{}{}
174 {\etocsavedsectiontocline{%
175 \numberline{\etocnumber}\etocname}{\etocpage}}{}
176 \etocsetstyle{subsection}{}{}
177 {\etocsavedsubsectiontocline{%
178 \numberline{\etocnumber}\etocname}{\etocpage}}{}%
179 \etocsetstyle{subsubsection}{}{}
180 {\etocsavedsubsubsectiontocline{%
181 \numberline{\etocnumber}\etocname}{\etocpage}}{}%
182 \etocsetstyle{paragraph}{}{\leftskip2cm\rightskip 2.2em \parfillskip
183 0pt plus 1fil\relax \nobreak}
184 {\noindent\etocname{} \etocpage{} }{\par}%
185 \etocmulticolstyle[2]{\section*{Contents}}
186 \pdfbookmark[1]{Contents}{toc}
187 \tableofcontents
188 \endgroup}
149\EnableCrossrefs 189\EnableCrossrefs
150\CodelineIndex 190\CodelineIndex
151\RecordChanges 191\RecordChanges
@@ -179,18 +219,21 @@ Running "make install" installs the files in the local TeX tree.
179% \GetFileInfo{\jobname.dtx} 219% \GetFileInfo{\jobname.dtx}
180% \DoNotIndex{\newcommand,\newenvironment} 220% \DoNotIndex{\newcommand,\newenvironment}
181% 221%
182% \title{\textsf{ekdosis} --- Typesetting of TEI xml compliant 222% \title{\tcbox[colframe=black, enhanced, tikznode, drop lifted
183% critical editions\thanks{This file describes version \fileversion, 223% shadow, colback=white, boxrule=.25mm]%
184% last revised \filedate.} } 224% {\textsf{ekdosis}\\
225% Typesetting \texttt{TEI xml} compliant critical editions\\
226% \fileversion\ --- \filedate}}
185% 227%
186% \author{Robert Alessi \\ 228% \author{Robert Alessi \\
187% \href{mailto:alessi@robertalessi.net?Subject=ekdosis package}% 229% \href{mailto:alessi@robertalessi.net?Subject=ekdosis package}%
188% {\texttt{alessi@robertalessi.net}}} 230% {\texttt{alessi@robertalessi.net}}}
189% \date{\fileversion\ released \filedate} 231%
232% \date{}
190% 233%
191% \maketitle 234% \maketitle
192% \footnotesize 235% \footnotesize
193% \tableofcontents 236% \ekdtableofcontents
194% \normalsize 237% \normalsize
195% 238%
196%\changes{v1.00}{2016/08/03}{First public release} 239%\changes{v1.00}{2016/08/03}{First public release}
@@ -202,7 +245,7 @@ Running "make install" installs the files in the local TeX tree.
202% \section{Usage} 245% \section{Usage}
203% 246%
204% ==== Put descriptive text here. ==== 247% ==== Put descriptive text here. ====
205% 248%
206% \DescribeMacro{\dummyMacro} 249% \DescribeMacro{\dummyMacro}
207% This macro does nothing.\index{doing nothing|usage} It is merely an 250% This macro does nothing.\index{doing nothing|usage} It is merely an
208% example. If this were a real macro, you would put a paragraph here 251% example. If this were a real macro, you would put a paragraph here