emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* printing error
@ 2010-03-17 13:21 Brody, William (Buck)
  2010-03-17 15:14 ` Mikael Fornius
       [not found] ` <8073.1268836388@gamaville.dokosmarshall.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Brody, William (Buck) @ 2010-03-17 13:21 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 177 bytes --]

When I try to print, using ps-print-buffer-with-faces, I am getting the following error message:  "Wrong type argument: stringp, ("blue" :weight bold)"

Any ideas?

Thanks

[-- Attachment #1.2: Type: text/html, Size: 4603 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

* Re: printing error
  2010-03-17 13:21 printing error Brody, William (Buck)
@ 2010-03-17 15:14 ` Mikael Fornius
       [not found] ` <8073.1268836388@gamaville.dokosmarshall.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Mikael Fornius @ 2010-03-17 15:14 UTC (permalink / raw)
  To: Brody, William (Buck); +Cc: emacs-orgmode@gnu.org


It works for me. Does this sentence

"This command works only if you are using a window system,
so it has a way to determine color values."

in the doc-string of ps-print-buffer-with-faces make sense?

-- 
Mikael Fornius

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

* RE: printing error
       [not found] ` <8073.1268836388@gamaville.dokosmarshall.org>
@ 2010-03-17 21:58   ` Brody, William (Buck)
  2010-03-19 17:38     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Brody, William (Buck) @ 2010-03-17 21:58 UTC (permalink / raw)
  To: nicholas.dokos@hp.com; +Cc: emacs-orgmode@gnu.org

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: nick@gamaville.dokosmarshall.org [mailto:nick@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.dokos@hp.com
Subject: Re: [Orgmode] printing error

Brody, William (Buck) <BrodyW11@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

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

* Re: printing error
  2010-03-17 21:58   ` Brody, William (Buck)
@ 2010-03-19 17:38     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-03-19 17:38 UTC (permalink / raw)
  To: Brody, William (Buck); +Cc: emacs-orgmode@gnu.org

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: nick@gamaville.dokosmarshall.org [mailto:nick@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.dokos@hp.com
> Subject: Re: [Orgmode] printing error
>
> Brody, William (Buck) <BrodyW11@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

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

end of thread, other threads:[~2010-03-19 18:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 13:21 printing error Brody, William (Buck)
2010-03-17 15:14 ` Mikael Fornius
     [not found] ` <8073.1268836388@gamaville.dokosmarshall.org>
2010-03-17 21:58   ` Brody, William (Buck)
2010-03-19 17:38     ` Carsten Dominik

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