emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: emacs-orgmode@gnu.org
Subject: Re: Syntax highlighting for JSON/JavaScript/Java code examples
Date: Wed, 05 Oct 2016 14:24:23 -0400	[thread overview]
Message-ID: <1475691863.3551840.746958201.10A0A775@webmail.messagingengine.com> (raw)
In-Reply-To: <1475689120.3541068.746910505.26C29794@webmail.messagingengine.com>


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

      reply	other threads:[~2016-10-05 18:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-05 17:38 Syntax highlighting for JSON/JavaScript/Java code examples Peter Davis
2016-10-05 18:24 ` Peter Davis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475691863.3551840.746958201.10A0A775@webmail.messagingengine.com \
    --to=pfd@pfdstudio.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).