Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
66 posts
|
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. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
2681 posts
|
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 :1: You can find a link to this code in this issue: https://github.com/asciidoctor/asciidoctor-pdf/issues/353 On Sun, Jan 6, 2019 at 4:27 PM 1marc1 [via Asciidoctor :: Discussion] <[hidden email]> wrote: Hi team, -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
66 posts
|
Dan,
Thanks for your quick response. Does that mean that future development of asciidoctor-pdf in its current form will not continue? Will the new approach leverage Prawn or another PDF writer? If it is another writer, is it known which one? Will it be implemented in Ruby or something else? Apologies for all the questions all of a sudden. Looking forward to hearing more details. Thank you for all your hard work on this project. Please know that it is very much appreciated. Marc. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
2681 posts
|
> Does that mean that future development of asciidoctor-pdf in its current form will not continue? That's what the news will cover. In the meantime, a new release of Asciidoctor PDF is on the way to make the features in master available. > Will the new approach leverage Prawn or another PDF writer? As I said, it will be the browser. That's the PDF writer. > Will it be implemented in Ruby or something else? We'll have wrappers for all the platforms the Asciidoctor runs on, I'm sure. I'll lay out in the upcoming post why we need to make this shift. But understand that it's so we can get where we want to go. Cheers, -Dan On Mon, Jan 7, 2019 at 3:06 AM 1marc1 [via Asciidoctor :: Discussion] <[hidden email]> wrote: Dan, ... [show rest of quote] -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
66 posts
|
Dan,
Thank you for your clarifications. I hope this move can address some of the shortcomings in asciidoctor-pdf. I will follow the developments closely and will try to assist where I can. Marc. |
Free forum by Nabble | Edit this page |