org-mode/lisp
Carsten Dominik 0ce821c5c4 LaTeX export: Make quotes exported right before a footnote reference.
Matt Lundin writes:

    I'm have a *minor* issue to report. It occurs when I export
    an org file with footnotes to LaTeX. Specifically, it has to
    do with the combination of American style quotation marks
    and footnotes.

    According to many American manuals of style, quotation marks
    are to be placed after a sentence ending period if the
    quoted passage is at the end of the sentence. E.g.

    ,----
    | Here is "a quote."
    |
    | not
    |
    | Here is "a quote".
    `----

    When I use American style quotation in conjuction with a
    footnote, the exporter does not convert the closing quote
    marks into a two single quotation marks (i.e., LaTeX smart
    quotes).

    Thus, the following source snippet:

    ,----
    | This is a footnote "with a quote."[fn:sample] And here
    |  is another footnote "with a quote".[fn:another]
    |
    | [fn:sample] Here is the sample footnote.
    |
    | [fn:another] Another footnote.
    `----

    Becomes

    ,----
    | This is a footnote ``with a quote."\footnote{Here is
    |    the sample footnote. } And here is another footnote ``with
    |  a quote''.\footnote{Another footnote. }
    `----

    Notice the double quotation mark (rather than two single
    apostrophes) at the end of the first sentence. Notice also
    the correct quotation mark format appears in the second
    sentence, where the period comes after the quotation mark.

This commit addresses this issue by checking of text
protection is off not after the quotation mark, but before.
2009-01-20 08:26:44 +01:00
..
ChangeLog LaTeX export: Make quotes exported right before a footnote reference. 2009-01-20 08:26:44 +01:00
ChangeLog.01 Split ChangeLog file into parts. 2008-05-08 08:16:38 +02:00
org-agenda.el Agenda: Make block separator configurable. 2009-01-18 08:22:18 +01:00
org-archive.el Call org-reveal after archiving 2009-01-13 19:03:08 -05:00
org-attach.el Attachments: Allow user-chosen directory and inheritance 2009-01-19 08:42:38 +01:00
org-bbdb.el Include changes from downstream Emacs. 2009-01-18 08:12:12 +01:00
org-bibtex.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-clock.el Maintenance: Rename some ill-named functions. 2009-01-08 11:19:37 +01:00
org-colview-xemacs.el Column View: Catch it when a date property does not have allowed values defined. 2009-01-16 12:50:09 +01:00
org-colview.el Column View: Catch it when a date property does not have allowed values defined. 2009-01-16 12:50:09 +01:00
org-compat.el Export: Optionally use <textarea> for example export. 2009-01-19 23:13:58 +01:00
org-exp.el Export: Optionally use <textarea> for example export. 2009-01-19 23:13:58 +01:00
org-export-latex.el LaTeX export: Make quotes exported right before a footnote reference. 2009-01-20 08:26:44 +01:00
org-faces.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-footnote.el Footnotes: Avoid matches in links. 2009-01-19 16:15:12 +01:00
org-gnus.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-id.el Maintenance: Declare a function. 2009-01-09 08:33:00 +01:00
org-info.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-irc.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-jsinfo.el Bugfix: Protect string-match against nil string. 2009-01-08 15:35:32 +01:00
org-list.el Editing: Automatic empty lines before new entries. 2009-01-08 09:30:55 +01:00
org-mac-message.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-macs.el LaTeX export: Make quotes exported right before a footnote reference. 2009-01-20 08:26:44 +01:00
org-mew.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-mhe.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-mouse.el Export: Better detection of images that can be inlined. 2009-01-18 19:14:10 +01:00
org-plot.el Plotting: Fix histogram plotting. 2009-01-16 19:43:33 +01:00
org-publish.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-remember.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-rmail.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-table.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-timer.el Maintenance: Define a variable. 2009-01-08 11:20:06 +01:00
org-vm.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-w3m.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-wl.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org.el Footnotes: Avoid matches in links. 2009-01-19 16:15:12 +01:00