I'd like my own environment to be sometimes
ignored the way latexonly is, but it doesn't
work with \chapter (latexonly does), eq:
-in .perl style file:
sub do_env_to_be_ignored {
if (...) {"";} else {...}
}
-in .tex file:
\begin{to_be_ignored}
\chapter{TO BE IGNORED}
...
\end{to_be_ignored}
Any help? Is latexonly different
from other?
Regards
Mariusz Pietrzak
mariuszp@polbox.pl