%% %% This is file `nag-experimental.cfg', %% generated with the docstrip utility. %% %% The original source files were: %% %% nag.dtx (with options: `experimentalnag') %% This is a generated file. %% %% This file is part of the `nag' package. %% The `nag' package has the LPPL maintenance status: maintained. %% Current Maintainer is Ulrich M. Schwarz, ulmi@absatzen.de %% %% Copyright (C) 2005-8 by Ulrich M. Schwarz. %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3a of this license or (at your option) any later %% version. The latest version of this license is in: %% http://www.latex-project.org/lppl.txt %% \ProvidesFile{nag-experimental.cfg} [2008/02/02 v0.1d experimental additions to nag (ulmi)] \let\@xa\expandafter \newif\ifnag@dofloatsizecheck \newcommand\nag@allfloatsizechecks{}% \newcommand\nag@onefloatsizecheck[2]{% % #1 is size fraction of textheight, % #2 is position to say in warning. \ifdim \ht\@currbox>#1\textheight \@tempdima -#1\textheight \advance \@tempdima \ht\@currbox \PackageInfo{nag}{Float too large for #2 by \the\@tempdima}% % note we do not truncate. % also, it's too late to add "p" now. \fi } \renewcommand\@largefloatcheck{% \ifdim \ht\@currbox>\textheight \@tempdima -\textheight \advance \@tempdima \ht\@currbox \@latex@warning {Float too large for page by \the\@tempdima}% \ht\@currbox \textheight \fi %% the preceding is the original check. \nag@dofloatsizechecktrue \def\nag@allfloatsizechecks{}% \@xa\@tfor\@xa\nag@fltsz@tmp\@xa:\@xa=\@fps\do{% \if\nag@fltsz@tmp ! \nag@dofloatsizecheckfalse \else \if\nag@fltsz@tmp t \g@addto@macro\nag@allfloatsizechecks {\nag@onefloatsizecheck{\topfraction}{top of page}}% \else \if\nag@fltsz@tmp b \g@addto@macro\nag@allfloatsizechecks {\nag@onefloatsizecheck{\bottomfraction}{bottom of page}}% \fi \fi \fi }% \ifnag@dofloatsizecheck\nag@allfloatsizechecks\fi }% \def\@input#1{% \IfFileExists{#1}{\@@input\@filef@und}{% \typeout{No file #1.} \@latex@warning{File `#1' not found} %{The file `#1' was requested but not found } \protected@edef\nag@nofile{File `#1' requested, but not found}% \@xa\AtEndDocument\@xa{% \@xa\@latex@info@no@line\@xa{% \nag@nofile }% }% }}% \def\@input@#1{\InputIfFileExists{#1}{}{% \typeout{No file #1.} \@latex@warning{File `#1' not found} {The file `#1' was requested but not found } \edef\nag@nofile{File `#1' requested, but not found}% \@xa\AtEndDocument\@xa{% \@xa\@latex@info@no@line\@xa{% \nag@nofile }% }% }}% %%X Local Variables: %%X mode: latex %%X End: \endinput %% %% End of file `nag-experimental.cfg'.