On Wed, 9 Jan 2002, Steve Litt wrote:

> On Wednesday 09 January 2002 13:45, Jamin W. Collins wrote:
> > I recently found Lyx and must say that it's features look very
> > promising.However, I find that when using the View menu, and selecting
> > either PDF or Postscript, my system frequently locks.When this
> > happens, both screens (I'm using Xinerama with a G400) blank to power
> > saving and the system is utterly unresponsive.I've attempted remote
> > connection to the system over the network during these lockups to no
> > avail.The only recourse I've found is cut the power.Obviously this
> > is highly undesirable.
> >
> > Any ideas?
>
> Hi Jamin,
>
> It's possible that the problem is the way LyX invokes gv. Try using a
> separate script to view your output. I run the following script from outside
> LyX to rebuild my book's table of contents, output it to postscript, and view
> it. The book is utp.lyx.

A simpler solution: export to postscript. Use a postscript previewer which
can "watch file" (gv when watch-file is ticked, siag's gv, ggv, etc.) and
you won't have to re-run the gv command multiple times.

>
> =================================
>
> #!/bin/sh
> cd /home/slitt/data/books/utp
> rm -f utp.ps
> rm -f utp.aux
> rm -f utp.dvi
> rm -f utp.idx
> rm -f utp.ilg
> rm -f utp.ind
> rm -f utp.log
> rm -f utp.tex
> rm -f utp.toc

Can all be put in one rm -f command. But most (if not all) of them are
unnecessary.

> lyx --export latex utp.lyx
> latex utp.tex
> makeindex utp.idx
> konqueror utp.ind utp.ilg

What is that?

Alternatively, you can locate the temporary directory in which lyx
currently typesets the document, and rip the files from there.

> lyx --export ps utp.lyx
> gv utp.ps
> cd -

-- 
Tzafrir Cohen                        /"\
mailto:[EMAIL PROTECTED]        \ /  ASCII Ribbon Campaign
Taub 229, 972-4-829-3942,             X   Against  HTML  Mail
http://www.technion.ac.il/~tzafrir   / \

Reply via email to