diff options
author | Karl Berry <karl@freefriends.org> | 2011-08-03 22:03:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-08-03 22:03:35 +0000 |
commit | bb6fd84d0f762e045075c0e6570c68b283436888 (patch) | |
tree | 815f02eedb8c70d8f3aa0c16af9dfa3707864fe1 /Master/texmf-dist/source/latex/tools/ftnright.dtx | |
parent | 366ed41f67c1c443ea09a9c442655ab1a40a270b (diff) |
tools (latex-tds 2jul11)
git-svn-id: svn://tug.org/texlive/trunk@23393 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/tools/ftnright.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/tools/ftnright.dtx | 52 |
1 files changed, 45 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/tools/ftnright.dtx b/Master/texmf-dist/source/latex/tools/ftnright.dtx index 7f6306aa3c4..07f56cf7efb 100644 --- a/Master/texmf-dist/source/latex/tools/ftnright.dtx +++ b/Master/texmf-dist/source/latex/tools/ftnright.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % % Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 -% 2006 2008 2009 +% 2006 2008 2009 2010 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -26,11 +26,11 @@ %% Copyright (C) 1989-2004 Frank Mittelbach, all rights reserved. %<+package>\NeedsTeXFormat{LaTeX2e}[1995/06/01] %<+package>\ProvidesPackage{ftnright} -%<+package> [2004/01/16 v1.1e footnote layout package (FMi)] +%<+package> [2010/02/25 v1.1f footnote layout package (FMi)] % % \fi %% -%% \CheckSum{426} +%% \CheckSum{431} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -163,10 +163,7 @@ % {The \LaTeX{} package {\tt \filename} which is described % in this article has the version number \fileversion{} dated % \filedate.}} -% \author{Frank Mittelbach\\ -% Electronic Data Systems (Deutschland) GmbH\\ -% Eisenstra\ss e 58 \\ -% 65428 R\"usselsheim} +% \author{Frank Mittelbach} % % % \maketitle @@ -289,6 +286,27 @@ % will make such changes more easy. % % +% \subsection{Limitations} +% +% If in the first column there is more than a full column worth of footnote +% material the material will be split resulting in footnotes out of +% order. This issue is now detected and generates an error but the package is +% unable to gracefully handle it. This gives you two options: either rearrange +% your input so that it will use less footnotes in the first column (or add +% some pagebreaks at suitable places) or allow explicitly for more material to +% be gathered. The latter can be achieved by adding +%\begin{verbatim} +%\makeatletter +%\def\preparefootins{% +% \global\rcol@footinsskip\skip\footins +% \global\skip\footins\z@ +% \global\count\footins\z@ +% \global\dimen\footins2\textheight} +%\makeatother +%\end{verbatim} +% to the preamble of your document. However, with this you allow two columns +% worth of footnote material and that means that some of your footnotes are +% likely to be detached from their reference and show up on a later page! % % \StopEventually{ % @@ -781,6 +799,26 @@ `twocolumn' in the \noexpand\documentclass command.}% \shipout\box\footins \fi\fi +% \end{macrocode} +% What we also need to check is if there is so much footnote material that +% it resulted in a footnote being split. If that happens the whole +% algorithm falls apart and the footnotes get out of sync. For the +% moment we simply detect it here, perhaps some better scheme can be +% implemented. One way to avoid this is to allow more than |\textheight| of +% footnotes in |\preparefootins|. However, that isn't such a good idea +% either as that means that a footnote from column one, might end up +% completely on a later page. +% \changes{v1.1f}{2010/02/25}{Check for split footnotes (pr/4099)} +% \begin{macrocode} + \ifnum\insertpenalties>\z@ + \@latexerr{ftnright package + scrambled footnotes}% + {There is too much footnote material in + the first column and ftnright^^Jis + unable to cope with this.^^JYou need + to reduce the amount to get a properly + formatted page.}% + \fi \else % \end{macrocode} % When we construct the second column, we must first check whether |