You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a document with inline PlantUML is opened, the PlantUML is not rendered and only a placeholder (box with a cross inside) is displayed.
To render the PlantUML the PlantUML source code has to be changed. Changes to the document or just adding whitespace to the PlantUML code does not trigger the rendering of the images.
If a document contains multiple PlantUML diagrams the source-code of every diagram has to be changed to display them.
As git is used in my project I do not want to check-in the generated images.
Example:
= Test
== Section
[plantuml,~seq,png]
--
Actor1 -> Actor2: test
--
The image is just rendered if you change for example "Actor1" to "A ctor1" and back to "Actor1".
Before 1.5.4 that problem only occurred when relative paths were used (e.g. "!include ./file.iuml"). After loading the document, the relative paths were resolved relative to the AsciidocFX path (e.g. "C:\Programs\AsciiDocFX\file.iuml") and not to the path of the adoc document ("[path-to-adoc]\file.iuml"). After changing the PlantUML source, the paths were correctly resolved relative to the adoc document.
The text was updated successfully, but these errors were encountered:
Hi @tobigun, the workaround I'm using (when not submitting the generated UML images to SVN/Git/Perforce), is just to open AsciidocFX, and wait a short while for the UML image files to be created on disk, and then to close AsciidocFX and open it again. The second time it is opened all the UML images are correctly displayed.
If a document with inline PlantUML is opened, the PlantUML is not rendered and only a placeholder (box with a cross inside) is displayed.
To render the PlantUML the PlantUML source code has to be changed. Changes to the document or just adding whitespace to the PlantUML code does not trigger the rendering of the images.
If a document contains multiple PlantUML diagrams the source-code of every diagram has to be changed to display them.
As git is used in my project I do not want to check-in the generated images.
Example:
The image is just rendered if you change for example "Actor1" to "A ctor1" and back to "Actor1".
Before 1.5.4 that problem only occurred when relative paths were used (e.g. "!include ./file.iuml"). After loading the document, the relative paths were resolved relative to the AsciidocFX path (e.g. "C:\Programs\AsciiDocFX\file.iuml") and not to the path of the adoc document ("[path-to-adoc]\file.iuml"). After changing the PlantUML source, the paths were correctly resolved relative to the adoc document.
The text was updated successfully, but these errors were encountered: