Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Angus Leeming
Martin Vermeer wrote: > On Thu, Jun 12, 2003 at 01:57:13PM +, Angus Leeming spake thusly: > >> Martin Vermeer wrote: >> >> In this latter case, the script generates pstex and pstex_t output and >> >> then converts the image to png using gs. I tried to generate a pdf >> >> image rather than a

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Martin Vermeer
On Thu, Jun 12, 2003 at 01:57:13PM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > >> In this latter case, the script generates pstex and pstex_t output and > >> then converts the image to png using gs. I tried to generate a pdf image > >> rather than a png one but failed :-( > > >

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Jun 12, 2003 at 02:35:38PM +, Angus Leeming wrote: >> $ fig2dev -Lpdftex -P ${input} ${pdftex} > > My fig2dev (3.2 patchlevel3d) does not understand -Lpdftex anyway. I discovered that fig2dev -Lpstex -p1 ${input} ${ouput} was what I needed in the modern_xfi

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Angus Leeming
Angus Leeming wrote: > Andre Poenitz wrote: > >> On Thu, Jun 12, 2003 at 01:57:13PM +, Angus Leeming wrote: >>> Clearly, both "work", but -Lpdftex output must be rotated, either as an >>> option to fig2dev (unknown to me) or by adding some stuff to the >>> \includegraphics command. >> >> man

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Andre Poenitz
On Thu, Jun 12, 2003 at 02:35:38PM +, Angus Leeming wrote: > $ fig2dev -Lpdftex -P ${input} ${pdftex} My fig2dev (3.2 patchlevel3d) does not understand -Lpdftex anyway. What's wrong with fig2dev -Lpstex -P ${input} tmp.ps epstopdf tmp.ps ? Andre' -- Those who desire to give up Freedom

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Jun 12, 2003 at 01:57:13PM +, Angus Leeming wrote: >> Clearly, both "work", but -Lpdftex output must be rotated, either as an >> option to fig2dev (unknown to me) or by adding some stuff to the >> \includegraphics command. > > man fig2dev > /rota > > -> > >

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Andre Poenitz
On Thu, Jun 12, 2003 at 01:57:13PM +, Angus Leeming wrote: > Clearly, both "work", but -Lpdftex output must be rotated, either as an > option to fig2dev (unknown to me) or by adding some stuff to the > \includegraphics command. man fig2dev /rota -> -P Rotate the figure to portr

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Angus Leeming
Martin Vermeer wrote: >> In this latter case, the script generates pstex and pstex_t output and >> then converts the image to png using gs. I tried to generate a pdf image >> rather than a png one but failed :-( > > I use epstopdf manually (part of tetex) and works fine. It's a perl > script and m

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Martin Vermeer
On Thu, Jun 12, 2003 at 08:59:21AM +, Angus Leeming spake thusly: > On Thursday 12 June 2003 7:00 am, Martin Vermeer wrote: > > On Thu, Jun 12, 2003 at 08:04:41AM +0200, Andre Poenitz spake thusly: > > > Incidently, concerning .fig -> .pdf. Konni said she always uses separate > > > ps/tex exp

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-12 Thread Angus Leeming
On Thursday 12 June 2003 7:00 am, Martin Vermeer wrote: > On Thu, Jun 12, 2003 at 08:04:41AM +0200, Andre Poenitz spake thusly: > > Incidently, concerning .fig -> .pdf. Konni said she always uses separate > > ps/tex export in that case and uses ps2pdf to convert the ps part only. > > Yes, that's wh

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-11 Thread Martin Vermeer
On Thu, Jun 12, 2003 at 08:04:41AM +0200, Andre Poenitz spake thusly: ... > Incidently, concerning .fig -> .pdf. Konni said she always uses separate > ps/tex export in that case and uses ps2pdf to convert the ps part only. Yes, that's what I find works the best too. Though I currently use separ

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-11 Thread Andre Poenitz
On Wed, Jun 11, 2003 at 03:29:11PM +, Angus Leeming wrote: > Andre Poenitz wrote: > > > On Wed, Jun 11, 2003 at 02:43:00PM +, Angus Leeming wrote: > >> Ok to apply? > > > > It's your ballpark and it des not sound unreasonable... > > ;-) > I don't really post to receive a yay or nay, but

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-11 Thread Angus Leeming
Andre Poenitz wrote: > On Wed, Jun 11, 2003 at 02:43:00PM +, Angus Leeming wrote: >> Ok to apply? > > It's your ballpark and it des not sound unreasonable... ;-) I don't really post to receive a yay or nay, but more as "I'm about to commit so speak up now if you'd rather I didn't". -- Ang

Re: [patch] Missing ExternalTemplate handled gracefully

2003-06-11 Thread Andre Poenitz
On Wed, Jun 11, 2003 at 02:43:00PM +, Angus Leeming wrote: > Ok to apply? It's your ballpark and it des not sound unreasonable... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or bot

[patch] Missing ExternalTemplate handled gracefully

2003-06-11 Thread Angus Leeming
We currently store an ExternalTemplate variable in the InsetExternal::Params struct. All is fine if a particular template exists. However, should a template named in the lyx file _not_ exist on the machine reading the file, then we must necessarily use the default (first) template from the list