aboutsummaryrefslogtreecommitdiff
path: root/test/jira-reader.native
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-08-28 09:19:50 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-08-28 12:16:14 -0700
commit51caa8b78d66ac81253766cc2c6916d39c14efc2 (patch)
treedb2ca0329597c3018bba6f9838a713f044f34605 /test/jira-reader.native
parent4d7cdc467163601fd819199a69860616a9778040 (diff)
downloadpandoc-51caa8b78d66ac81253766cc2c6916d39c14efc2.tar.gz
Docx writer: handle SVG images.
This change has several parts: - In Text.Pandoc.App, if the writer is docx, we fill the media bag and attempt to convert any SVG images to PNG, adding these to the media bag. The PNG backups have the same filenames as the SVG images, but with an added .png extension. If the conversion cannot be done (e.g. because rsvg-convert is not present), a warning is omitted. - In Text.Pandoc.Writers.Docx, we now use Word 2016's syntax for including SVG images. If a PNG fallback is present in the media bag, we include a link to that too. It would be helpful if someone with an old Word version could test to see that the documents we produce can be opened and viewed with the PNG fallbacks. If not, then perhaps we can eliminate the slightly complex code for producing these fallbacks. Closes #4058.
Diffstat (limited to 'test/jira-reader.native')
0 files changed, 0 insertions, 0 deletions