[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [eLyXer-users] Elyxer svg file conversion problems.
From: |
Alex Fernandez |
Subject: |
Re: [eLyXer-users] Elyxer svg file conversion problems. |
Date: |
Fri, 22 Jan 2010 02:01:38 +0100 |
Hi Bill,
On Sat, Jan 16, 2010 at 3:28 AM, address@hidden
<address@hidden> wrote:
> I insert a .svg graphic in my lyx document.
> elyxer appears to use ImageMagick/convert
> to convert this to a .png for use in the HTML,
> but it does not convert properly.
>
> I use Inkscape to create my .svg files and it
> is not be surprising to find incompatibilities
> in what is an evolving standard. To minimize
> conversion problems I need to use Inkscape to
> perform the conversion.
Ugh. Inkscape also uses its own extensions so it is not surprising
that ImageMagick cannot understand them.
> Elyxer needs to provide the following options:
>
> 1 - The option of passing the .svg file straight
> through, unaltered for reference from the html
> file. Though I would be unlikely to use this
> option for the same compatibility concerns.
Bit ugly.
> 2 - The option of specifying a custom conversion
> command for *.svg My Inkscape command would
> be something like:
>
> inkscape *.svg --export-png=*.png
Would a --inkscape option serve you? It should not be difficult to add.
> 3 - The option of specifying a custom conversion
> command for specific .svg files because some
> of my .svg files are converted with this command:
>
> inkscape *.svg --export-png=*.png --export-area=-44:16:-28:32
>
> The workaround is to pre-convert the .svg files
> to .png and then reference the .png files in the .lyx
> This eliminates the problem of how to trick Lyx into
> showing a proper preview.
But it looks quite cumbersome.
Alex.
Re: [eLyXer-users] Elyxer svg file conversion problems., Alex Fernandez, 2010/01/21