From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Does ps-print-buffer-with-faces give the correct colors?
Date: Wed, 22 Nov 2006 23:35:02 +0100 [thread overview]
Message-ID: <4749B1B4-7D7A-4C4F-8990-BEE8B2E698A3@Web.DE> (raw)
In-Reply-To: <ulkm3gwyc.fsf@gmail.com>
Am 22.11.2006 um 19:25 schrieb Mathias Dahl:
> I made a small hack today while playing wirh Ghostscript. It creates a
> PDF file of the current buffer in Emacs. The problem is that the
> colors of the faces become strange.
Have you tried Lennart Borgman's htmlize-view.el? Together with
Hrvoje Niksic's htmlize.el (http://fly.srk.fer.hr/~hniksic/emacs/
htmlize.el) it converts the buffer into HTML first, which is then
displayed in your WWW browser, which should allow to "print" into a
PDF file. This way encodings are saved (which PS cannot), and colours
as well.
On Mac OS X Ghostscript 8.54 produces PDF with the right colours. I
used list-colors-display.
--
Greetings
Pete
One doesn't expect governments to obey the law because of some higher
moral development. One expects them to obey the law because they
know that if they don't, those who aren't shot will be hanged.
--Michael Shirley
next prev parent reply other threads:[~2006-11-22 22:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-22 18:25 Does ps-print-buffer-with-faces give the correct colors? Mathias Dahl
2006-11-22 22:35 ` Peter Dyballa [this message]
2006-11-23 4:08 ` Eli Zaretskii
2006-11-23 10:46 ` Peter Dyballa
2006-11-23 0:43 ` Mathias Dahl
2006-11-23 4:16 ` Eli Zaretskii
[not found] ` <mailman.1005.1164235028.2155.help-gnu-emacs@gnu.org>
2006-11-23 9:29 ` Mathias Dahl
2006-11-23 17:32 ` Mathias Dahl
2006-11-24 20:16 ` Kim F. Storm
2006-11-24 23:15 ` Lennart Borgman
2006-11-25 10:21 ` Eli Zaretskii
[not found] ` <mailman.1023.1164399420.2155.help-gnu-emacs@gnu.org>
2006-11-27 9:28 ` Mathias Dahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4749B1B4-7D7A-4C4F-8990-BEE8B2E698A3@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.