[python-users] Sphinx
Dirk Loss
lists at dirk-loss.de
Mi Mai 5 06:46:48 CEST 2010
On 05.05.10 06:34, Andi Albrecht wrote:
>> .. only:: html
>>
>> .. _fig-plonebase:
>>
>> .. figure:: ../images/plonebase.png
>> :width: 100%
>>
>>
>> .. only:: latex
>>
>> .. _fig-plonebase:
>>
>> .. figure:: ../images/plonebase.pdf
>> :width: 100%
>>
Wenn ich mich richtig erinnere, kann man auch einfach
../images/plonebase.*
verwenden.
Die HTML-Version nimmt dann das PNG, die LaTeX-Version das PDF.
Gruß
Dirk
Mehr Informationen über die Mailingliste python-users