Debian Codegraph @

texmf-dist/doc/latex/lineno/fnlineno.tex

raw
1 \ProvidesFile{fnlineno.tex}
2 [2011/02/14 documenting fnlineno.sty (UL)]
3 \title{\textsf{fnlineno.sty}\\---\\Numbering Footnote Lines\thanks{This
4 document %%% manual %% 2010/12/28
5 describes version
6 \textcolor{blue}{v0.55}
7 of \textsf{fnlineno.sty} as of 2011/01/07.}}
8 % \listfiles %% 2010/12/22
9 %% KW: 2026/03/08 - no longer building on modern TeX
10 %% { \RequirePackage{makedoc}[2010/12/20] \ProcessLineMessage{}
11 %% \MakeJobDoc{17}{\SectionLevelThreeParseInput} %% 2010/12/16
12 %% }
13 \documentclass{article}%% TODO paper dimensions!?
14 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15 %% \ProvidesFile{makedoc.cfg}[{2013/03/25 documentation settings}]
16 %%
17 %% \author{Uwe L\"uck\thanks{%
18 %% \url{http://contact-ednotes.sty.de.vu}}}
19 %%
20 %% 'hyperref':
21 \RequirePackage{ifpdf}
22 \usepackage[%
23 \ifpdf
24 % bookmarks=false, %% 2010/12/22
25 % bookmarksnumbered,
26 bookmarksopen, %% 2011/01/24!?
27 bookmarksopenlevel=2, %% 2011/01/23
28 % pdfpagemode=UseNone,
29 % pdfstartpage=10,
30 pdfstartview=FitH, %% 2012/11/26 again
31 % pdfstartview=0 0 100, %% 2011/08/22
32 % pdfstartview={XYZ null null 1}, %% 2011/08/25
33 % pdfstartview={XYZ null null null},%% 2011/08/25
34 % pdfstartview={XYZ null null .5}, %% 2011/08/26
35 % pdffitwindow=true, %% 2011/08/22
36 citebordercolor={ .6 1 .6},
37 filebordercolor={1 .6 1},
38 linkbordercolor={1 .9 .7},
39 urlbordercolor={ .7 1 1}, %% playing 2011/01/24
40 \fi
41 ]{hyperref}
42 \hypersetup{%
43 pdfauthor={Uwe L\374ck}%
44 }
45 %% metadata, |\MDkeywords{<text>}|, |\MDkeywordsstring|:
46 %% %% 2011/08/22:
47 \makeatletter
48 \newcommand*{\MDkeywords}[1]{%
49 \gdef\MDkeywordsstring{#1}%
50 \hypersetup{pdfkeywords=\MDkeywordsstring}%% TODO!?
51 }
52 \@onlypreamble\MDkeywords
53 %% |\MDaddtoabstract{<par-head>}|, `:' added:
54 \newcommand*{\MDaddtoabstract}[1]{% %% 2012/05/10
55 \par\smallskip\noindent
56 \strong{#1:}\quad\ignorespaces}
57 %% \pagebreak[2]
58 %% |\printMDkeywords|:
59 \newcommand*{\printMDkeywords}{%
60 \MDaddtoabstract{Keywords}%
61 \MDkeywordsstring
62 % \global\let\MDkeywordsstring\relax %% `%' 2012/11/12
63 }
64 %% The previous definitions mainly are useful with a variant
65 %% |\begin{MDabstract}| of \LaTeX's \verb|{abstract}| environment:
66 \newenvironment{MDabstract}
67 {\abstract\noindent
68 \ignorespaces}
69 {\@ifundefined{MDkeywordsstring}%
70 {}%
71 {\printMDkeywords}%
72 \global\let\MDabstract\relax %% 2012/11/12
73 \global\let\endMDabstract\relax %% 2012/11/12
74 \endabstract}
75 %% |\[MD]docnewline| 2012/11/12 from \verb|readprov.tex|:
76 \newcommand*{\MDdocnewline}{\leavevmode\@normalcr[\topsep]}
77 %% <- \verb|\leavevmode| for use with \verb|\paragraph|.
78 %% Sometimes needs to be preceded by a space.
79 %%
80 %% |\MDfinaldatechecks[<tex-script>]| with \ctanpkgref{filedate}:
81 \newcommand*{\MDfinaldatechecks}[1][fdatechk]{%
82 \AtEndDocument{%
83 % \clearpage %% 2013/03/25 no avail -- with `filedate'!
84 \def\@pkgextension{sty}%
85 \def\NeedsTeXFormat##1[##2]{}%
86 \input{#1}%
87 }}
88 \@onlypreamble\MDfinaldatechecks
89 \makeatother
90 %% Use other packages:
91 %% KW: 2026/03/08 - no longer building on modern TeX
92 %% \RequirePackage{readprov} %% 2010/12/08
93 %% \RequirePackage{hypertoc} %% 2011/01/23
94 %% \RequirePackage{texlinks} %% 2011/01/24
95 \RequirePackage{relsize} %% 2011/06/27
96 \RequirePackage{color} %% 2011/08/06
97 \RequirePackage{lmodern} %% 2012/10/29
98 \RequirePackage{filedate} %% 2012/11/12
99 \RequirePackage{filesdo} %% 2013/03/22
100 %% \pagebreak[3]
101 %% Logical markup:\qquad |\strong{<chars>}|, |\meta{<chars>}|,
102 %% |\acro{<chars>}|, |\pkg{<chars>}|,
103 %% |\code{<chars>}|, |\file{<chars>}|:{\sloppy\par}
104 \makeatletter
105 \def\do#1#2{\@ifdefinable#1{\let#1#2}}%% 2012/07/13
106 \do\strong\textbf \do\file\texttt \do\acro\textsmaller
107 %% <- wrong tests before 2012/07/13
108 \do\meta\textit \do \pkg\textsf \do\code\texttt
109 \ifpdf
110 \pdfstringdefDisableCommands{%
111 \let\acro\textrm
112 \let\file\textrm %% 2011/11/09
113 \let\code\textrm %% 2011/11/20
114 \let\pkg \textrm %% 2012/03/23
115 }
116 \fi
117 %% TODO 2011/07/22 -> `htlogml.sty'
118 \makeatother
119 %% |\qtdcode{<text>}|: 2012/10/24:
120 \newcommand*{\qtdcode}[1]{\verb|\code{#1}|}
121 %% |\pkgtitle{<package-name>}{<caption>}|
122 \newcommand*{\pkgtitle}[2]{% %% 2012/07/13
123 \global\let\pkgtitle\relax
124 \pkg{\huge #1}\\---\\#2\thanks{This
125 document describes version
126 \textcolor{blue}{v0.55}
127 of \textsf{fnlineno.sty} as of 2011/01/07.}}
128 %% TODO: %% |\TODO| bad with `mdoccorr.cfg'
129 \newcommand*{\TODO}{\textcolor{blue}{\acro{TODO}}} %% 2012/11/06
130 %% \verb|\MDsampleinput[{<file>}| was added 2012/11/06.
131 %% Problems with `myfilist.tex' were due to 'parskip.sty'
132 %% there. On 2012/11/12, we change the former simple macro to a
133 %% much more complex
134 %% |\MDsamplecodeinput[<add-hfuss>]{<file>}|
135 \newcommand*{\MDsamplecodeinput}[2][]{%
136 \begingroup
137 \vskip\bigskipamount \hrule
138 \nobreak\vskip-\parskip
139 % \nobreak\vskip\medskipamount
140 %% Previous mistake (same below) due to manual change
141 %% of \verb|\topsep| in the file \verb|myfilist.tex| (2012/11/30).
142 \ifx\\#1\\\else
143 \hfuzz=\textwidth \advance\hfuzz#1\relax
144 \fi
145 \verbatiminput{#2}%
146 % \nobreak\vskip\medskipamount
147 \hrule \vskip-\parskip
148 \bigskip %%% \bigbreak
149 %% \verb|\bigbreak| made much larger space in \verb|myfilist.tex|.
150 \endgroup
151 }
152 %% |\ctanpkgdref{<pkg-id>}| adds the printed link to
153 %% \verb|ctan.org/pkg| as a footnote. There is a little space
154 %% for coloured link borders:
155 %% KW: 2026/03/08 - no longer building on modern TeX
156 %% \newcommand*{\ctanpkgdref}[1]{%
157 %% \ctanpkgref{#1}\,\urlfoot{CtanPkgRef}{#1}}
158 \errorcontextlines=4
159 \pagestyle{headings}
160 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
161 %% 2022/07/30 \newcommand*{\lt}{<} \newcommand*{\gt}{>} %% 2010/12/22
162 \providecommand*{\strong}{\textbf} %% 2010/12/15
163 %% KW: 2026/03/08 - no longer building on modern TeX
164 %% \ReadPackageInfos{fnlineno}
165 \usepackage{color}
166 % \hypersetup{bookmarksopen} %% rm. 2010/12/21, cf. .cfg
167 %% 2010/12/21: %% 2010/12/26 not sure, splits code
168 % \makeatletter \@beginparpenalty\@highpenalty \makeatother
169 %% 2010/12/27:
170 \makeatletter \@beginparpenalty\@lowpenalty \makeatother
171 \sloppy
172 \begin{document}
173 \maketitle
174 \begin{abstract}\noindent
175 'fnlineno.sty' extends
176 % Stephan~I. Böttcher's
177 \verb|lineno|
178 (created by Stephan~I. Böttcher)
179 such that even
180 \verb|\footnote| %% `\' 2010/12/09
181 lines are numbered and can be referred to
182 using \verb|\linelabel|, \verb|\ref|, etc.
183 %% rm. 2011/02/09:
184 % Version v0.5 aims at working as a user expects
185 % (just cf.~``Limitations"), otherwise please complain!
186
187 Making the package was motivated as support for
188 \emph{critical editions}
189 % of scientific work from an age when footnotes
190 % were a standard in publishing in print,
191 %% <- 2011/02/09 ->
192 of \emph{printed works with footnotes}
193 as opposed to scholarly critical editions of \emph{manuscripts.}
194 For this purpose, an extension 'edfnotes' of the \verb|ednotes|
195 package for critical editions, building on 'fnlineno', is provided
196 by the \textit{ednotes} bundle.%%\urlfoot{CtanPkgRef}{ednotes}
197
198 'lineno.sty' has also been used for the revision process
199 of \emph{submissions.}
200 With 'fnlineno.sty', reference to footnotes
201 in the submitted work may become possible.
202
203 %% rm. 2011/02/09:
204 % Another standalone package 'finstrut' is described.
205 As to \emph{implementation:} %% 2011/02/14
206 1.~Some included tools for
207 \emph{storing and restoring global settings}
208 may be ``exported" as standalone packages later.
209 2.~The method of typesetting footnotes on the main vertical list
210 may later lead to applying the line numbering method to
211 several \emph{parallel} texts (with footnotes) and to
212 \verb|inner| material such as table cells.
213 %% <- 2011/02/14 ->
214 % \dots
215
216 %% new 2011/02/09:
217 \smallskip\noindent
218 \strong{Keywords:}\quad line numbers; footnotes, pagewise,
219 critical editions, revision
220 \end{abstract}
221 \tableofcontents
222
223 % \newpage %% rm. 2011/02/09
224 \section{Usage and Features}
225 \subsection{Package File Header (Legalize)}
226 \input{fnlineno.doc}
227 \end{document}
228
229 VERSION HISTORY
230
231 2010/12/08 for v0.1 very first
232 2010/12/09 for v0.2 moved much to .sty
233 2010/12/15 for v0.4 \strong
234 2010/12/16 \SectionLevelThree...
235 2010/12/22ff. beginparpenalty varied
236 2010/12/28 for v0.5 abstract extended
237 2011/02/09 removing `finstrut'; mention `edfnotes'
238 2011/02/10 using \urlpkgfoot etc.
239 2011/02/14 abstract modified
240 2022/07/30 comment out \lt, \gt commands