aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-10-30 11:18:04 +0100
committerRobert Alessi <alessi@robertalessi.net>2018-10-30 11:18:04 +0100
commitf90f5db3dd3b83d5d61643fb1a8badf8478a34c9 (patch)
tree4b24e41e556eb1eecb75212c04f61af5380a1313
parent91ae07ecf4472b679343b95f67d59996a6fb5bb1 (diff)
downloadekdosis-f90f5db3dd3b83d5d61643fb1a8badf8478a34c9.tar.gz
removed parnotes autopn
-rw-r--r--Makefile2
-rw-r--r--ekdosis.dtx31
2 files changed, 26 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 5ade50e..ebfc1bd 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ clean:
19# rm -f $(NAME)_*.{bib,lua} 19# rm -f $(NAME)_*.{bib,lua}
20distclean: clean uninst 20distclean: clean uninst
21 rm -rf _minted-* 21 rm -rf _minted-*
22 rm -f $(NAME).{pdf,sty,lua} README 22 rm -f $(NAME).{pdf,sty,lua} README*
23 rm -f *.zip *.tar.gz 23 rm -f *.zip *.tar.gz
24uninst: 24uninst:
25 rm -rf $(UTREE)/{tex,source,doc}/lualatex/$(NAME) 25 rm -rf $(UTREE)/{tex,source,doc}/lualatex/$(NAME)
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 3bb4f9c..cc31f61 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -158,6 +158,7 @@ Running "make install" installs the files in the local TeX tree.
158\newunicodechar{Ǧ}{Ǧ} % 158\newunicodechar{Ǧ}{Ǧ} %
159\usepackage{arabluatex} 159\usepackage{arabluatex}
160\usepackage{relsize} 160\usepackage{relsize}
161\usepackage{units}
161\usepackage{minted} 162\usepackage{minted}
162\newminted[ekdlua]{lua}{linenos, fontsize=\relsize{-0.5}, 163\newminted[ekdlua]{lua}{linenos, fontsize=\relsize{-0.5},
163 xleftmargin=12pt, 164 xleftmargin=12pt,
@@ -259,7 +260,27 @@ Running "make install" installs the files in the local TeX tree.
259% describing what the environment is supposed to do, what its 260% describing what the environment is supposed to do, what its
260% mandatory and optional arguments are, and so forth. 261% mandatory and optional arguments are, and so forth.
261% 262%
262% 263% \section{Grid}
264% \begin{keyfigure}[H]{c={Grid
265% typesetting},l={fig:grid-typesetting},t={Each square in the grid
266% has a side length of \unit[10]{pt}. Therefore, the distance
267% between the last line of the text and the first line of the
268% apparatus is here approximately \unit[25]{pt}.}}
269% \begin{tikzpicture}
270% \draw[lightgray,thin] (0.5,0.5) grid [step=10pt] (10,5); %
271% \path node [align=justify, text width=8cm] at (5.5,3) {%
272% I saw my friend Peter at the station yesterday. I saw my friend
273% Peter at the station yesterday. I saw my friend Peter at the
274% station yesterday. I saw my friend Peter at the station
275% yesterday.\par
276% \rule{3cm}{0.01cm}\par\footnotesize%
277% \textbf{1}~Peter A: John B \textbf{2}~Peter A: John B
278% \textbf{3}~Peter A: John B \textbf{4}~Peter A: John B}; \node at
279% (0,3) {\scriptsize $\approx$ \unit[25]{pt}}; \draw [->] (0,2.9) --
280% (0,2);
281% \end{tikzpicture}
282% \end{keyfigure}
283%
263% \section{Implementation} 284% \section{Implementation}
264% 285%
265% \iffalse 286% \iffalse
@@ -309,8 +330,6 @@ Running "make install" installs the files in the local TeX tree.
309\RequirePackage{keyfloat} 330\RequirePackage{keyfloat}
310\RequirePackage{afterpage} 331\RequirePackage{afterpage}
311\RequirePackage{refcount} 332\RequirePackage{refcount}
312\RequirePackage{calc}
313\RequirePackage{zref-savepos}
314\if@pkg@parnotes 333\if@pkg@parnotes
315 \RequirePackage{parnotes} 334 \RequirePackage{parnotes}
316\fi 335\fi
@@ -356,7 +375,7 @@ Running "make install" installs the files in the local TeX tree.
356} 375}
357\NewDocumentCommand{\note}{s +m}{% 376\NewDocumentCommand{\note}{s +m}{%
358 \IfBooleanTF{#1}{% 377 \IfBooleanTF{#1}{%
359 \if@pkg@parnotes\append{\parnote{#2}} 378 \if@pkg@parnotes\append{\parnote{#2}}%
360 \else\append{\footnote{#2}}\fi}{\append{#2}}% 379 \else\append{\footnote{#2}}\fi}{\append{#2}}%
361} 380}
362\NewDocumentCommand{\apparatus}{}{\luadirect{tex.sprint(appout())}} 381\NewDocumentCommand{\apparatus}{}{\luadirect{tex.sprint(appout())}}
@@ -373,9 +392,9 @@ Running "make install" installs the files in the local TeX tree.
373 \if@pkg@parnotes% 392 \if@pkg@parnotes%
374 \if@parnotesroman% 393 \if@parnotesroman%
375 \renewcommand*{\theparnotemark}{\roman{parnotemark}}\else\fi% 394 \renewcommand*{\theparnotemark}{\roman{parnotemark}}\else\fi%
376 \parnoteclear\begin{autopn}\else\fi% 395 \parnoteclear\else\fi%
377 \footnotesize\apparatus% 396 \footnotesize\apparatus%
378 \if@pkg@parnotes\end{autopn}\parnotereset\else\fi% 397 \if@pkg@parnotes\parnotes\parnotereset\else\fi%
379 }% 398 }%
380}{}} 399}{}}
381\def\add@apparatus{% 400\def\add@apparatus{%