I am using tex2lyx from cvs updated yesterday. I am glad to finally be
able to import tex into lyx (after a year of trying).

It seems like some added spaces are being added.

For example, the tex file has:

$-$u user

But lyx shows it as:

- u user

And:

 The \emph{$-$e}
 option ...

Shows:

The - e option

And when exporting as ASCII it also has that extra space.

When exporting as DVI or viewing with xdvi it looks fine.
And when exporting as Postscript and viewing with gv it looks fine.

I zoomed in with xdvi and gv and it appears to be a long dash.

Maybe the ASCII output and the lyx display should not show a space between
dash and next character.

A similar problem is lyx is showing indented text but is fine with DVI and
Postscript output. For example the tex file has two blank lines:

\subsection*{NAME}


 crontab - maintain crontab files for individual users (V3)


And so lyx shows wrongly like:

NAME
   crontab ....

The indented spacing above should not be there. That is only in the lyx
display but not in the ASCII output.

But the ASCII output has some other errors (not in DVI nor in Postscript
output which are good).

Tex file has:

 crontab [ $-$u user ] [ $-$l | $-$r | $-$e ]

ASCII output:

 crontab [  - u user ] [  - l |  - r |  - e
]

(problem is newline before trailing right bracket)


Tex file has (two lines here):

 The \emph{crontab}$
 command conforms to IEEE Std1003.2$-$1992 (``POSIX''). This new command syntax 
differs from previous versions of Vixie Cron, as well as from the classic SVR3 syntax.

ASCII output has:

The crontab command conforms to IEEE Std1003.2 - 1992 ("POSIX"
). This new command syntax differs from previous

Problem above is the newline before the right close parenthesis.

Tex file has:

 /var/cron/allow\\    <-- trailing space here
 /var/cron/deny\\     <-- trailing space here
 /var/cron/maxtabsize

And ASCII output has:

/var/cron/allow
 /var/cron/deny
 /var/cron/maxtabsize

The problem above is that the last two lines should not be indented. (It
is fine in lyx interface and with dvi and postscript).

Tex file has:

 Paul Vixie $<[EMAIL PROTECTED]>$\\

ASCII output does:

Paul Vixie  < [EMAIL PROTECTED] >

Problem is spaces inside of email brackets.

By the way, everything is great with DVI and Postscript -- so this should
be fine.

Also is there a tool for cleaning up latex (like tidy is for html)?

Thanks again for tex2lyx!

 Jeremy C. Reed

                         BSD News, BSD tutorials, BSD links
                         http://www.bsdnewsletter.com/

Reply via email to