On Thu, 18 Feb 1999, Jean-Marc Lasgouttes wrote:
> >>>>> "Der-Yi" == Der-Yi Sheu <[EMAIL PROTECTED]> writes:
>
> Der-Yi> Hi, all, When I output my documentaion to .tex file, by
> Der-Yi> File->Export->as LaTex, I got two sets of the following lines:
>
> Der-Yi> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
> Der-Yi> \newcommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
>
> Der-Yi> Latex will choke when reading it. This happens in both
> Der-Yi> verions 0.12 and 1.0. Any idea how to avoid that?
>
> Check in Layout->LaTeX_Preamble that this definition is not already
> there. If it is, the remove it.
To clarify, this will happen if you export a LyX file as LaTeX, then
reimport it. In my view this is another reason why \LyX should be defined
using \providecommand rather than \newcommand.
--
http://www.cl.cam.ac.uk/users/rrt1001/ | maxim, n. wisdom for fools
--
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to
[EMAIL PROTECTED]
with the **Subject** unsubscribe.