[l2h] Example of Perl do_cmd_* implementation

Florian Weimer Weimer@CERT.Uni-Stuttgart.DE
Thu, 14 Mar 2002 12:25:53 +0100


Could someone please send me a sample implementation of a Perl
implementation of a \def of the following form?

    \def\foo#1{A\bar{#1}B},

where A and B are specific strings which can be included verbatim in
the HTML output, and \bar is a predefined LaTeX macro.  An example:

    \def\program#1{`\texttt{#1}'}

I tried to find an example of this kind of do_cmd_* implementation,
but I had no luck.

-- 
Florian Weimer 	                  Weimer@CERT.Uni-Stuttgart.DE
University of Stuttgart           http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT                          +49-711-685-5973/fax +49-711-685-5898