Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hello,
I am trying to get the interactive checkboxes to render when converted to PDF. I am unable to get the checkboxes to show up in pdf. Is there a way to do this? Thanks example of markdown ==== [%interactive] * [ ] instruction done here * [ ] Double click on Terminal icon on the Desktop ==== |
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
|
When I use Asciidoctor PDF 1.5.0.alpha.16, the box in front of each checklist item appears (with or without the interactive option set). Obviously, the checkbox is not interactive because the PDF is read only. But I do see the box. What are you observing and how is it different than what you expect? -Dan On Fri, Sep 8, 2017 at 7:20 AM, nixfreak [via Asciidoctor :: Discussion] <[hidden email]> wrote: Hello, ... [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 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I am trying to click on the interactive boxes in html5 and then export the html to pdf using asciidoctor-pdf. Look for the checkboxes to actually be filled in. This is what i see when rendered to pdf.
¬ Click START — Run — explorer.exe ¬ Browse to NAS |
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
|
There are two issues here. The first has to do with the state of the checkbox. The second is with the glyph itself. Let's start with the second. If you are seeing the ¬ (not) character, that means that the glyph is not in your font. You must be using a custom PDF theme. If so, you need to be sure to define fonts that provide the necessary characters (which are \u2611 and \u2610). If you don't want to mess with fonts, the best thing to do is use the catalog from the default theme. See: * https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#bundled-fonts As for the state of the checkbox, Asciidoctor does not maintain application state. Therefore, if you check a box in the HTML, that's not going to translate to the PDF. That's something you'd need to write code to do. The interactive checkboxes are just placeholders that are intended to hook into your application. Otherwise, they are just for display. Cheers, -Dan On Tue, Sep 12, 2017 at 12:09 PM, nixfreak [via Asciidoctor :: Discussion] <[hidden email]> wrote: I am trying to click on the interactive boxes in html5 and then export the html to pdf using asciidoctor-pdf. Look for the checkboxes to actually be filled in. This is what i see when rendered to pdf. 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 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I really appreciate you helping me out here. I understand about pdf theme and yes I created a new one to fit with html5 output. So I will take a look at the two themes you have.
Anyway you could show me how I could program the output of html5 (checkboxes) and render the output on pdf ? |
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
|
If you have questions about the custom fonts, I'd be glad to help. And that will help me write a better guide for managing fonts. Be sure to study what is already written here: > Anyway you could show me how I could program the output of html5 (checkboxes) and render the output on pdf ? That is way outside the scope of this project. -Dan On Tue, Sep 12, 2017 at 1:27 PM, nixfreak [via Asciidoctor :: Discussion] <[hidden email]> wrote: I really appreciate you helping me out here. I understand about pdf theme and yes I created a new one to fit with html5 output. So I will take a look at the two themes you have. Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Free forum by Nabble | Edit this page |