|From:||Laurens Van Houtven|
|Subject:||Re: [O] Quotes for LaTeX export|
|Date:||Wed, 5 Feb 2014 12:30:35 +0100|
This is not true. Quotes depend on your LANGUAGE-cookie. See
Laurens Van Houtven <email@example.com> writes:
> I'm writing a book using org-mode. On export, org-mode turns double quotes
> like "hello" into ``hello''. Some modern LaTeXes no longer support that
> form, instead preferring semantic markup. (The reasoning being that the
> markup implies a particular quote style, whereas quotation style is
> As a result, I getBut this would require us to load an extra package. Org is quite
> The preferred way to do that these days is, in the preamble:
> ... and then later:
capable of handling this on the lisp side (and Org ≠ LaTeX). Clearly,
we could have a org-export-user-smart-quote-alist taking priority over
the predefined one.
> I think it would make sense to support this for org, and perhaps eventuallyThis has never happened to me, despite extensive usage of LaTeX for
> make it default behavior. FWIW: I had no idea about this until it bit me
> when my LaTeX document suddenly had bogus quotes in it.
almost ten years.
> If there is no interest to add this to org, how do I hack org so that thisThe cleanest way would be a filter, probably
> is what it does?
org-export-filter-quote-block-functions and filter-plain-text.
The easiest way would be a macro or simply redefining
org-export-smart-quotes-alist to suit your needs.
|[Prev in Thread]||Current Thread||[Next in Thread]|