Greetings,
I'm currently writing a document that I need to export to pdf, and I'm using the asciidoctor-pdf gem. However I don't understand how to add content to the footer or header of the pages. Do I have to use an extension? Or a docinfo? |
Administrator
|
To add content to the header and footer (called the running header and footer), you need to create a custom theme file. You can find details in the following guide: Specifically, the Running header & footer section: If something is unclear, please don't hesitate to let us know and we'll try to address it. Cheers, -Dan On Thu, May 19, 2016 at 7:53 AM, Fulgenzio [via Asciidoctor :: Discussion] <[hidden email]> wrote: Greetings, Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen |
Thank you for your help! I waas hoping for another way to be honest, as I can't seem to insert a string containing numbers in the running footer, nor a table.; am I missing something?
|
Administrator
|
On Fri, May 20, 2016 at 3:41 AM, Alex Zuan [via Asciidoctor :: Discussion] <[hidden email]> wrote: I waas hoping for another way to be honest, That's the way I decided to do it. However, I'll admit it will be even easier once we can import one them into other (see https://github.com/asciidoctor/asciidoctor-pdf/issues/367). I can't seem to insert a string containing numbers in the running footer, nor a table.; am I missing something? That was a bug in 1.5.0.alpha.11. It's been fixed in master and will be part of the 1.5.0.alpha.12 release. You can try to use the version from git in the meantime. Cheers, |
Hello Dan,
Do you have a specific date for asciidoctor-pdf 1.5.0.alpha.12 release? My intention is to integrate to be released version of prawn-svg that includes fixes for SVG arrow-head support: https://github.com/mogest/prawn-svg/issues/49. |
Administrator
|
Alexander, I'll try to get a release out this weekend. -Dan p.s. Releases will happen more frequently once we get them fully automated. It takes too long to do in between other tasks right now. We could really use the expertise of an automation specialist in the Asciidoctor project. On Fri, May 20, 2016 at 9:06 AM, Alexander Zobkov [via Asciidoctor :: Discussion] <[hidden email]> wrote: Hello Dan, Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen |
Administrator
|
In reply to this post by Alexander Zobkov
Alexander Zobkov:
I've updated the version of prawn-svg in master, so it will make it into the release. |
Thank you Dan! Can't wait for asciidoctor-pdf 1.5.0.alpha.12 release.
Will asciidoctorj-pdf 1.5.0.alpha.12 be released as well? |
Administrator
|
The AsciidoctorJ PDF release will depend on Robert's availability. However, there's going to be a slight problem because prawn-svg now requires Ruby 2, which is going to impact the AsciidoctorJ build. It may be necessary to downgrade prawn-svg in AsciidoctorJ until 1.6.0. Once we get to 1.6.0, this will become a lot simpler because AsciidoctorJ PDF will be maintained in a separate repository. We learned our lesson from our experience working with a combined repository. Since you are tracking the latest version closely, what I recommend is using the Ruby gem directly from AsciidoctorJ. -Dan On Sat, May 21, 2016 at 11:32 AM, Alexander Zobkov [via Asciidoctor :: Discussion] <[hidden email]> wrote: Thank you Dan! Can't wait for asciidoctor-pdf 1.5.0.alpha.12 release. Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen |
Free forum by Nabble | Edit this page |