On Fri, 4 May 2012 19:34:55 +1000 Lex Trotman <[email protected]> wrote:
> I'm surprised, IIUC Latex can do text wrapped around images, at least
> to some extent. I guess you would know more on that.
Yes, it does.
With the help of LyX I was able to very quickly produce desired effect.
Here is the small snippet...
\begin{document}
Some text...
\begin{wrapfigure}{i}{0.5\columnwidth}%
\caption{\protect\includegraphics{graphicfile}}
\end{wrapfigure}%
More text to be wrapped.
So, LyX uses LaTeX's wrapfig package which does nice job and in the end
it might be that we'll simply use LyX/LaTeX instead of both AsciiDoc and
reST/Sphinx.
> If so, why dblatex doesn't use it I don't know, but then I don't know
> what Latex is involved, maybe its complicated.
Dblatex cannot even do left/right aligned image, what to speak of
floating one.
The following declaration in AsciiDoc:
image::images/graphicfile.png[align="right",scale=200%]
produces the following docbook output:
<informalfigure>
<mediaobject>
<imageobject>
<imagedata fileref="images/graphicfile.png"/>
</imageobject>
<textobject><phrase>align="right"</phrase></textobject>
</mediaobject>
</informalfigure>
which creates PDF with centered-image.
Even, 'fixing' the above snippet to:
<informalfigure>
<mediaobject>
<imageobject>
<imagedata fileref="images/graphicfile.png" align="right"/>
</imageobject>
</mediaobject>
</informalfigure>
creates the same PDF with centered-image which means dblatex is silent
on image-aligning parameter which makes AsciiDoc unsuitable for the task
involving some image-manipulation. :-(
Sincerely,
Gour
--
A person is said to be elevated in yoga when, having renounced
all material desires, he neither acts for sense gratification
nor engages in fruitive activities.
http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
signature.asc
Description: PGP signature
