all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: emacs-orgmode@gnu.org
Subject: Minor latex export issue
Date: Tue, 13 Jan 2009 10:17:56 -0600	[thread overview]
Message-ID: <87fxjn9o3v.fsf@fastmail.fm> (raw)


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. 

Obviously, it is simple enough to fix this with a query-replace after
the export, but I thought I'd report the issue nonetheless, as it
interferes with immediate output to PDF.

Thanks,

Matt

             reply	other threads:[~2009-01-13 16:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 16:17 Matthew Lundin [this message]
2009-01-20  7:26 ` Minor latex export issue Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fxjn9o3v.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.