Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandoc smart quotes extension (typography) not working #71

Open
goderich opened this issue Oct 7, 2020 · 1 comment
Open

Pandoc smart quotes extension (typography) not working #71

goderich opened this issue Oct 7, 2020 · 1 comment

Comments

@goderich
Copy link

goderich commented Oct 7, 2020

Hello!

I'm compiling a PDF using xelatex, and I'd like smart quotes to work (as per https://pandoc.org/MANUAL.html#typography). According to the README, this should be possible using the #+PANDOC_EXTENSIONS: smart option, however I'm not getting the desired result.

I may be misunderstanding how it works though. As far as I've been able to determine, the smart extension should be passed to the input format in Pandoc, eg --from org+smart from the command line does work. I tried passing different values to #+PANDOC_EXTENSIONS:, but I haven't been able to find one that works.

I did manage to get it to work using #+PANDOC_OPTIONS: from:org+smart, however that required me to add "from" to org-pandoc-valid-options.

Is this a bug? Is this a documentation issue? Or am I just doing something wrong?

@swapnilsm
Copy link

swapnilsm commented Mar 26, 2022

While converting from org to docx, the "smart" extension is supposed to passed to pandoc command as -f org+smart as -t docx+smart is not supported. Whereas in the code, we are not appending the extensions to -f org parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants