I used ' for ' but with the all the possible combinations of smart extensions (enabled/disabled on input and/or output format), an apostrophe is rendered as a right single quote ’ (’).
Then use HTML entities:- ‘ `‘`- ’ `’`- “ `“`- ” `”`- « `«`- » `»`- ‹ `‹`- › `›`These will always work, except that you might have to experiment with the `+smart` and `-smart` extensions on the output format (some formats counterintuitively require `-smart` to get the curved characters!)For all the details see:Den tis 16 aug. 2022 12:38Claudio Di Vita <claudio...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:Thanks for the suggestion, but it doesn't work (with or without the smart extension)--Il giorno giovedì 28 luglio 2022 alle 09:59:28 UTC+2 BP ha scritto:A backslash before the apostrophe `\'` should give you a straight ' and `’` should give you a Unicode apostrophe/right single quotation mark. If you are using LaTeX to produce PDF `\'` should in effect give you a Unicode apostrophe, at least if you don't use `--to latex+smart` (I think; I'm not near a machine with LaTeX installed right now.)Den ons 27 juli 2022 22:50Claudio Di Vita <claudio...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:When I convert my markdown document to pdf, I notice that when a string is within two apostrophes (the ' character), the apostrophe is rendered like a left single quote.Is there any way to change this behaviour ?Thanks a lot, cheersClaudio--
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-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMBF16v%2B260F8GOnVNNHDWmwwhifzt3kfRgL87ThSzkdgYdpAQ%40mail.gmail.com.
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-discus...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/17361617-9944-4082-86c8-ac8a38d2c294n%40googlegroups.com.