emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Syntax highlighting for JSON/JavaScript/Java code examples
@ 2016-10-05 17:38 Peter Davis
  2016-10-05 18:24 ` Peter Davis
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Davis @ 2016-10-05 17:38 UTC (permalink / raw)
  To: emacs-orgmode

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?

Thanks!
-pd


-- 
  Peter Davis
  www.techcurmudgeon.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Syntax highlighting for JSON/JavaScript/Java code examples
  2016-10-05 17:38 Syntax highlighting for JSON/JavaScript/Java code examples Peter Davis
@ 2016-10-05 18:24 ` Peter Davis
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Davis @ 2016-10-05 18:24 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-05 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-05 17:38 Syntax highlighting for JSON/JavaScript/Java code examples Peter Davis
2016-10-05 18:24 ` Peter Davis

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).