emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* face error with org-publish : include src emacs-lisp
@ 2008-11-20  0:04 Richard Riley
  2008-11-20  1:15 ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Riley @ 2008-11-20  0:04 UTC (permalink / raw)
  To: org-mode


Trying to publish a file utilising an include

     #+INCLUDE: "~/.emacs" src emacs-lisp

I get a face error:

  face-attribute: Invalid face

If I change to

     #+INCLUDE: "~/.emacs" example

It publishes fine. Before I try to isolate further could someone verify
they can publish a page which includes src in emacs-lisp style as above
successfully please thus indicating it's an issue with my setup.

regards

r.

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

* Re: face error with org-publish : include src emacs-lisp
  2008-11-20  0:04 face error with org-publish : include src emacs-lisp Richard Riley
@ 2008-11-20  1:15 ` Eric Schulte
  2008-11-20  7:26   ` Carsten Dominik
  2008-11-20  7:53   ` Richard Riley
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Schulte @ 2008-11-20  1:15 UTC (permalink / raw)
  To: Richard Riley; +Cc: org-mode

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

Richard Riley <rileyrgdev@googlemail.com> writes:

> Trying to publish a file utilising an include
>
>      #+INCLUDE: "~/.emacs" src emacs-lisp
>
> I get a face error:
>
>   face-attribute: Invalid face
>

I believe this is a compatibility issue with htmlize.el and the most
recent versions of Emacs.  I had a similar issue, and made a change to
my copy of htmlize.el following a suggestion from a mailing list (I
don't remember what change or what list) and the line you posted above
is now working for me.

I'm attaching my copy of htmlize.el, hopefully it will fix your problem.

Cheers -- Eric


[-- Attachment #2: htmlize.el --]
[-- Type: application/emacs-lisp, Size: 72205 bytes --]

[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: face error with org-publish : include src emacs-lisp
  2008-11-20  1:15 ` Eric Schulte
@ 2008-11-20  7:26   ` Carsten Dominik
  2008-11-20  7:53   ` Richard Riley
  1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-11-20  7:26 UTC (permalink / raw)
  To: Eric Schulte; +Cc: org-mode, Richard Riley


On Nov 20, 2008, at 2:15 AM, Eric Schulte wrote:

> Richard Riley <rileyrgdev@googlemail.com> writes:
>
>> Trying to publish a file utilising an include
>>
>>     #+INCLUDE: "~/.emacs" src emacs-lisp
>>
>> I get a face error:
>>
>>  face-attribute: Invalid face
>>
>
> I believe this is a compatibility issue with htmlize.el and the most
> recent versions of Emacs.  I had a similar issue, and made a change to
> my copy of htmlize.el following a suggestion from a mailing list (I
> don't remember what change or what list) and the line you posted above
> is now working for me.
>
> I'm attaching my copy of htmlize.el, hopefully it will fix your  
> problem.

There is also a fixed version on Emacs Wiki.

http://www.emacswiki.org/cgi-bin/emacs/htmlize.el


- Carsten

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

* Re: face error with org-publish : include src emacs-lisp
  2008-11-20  1:15 ` Eric Schulte
  2008-11-20  7:26   ` Carsten Dominik
@ 2008-11-20  7:53   ` Richard Riley
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Riley @ 2008-11-20  7:53 UTC (permalink / raw)
  To: Eric Schulte; +Cc: org-mode, Richard Riley


"Eric Schulte" <schulte.eric@gmail.com> writes:

> Richard Riley <rileyrgdev@googlemail.com> writes:
>
>> Trying to publish a file utilising an include
>>
>>      #+INCLUDE: "~/.emacs" src emacs-lisp
>>
>> I get a face error:
>>
>>   face-attribute: Invalid face
>>
>
> I believe this is a compatibility issue with htmlize.el and the most
> recent versions of Emacs.  I had a similar issue, and made a change to
> my copy of htmlize.el following a suggestion from a mailing list (I
> don't remember what change or what list) and the line you posted above
> is now working for me.
>
> I'm attaching my copy of htmlize.el, hopefully it will fix your problem.
>
> Cheers -- Eric

Nice one Eric. That was indeed the problem.

regards

r.

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

end of thread, other threads:[~2008-11-20  7:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-20  0:04 face error with org-publish : include src emacs-lisp Richard Riley
2008-11-20  1:15 ` Eric Schulte
2008-11-20  7:26   ` Carsten Dominik
2008-11-20  7:53   ` Richard Riley

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