public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Missing Text in SVG when saved in MS Word (*.docx)
@ 2019-09-26 10:20 'Alex' via pandoc-discuss
  0 siblings, 0 replies; only message in thread
From: 'Alex' via pandoc-discuss @ 2019-09-26 10:20 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2162 bytes --]

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  

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/390c926c-af18-4a8f-b0fa-2ae7f4af0751%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 5473 bytes --]

[-- Attachment #2: SVG_from_Pandoc.svg --]
[-- Type: image/svg+xml, Size: 40239 bytes --]

[-- Attachment #3: SVG_from_SVGlite.svg --]
[-- Type: image/svg+xml, Size: 7492 bytes --]

[-- Attachment #4: Screenshot-Word.PNG --]
[-- Type: image/png, Size: 5658 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-26 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-26 10:20 Missing Text in SVG when saved in MS Word (*.docx) 'Alex' via pandoc-discuss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).