Hi William
looks like the Emacs 22.3 version of ps-print has this problem.
I am using Emacs 23, and do not have this problem.
The problem seems to be related to list face definition, maybe
you are using them for org-todo-keyword-faces, for example?
If you define these special faces as faces and then add them as
faces (not lists) to that variable, maybe the problem can be
circumvented?
HTH
- Carsten
On Mar 17, 2010, at 10:58 PM, Brody, William (Buck) wrote:
Emacs version 22.3.1
Org-mode version 6.34c
Printing works on most documents. It works on some org documents,
but it seems to depend on whether specific fonts are used in the
faces.
I created a sparse tree and typed
Command:
M-x ps-print-buffer-with faces
Minibuffer:
Font for some characters not found. Continue anyway? (yes or no)
Command:
Yes
This is the back trace:
ebugger entered--Lisp error: (wrong-type-argument stringp
("blue" :weight bold))
xw-color-values(("blue" :weight bold) nil)
ps-e-color-values(("blue" :weight bold))
ps-color-values(("blue" :weight bold))
ps-color-scale(("blue" :weight bold))
ps-plot-with-face(292 296 (:foreground "blue" :weight bold))
ps-generate-postscript-with-faces(1 111826)
ps-generate(#<buffer outline.org> 1 111826 ps-generate-postscript-
with-faces)
ps-spool-with-faces(1 111826 nil)
ps-print-with-faces(1 111826 nil)
ps-print-buffer-with-faces(nil)
call-interactively(ps-print-buffer-with-faces)
execute-extended-command(nil)
call-interactively(execute-extended-command)
-----Original Message-----
From: n...@gamaville.dokosmarshall.org [mailto:n...@gamaville.dokosmarshall.org
] On Behalf Of Nick Dokos
Sent: Wednesday, March 17, 2010 10:33 AM
To: Brody, William (Buck)
Cc: emacs-orgmode@gnu.org; nicholas.do...@hp.com
Subject: Re: [Orgmode] printing error
Brody, William (Buck) <brody...@darden.virginia.edu> wrote:
When I try to print, using ps-print-buffer-with-faces, I am getting
the fol=
lowing error message: "Wrong type argument: stringp,
("blue" :weight bold)=
"
It could be anything: you will have to be *much* more specific. It's
not even clear
that it is an org problem, since you didn't specify *what* you are
trying to print.
If printing a text document does not work, then it is not an org
problem (but you
want to gather up a back trace in any case - you are just going to
have to send it
to the emacs list instead of the org mode list). If printing a text
document works,
but printing an org document does not, then gather up a backtrace
and send it to this
list.
To find out how to get a backtrace, see section 1.4 "Feedback" of
the Orgmode manual.
HTH,
Nick
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode