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 I use nag? Should I really go through 4000+ lines and check everything? There is a lot of noise (info messages by other packages) and I miss relevant information (file where the error happened).
Can I assume that the following transformations are safe? Or will quite probably something go wrong if I automatically make these transformations:
eqnarray
->align
(12 times, seems to be safe)- old LaTeX 2.09 commands
\bf
->\textbf
(27 times)\rm
->\textrm
(3 times)\it
->\textit
(2 times)
center
-environment in figure ->\centering
(seems to be safe, 164 times)center
-environment in table ->\centering
(seems to be safe, 13 times)h
float specifier ->ht
(Latex seems to do this automatically, so I guess it is safe, 42 times)\label
in float, but not after\caption
-> change order (5 times)\usepackage{a4wide}
->\documentclass[12pt,a4paper,twoside]{diss-report}
(this is my current document class. So do I have to change anything?)
Is there a tool that automatically does those transformations?
a4wide
) will probably change the way your document looks.\label
and\caption
is more than safe, since putting the label before the caption won't work. See for example tex.stackexchange.com/questions/32325[h]
note changing it to[ht]
is not the same as the default recovery that LaTeX will do and it would be better to use[htp]
as omittingp
makes float placement a lot harder.