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

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# []
<add your commands here>

Riichiro Saito
1995年08月30日(水) 09時35分08秒 JST