On Tue, Feb 27, 2001 at 01:26:35AM -0800, Kenward Vaughan wrote:
...
> 1) If I simply export the lyx file to Latex, the Latex file works by itself
> with the script in a term window.
> 
> 2) If I first try to export through the converter script (which fails), then
> export to Latex, the "new" Latex file fails (apparently a new Latex file is
> not created).
...
> I ran diff on the two Latex files, getting the following:
> 
> 00:53:32
> daddy:/tmp/ochemwork# diff 1.tex 2.tex
> 1,2c1,4
> < %% LyX 1.1 created this file.  For more info, see http://www.lyx.org/.
> < %% Do not edit unless you really know what you are doing.
> ---
> > \batchmode
> > \makeatletter
> > \def\input@path{{/home/daddy/Chemistry/Ochem//}}
> > \makeatother
...
> What has happened to the Latex file to change it?  The change occurs before
> my script has done any processing (I saved a copy of it before those steps,
...


The offending line in the "bad" file is:

   \def\input@path{{/home/daddy/Chemistry/Ochem//}}

If I comment this out using %% then the script succeeds.

Surely someone knows what this does, its purpose, etc??  Obviously it's tied
to the 1.1.16 converter methodology, since a plain Latex export doesn't have
it (nor the other 3 lines at the beginning).  

Why is it inserted; is it important?  I know nearly zilch about
Latex/Tex/Lyx code.  

Is the ochem drawing package the only one likely to be bothered by this, or
could it mess up other scripts used for other purposes?

Can I turn off its generation?  or hope that someone adds a "use plain Latex
file" button in the converter section to do just that?

Thanks,

Kenward
-- 
It is not so very important for a person to learn facts.  For that he
doesn't really need a college education, for he can learn them from
books.  The value of an education in a liberal arts college is not the
learning of many facts but the training of the mind to thinking--something
that cannot be learned from books.     Albert Einstein

Reply via email to