On Mon, Feb 26, 2001 at 09:32:00AM -0800, Kenward Vaughan wrote:
> On Mon, Feb 26, 2001 at 12:54:22AM -0800, Kenward Vaughan wrote:
...
> > I've DL'd 1.1.16fix1 and compiled/installed it into /usr/local to stay ahead
> > of the older 1.1.15 package already installed by .deb oackage.  One of the
> > major things I need to accomplish in my work is a custom export using a
> > script which before ran perfectly well under 1.1.15.  However it seems to
> > have disappeared despite its existence in ~/.lyx/preferences.
> 
> BTW, the script does not create a new type of file.  Its purpose is to
> process documents containing code for a particular organic chemistry drawing
...

OK.  On my own I got to the point of trying to create a phantom ochem
filetype with my script as a converter.  The relevent lines within
~/.lyx/preferences are the following:

#
# FORMATS SECTION ##########################
#

\format "ochem" "tex" "Ochem" ""
\viewer "ochem" "/bin/true"

#
# CONVERTERS SECTION ##########################
#

\converter "latex" "ochem" "ochemppLyx $$b" ""

The reason for using /bin/true for a viewer is that the script uses gv
internally to view the created ps file.  These definitions were created
using the Edit>Preferences popup.

Now I can see Ochem as a choice under both the export and view menus, and
the script runs when either is chosen.  However, the results die part way
through processing with a runaway text error involving the imbedded code. 
Bear in mind that this file (and code) works PERFECTLY with lyx 1.1.15 using
the script as a custom exporter.

The exported tex files from the two lyx versions differ, but only in the
text parts.  

I am completely stumped about this.  

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.

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