summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/yafoot
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-03 21:13:29 +0000
committerKarl Berry <karl@freefriends.org>2018-09-03 21:13:29 +0000
commitc641baca69f2348c3f396d27f89a2b53fbeb005a (patch)
tree40213cfacc6272a6c68f78b17d30d331cf26d6c4 /Master/texmf-dist/source/latex/yafoot
parent58a234fa3ade348318dca1e7dda75b251a7635ce (diff)
yafoot (3sep18)
git-svn-id: svn://tug.org/texlive/trunk@48568 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/yafoot')
-rw-r--r--Master/texmf-dist/source/latex/yafoot/yafoot.dtx59
1 files changed, 46 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/yafoot/yafoot.dtx b/Master/texmf-dist/source/latex/yafoot/yafoot.dtx
index afcc4fdedfc..6c0d1bda17e 100644
--- a/Master/texmf-dist/source/latex/yafoot/yafoot.dtx
+++ b/Master/texmf-dist/source/latex/yafoot/yafoot.dtx
@@ -2,8 +2,9 @@
%<pfnote>%% Style file `pfnote'.
%<fnpos>%% Style file `fnpos'.
%<dblfnote>%% Style file `dblfnote'.
-%% Copyright (C) 1999 Hiroshi Nakashima <nakasima@tutics.tut.ac.jp>
-%% (Toyohashi Univ. of Tech.)
+%% Copyright (C) 1999-2018
+%% Hiroshi Nakashima <h.nakashima@DOMAIN; DOMAIN=media.kyoto-u.ac.jp>
+%% (Kyoto University)
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License distributed from CTAN
@@ -46,7 +47,7 @@
%<driver>\ProvidesFile{yafoot-man.tex}
% \fi
% \ProvidesFile{yafoot.dtx}
-[1999/07/14 v1.0 ]
+[2018/09/03 v1.1 ]
% \iffalse
%<*driver>
\documentclass{ltxdoc}
@@ -68,6 +69,32 @@
\end{document}
%</driver>
% \fi
+%
+% \makeatletter
+%
+% \newcount\ChangeCount \ChangeCount10000
+% \def\changes@#1#2#3{%
+% \global\advance\ChangeCount\@ne
+% \protected@edef\@tempa{\noexpand\glossary{#1\levelchar
+% \number\ChangeCount
+% \actualchar
+% \ifx\saved@macroname\@empty
+% \generalname
+% \else
+% \string\verb\quotechar*
+% \verbatimchar\saved@macroname
+% \verbatimchar
+% \fi
+% :\levelchar #3}}%
+% \@tempa\endgroup\@esphack}
+%
+% \def\theglossary{\onecolumn \glossary@prologue
+% \GlossaryParms \let\item\@idxitem
+% \rightskip 1em plus 1fil
+% \parfillskip-1em
+% \ignorespaces}
+% \def\endtheglossary{\relax}
+%
% \changes{v0.1}{1991/10/29}
% {The style pfnote is born.}
% \changes{v0.2}{1993/05/20}
@@ -79,6 +106,8 @@
% {First version of dblfnote is posted to comp.text.tex.}
% \changes{v1.0}{1999/07/14}
% {Three styles are merged into yafoot.dtx and rewritten.}
+% \changes{v1.1-1}{2018/09/03}
+% {Fix a footnote coloring problem in \string\textsf{fnpos}. (2018/09/03)}
%
% \errorcontextlines10000
% \GetFileInfo{yafoot.dtx}
@@ -195,7 +224,7 @@
% \title{\textsf{pfnote}, \textsf{fnpos} and \textsf{dblfnote}\\
% Packages for Footnotes\thanks{
% This file has version number \fileversion, last revised \filedate.}}
-% \author{Hiroshi Nakashima\\(Toyohashi Univ. of Tech.)}
+% \author{Hiroshi Nakashima\\(Kyoto University)}
% \date{\filedate}
% \maketitle
%
@@ -270,7 +299,7 @@
% makes footnotes double-columned. It also provides a few commands to
% control column breaking. The first version of the style file is created
% for Tim Armstrong's post to |comp.text.tex|. Since this document uses
-% \textsf{fnpos}, you will find that the footnotes\footnote{
+% \textsf{dblfnote}, you will find that the footnotes\footnote{
%.
% This document has many footnotes, some of which are just to show how our
% footnote mechanisms work.}
@@ -354,7 +383,7 @@
%
% \item[\cs{makeFNabove}]
% \DescribeMacro{\maekFNabove}
-% cancels the effect of |\makeFNabove| to place footnotes {\em above} bottom
+% cancels the effect of |\makeFNbelow| to place footnotes {\em above} bottom
% floats as standard \LaTeX{} does.
% \end{description}
%
@@ -506,9 +535,11 @@
%
% The author thanks to Martin Boyer and Nobuaki Minematsu whose posts to
% news groups triggered writing very first version of macros in
-% \textsf{fnpos}. He also thanks to Tim Armstrong whose post to
-% \texttt{comp.text.tex} encouraged him to make the first version of
-% \textsf{dblfnote} that requires considerable hack.
+% \textsf{fnpos}, and to Tim Armstrong whose post to \texttt{comp.text.tex}
+% encouraged him to make the first version of \textsf{dblfnote} that
+% requires considerable hack. He also thanks to Hironobu Yamashita who
+% found a bug, hidden in \textsf{fnpos} for 19 years (!!), by which
+% footnotes were colored inappropriately.
%
% For the implementation of three style files, the author refers the base
% implementations of the macros for \cs{footnote} and for \cs{output}
@@ -564,7 +595,7 @@
% whose name is ``|\pfn@fn|\meta{$i$}'' and body is \meta{$p_i$}.
%
% Then, when we process the footnote $f_i$, we can have $p_i$ by evaluating
-% |\pfn@fn|\meta{$i$} and compare it with $p_{i-1}$. If $p_i=p_{i-1}$,
+% |\pfn@fn|\meta{$i$} and compare it with $p_{i-1}$. If $p_i\neq p_{i-1}$,
% $f_i$ is the first footnote in page $p_i$ and thus its number should be
% one. Otherwise, the number of $f_i$ should be that of $f_{i-1}$ plus one.
%
@@ -715,6 +746,8 @@
% \end{macrocode}
%
% \begin{macro}{\@makecol}
+% \changes{v1.1-1}{2018/09/03}
+% {Remove inappropriate spaces preceeding three \cs{endcsname}.}
% \begin{macro}{\fnp@textbottom}
% The essential part of \textsf{fnpos} is a modified version of |\@makecol|.
% If |\iffnp@below| is true, we reverse the order of |\@combinefloats| and
@@ -752,10 +785,10 @@
\unvbox\@outputbox
\iffnp@bottom \@textbottom \fi
\vskip\skip\footins
- \csname color@begingroup \endcsname
- \csname normalcolor \endcsname
+ \csname color@begingroup\endcsname
+ \csname normalcolor\endcsname
\footnoterule \unvbox\footins
- \csname color@endgroup \endcsname}%
+ \csname color@endgroup\endcsname}%
\iffnp@bottom \let\@textbottom\relax \fi \fi
\iffnp@below\else \@combinefloats \fi
\ifvbox\@kludgeins \@makespecialcolbox