summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-01 21:34:40 +0000
committerKarl Berry <karl@freefriends.org>2017-08-01 21:34:40 +0000
commit7ba0b2e501e4b5d83a48295804d3570ef3407f8a (patch)
tree84ceb1534f87b41ff6aca6b306fed3b33466ecb2 /Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
parentb26f035ced2518fea3f81bb1c8bd54de090262df (diff)
novel (1aug17)
git-svn-id: svn://tug.org/texlive/trunk@44933 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty')
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty66
1 files changed, 21 insertions, 45 deletions
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty b/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
index 7398356ff8f..fb1b42528bc 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-Footnotes.sty
@@ -13,9 +13,12 @@
%%
%%
\ProvidesFile{novel-Footnotes.sty}%
-[2017/07/26 v1.32 LaTeX file (commands for footnotes and endnotes)]
+[2017/07/31 v1.34 LaTeX file (commands for footnotes and endnotes)]
%%
+%% Novel Tracking codes in this file begin with 8.
+\NDB{8.0 in novel-Footnotes.sty.}
+
%% FOOTNOTES
%% -----------------------------------------------------------------------------
@@ -47,6 +50,7 @@
\gdef\ResetFootnoteSymbol{\setcounter{@fnsymbolcount}{1}} % only symbols
\gdef\Resetendnote{\setcounter{@rnnumbercount}{1}}
%
+\NDB{8.1 in novel-Footnotes.sty.}
\newtoggle{@usenomark} % when true: no mark, no increment count
\newtoggle{@placedfootnotenumber} % true if any numerical footnote placed
%
@@ -59,6 +63,7 @@
}
\let\footnoterule\@fourem
%
+\NDB{8.2 in novel-Footnotes.sty.}
% \@makefnmark applies to the footnote marker in the flow of main text:
@@ -69,6 +74,7 @@
{\forceindent#1}%
{\forceindent\@getbotfnmark\,#1}%
} % end \@makefntext
+\NDB{8.3 in novel-Footnotes.sty.}
% Now re-define \footnote:
\newcommand\footnote[2][]{%
\ifthenelse{\equal{#1}{0}}{%
@@ -84,6 +90,7 @@
\unskip\my@oldfootnote{#2}%
\endgroup%
} % end \footnote
+\NDB{8.4 in novel-Footnotes.sty.}
%
% \@rollfnsymbol prevents running out of symbolic markers:
\gdef\@rollfnsymbol{%
@@ -92,6 +99,7 @@
\setcounter{@fnsymbolcount}{1}%
}{}%
} % end \@rollfnsymbol
+\NDB{8.5 in novel-Footnotes.sty.}
%
% \@getfnmark places a footnote marker in the running text.
% The marker depends upon whether it should be a number or a symbol.
@@ -124,6 +132,7 @@
\sups{\arabic{@fnnumbercount}}%
}%
} % end \@getfnmark
+\NDB{8.6 in novel-Footnotes.sty.}
%
% \@getbotfnmark places the marker in front of the actual footnote,
% towards the bottom of the textblock. It duplicates the marker used in
@@ -161,6 +170,8 @@
%
%% end footnotes
+\NDB{8.7 in novel-Footnotes.sty.}
+
%% ENDNOTES
%% -----------------------------------------------------------------------------
@@ -180,6 +191,7 @@
\stepcounter{@endnotecount}\sups{\arabic{@endnotecount}}%
\long\edef\@endnotelist{\@endnotelist\space (\arabic{@endnotecount},p.\thepage)}%
}
+\NDB{8.8 in novel-Footnotes.sty.}
%%
% \endnotetext{ID}{text} where ID is (usually) the endnote number.
% If ID is other than space or tilde, it prints at left margin, followed by
@@ -195,52 +207,16 @@
}
%% end endnotes
+\NDB{8.9 in novel-Footnotes.sty.}
+
+
+%% See novel.cls for the accompanying AtBeginDocument routine.
+
+%% See novel.cls for the accompanying AtEndDocument routine.
+
+
-%% ATBEGINDOCUMENT
-%% -----------------------------------------------------------------------------
-%%
-\AtBeginDocument{
- \gdef\SetFootnoteMarker#1{%
- \typeout{^^JClass `novel' Alert: %
- \string\SetFootnoteMarker\space ineffective after Preamble.^^J}%
- }
- % Must wait for \nbs to be calculated:
- \setlength\footnotesep{0.8\nbs}
- % Must wait for main font and its size to be active:
- \newlength\@hoaring
- \setlength\@hoaring{\heightof{Å}}
- \global\@hoaring=\@hoaring
- \newlength\@twast % tweaks asterisk
- \setlength\@twast{\heightof{*}}
- \addtolength\@twast{-\@hoaring}
- \global\@twast=\@twast
- \newlength\@twdag % tweaks dagger
- \setlength\@twdag{\heightof{†}}
- \addtolength\@twdag{-0.2\@twdag}
- \addtolength\@twdag{-\@hoaring}
- \global\@twdag=\@twdag
- \newlength\@twdbldag % tweaks double dagger
- \setlength\@twdbldag{\heightof{‡}}
- \addtolength\@twdbldag{-0.2\@twdbldag}
- \addtolength\@twdbldag{-\@hoaring}
- \global\@twdbldag=\@twdbldag
- \newlength\@twsect % tweaks section mark
- \setlength\@twsect{\heightof{§}}
- \addtolength\@twsect{-0.2\@twsect}
- \addtolength\@twsect{-\@hoaring}
- \global\@twsect=\@twsect
- \newlength\@tweight % tweaks 8, reliably the tallest digit
- \setlength\@tweight{\heightof{8}}%
- \addtolength\@tweight{-0.2\@tweight}%
- \addtolength\@tweight{-\@hoaring}%
- \global\@tweight=\@tweight%
- % Must wait to see how \SetFootnoteMarker was used:
- \ifthenelse{\equal{\@myfnsymbols}{*}}{\setcounter{@maxfnsymbol}{8}}{}
- \ifthenelse{\equal{\@myfnsymbols}{†}}{\setcounter{@maxfnsymbol}{6}}{}
- %
-} % end \AtBeginDocument
-%%
%% ATENDDOCUMENT