From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: Syntax highlighting for JSON/JavaScript/Java code examples Date: Wed, 05 Oct 2016 14:24:23 -0400 Message-ID: <1475691863.3551840.746958201.10A0A775@webmail.messagingengine.com> References: <1475689120.3541068.746910505.26C29794@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brqro-000451-W6 for emacs-orgmode@gnu.org; Wed, 05 Oct 2016 14:24:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brqrl-00034K-RR for emacs-orgmode@gnu.org; Wed, 05 Oct 2016 14:24:32 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brqrk-000337-KI for emacs-orgmode@gnu.org; Wed, 05 Oct 2016 14:24:29 -0400 In-Reply-To: <1475689120.3541068.746910505.26C29794@webmail.messagingengine.com> 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" To: emacs-orgmode@gnu.org On Wed, Oct 5, 2016, at 01:38 PM, Peter Davis wrote: > I'm trying to include code examples in a doc. They're JSON, but 'js' > doesn't seem to work, so I'm using 'java'. > > I just discovered that I don't have htmlize in my setup, so I added > that. Now org is trying to do syntax highlighting, at least when > exporting HTML, but I'm getting this: > > org-babel-exp process dot at line 143... > executing Dot code block... > Wrote c:/Users/pdavis/AppData/Local/Temp/babel-8776xe_/ob-input-877621O > Code block evaluation complete. > face-attribute: Invalid face > > > Any hints, or ideas for trouble-shooting this? Nevermind. My bad. I had copied the htmlize.el from an xemacs installation. Stupid. I just installed htmlize via package manager and all seems good for now. I'm even getting the syntax highlighting! Thanks, -pd -- Peter Davis www.techcurmudgeon.com