diff options
author | Robert Alessi <alessi@robertalessi.net> | 2021-05-04 10:25:24 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2021-05-04 10:40:16 +0200 |
commit | fabc9fafc745931c1ed7b5b5f203252671315267 (patch) | |
tree | 2e8e419fce40b43724405fe4cdd7a5e610f97cf9 | |
parent | 83f272ce30658808afc7c8e9f2ce0f70d86bbd64 (diff) | |
download | ekdosis-fabc9fafc745931c1ed7b5b5f203252671315267.tar.gz |
test simpler floating mechanism
test simpler floating mechanism
-rw-r--r-- | ekdosis.dtx | 18 |
1 files 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 | |||
61 | %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] | 61 | %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] |
62 | %<package>\ProvidesPackage{ekdosis} | 62 | %<package>\ProvidesPackage{ekdosis} |
63 | %<*package> | 63 | %<*package> |
64 | [2021/05/01 v1.3-dev Typesetting TEI xml-compliant critical editions] | 64 | [2021/05/04 v1.3-dev Typesetting TEI xml-compliant critical editions] |
65 | %</package> | 65 | %</package> |
66 | %<*driver> | 66 | %<*driver> |
67 | \begin{filecontents}[noheader,overwrite]{bibdata.xml} | 67 | \begin{filecontents}[noheader,overwrite]{bibdata.xml} |
@@ -3756,6 +3756,7 @@ argument of the | |||
3756 | % element (ll.~5--7). Otherwise, the \texttt{TEI} output would not be | 3756 | % element (ll.~5--7). Otherwise, the \texttt{TEI} output would not be |
3757 | % valid. | 3757 | % valid. |
3758 | % | 3758 | % |
3759 | % \needspace{4\baselineskip} | ||
3759 | % \section{Poetry} | 3760 | % \section{Poetry} |
3760 | % \label{sec:poetry} | 3761 | % \label{sec:poetry} |
3761 | % \subsection[The Standard \textsf{verse} Environment]{The Standard | 3762 | % \subsection[The Standard \textsf{verse} Environment]{The Standard |
@@ -7260,7 +7261,9 @@ Sample text with a \textcolor{red}{word} in red. | |||
7260 | \RequirePackage{paracol} | 7261 | \RequirePackage{paracol} |
7261 | \RequirePackage{etoolbox} | 7262 | \RequirePackage{etoolbox} |
7262 | \RequirePackage{lineno} | 7263 | \RequirePackage{lineno} |
7263 | \RequirePackage{keyfloat} | 7264 | \if@pkg@float |
7265 | \RequirePackage{trivfloat} | ||
7266 | \fi | ||
7264 | \RequirePackage{refcount} | 7267 | \RequirePackage{refcount} |
7265 | \RequirePackage{zref-user} | 7268 | \RequirePackage{zref-user} |
7266 | \RequirePackage{zref-abspage} | 7269 | \RequirePackage{zref-abspage} |
@@ -7499,7 +7502,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
7499 | % \end{macrocode} | 7502 | % \end{macrocode} |
7500 | % \end{macro} | 7503 | % \end{macro} |
7501 | % \begin{macro}{\teidirect} | 7504 | % \begin{macro}{\teidirect} |
7502 | % \changes{v1.3}{2021/05/01}{direct insertion of elements in the | 7505 | % \changes{v1.3}{2021/05/04}{direct insertion of elements in the |
7503 | % \texttt{TEI xml} file} | 7506 | % \texttt{TEI xml} file} |
7504 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} | 7507 | % \cs{teidirect}\oarg{xml attributes}\marg{xml element}\marg{code} |
7505 | % does nothing in \LaTeX. Its only use is to insert elements in the | 7508 | % 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. | |||
7853 | % \end{macrocode} | 7856 | % \end{macrocode} |
7854 | % \end{macro} | 7857 | % \end{macro} |
7855 | % \begin{macro}{\SetApparatusNoteLanguage} | 7858 | % \begin{macro}{\SetApparatusNoteLanguage} |
7856 | % \changes{v1.3}{2021/05/01}{defines an alternate language to be | 7859 | % \changes{v1.3}{2021/05/04}{defines an alternate language to be |
7857 | % applied in note apparatus entries} | 7860 | % applied in note apparatus entries} |
7858 | % \cs{SetApparatusNoteLang}\marg{languagename} can be used when | 7861 | % \cs{SetApparatusNoteLang}\marg{languagename} can be used when |
7859 | % it is needed to apply in entries introduced by the \cs{note} command | 7862 | % 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. | |||
7936 | % commands need to know whether they are called from inside the | 7939 | % commands need to know whether they are called from inside the |
7937 | % apparatus criticus, a conditional is first defined. | 7940 | % apparatus criticus, a conditional is first defined. |
7938 | % \begin{macrocode} | 7941 | % \begin{macrocode} |
7942 | \if@pkg@float | ||
7943 | \trivfloat{ekdapparatus} | ||
7944 | \fi | ||
7939 | \newif\ifekd@inside@app | 7945 | \newif\ifekd@inside@app |
7940 | \def\add@@apparatus{% | 7946 | \def\add@@apparatus{% |
7941 | \if@pkg@parnotes\parnotes\else\fi | 7947 | \if@pkg@parnotes\parnotes\else\fi |
@@ -7964,7 +7970,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
7964 | \egroup | 7970 | \egroup |
7965 | \fi | 7971 | \fi |
7966 | \if@pkg@float | 7972 | \if@pkg@float |
7967 | \keyparbox[!b]{}{% | 7973 | \begin{ekdapparatus}[!b] |
7968 | \unless\ifekd@mapps | 7974 | \unless\ifekd@mapps |
7969 | \ifrtl@app\pardir TRT\leavevmode\textdir TRT\else | 7975 | \ifrtl@app\pardir TRT\leavevmode\textdir TRT\else |
7970 | \pardir TLT\leavevmode\textdir TLT\fi | 7976 | \pardir TLT\leavevmode\textdir TLT\fi |
@@ -7983,7 +7989,7 @@ Sample text with a \textcolor{red}{word} in red. | |||
7983 | \apparatus\unless\ifekd@mapps\ekd@end@apparatus\fi | 7989 | \apparatus\unless\ifekd@mapps\ekd@end@apparatus\fi |
7984 | \ekd@inside@appfalse | 7990 | \ekd@inside@appfalse |
7985 | \if@pkg@parnotes\parnotes\parnotereset\else\fi | 7991 | \if@pkg@parnotes\parnotes\parnotereset\else\fi |
7986 | }% | 7992 | \end{ekdapparatus} |
7987 | \fi | 7993 | \fi |
7988 | } | 7994 | } |
7989 | % \end{macrocode} | 7995 | % \end{macrocode} |