We switched to a manual approval system for registration on this forum, as this makes it easier to keep bots out of the forum. We'll approve everybody who doesn't look like a bot!

[BUG] Textbundle export fails to include image files

edited April 10 in General

Crossposted at GitHub

Issue

When exporting to textbundle, no images are included in the assets folder and links are rewritten to point to the current folder (not the assets folder).

Background

  • I'm on macOS 10.15.4, Zettlr 1.6, and pandoc 2.9.2.1
  • All image files are in the same folder as the .md files
  • All images show up fine in Zettlr's Editor (and Marked app, MMDC, etc etc)
  • All image links are relative and in this format: ![](image.jpg)
    • I have tried other relative linking like /image.jpg and ./image.jpg. All of these links also show up in the Editor, but still none of the images export

Description

  • Exported image links are rewritten to absolute paths /Users/UserAcct/Path/To/Folder/image.jpg and contain no reference to the assets folder as expected for textbundle
  • I URL escape all my image links, but the rewritten image links are unescaped (not sure if this matters, but including it just in case)
  • I've tried exporting to the temp dir as well as the working dir but neither export properly
  • This seems to be happening with .textpack files too
  • I haven't tested exporting to PDF yet, but exporting to .docx works fine (all images are included)

I think that sums it up. Lemme know if I forgot anything, if I can test anything, or if I've made some boneheaded error!

Tagged:

Comments

  • I already saw your issue on the issue tracker, and I'll be looking into it!

Sign In or Register to comment.