From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: error exporting latex src block Date: Wed, 16 Oct 2013 21:59:40 -0600 Message-ID: <871u3kbl8z.fsf@gmail.com> References: <525F3BC3.8020603@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWekt-0001AG-DX for emacs-orgmode@gnu.org; Thu, 17 Oct 2013 00:00:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWeko-0001fg-45 for emacs-orgmode@gnu.org; Thu, 17 Oct 2013 00:00:11 -0400 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:60049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWekn-0001cM-Sz for emacs-orgmode@gnu.org; Thu, 17 Oct 2013 00:00:06 -0400 Received: by mail-pa0-f42.google.com with SMTP id kx10so2102011pab.29 for ; Wed, 16 Oct 2013 21:00:04 -0700 (PDT) In-Reply-To: <525F3BC3.8020603@gmail.com> (Jason Lewis's message of "Thu, 17 Oct 2013 12:22:11 +1100") 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: Jason Lewis Cc: org-mode Jason Lewis writes: > Hi, > > If I try and export: > > #+BEGIN_SRC latex > \\ > #+END_SRC > > as html from org-mode, it gives me the following error: > > face-attribute: Invalid face: font-lock-warning > > and fails to export anything. > Your example exports w/o problem for me with Org-mode version Org-mode version 8.2.1. I believe the problem on your system lies in the latex fontification on your system. Org-mode uses htmlize to export fontified code to html, so you could try running htmlize-buffer from a latex-mode buffer with "\\". Hope this helps, > > Is this a bug or a feature? > > Is there any way I can include a double \\ in a latex SRC block? > > I'm using Org-mode version 8.2.1 (8.2.1-3-g35e5e5-elpa @ > /Users/jason/.emacs.d/elpa/org-20131007/) > > Thanks, > > Jason -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D