emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* quotation marks in LaTeX (again)
@ 2010-10-04 20:00 Don March
  2010-10-05  7:42 ` Carsten Dominik
  2010-10-05  8:42 ` Sven Bretfeld
  0 siblings, 2 replies; 5+ messages in thread
From: Don March @ 2010-10-04 20:00 UTC (permalink / raw)
  To: emacs-orgmode

There's been some talk about quotation marks when exporting to LaTeX,
but I've noticed some issues in addition (I think) to those mentioned
by others.

     "'a quote' inside a quote"
is exported to LaTeX as
     ``'a quote' inside a quote''
but should be
     ``\,`a quote' inside a quote''

Similarly,
     "a quote that ends with 'a quote'"
is exported as
     ``a quote that ends with `a quote'''
but should be
     ``a quote that ends with `a quote'\,''

Implementing the \enquote solution proposed by Sven Bretfeld would a
fix for this, but that would probably have to be optional.  So I was
working on a regexp fix for this, but then I realized that there's a
host of cases where the beginning quote isn't recognized as beginning
because there isn't whitespace in front of it, such as when a quote
starts a parenthetical ("like this").  Maybe the solution is to use
the list of "allowed chars in pre" from
org-emphasis-regexp-components?

Don

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-05 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-04 20:00 quotation marks in LaTeX (again) Don March
2010-10-05  7:42 ` Carsten Dominik
2010-10-05 14:23   ` Don March
2010-10-05  8:42 ` Sven Bretfeld
2010-10-05 14:36   ` Don March

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).