emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Mitchell <wence@gmx.li>
To: emacs-orgmode@gnu.org
Subject: [PATCH] org-latex: Convert quote marks in section headers
Date: Tue, 21 Jun 2011 15:21:39 +0100	[thread overview]
Message-ID: <87vcvzw9ho.fsf@gmx.li> (raw)
In-Reply-To: <BANLkTinFRsESrZOw_GKM4pXqQ_NtRgPE0Q@mail.gmail.com>

* lisp/org-latex.el (org-export-latex-fontify-headline): Convert
quotes to their LaTeX equivalents using
Xin Shi wrote:
> Hello,

> I'm using the org-mode 7.5 in Emacs 23.3.

> I noticed this lines in org:

> ** ``Internal'' and "External" Example

>    ``Internal'' and "External" Examples in paragraph

> will result in tex:

> \section{``Internal'' and "External" Example}
> \label{sec-1_1}

>    ``Internal'' and ``External'' Examples in paragraph

> One can see that the " quotation in the heading line is not translated
> properly into TeX.

> Is this a bug?

It would appear to be so, though I'm not sure if the decision not
to convert quotation marks is a deliberate one.  Although looking
at the commit logs, it would appear that it's probably an oversight.

 lisp/org-latex.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 8abe1d2..bc7644a 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -1589,6 +1589,7 @@ links, keywords, lists, tables, fixed-width"
     (when (plist-get org-export-latex-options-plist :emphasize)
+    (org-export-latex-quotation-marks)
      (plist-get org-export-latex-options-plist :sub-superscript))

  reply	other threads:[~2011-06-21 14:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-21 13:22 Double Quotation not translated in sections for LaTeX Xin Shi
2011-06-21 14:21 ` Lawrence Mitchell [this message]
2011-06-28 17:18   ` [PATCH] org-latex: Convert quote marks in section headers Bastien

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:

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87vcvzw9ho.fsf@gmx.li \
    --to=wence@gmx.li \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [PATCH] org-latex: Convert quote marks in section headers' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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


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).