On Tue, Jun 3, 2014 at 2:57 PM, Georg Baum <georg.b...@post.rwth-aachen.de> wrote:
> stefano franchi wrote: > > > Prannoy has worked out how to instruct tex4ht to use "convert" and > > produce png from pdf. I guess he could substitute a conversion to EPS > > instead (with pdftops -eps), but I am not sure if there is any real > > benefit. I am really having troubles imagining a scenario in which a > > self-contained, converted ODT file would be used to produce high-quality > > printed output. But I may be lacking imagination. > > I have no idea whether that scenario is used. However, it is not important > right now IMHO: If tex4ht can be made to call convert, then it could use > any > converter later if needed (in theory). > > That (calling convert) was achieved in the last few days. It is even capable of passing the \includegraphics scaling parameter to it, so that both pdf's (once converted to png) and png's are converted and scaled appropriately. To simplify tex4ht's level support for conversion (which is not pretty, let alone readable) I think we could limit it to support the graphics format pdflatex itself (and its followers such as XeTeX and LuaTeX) supports: pdf, jpeg, png. If the user inserts images in some other format (since LyX supports more) the conversions to these three formats can be done by LyX itself on export to ODT, as it does now on export to pdflatex. At any rate, Prannoy is now moving to tex4ht's math support, where I expect thornier issues will come up soon. Cheers, Stefano -- __________________________________________________ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org