echo q to quit, e to edit in LyX, anything else to regenerate Postscript read var until test "$var" = "q"; do cd rm -f hello.ps echo; echo; echo; echo; if test "$var" = "e"; then lyx hello.lyx else lyx --export ps hello.lyx gv hello.ps fi echo q to quit, e to edit in LyX, anything else to regenerate Postscript read var done |
Copyright (C) 2002 by Steve Litt, you can freely
distribute unmodified copies if this copyright notice and disclaimer are
intact. This material originally appeared on Troubleshooters.Com.
This presentation has no warranty, express or implied, including,
but not limited to, the implied warranties of merchantability and fitness
for a particular purpose. The entire risk as to the quality and performance
of the presentation is with you.
|