On Feb 5, 2020, at 12:02 PM, mbaker00 [via Asciidoctor :: Discussion] <[hidden email]> wrote:I have used the current version of asciidoctor (2.0.10) with asciidoctor-diagram extension and the non-js asciidoctor-pdf extension to create pdf from .adoc files successfully. I have also installed the javascript version of asciidoctor-pdf. I am running in terminal on macOS.
I can run either asciidoctor-pdf or asciidoctor-pdf.js if I specify the path first. But, if I include the -r asciidoctor-diagram extension command when using the javascript version of asciidoctor-pdf I get an error. Example
asciidoctor-pdf -r asciidoctor-diagram Bones.adoc
yields'error Error: Cannot find module asciidoctor-diagram
.I like the output of asciidoctor-pdf.js so much better because my documents have lots of floats via the [.right], [.left], and [.float-group]. I would like the maintain the ability to use diagrams.
I have tried including paths in the commands for the extension but either I am not including the path correctly or it's not possible in the alpha to use the diagram extension. asciidoctor-pdf.js package was installed with the global flag if that matters.
Any hints from anyone using the combo of asciidoctor-pdf.js with asciidoctor-diagram successfully?
Thanks, Michael
If you reply to this email, your message will be added to the discussion below:https://discuss.asciidoctor.org/Can-asciidoctor-diagram-be-used-with-asciidoctor-pdf-js-tp7571.htmlTo start a new topic under Asciidoctor :: Discussion, [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
Free forum by Nabble | Edit this page |