Hello,
I'm using RMarkdown and knitr in RStudio to create scientific plots, utilizing Pandoc. I used to save them as SVG and import them into my MS Word document. That worked until recently when I had to update my PC.
The new SVG-files I create look fine in my browsers (Chrome, Firefox) and in MS Word, but when I save the docx-File and reopen it, the text in the images is gone. I attached the original SVG-file (SVG_from_Pandoc.svg) and a screenshot after saving and reloading it in a Word document (Screenshot-Word.png). In my attempts to make it work, I plotted the graph with "svglite" instead of Pandoc. The resulting image (SVG_from_SVGlite.svg) works in Word, but looks bad with more complicated plots. Both work fine in OpenOffice-Files.
One difference between those svg-files is the glyph-tag, which is used in Pandoc, but not svglite. Which is why I'm here: svglite looks bad and I have to use MS Word, so how do I disable Pandoc from using the glyph-tag?
Thank you very much
MS Word: Version 1908 (Build 11929.20300 Click-to-run)
RStudio: 1.2.5001
knitr: 1.25
Pandoc: 2.7.2 (included in RStudio)
R-Version:
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 6.1
year 2019
month 07
day 05
svn rev 76782
language R
version.string R version 3.6.1 (2019-07-05)
nickname Action of the Toes