public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* docx -> md and escaped quote marks
@ 2019-09-03 18:49 Joseph Reagle
       [not found] ` <810a995a-8a38-53e6-39cc-acb2c122b5c4-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Reagle @ 2019-09-03 18:49 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Another converting-from-docx question.

Some Word files don't have smart (curly) quotes -- especially those first typed into GDocs -- and when I convert into markdown via pandoc have all their single and double quotes escaped. I've tried +/-smart on input and output but haven't figured out how to let it not escape them... 


-- 
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/810a995a-8a38-53e6-39cc-acb2c122b5c4%40reagle.org.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: docx -> md and escaped quote marks
       [not found] ` <810a995a-8a38-53e6-39cc-acb2c122b5c4-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2019-09-03 21:48   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2019-09-03 21:48 UTC (permalink / raw)
  To: Joseph Reagle, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


Pandoc tries to convert accurately. So if they're straight quotes
in docx, they turn into straight quotes in markdown (and they're
escaped to make sure they're interpreted that way.)

Postprocessing the output is probably your best approach.

Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:

> Another converting-from-docx question.
>
> Some Word files don't have smart (curly) quotes -- especially those first typed into GDocs -- and when I convert into markdown via pandoc have all their single and double quotes escaped. I've tried +/-smart on input and output but haven't figured out how to let it not escape them... 
>
>
> -- 
> 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/810a995a-8a38-53e6-39cc-acb2c122b5c4%40reagle.org.

-- 
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/yh480k7e6poxtz.fsf%40johnmacfarlane.net.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-03 21:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-03 18:49 docx -> md and escaped quote marks Joseph Reagle
     [not found] ` <810a995a-8a38-53e6-39cc-acb2c122b5c4-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2019-09-03 21:48   ` John MacFarlane

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).