dkd / plantuml

PlantUML Plugin for Redmine
MIT License
50 stars 40 forks source link

Export to PDF #1

Closed mom1 closed 9 years ago

mom1 commented 9 years ago

Export to PDF, does not display a picture It looks like "plantuml_2a6947f ... 03609eaf.svg"

zlorfi commented 9 years ago

Hi, this is a known Redmine core problem. PDF rendering of images will only work with attachments. The PlantUML images are rendered inline. As an example: using the Textile syntax for inline images from an external source

!https://octodex.github.com/images/yaktocat.png!

will render the image inside the HTML page but not in the PDF.

zlorfi commented 9 years ago

See also Redmine Featurerequest #9693.

paulvi commented 5 years ago

Why is this #1 and similar #4 closed?

Is it solved?

paulvi commented 5 years ago

Can this help:

quote from https://github.com/peclik/clipboard_image_paste

it’s recommended to install RMagick gem, otherwise attached images will not show in exported PDF files

So generated image should be an attach, than RMagick should enable to add it to PDF