From fabc9fafc745931c1ed7b5b5f203252671315267 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Tue, 4 May 2021 10:25:24 +0200 Subject: test simpler floating mechanism test simpler floating mechanism --- ekdosis.dtx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index 685bca7..22a2353 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -61,7 +61,7 @@ along with this program. If not, see %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{ekdosis} %<*package> - [2021/05/01 v1.3-dev Typesetting TEI xml-compliant critical editions] + [2021/05/04 v1.3-dev Typesetting TEI xml-compliant critical editions] % %<*driver> \begin{filecontents}[noheader,overwrite]{bibdata.xml} @@ -3756,6 +3756,7 @@ argument of the % element (ll.~5--7). Otherwise, the \texttt{TEI} output would not be % valid. % +% \needspace{4\baselineskip} % \section{Poetry} % \label{sec:poetry} % \subsection[The Standard \textsf{verse} Environment]{The Standard @@ -7260,7 +7261,9 @@ Sample text with a \textcolor{red}{word} in red. \RequirePackage{paracol} \RequirePackage{etoolbox} \RequirePackage{lineno} -\RequirePackage{keyfloat} +\if@pkg@float + \RequirePackage{trivfloat} +\fi \RequirePackage{refcount} \RequirePackage{zref-user} \RequirePackage{zref-abspage} @@ -7499,7 +7502,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \begin{macro}{\teidirect} -% \changes{v1.3}{2021/05/01}{direct insertion of elements in the +% \changes{v1.3}{2021/05/04}{direct insertion of elements in the % \texttt{TEI xml} file} % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} % does nothing in \LaTeX. Its only use is to insert elements in the @@ -7853,7 +7856,7 @@ Sample text with a \textcolor{red}{word} in red. % \end{macrocode} % \end{macro} % \begin{macro}{\SetApparatusNoteLanguage} -% \changes{v1.3}{2021/05/01}{defines an alternate language to be +% \changes{v1.3}{2021/05/04}{defines an alternate language to be % applied in note apparatus entries} % \cs{SetApparatusNoteLang}\marg{languagename} can be used when % it is needed to apply in entries introduced by the \cs{note} command @@ -7936,6 +7939,9 @@ Sample text with a \textcolor{red}{word} in red. % commands need to know whether they are called from inside the % apparatus criticus, a conditional is first defined. % \begin{macrocode} +\if@pkg@float +\trivfloat{ekdapparatus} +\fi \newif\ifekd@inside@app \def\add@@apparatus{% \if@pkg@parnotes\parnotes\else\fi @@ -7964,7 +7970,7 @@ Sample text with a \textcolor{red}{word} in red. \egroup \fi \if@pkg@float - \keyparbox[!b]{}{% + \begin{ekdapparatus}[!b] \unless\ifekd@mapps \ifrtl@app\pardir TRT\leavevmode\textdir TRT\else \pardir TLT\leavevmode\textdir TLT\fi @@ -7983,7 +7989,7 @@ Sample text with a \textcolor{red}{word} in red. \apparatus\unless\ifekd@mapps\ekd@end@apparatus\fi \ekd@inside@appfalse \if@pkg@parnotes\parnotes\parnotereset\else\fi - }% + \end{ekdapparatus} \fi } % \end{macrocode} -- cgit v1.2.3