From: thorne <thorne@timbral.net>
To: help-gnu-emacs@gnu.org
Subject: Re: ps-pring questions
Date: Thu, 01 Mar 2007 18:30:36 -0800 [thread overview]
Message-ID: <m34pp4l6lv.fsf@timbral.net> (raw)
In-Reply-To: m33b4ozh7o.fsf@timbral.net
thorne <thorne@timbral.net> writes:
> 1. Is there a way (in Emacs lisp) to set not just the font family,
> but the font style (bold, etc) of header lines? It seems to be
> defaulting to bold, but looking at the code, i haven't figured out
> where it's getting this.
>
> 2. Related: is there a way to get ps-print to use a different font
> style default for the whole document? My .emacs has a customize line
> that sets the default font style to semi-bold for all buffers so i can
> see it, but i'd rather ps-print treated the default as regular,
> non-bold. Any idea how to do this? Can default font properties be
> set in a buffer-local way?
Well, i figured out an answer for the first two questions, at least
for my purposes. Use font family 'Foo for everything and do something
like:
(setq ps-font-info-database
(append
'((Foo
(fonts
(normal . "Courier")
(bold . "Courier")
(italic . "Courier")
(bold-italic . "Courier"))
(size . 10.0)
(line-height . 10.55)
(space-width . 6.0)
(avg-char-width . 6.0)))
ps-font-info-database))
But i'm still working on:
> 3. Is there a way to get ps-print to suppress the header for the
> first page of the output only?
and a new one:
4. I have figured out how to get a page number with
"/pagenumberstring load" in the header, but lets say i wanted the line
to look like "Page 4"? If it try something like
(set (make-local-variable 'ps-right-header)
(list "(Page ) /pagenumberstring load"))
gv gives me a postscript error and won't load the file. Any ideas how
i could accomplish this?
--
þ theron tlax þ
prev parent reply other threads:[~2007-03-02 2:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 23:17 ps-pring questions thorne
2007-03-02 2:30 ` thorne [this message]
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=m34pp4l6lv.fsf@timbral.net \
--to=thorne@timbral.net \
--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.