emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Double Quotation not translated in sections for LaTeX
@ 2011-06-21 13:22 Xin Shi
  2011-06-21 14:21 ` [PATCH] org-latex: Convert quote marks in section headers Lawrence Mitchell
  0 siblings, 1 reply; 3+ messages in thread
From: Xin Shi @ 2011-06-21 13:22 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

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?

Thanks!

Xin

[-- Attachment #2: Type: text/html, Size: 835 bytes --]

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

* [PATCH] org-latex: Convert quote marks in section headers
  2011-06-21 13:22 Double Quotation not translated in sections for LaTeX Xin Shi
@ 2011-06-21 14:21 ` Lawrence Mitchell
  2011-06-28 17:18   ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Lawrence Mitchell @ 2011-06-21 14:21 UTC (permalink / raw)
  To: emacs-orgmode

* 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

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

* Re: [PATCH] org-latex: Convert quote marks in section headers
  2011-06-21 14:21 ` [PATCH] org-latex: Convert quote marks in section headers Lawrence Mitchell
@ 2011-06-28 17:18   ` Bastien
  0 siblings, 0 replies; 3+ messages in thread
From: Bastien @ 2011-06-28 17:18 UTC (permalink / raw)
  To: Lawrence Mitchell; +Cc: emacs-orgmode

Hi Laurence,

Lawrence Mitchell <wence@gmx.li> writes:

> * lisp/org-latex.el (org-export-latex-fontify-headline): Convert
> quotes to their LaTeX equivalents using
> org-export-latex-quotation-marks.

Applied, thanks!

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

Yes, it was.

-- 
 Bastien

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

end of thread, other threads:[~2011-06-28 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 13:22 Double Quotation not translated in sections for LaTeX Xin Shi
2011-06-21 14:21 ` [PATCH] org-latex: Convert quote marks in section headers Lawrence Mitchell
2011-06-28 17:18   ` Bastien

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