On 31 Ott, 14:47, Pietro <peter.z...@gmail.com> wrote: > Dear all, > > I would like to wrap text around figures when figures are positioned > on the right (or left) hand side of the page (see the > wouldlike-pdf.jpeg). The HTML output is ok (get-html.jpeg), instead > the LaTex generate from sphinx code reach a different result > (get-pdf.jpeg). > > Bellow you can find the ReST code, the Latex that has been generate > from sphinx and the modified version to be coherent with the HTML > output. > > How should I modify the reST file to generate the "right" latex code > from sphinx? > > Any hint? > > Pietro > > flowers.rst code is: > _________________________________________________ > > Flowers > ========= > > Orchidee > --------------- > > The first flower is... > bla bla bla bla bla [cut] > ska ska ska ska ska [cut] > > .. figure:: flower01.png > :scale: 50 % > :alt: Orchidea > :align: right > Phalenopsys > > bla bla bla bla bla bla [cut]
This code works correctly: .. figure:: flower01.png :scale: 50 % :alt: Orchidea :align: right :figwidth: 200px Phalenopsys Daniele -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.