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

Maybe it depends on some LaTeX package I have included :(

Thanks,

Claudio 

Il giorno martedì 16 agosto 2022 alle 15:06:47 UTC+2 BP ha scritto:
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:

<https://en.m.wikipedia.org/wiki/Quotation_mark>


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 `&rsquo;` 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, cheers

Claudio

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

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7885713e-5df3-4b6d-b19d-f1dc17514669n%40googlegroups.com.