On Mon, Feb 26, 2001 at 03:45:42PM -0800, Kenward Vaughan wrote:
...
> Does anyone know if the installation makes any difference by being installed
> locally vs. through the Debian package system?  
> 
> What differences exist in how a script is called using the new format vs.
> the old in 1.1.15?  
> 
> I'd really appreciate any help on this, as I'd like to move toward 1.1.16
> for other features.  But this problem makes no sense to me.
...

Sorry to run this on, but I haven't gotten any responses to my last posts,
and I'm trying to zoom in on the source of the export problem with 1.1.16. I
am certain now that Lyx changes the headers/format of the Latex files on exportation
through the converters, which somehow messes up the latex package I use by
presenting the file in a different manner.  

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

3) If I export to Latex, then try the converter, it fails.  The Latex file
then also fails (it apparently is copied over by the one which fails from
the /tmp/lyx* dir).

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

00:57:01
daddy:/tmp/ochemwork# ls -l [12].tex
-rw-r--r--    1 daddy    daddy       16076 Feb 27 00:48 1.tex
-rw-r--r--    1 daddy    daddy       16034 Feb 27 00:49 2.tex

1.tex is the exported Latex file which works.  2.tex is the Latex file
passed to my script which fails. As can be seen, they are reasonably sized
files.

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,
deliberately to test this). I'm very interested in knowing what the new
lines do to the processing done on the file by Latex, as this is what causes
the Latex drawing package to fail on the file's first pass through Latex.


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