[l2h] Building tables with WIDTH=x% ???
Jm Ferrard
Jm Ferrard" <Jm.Ferrard@wanadoo.fr
Thu, 23 Aug 2001 16:30:05 +0200
Hi Ross
I've followed your advice (using 60\% ans 40\% for the widths of the two
cells of my tables, but LaTeX2html complains:
"WIDTH=60% is an invalid value in the <TD> tag"
"WIDTH=40% is an invalid value in the <TD> tag"
though it is possible to force those values in a HTML editor...
NB: I use "4.0,math" mode.
Also if you remind my recent mail about <P></P> before an after
displaymath, those pairs remain even if I write:
....textbefore%
$$maths$$%
textafter....
Greetings
Jean-Michel
----- Message d'origine -----
De : "Ross Moore" <ross@ics.mq.edu.au>
À : "Jm Ferrard" <Jm.Ferrard@wanadoo.fr>
Cc : <latex2html@tug.org>
Envoyé : mercredi 22 août 2001 01:38
Objet : Re: [l2h] Building tables with WIDTH=x% ???
> > Hi again!
> >
> > I use these commands in a preamble file, in order to build tables with
two
> > cells:
> >
> > \begin{htmlonly}
> > \newenvironment{deuxcols}[2]
> > {\HTMLcode[align=center,cellpadding=10,border=0,cellspacing=0]{TABLE}%
> > {\HTMLcode[valign=top,WIDTH=400,bgcolor="#FFCCFF"]{TD}{#1}%
> > \HTMLcode[valign=top,WIDTH=300,bgcolor="#CCCCCC"]{TD}%
> > {#2}}}%
> > {}
> > \end{htmlonly}
> >
> > This is not exactly what I want.
> > I'd prefer to assign a WIDTH=60% (for example) argument to the first
cell.
> > But how to manage with the % character, which begins a comment in LaTeX
???
>
> Just use \% as you would in LaTeX.
> Similarly \$, \& and \# should be tried, if you get problems
> with the un-escaped characters.
>
> Note that \HTMLcode allows you to mix raw HTML with TeX source,
> and can occur in the arguments of other TeX macros.
> Hence macros *are* expanded, in both the HTML and TeX arguments.
> This makes it difficult to state the expansion rules,
> so when you have problems, just try out anything that seems sensible.
> Something *should* work.
>
>
> > Thanks if you can help me (and sorry if the answer is obvious)
>
> Hope this helps,
>
> Ross Moore
>
> >
> > Jean-Michel
> >
> > _______________________________________________
> > latex2html mailing list
> > latex2html@tug.org
> > http://tug.org/mailman/listinfo/latex2html
>
>