Asciidoctor-pdf with kroki extension generates error for nomnoml diagram type
See original GitHub issue@Mogztter (Guillaume Grossetie) suggested I open an issue here.
I’m using the extension found here: https://github.com/asciidoctor/asciidoctor-intellij-plugin/blob/master/src/main/resources/kroki-extension.rb with kroki server to generate a nomnoml diagram.
Details:
- Asciidoctor-pdf (1.5.3), with this docker: https://github.com/madduci/docker-asciidoctor-pdf#docker-asciidoctor-pdf
- Kroki docker (0.5.0) https://docs.kroki.io/kroki/setup/install/#_using_docker
Asciidoc error:
asciidoctor: WARNING: could not embed image: /tmp/image-20200611-1-16whoip; image file is an unrecognised format
Asciidoc producing the error:
[nomnoml,align="center"]
....
[Pirate|eyeCount: Int|raid();pillage()|
[beard]--[parrot]
[beard]-:>[foul mouth]
]
[<abstract>Marauder]<:--[Pirate]
[Pirate]- 0..7[mischief]
[jollyness]->[Pirate]
[jollyness]->[rum]
[jollyness]->[singing]
[Pirate]-> *[rum|tastiness: Int|swig()]
[Pirate]->[singing]
[singing]<->[rum]
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
asciidoctor/asciidoctor - Gitter
@mojavelinux I'm trying to embed what I think is a svg within a pdf with asciidoctor-pdf (using kroki's nomnoml diagram type) and getting...
Read more >Third Party Tools - Kroki Documentation
A list of third party tools, developed by the community, that rely on Kroki. Diagram it. A public service that allows you to...
Read more >asciidoctor-pdf - npm
A PDF converter for AsciiDoc based on Asciidoctor.js. Latest version: 1.0.0-alpha.16, last published: 3 months ago.
Read more >Asciidoctor Diagram
Asciidoctor Diagram is a set of Asciidoctor extensions that enable you to add diagrams, which you describe using plain text, to your AsciiDoc...
Read more >asciidoctor-pdf: Documentation | Openbase
You can use the Asciidoctor Kroki extension to render diagrams in your PDF. In this example, we create a file named piracy.adoc with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @bobroro, hi @Mogztter - no worries; your’re both welcome to use this repo to discuss the related changes. Please let me know how I can help.
@Mogztter Yes, that did it! While we are at it, we should also pass the float + width + height +link attributes as well.