[Geany-devel] ReST: Image size

Frank Lanitz frank at xxxxx
Thu Dec 1 17:21:08 UTC 2011


Am 01.12.2011 18:18, schrieb Colomban Wendling:
> Le 01/12/2011 18:11, Frank Lanitz a écrit :
>> Am 01.12.2011 18:01, schrieb Colomban Wendling:
>>> Le 01/12/2011 17:55, Frank Lanitz a écrit :
>>>> Am 01.12.2011 17:25, schrieb Frank Lanitz:
>>>>> Hi folks,
>>>>>
>>>>> Its a bit OT, but wondering whether somebody o you could help me: How
>>>>> can I set sizes for images inside ReST? E.g. I want to set it to 50% of
>>>>> page width? Didn't found anything on documentation ....
>>>>
>>>> I found a way doing it by :height: but this is creating a broken LaTeX
>>>> for pdf generation. Might will need to report that after some more
>>>> investigation.
>>>
>>> This is likely to be caused by the LaTeX output tuning we have
>>> (rst2latex.sed), I guess it doesn't handle what :height: generates.
>>
>> Yepp. Good point. Needs to be revisited again.
> 
> I've committed a fix that simply gets rid of any \includegraphics
> options in the input.  This should fix the output validity, but maybe
> we'd like to use the input options?

Hmm... we should ensure options given by rst are taken over to PDF.

Cheers,
Frank

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.geany.org/pipermail/devel/attachments/20111201/dad93db9/attachment.pgp>


More information about the Devel mailing list