On 09/29/2011 10:04 AM, tomm...@lyx.org wrote:
> Author: tommaso
> Date: Thu Sep 29 16:04:02 2011
> New Revision: 39786
> URL: http://www.lyx.org/trac/changeset/39786
>
> Log:
> Make export to XHTML work when there are included ODG pictures,
> or any other graphic format that:
> - is exportable to EPS
> - could not be explicitly exported to PNG yet (i.e., source to PNG was not 
> reachable on the converters graph)
> Now, adding the EPS to PNG conversion explicitly allows LyX to find the 
> conversion path.
>
This is fine for branch. Note that it should also allow previews of ODG
pictures in LyX.

Richard

> Modified:
>    lyx-devel/trunk/lib/configure.py
>
> Modified: lyx-devel/trunk/lib/configure.py
> ==============================================================================
> --- lyx-devel/trunk/lib/configure.py  Thu Sep 29 15:39:48 2011        (r39785)
> +++ lyx-devel/trunk/lib/configure.py  Thu Sep 29 16:04:02 2011        (r39786)
> @@ -795,6 +795,9 @@
>      checkProg('an EPS -> PDF converter', ['epstopdf'],
>          rc_entry = [ r'\converter eps        pdf        "epstopdf 
> --outfile=$$o $$i" ""', ''])
>      #
> +    checkProg('an EPS -> PNG converter', ['convert $$i $$o'],
> +        rc_entry = [ r'\converter eps        png        "%%" ""', ''])
> +    #
>      # no agr -> pdf converter, since the pdf library used by gracebat is not
>      # free software and therefore not compiled in in many installations.
>      # Fortunately, this is not a big problem, because we will use epstopdf to

Reply via email to