--- Georg Baum <[EMAIL PROTECTED]> wrote:
> In this case it is hardcoded in lyx.
[FIG->PNG conversion instead of FIG->PDF, when generating document LyX->PDF(pdflatex)]

Ahhh.  Too bad, but I can see how this would be a reasonable first approach to this 
problem.

> The following is more a developers question, so lets discuss it further on 
> the developers list: How should we decide wether to generate a .png or 
> a .pdf file? What about creating pdf if a converter to pdf is available 
> and png otherwise?

It would seem to me that some sort of ranking system for converters is required, one 
that scores
"better quality" conversions higher (e.g., score conversions to vector drawings higher 
than ones
that rasterize to a bitmap), and for the image conversion code (the currently 
hardcoded bit) to
just pick the highest ranked option from the allowable target formats.  Mind you, this 
may be
overkill: if this is only used in LyX->PDF (pdflatex) and maybe one other place, it 
might be
simpler to hardcode this simply to try the better converter, if present, else fall 
through to the
bitmap one.

Anyhow, thanks for the answer.  I wish I had more time to pursue this further, but 
unfortunately I
don't, especially since there is an abundance of workarounds (and hey, 
LyX->PDF(dvipdfm)
works/looks great).  Hope you guys manage to sort it out in the end, I'm sure someone, 
somewhere,
at some time will get bit by this and will not be able to use any workaround... 
(probably me, a
year from now ;)




                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

Reply via email to