>>>>> "Reuben" == Reuben Thomas <[EMAIL PROTECTED]> writes:

Reuben> 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.

Reuben> To clarify, this will happen if you export a LyX file as
Reuben> LaTeX, then reimport it. In my view this is another reason why
Reuben> \LyX should be defined using \providecommand rather than
Reuben> \newcommand.

This will not happen if you export/import with version 1.0.0 of
LyX/reLyX. reLyX skips the parts of the preamble that have been
generated by LyX.

I agree however the \LyX should use \providecommand.

JMarc

-- 
                +++ the lyx project user mailing list +++
                To unsubscribe from this list send mail to 
                         [EMAIL PROTECTED]
                    with the **Subject** unsubscribe.

Reply via email to