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

smart extension still generating LaTeX encoded \ldots from ellipses when turned off #7674

Closed
DaveEveritt opened this issue Nov 8, 2021 · 0 comments
Labels

Comments

@DaveEveritt
Copy link

DaveEveritt commented Nov 8, 2021

Pandoc 2.16.1
Mac OS X 11.6 (Big Sur)

For a Markdown to LaTeX conversion:

pandoc -f markdown -t latex-smart filename.md -o filename.tex

I have a test markdown file containing the following 'smart' typographic characters:

Some typographic ‘characters’ in “this document” are ellipsis… (space after or not) …plus—emdash—and en–dash.

the -smart extension turns off typographic conversion for all except the ellipsis—here's the resulting LaTeX:

Some typographic ‘characters’ in “this document” are ellipsis\ldots{} (space after or not) \ldots plus—emdash—and en–dash.

I'd expect -smart to prevent the conversion of the typographical ellipsis … into \ldots and (if there's no following space) \ldots{}.

@DaveEveritt DaveEveritt added the bug label Nov 8, 2021
@jgm jgm closed this as completed in 9c153e3 Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant