[l2h] "variable" commands in latex2html

andiw@uk2.net andiw@uk2.net
Sun, 21 Apr 2002 16:37:32 GMT


I want to make an HTML page with quite a few images that should be aligned 
alternately  on the left and on the right side of the page. In LaTeX I would 
either use the ifthenelse package to do this (which isn't supported by 
latex2html) or I would use a workaround like:

\newcommand{\image}{\imageLeft}
\newcommand{\imageLeft}{\insertImageLeft \renewcommand{\image}{\imageRight}}
\newcommand{\imageRight}{\insertImageRight \renewcommand{\image}{\imageLeft}}

which actually works in LaTeX, but not in latex2html since it handles 
\renewcommand differently.
How could I accomplish this task with latex2html?
Is there any possibility to use something "variable" or at least maybe to 
execute an external command?


Thanks in advance,
Andi


----------------------------------------------------------
This message was sent using                 http://uk2.net
NEWS - CHEAPEST DEDICATED SERVERS IN THE WORLD -  25/month
FREE UK DIAL 0845 609 1370 - username uk2: - password: uk2
UK's FREE Domains, FREE Dialup, FREE Webdesign, FREE email