diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/nag | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/nag')
-rw-r--r-- | Master/texmf-dist/doc/latex/nag/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/nag/nag.pdf | bin | 0 -> 68025 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/nag/nagdemo.pdf | bin | 0 -> 28954 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/nag/nagdemo.tex | 73 |
4 files changed, 77 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/nag/README b/Master/texmf-dist/doc/latex/nag/README new file mode 100644 index 00000000000..5ec5063e3f9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/nag/README @@ -0,0 +1,4 @@ +Old habits die hard. All the same, there are commands, classes and +packages which are outdated and superseded. nag provides routines to +warn the user about the use of those. As an example, we provide an +extension that detects many of the ``sins'' described in l2tabu. diff --git a/Master/texmf-dist/doc/latex/nag/nag.pdf b/Master/texmf-dist/doc/latex/nag/nag.pdf Binary files differnew file mode 100644 index 00000000000..156b95a71d5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/nag/nag.pdf diff --git a/Master/texmf-dist/doc/latex/nag/nagdemo.pdf b/Master/texmf-dist/doc/latex/nag/nagdemo.pdf Binary files differnew file mode 100644 index 00000000000..6209f67c652 --- /dev/null +++ b/Master/texmf-dist/doc/latex/nag/nagdemo.pdf diff --git a/Master/texmf-dist/doc/latex/nag/nagdemo.tex b/Master/texmf-dist/doc/latex/nag/nagdemo.tex new file mode 100644 index 00000000000..ce616dc58b0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/nag/nagdemo.tex @@ -0,0 +1,73 @@ +%% +%% This is file `nagdemo.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% nag.dtx (with options: `nagdemo') +%% 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@users.sarovar.org +%% +%% Copyright (C) 2005 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 +%% +%% Test document: finding and complaining about obsolete macros. +%% +\RequirePackage[l2tabu]{nag} +\documentclass{article} +%% some usual culprits +\usepackage{times, a4wide, epsfig, palatino} +\begin{document} +\typeout{Next: it and bf complaints} +{\it f{\bf oo}f}highter + +\typeout{Next: center in float complaint} +\begin{figure} + \begin{center} + Foo. + \end{center} + \caption{\label{fig}Higher!} +\end{figure} + +\typeout{Next: no complaints: manually fake caption} +\begin{figure} + Foo. +\makeatletter\nag@hascaptiontrue\makeatother + \label{date} +\end{figure} + +\typeout{Next: put-label-after-caption complaint} +\begin{figure} + Foo. + \label{coconut}\caption{Bar.} +\end{figure} + +\typeout{Next: no-caption complaint} +\begin{figure} + Foo. +\end{figure} + +\begin{appendix} + \begin{center} + Foo. + \end{center} +\typeout{Next: over complaint, centerline complaint} + \centerline{Ferner gilt $4\over 2=2$.} +\typeout{Next: appendix complaints} +\end{appendix} +\typeout{You should get 13 warnings.} +\end{document} +%%X Local Variables: +%%X mode: latex +%%X End: +\endinput +%% +%% End of file `nagdemo.tex'. |