On 27 Jun 2000, Jean-Marc Lasgouttes wrote:

> >>>>> "Ryan" == Ryan Wahle <[EMAIL PROTECTED]> writes:
> 
> Ryan> How can I convert .lyx to .ps ?? I can do it from LyX, but I
> Ryan> need to do it automatically from another program. I don't know
> Ryan> what utility to use. I have tried serveral like latex but they
> Ryan> give me an error for some reason.. Can someone give me the
> Ryan> commands that LyX does to convert to a .ps file from the .lyx
> Ryan> file?
> 
> You have to call LyX for that, something like
> lyx -e ps file.lyx
> 
> This will bring up the lyx window, though. To avoid that, you will
> need to use tricks with Xvfb. You can find an example at
> http://www.mail-archive.com/[email protected]/msg10889.html

At least in 1.1.5cvs (probably one of the latest of the 1.1.5cvs versions)
it doesn't work. LyX pops, asks if to export to file or printer, doesn't
wait for an answer, closes the questioning pop-up and closes, no
postscript is done, no latexing is done.

Exporting to latex works ok though (this is what I use now), my problem is
that it asks for the confirmation since there is a .tex file present, this
should be avoided when doing it from command line.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/                 (My brothers AD&D site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael


Reply via email to