Ok here we go again.
I am trying to get ps figures to get rendered. I have followed the code to the
point where gs
gets called. That is where the problem starts because the standard gswin32c
(this is gs on windows)
executable does not have an X11 driver compiled in. I am contemplating to either
compile a recent Unix gs on NT or recompile the gs distro with an X11 driver.
The latter would mean that I'd have to make that available if others wanted to
use it.
Question: Wouldnt it be better to generate e.g. png or jpeg format and then
insert the jpeg bitmap at the appropriate
place since that is what gets done after all anyway?
But I also do not understand this code in runqueue() (figinset.C) at this point:
int err = execlp(lyxrc->ps_command.c_str(),
lyxrc->ps_command.c_str(),
"-sDEVICE=x11",
"-dNOPAUSE", "-dQUIET",
"-dSAFER",
rbuf, gbuf, tbuf,
p->data->fname.c_str(),
"showpage.ps", "quit.ps", "-", 0);
This is the call to gs but what will happen next if that is succesful?
In my man pages it says that execlp never returns instead takes over the calling
process but:
Where does it go?
Maybe someone could enlighten me on this.
Roland