summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/nag
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-02-12 18:34:45 +0000
committerKarl Berry <karl@freefriends.org>2008-02-12 18:34:45 +0000
commit87f5bf9bf0a3ad0306a912db16a32beec711e94a (patch)
treedd6e5abcbf02cab2b779e3aa698d7f84dc9745a3 /Master/texmf-dist/doc/latex/nag
parentec84cebdc3cbd045b86606318c88d58b99daee7e (diff)
nag 0.61 (11feb08)
git-svn-id: svn://tug.org/texlive/trunk@6612 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/nag')
-rw-r--r--Master/texmf-dist/doc/latex/nag/nag.pdfbin193564 -> 195726 bytes
-rw-r--r--Master/texmf-dist/doc/latex/nag/nagdemo.tex18
2 files changed, 13 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/nag/nag.pdf b/Master/texmf-dist/doc/latex/nag/nag.pdf
index efc1ce598a5..a5c0d2beaf2 100644
--- a/Master/texmf-dist/doc/latex/nag/nag.pdf
+++ b/Master/texmf-dist/doc/latex/nag/nag.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/nag/nagdemo.tex b/Master/texmf-dist/doc/latex/nag/nagdemo.tex
index 6506eb5c933..1838c8de721 100644
--- a/Master/texmf-dist/doc/latex/nag/nagdemo.tex
+++ b/Master/texmf-dist/doc/latex/nag/nagdemo.tex
@@ -11,7 +11,7 @@
%% The `nag' package has the LPPL maintenance status: maintained.
%% Current Maintainer is Ulrich M. Schwarz, ulmi@absatzen.de
%%
-%% Copyright (C) 2005-7 by Ulrich M. Schwarz.
+%% 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
@@ -21,7 +21,7 @@
%%
%% Test document: finding and complaining about obsolete macros.
%%
-\RequirePackage[l2tabu, orthodox, experimental]{nag}[2007/04/23]
+\RequirePackage[l2tabu, orthodox, experimental]{nag}[2007/12/21]
\documentclass{article}
%% some usual culprits
\usepackage{times, a4wide, epsfig, palatino}
@@ -71,13 +71,16 @@
\typeout{Next: no-caption complaint}
\begin{figure}
No caption, even a fake one.
+ But too big, this should get bottom-of-page warning.
+ \rule{1pt}{0.4\textheight}
\end{figure}
\typeout{Next: no complaint about subfloat and topcapt}
+\typeout{also: complaint about it in caption.}
\begin{figure}
\subfloat{\label{sf:1}Subfig number~\ref{sf:1} with label.}
\subfloat[\label{sf:17}Strange subfig]{Subfig~\ref{sf:17} with label elsewhere.}
- \caption{Figure}
+ \caption{Figure: \it's a sin!}
\end{figure}
\begin{figure}
@@ -93,7 +96,7 @@
\typeout{Shouldn't cause trouble to have dollars in headings.}
\section{Maths tests, like if $1+1=2$}
-\typeout{Next: three complaints in total concerning $$ end eqnarray}
+\typeout{Next: three complaints in total concerning $$ and eqnarray}
A \TeX-style displayed equation:
$$ 1+1=2 $$
@@ -146,7 +149,12 @@ Another endflushright, this is brace-mismatched and otherwise totally
unsuited for closing the center command above.
\endflushright
-\AtEndDocument{\typeout{You should get 20 warnings.}}
+\typeout{Next: a warning that is not uppercased.}
+\MakeUppercase{\it's a sin!}
+
+\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.}}
\end{document}
%%X Local Variables:
%%X mode: latex