From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Mitchell Subject: [PATCH] org-latex: Convert quote marks in section headers Date: Tue, 21 Jun 2011 15:21:39 +0100 Message-ID: <87vcvzw9ho.fsf@gmx.li> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ1pz-0003kK-VA for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 10:21:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ1py-0002kV-G5 for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 10:21:55 -0400 Received: from lo.gmane.org ([80.91.229.12]:56827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ1py-0002kO-55 for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 10:21:54 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QZ1pv-0005d0-Vq for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 16:21:51 +0200 Received: from e4300lm.epcc.ed.ac.uk ([129.215.63.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Jun 2011 16:21:51 +0200 Received: from wence by e4300lm.epcc.ed.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Jun 2011 16:21:51 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * 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