-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
issue with emphasis when followed by Czech left double quotes #2331
Comments
The problem is that latex enables Unfortunately, there's currently no way to turn OFF the "smart" default for LaTeX. You can do What's the best way forward? I could remove the "default to smart" behavior for LaTeX and ConText, but this might break some existing document workflows. (Still, this seems the most principled solution.) Or I could add a +++ Václav Haisman [Jul 26 15 11:20 ]:
|
I have no idea what, if anything, should be changed. I am not sure that I understand why are the quotes not considered to be part of the emphasized bit but I can live with it if it is not a bug but a feature. :) I realise that Markdown is supposed to be a simple format and this might be pushing it a bit too far. I can remove the emphasis or put it inside the quotes or remove the quotes. Thank you for the explanation. |
See #5812 for other pitfalls with the smart feature in LaTeX output. Through accumulated examples, the view emerges that the default enabling of the smart functionality generates problems in LaTeX output that otherwise could be averted. To ask users to disable the feature manually for most or all of their uses of LaTeX output is incompatible with the principle that operation should just work naturally and correctly in the base case, with further options providing the utility principally of offering customizability, rather than improving correctness. If the smart functionality would be disabled by default for LaTeX output, then users might retain the ability to use it through a further option that might be offered to force smart behavior regardless of writer defaults, (e.g. Personally, I would like to see, if one exists or could be created, a comprehensive, or indeed any, list of genuine advantages for using the smart feature in any case of LaTeX output. |
The original remarks note that ASCII but not local (e.g. as in Czech writing) quotations are associated with desired behavior. Is a fundamental limitation currently that LaTeX but not Pandoc is suited to handle localized typographic transformations from input text? |
It seems that this has been fixed in the years since. |
I have started using proper Czech quote characters in Markdown recently and I have noticed that LaTeX output does not use emphasis and shows the literal asterisk instead.
Here is the test. First, conversion to native shows the emphasis:
Second, the same input converted to LaTeX:
However, if I replace the Czech double quotes with ordinary ASCII quotes, it works:
The text was updated successfully, but these errors were encountered: