From 90664c2e19fef7f53b58df6203416e812e98661d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 5 Apr 2010 23:24:28 +0000 Subject: nag update (5apr10) git-svn-id: svn://tug.org/texlive/trunk@17724 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/nag/nag.pdf | Bin 195841 -> 458956 bytes Master/texmf-dist/doc/latex/nag/nagdemo.tex | 2 +- Master/texmf-dist/source/latex/nag/nag.dtx | 47 +++++++++++++++++++++---- Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg | 3 +- Master/texmf-dist/tex/latex/nag/nag.sty | 2 +- 5 files changed, 44 insertions(+), 10 deletions(-) diff --git a/Master/texmf-dist/doc/latex/nag/nag.pdf b/Master/texmf-dist/doc/latex/nag/nag.pdf index a55736a3780..052ff64ff76 100644 Binary files a/Master/texmf-dist/doc/latex/nag/nag.pdf and b/Master/texmf-dist/doc/latex/nag/nag.pdf differ diff --git a/Master/texmf-dist/doc/latex/nag/nagdemo.tex b/Master/texmf-dist/doc/latex/nag/nagdemo.tex index 1838c8de721..b6896317aee 100644 --- a/Master/texmf-dist/doc/latex/nag/nagdemo.tex +++ b/Master/texmf-dist/doc/latex/nag/nagdemo.tex @@ -154,7 +154,7 @@ unsuited for closing the center command above. \typeout{Next: another warning about it in a caption, in the LoF this time.} \listoffigures -\AtEndDocument{\typeout{You should get 24 warnings and one info in the log.}} +\AtEndDocument{\typeout{You should get 25 warnings and one info in the log.}} \end{document} %%X Local Variables: %%X mode: latex diff --git a/Master/texmf-dist/source/latex/nag/nag.dtx b/Master/texmf-dist/source/latex/nag/nag.dtx index f5480010597..4c88851b63e 100644 --- a/Master/texmf-dist/source/latex/nag/nag.dtx +++ b/Master/texmf-dist/source/latex/nag/nag.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2005-9 by Ulrich M. Schwarz +% Copyright (C) 2005-10 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 or, at your @@ -17,9 +17,8 @@ \GetFileInfo{nag.sty} \typeout{\fileversion} \usepackage[T1]{fontenc} -%\usepackage{bera}% much smaller pdf now. -\usepackage{fourier} -\usepackage[scaled=0.87]{luximono} +\usepackage{lmodern} +\usepackage[scaled]{luximono} \EnableCrossrefs \CodelineIndex \RecordChanges @@ -163,7 +162,7 @@ unsuited for closing the center command above. \typeout{Next: another warning about it in a caption, in the LoF this time.} \listoffigures -\AtEndDocument{\typeout{You should get 24 warnings and one info in the log.}} +\AtEndDocument{\typeout{You should get 25 warnings and one info in the log.}} \end{document} % % @@ -205,6 +204,39 @@ unsuited for closing the center command above. % \changes{0.5}{2006/07/08}{Handle the case that somebody else relaxes % the ver@-commands. Stack-based NotASwitch.} %\changes{0.55}{2007/03/31}{Some spaces crept in in 0.5} +%\changes{0.60alpha}{2007/04/03}{ changes the way label/caption is handled, +% this eliminates the current limit of some thousand floats you can have in +% your document. (I wonder why nobody noticed). } +%\changes{0.60alpha2}{2007/04/08}{ is more careful around commands that +% aren't there. } +%\changes{0.60alpha4}{2007/04/23}{ handles eqnarray itself and has code in +% nag-experimental.cfg to handle double-dollar in a more robust way that +% onlyamsmath.} +%\changes{0.60alpha4}{2007/04/23}{ tarballs now unpack into a subdirectory +% like proper citizens should.} +%\changes{0.60alpha5}{2007/05/10}{ improves compatibility with subfig.} +%\changes{0.60}{2007/05/10}{ fixes double-dollar in conjunction with +% hyperref; documents incompatiblity with rotating.} +%\changes{0.61alpha1}{2007/11/10}{ fixes warnings in toc/lof/lot and +% unsightly uppercasing. } +%\changes{0.61alpha2}{2007/11/26}{ fixes the warnings, without generating +% too many duplicates.} +%\changes{0.61alpha3}{2007/12/21}{ warns about inputs that fail (in +% particular includes that fail) and notes if a float has position t/b but is +% too large to ever go into such a position (log only). } +%\changes{0.61alpha4}{2008/01/04}{ exempts the complaints counter from +% include trickery. (Previously, nag would get confused if you includeonly +% only some chapters.) } +%\changes{0.61alpha5}{2008/01/27}{ introduces compatibility hacks with +% version control packages which rely on dollar having constant catcode. +% (Workaround for svninfo and rcs, all other packages now disable +% double-dollar +% checking.) } +%\changes{0.61}{2008/02/10}{ is 0.61alpha5 with some typos in the docs +% fixed.} +%\changes{0.62}{2007/07/30}{ fixes a bug in the float placement code and +% adds more compatibility with the caption package.} +%\changes{0.621}{2010/04/05}{Bugfix concerning unknown command in math mode} % %\GetFileInfo{nag.sty} %\newcommand\pkg[1]{\textsf{#1}} @@ -294,7 +326,7 @@ unsuited for closing the center command above. % \fi % \begin{macrocode} \ProvidesFile{nag-l2tabu.cfg} - [2008/01/27 v2.1alpha1 l2tabu rules for nag.sty (ulmi)] + [2010/04/05 v2.1 l2tabu rules for nag.sty (ulmi)] %% %% The sins. %% @@ -364,6 +396,7 @@ unsuited for closing the center command above. % \TeX. We work around this by re\cmd{\let}ting \cmd{\@sptoken} to % something that cannot legally appear in the source. % \begin{macrocode} +\def\nag@quark{\nag@quark} \bgroup \catcode`$\active%$ \gdef\nag@maybe@dispmath{% @@ -693,7 +726,7 @@ unsuited for closing the center command above. % Identify ourselves. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{nag}[2009/07/30 0.62 warning about old commands (ulmi)] +\ProvidesPackage{nag}[2010/04/05 0.621 warning about old commands (ulmi)] \let\@xa\expandafter \let\@nx\noexpand % \end{macrocode} diff --git a/Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg b/Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg index 7e3f6a18f33..7cbf82f7481 100644 --- a/Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg +++ b/Master/texmf-dist/tex/latex/nag/nag-l2tabu.cfg @@ -20,7 +20,7 @@ %% http://www.latex-project.org/lppl.txt %% \ProvidesFile{nag-l2tabu.cfg} - [2008/01/27 v2.1alpha1 l2tabu rules for nag.sty (ulmi)] + [2010/04/05 v2.1 l2tabu rules for nag.sty (ulmi)] %% %% The sins. %% @@ -63,6 +63,7 @@ } \AtBeginDocument{\providecommand\texorpdfstring{\@firstoftwo}} \AtBeginDocument{\catcode`$\active}%$ +\def\nag@quark{\nag@quark} \bgroup \catcode`$\active%$ \gdef\nag@maybe@dispmath{% diff --git a/Master/texmf-dist/tex/latex/nag/nag.sty b/Master/texmf-dist/tex/latex/nag/nag.sty index 22da9a3f43c..bd3f4aaf28d 100644 --- a/Master/texmf-dist/tex/latex/nag/nag.sty +++ b/Master/texmf-dist/tex/latex/nag/nag.sty @@ -20,7 +20,7 @@ %% http://www.latex-project.org/lppl.txt %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{nag}[2009/07/30 0.62 warning about old commands (ulmi)] +\ProvidesPackage{nag}[2010/04/05 0.621 warning about old commands (ulmi)] \let\@xa\expandafter \let\@nx\noexpand \newcounter{nag@c} -- cgit v1.2.3