----- Carsten Dominik (2007-05-13) wrote:-----

>   - Agenda views can be exported as plain text, as HTML, and as
>     Postscript(R).  This can simply be done from the agenda
>     buffer with `C-x C-w' and then specifying a filename like
>     `myagenda.html' or `myagenda.ps'.  See section 8.6.4 of the
>     manual.

Start Emacs in a terminal such as xterm and than `C-x C-w' to a .ps
file, I get the following error:

,----
| Debugger entered--Lisp error: (error "`ps-default-fg' and `ps-default-bg' 
have the same color.
| Text won't appear on page.  Please, check these variables.")
|   signal(error ("`ps-default-fg' and `ps-default-bg' have the same 
color.\nText won't appear on page.  Please, check these variables."))
|   error("`ps-default-fg' and `ps-default-bg' have the same color.\nText won't 
appear on page.  Please, check these variables.")
|   ps-begin-job(ps-generate-postscript-with-faces)
|   ps-generate(#<buffer *Org Agenda*> 1 735 ps-generate-postscript-with-faces)
|   ps-spool-with-faces(1 735 nil)
|   ps-print-with-faces(1 735 "/home/leo/t.ps")
|   ps-print-buffer-with-faces("/home/leo/t.ps")
|   (cond ((string-match "\\.html?\\'" file) (require ...) (set-buffer ...) 
(write-file file) (kill-buffer ...) (message "HTML written to %s" file)) 
((string-match "\\.ps\\'" file) (require ...) (ps-print-buffer-with-faces file) 
(message "Postscript written to %s" file)) (t (let ... ... ... ... ... ...)))
|   (save-window-excursion (cond (... ... ... ... ... ...) (... ... ... ...) (t 
...)))
|   (save-excursion (save-window-excursion (cond ... ... ...)))
|   (let nil (save-excursion (save-window-excursion ...)) #<buffer *Org 
Agenda*>)
|   eval((let nil (save-excursion (save-window-excursion ...)) #<buffer *Org 
Agenda*>))
|   org-let(nil (save-excursion (save-window-excursion (cond ... ... ...))) 
#<buffer *Org Agenda*>)
|   org-write-agenda("/home/leo/t.ps")
|   call-interactively(org-write-agenda)
`----

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to