I want to validate my LaTeX file. I.e. the file should contain only \textit not \it. i want to validate throughout the file with my style command. is there any possibility to do this?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
||||
|
You might be interested in the
It nags about Related:
|
||||
|
|
|
You could redefine
where Code:
|
|||||||||||||||
|
grep '\it\>' > /dev/null. On Unix this should only return an exit status of 0 if there aren't '\it` commands in the file. Of course it won't detect\csname it\endcsnameand friends. BTW why do you want to implement this check? (It may be the case that you also don't want\textitbecause\emphis what you really want.) – Marc van Dongen Oct 5 '12 at 8:02