-
Hello! How can I remove images from epubs in converting to pdf via typst? groff-ms removes images automatically, but typst tries to render them.
Using There might be a Lua filter to remove image references, but I can't find it. carroll72img.epub was downloaded from |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This Lua filter should do: funtion Image (img)
return img.caption
end It replaces the image with the image caption. One could also use |
Beta Was this translation helpful? Give feedback.
This Lua filter should do:
It replaces the image with the image caption. One could also use
return img.src
to use the image path as the placeholder.