{nag} is a package that provides routines to warn the user about the use of commands, classes and packages that are outdated and superseded.

learn more… | top users | synonyms

4
votes
2answers
37 views

nag [l2tabu] and \phantomsubcaption

The nag package used with the l2tabu option complains when \label is used in a float without following a \caption. Unfortunately, it does not understand that a \phantomsubcaption, from the subcaption ...
7
votes
3answers
234 views

Is nag.sty authoritative for LaTeX?

I just (re?)discovered nag.sty. is this a (TUG-endorsed?) authoritative tool to get all of us away from non-recommended use of latex, or just the work of the author? given that latex never seems to ...
7
votes
1answer
88 views

\endcsname error with nag and newest babel/greek update

Did I miss something with babel and polutonikogreek? I just updated my TeX distribution on my mac through TeX Live Utility, and now I get the error: ./document.tex:5: Missing \endcsname inserted. ...
10
votes
1answer
112 views

Why the placement of \title makes a difference when using amsart with nag?

% !TeX program = pdfLaTeX \RequirePackage[l2tabu,orthodox]{nag} \documentclass{amsart} \begin{document} \title{The $n$-th term} \maketitle \end{document} If the \title command is placed after ...
13
votes
1answer
274 views

How to use nag?

I've just added \RequirePackage[l2tabu, orthodox]{nag} to a big document (200+ pages, 100+ images) about computer science. My .log-file was 3119 lines long before, now it is 4349 lines long. How can ...
15
votes
1answer
209 views

Is there a nag package for TikZ?

It turns out that I've been using several deprecated commands, such as \tikzstyle and right of. Is there any way to have TikZ or pdfLaTeX warn in those cases, such as nag does?
5
votes
1answer
166 views

can't find issues identified by nag

I am somewhat new to LaTeX, but am currently working on a project (trying to use pdflatex for automated .pdf report rendering). I just learned about \RequirePackage[l2tabu, orthodox]{nag} today, ...
3
votes
2answers
89 views

Use of \GetIdInfoAuxI doesn't match its definition and other errors

I have several errors reported with this minimal example (latest TeX Live 2012). The errors were introduced with recent TeX Live updates. \RequirePackage[l2tabu, orthodox]{nag} ...
5
votes
2answers
7k views

center and \centering both add space above; \centerline does not

The nag package suggests I use the center environment in LaTeX, rather than the TeX \centerline command. When I do that, however, I find that the former inserts a blank line above the line (in my ...
6
votes
1answer
205 views

Do I need onlyamsmath when using nag?

I already read questions about recommended packages, and they often have the advice for \RequirePackage[l2tabu, orthodox]{nag} and \usepackage[all, warning]{onlyamsmath} I use nag for quite some ...
5
votes
1answer
257 views

nag complains about \centerline in environment “shaded” from package framed

Running this with Miktex, pdflatex, Windows, TeXnicCenter, everything fully up to date: \documentclass{article} \usepackage[l2tabu]{nag} \usepackage{xcolor} \usepackage{framed} ...
9
votes
2answers
239 views

Conflict between nag and babel spanish

The following code gives me loads of Font csname csname T1/cmtt/m/sc/10endcsname not found errors. \RequirePackage[l2tabu,orthodox]{nag} \documentclass{article} \usepackage[utf8]{inputenc} ...
10
votes
1answer
497 views

nag l2tabu caption/label checking versus \subcaptionbox

The nag package used with the l2tabu option complains when \label is used in a float without following a \caption. Unfortunately, it does not understand that the first argument of \subcaptionbox from ...