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
org-export-latex-quotation-marks.
---
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-fontify))
     (org-export-latex-time-stamps)
+    (org-export-latex-quotation-marks)
     (org-export-latex-keywords-maybe)
     (org-export-latex-special-chars
      (plist-get org-export-latex-options-plist :sub-superscript))
-- 
1.7.4.1

  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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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