next up previous contents index
Next: Asking the Translator to Up: Extending the Translator Previous: Adding Support for Specific

Asking the Translator to Ignore Commands

Commands that should be ignored may be specified in the .latex2html-init file as input to the ignore_commands subroutine. Each command which is to be ignored should be on a separate line followed by compulsory or optional argument markers separated by #'s e.g.gif:

<cmd_name>#{}# []# {}# [] ...
{}'s mark compulsory arguments and []'s optional ones.

Some commands may have arguments which should be left as text even though the command should be ignored (e.g. mbox, center, etc.). In these cases the arguments should be left unspecified.

Here is an example of how this mechanism may be used:

&ignore_commands( <<_IGNORED_CMDS_);
documentstyle # [] # {}
linebreak# []
center
<add your commands here>
_IGNORED_CMDS_


Leon Kos
Tue Mar 19 09:29:01 MET 1996