Am 04.12.2012 15:38, schrieb Sebastien Douche:
> On Tue, Dec 4, 2012 at 3:32 PM, Werner <[email protected]> wrote:
>> what about using ".. only::" to condition the ".. image::"?
> 
> It's a possibility, but I search a more "elegant" solution than
> duplicate all image directives.
> 
> Anyway thanks Werner.

You could try to produce *.ps or *.pdf Images for latex, as hinted
at http://sphinx-doc.org/rest.html#images

If you than write:

.. image:: myimage.*

it would pick the more appropriate one. You would need to duplicate
the images, but that can be done via script and some
ghostscript/imagemagick conversions to provide the correct image
resolution for your pdf.

Michael

-- 
Michael Schlenker
Software Architect

CONTACT Software GmbH           Tel.:   +49 (421) 20153-80
Wiener Straße 1-3               Fax:    +49 (421) 20153-41
28359 Bremen
http://www.contact.de/          E-Mail: [email protected]

Sitz der Gesellschaft: Bremen
Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe
Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.


Reply via email to