[l2h] Making my own environment.

Mariusz Pietrzak Mariusz Pietrzak <mariuszp@polbox.pl>
Tue, 24 Aug 1999 12:41:48 +0200


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