From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [poll] Fontify code in code blocks Date: Sat, 11 Jan 2014 10:25:08 +0100 Message-ID: <87r48ezx8r.fsf@bzg.ath.cx> References: <86sisxz6ns.fsf@somewhere.org> <87wqi9ia0w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1upH-0007xX-UU for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 04:26:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1upA-0001tA-Kj for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 04:25:55 -0500 Received: from mail-ee0-f54.google.com ([74.125.83.54]:65145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1upA-0001t6-EF for emacs-orgmode@gnu.org; Sat, 11 Jan 2014 04:25:48 -0500 Received: by mail-ee0-f54.google.com with SMTP id e51so1911533eek.27 for ; Sat, 11 Jan 2014 01:25:12 -0800 (PST) In-Reply-To: <87wqi9ia0w.fsf@gmail.com> (Joseph Vidal-Rosset's message of "Thu, 09 Jan 2014 14:01:51 +0100") 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: Joseph Vidal-Rosset Cc: Sebastien Vauban , emacs-orgmode@gnu.org Hi Joseph, Joseph Vidal-Rosset writes: > I must add that the highlighting works only in code with begin_src- > ... end_src à la org. Yes, this is by design. > But then, at least in my configuration, it blocks > the export in LaTeX or in HTML. Not sure I grok this part... > I have not succeeded to get the same highlighting of the latex syntax at > the moment in an org file with all the correct export functions. Oh, maybe I see. You want highlighting in #+BEGIN_LaTeX and #+BEGIN_HTML. Actually it makes sense. So that #+BEGIN_HTML would really be short for #+BEGIN_SRC html-mode but with no need for header vars and all the plumbing. Nicolas, what do you think? Would it be okay to enable syntax highlighting in #+BEGIN_{HTML,...} blocks? -- Bastien