Re: asciidoctor-pdf text flow to the side of an image
Posted by
mojavelinux on
Jan 07, 2019; 6:43am
URL: https://discuss.asciidoctor.org/asciidoctor-pdf-text-flow-to-the-side-of-an-image-tp6667p6668.html
Marc,
It's very unlikely this will ever
happen in Asciidoctor PDF. It's simply not the right technology stack
for implementing this kind of layout (though never say never). I experimented with the idea once for a client {1}. But it isn't pretty. Prawn
is not a general purpose layout engine, so it's necessary to drop down
to low-level operations to place the text manually around the image.
There
will be some news soon about a new strategy we're going to pursue for generating PDFs that leverages the browser layout engine, which opens the
door to far more advanced layouts. You can find an early preview here:
https://github.com/mogztter/asciidoctor-pdf.js
Cheers,
-Dan
On Sun, Jan 6, 2019 at 4:27 PM 1marc1 [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Hi team,
Is it possible to have text flow to the side of an image in asciidoctor-pdf, as shown in the asciidoctor manual?

Thank you.
Marc.
--