public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Apostrophes not coming out curly in ConTeXt output
@ 2012-03-19  0:06 John Magolske
       [not found] ` <20120319000610.GA22702-fRz41mDJ4SjwXfRSRkZCw3nhMCiq3JZZ@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: John Magolske @ 2012-03-19  0:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

When using Pandoc (1.9.1.2) to generate ConTeXt, apostrophes are not
coming out "curly" when using the --smart option. When generating HTML
this is not a problem, but for ConTeXt, even a unicode U2019 character
input to the source gets converted back to a U0027 straight apostrophe
in the output:

    % cat test-1.md
    Why don't the apostrophe’s show up as "curly"?
    The 'single quotes' and "double quotes" are fine...

    % pandoc --smart -s -f markdown -t context test-1.md -o test-1.tex
    % pandoc --smart -s -f markdown -t html test-1.md -o test-1.html

Relevant section of the test-1.tex output:
    Why don't the apostrophe's show up as \quotation{curly}? The
    \quote{single quotes} and \quotation{double quotes} are fine\ldots{}

In test-1.html, U0027 gets converted to U2019, and the U2019 is passed
through:
    <p>Why don’t the apostrophe’s show up as “curly”?
    The ‘single quotes’ and “double quotes” are fine…</p>

Thanks for any help sorting this out.

John

-- 
John Magolske
http://B79.net/contact

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.



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

end of thread, other threads:[~2012-03-22  6:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-19  0:06 Apostrophes not coming out curly in ConTeXt output John Magolske
     [not found] ` <20120319000610.GA22702-fRz41mDJ4SjwXfRSRkZCw3nhMCiq3JZZ@public.gmane.org>
2012-03-19  5:20   ` John MacFarlane
     [not found]     ` <20120319052000.GB32250-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2012-03-19  5:45       ` John Magolske
     [not found]         ` <20120319054503.GI22366-fRz41mDJ4SjwXfRSRkZCw3nhMCiq3JZZ@public.gmane.org>
2012-03-19  6:21           ` Aditya Mahajan
     [not found]             ` <alpine.LNX.2.02.1203190214190.12340-c5hX+hAU7icM2ZW16uGe0b0CBTrrRgWUYd+qtm0fIG0@public.gmane.org>
2012-03-22  6:28               ` John Magolske

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