On Mon, 12 Nov 2001, Herbert Voss wrote:

> Antonio Gulino wrote:
>
> >   {#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}
>
> the above is an old tex command!
>
> it's not a real bug. but both do it not in a proper way!
> lyx, that it uses a tex and not a latex command and
> latex2html that it don't understands a tex commands.
>
> what happens when you try in latex preamble:
>
> \renewcommand\lyxline[1]{\noindent\\%
>   \rule{\columnwidth}{1pt}\vspace{1ex}}

ehm... you forget the  {} around \lyxline
and... the result is: no <HR>

if I change (with vim) the *.tex
from
{#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}
to                      ^^^^^
{#1 \vspace{1ex} \hrule \columnwidth \vspace{1ex}}
it is ok.
Better is
{#1 \vspace{0ex} \hrule width \columnwidth \vspace{0ex}}
            ^                                      ^
I don't speak "latex", so I don't undestand the code.
But with
 \renewcommand{\lyxline}[1]{\noindent\\%
   \rule{\columnwidth}{1pt}}
it looks good ... always without <HR> :-(

My solution:
\renewcommand{\lyxline}[1]{\noindent\\%
 \hrule\vspace{1ex}}
And so i get <HR> !
but there is a tradeoff:
\vspace{1ex} is nice for paperoutput (dvi)
no \space is nice for htmloutput

maybe this is better for htmloutput
\renewcommand{\lyxline}[1]{\hrule}

It's nigth, too late to make a choice

Thank you again,
ciao, antonio

> p.s. you german is perfect!
It was easy: living in South-Tyrol, swissgermanspoken mother

Reply via email to