[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Put latex export buffer in latex-mode?

From: Carsten Dominik
Subject: Re: [Orgmode] Put latex export buffer in latex-mode?
Date: Sun, 25 Apr 2010 09:14:14 +0200

Hi Dan,

thanks, I have fixed this, almost like you propose.

- Carsten

On Apr 24, 2010, at 8:38 PM, Dan Davison wrote:

C-e H brings up the exported html in an html-mode buffer, but C-e L
brings up a fundamental-mode buffer rather than latex-mode. Is this an
oversight or is there a reason for this?


p.s. I could use org-export-latex-after-save-hook, or a change to the
source could be something like this

        Modified lisp/org-latex.el
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 67d9745..3d31248 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -797,6 +797,7 @@ when PUB-DIR is set, use this as the publishing directory."
    (run-hooks 'org-export-latex-after-save-hook)
    (goto-char (point-min))
+    (latex-mode)
    (or (org-export-push-to-kill-ring "LaTeX")
        (message "Exporting to LaTeX...done"))

Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.

- Carsten

reply via email to

[Prev in Thread] Current Thread [Next in Thread]