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
When using the "paste converted" function to add images to a document/project, AsciidocFX seems to be adding an extra (and incorrect) ../ (or go up one directory in the tree) prefix to the path of the image file. This does not seem to bother AsciidocFX, but when I use the same document with other tools (asciidoctor), the other tools do not accept the path.
Here is an example:
Create a new folder C:\Temp\AsciidocFX-Test and set it as your work directory in AsciidocFX.
Create a new document called Index.adoc in the work directory and open it.
From another application, copy an image to the Windows clipboard.
Right-click within the edit window for Index.adoc and select Paste converted.
This creates folder C:\Temp\AsciidocFX-Test\images and places the new image file there, which is expected.
For me, image::../images/Image-190624-032332.809.png[] was inserted into my document
I assert that the relative path to the image file from the Index.adoc's location should be images/Image-190624-032332.809.png (or ./images/Image-190624-032332.809.png). In order to get other tools to successfully process my documents, I must first manually edit the paths (to remove the extra ../ prefix) from all image files I have added, which is often quite a lot.
The text was updated successfully, but these errors were encountered:
I am using AsciidocFX version 1.8.9 on Windows.
When using the "paste converted" function to add images to a document/project, AsciidocFX seems to be adding an extra (and incorrect)
../
(or go up one directory in the tree) prefix to the path of the image file. This does not seem to bother AsciidocFX, but when I use the same document with other tools (asciidoctor), the other tools do not accept the path.Here is an example:
C:\Temp\AsciidocFX-Test
and set it as your work directory in AsciidocFX.Index.adoc
in the work directory and open it.Index.adoc
and select Paste converted.C:\Temp\AsciidocFX-Test\images
and places the new image file there, which is expected.image::../images/Image-190624-032332.809.png[]
was inserted into my documentI assert that the relative path to the image file from the
Index.adoc
's location should beimages/Image-190624-032332.809.png
(or./images/Image-190624-032332.809.png
). In order to get other tools to successfully process my documents, I must first manually edit the paths (to remove the extra../
prefix) from all image files I have added, which is often quite a lot.The text was updated successfully, but these errors were encountered: