On Mon, Feb 26, 2001 at 12:54:22AM -0800, Kenward Vaughan wrote:
> Hi,
>
> 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
package I use on handouts/exams/etc. The end result is a ps/dvi file which
is thrown into gv, which I then print out after inspection. It's listed
below:
daddy:~# cat /usr/local/bin/ochemppLyx
#!/bin/sh
cp /usr/local/share/texmf/tex/latex/ochem/*.inc .
latex $1
perl /usr/local/bin/chemie.pl -pp $1.chm
latex $1
latex $1
dvips -o $1.ps $1.dvi
rm *.ctx *.aux *.chm
gv $1.ps
and it is called (under Lyx 1.1.15) with the line:
\custom_export_command "ochemppLyx `Basename '$$FName' .tex "
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