[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] LaTeX export, problem with quotes
From: |
Nicolas Goaziou |
Subject: |
Re: [O] LaTeX export, problem with quotes |
Date: |
Thu, 26 Dec 2013 18:02:15 +0100 |
address@hidden (Thomas S. Dye) writes:
> I'm getting the same incorrect result as before with:
>
> Org-mode version 8.2.4 (release_8.2.4-391-g954168 @
> /Users/dk/.emacs.d/src/org-mode/lisp/)
Did you reload Org? I cannot reproduce the problem anymore.
>> Nevertheless, there will always be failing cases in smart quote
>> detection (see `org-export-smart-quotes-regexps').
>
> I can't comprehend the regular expression(s) there, unfortunately. If it
> is the case that there will always be failing cases, and my goal is to
> create a stable piece of reproducible research, would you recommend an
> approach that sets org-entities-user appropriately at the file-local
> level, or something else?
I mean that choosing between an opening quote, a closing quote, or
nothing is done with a regexp. It cannot cover all cases, and some
tricky situations will fool smart quote mechanism.
If that happens, and if `org-export-smart-quotes-regexps' cannot be
improved to handle the situation consistently, you will have to specify
LaTeX quote code manually (e.g. with an export snippet, or an entity).
I cannot see the link with reproducible research, though.
Regards,
--
Nicolas Goaziou