unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Reitter <david.reitter@gmail.com>
Cc: Emacs help <Help-gnu-emacs@gnu.org>
Subject: Re: Print to PDF? Configure fonts used when printing?
Date: Thu, 6 Oct 2005 23:11:04 +0100	[thread overview]
Message-ID: <48DB080E-6790-4302-8124-4E343FEC53B5@gmail.com> (raw)
In-Reply-To: <7f4cc4751a2de252e7c0b96996f3d672@Web.DE>


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

Hi Peter,

>  Not exactly an (X)Emacs package, but Perl:
>
>
> In the end, I think, it would be most useful to write an own  
> script: you could use Unicode encoded fonts from Mac OS X (or  
> additions to these sets) and be able to print in every script!

The problem with a2pdf as I see it is that I won't get syntax  
highlighting from Emacs. I mean, there's really no point in offering  
a print function if it doesn't relate to what's shown on the screen,  
because otherwise one could just fire up Textedit or whatever and  
copy&paste the buffer over.

I mean, printing would have to respect the faces chosen. I don't  
understand why it should be impossible to generate PDF instead of PS,  
using the same methods that the current printing system uses. It  
seems to me there's a real lack of a package.

I suspect I'm just going to have to see if I can coerce the output  
system to print instead of showing things on the screen. ATSUI  
( being made available these days ) might help here, but I suspect it  
won't be a peace of cake due to the way letters are output.  
Unfortunately, lacking inside knowledge about how Emacs outputs stuff  
on the screen, I'm not really qualified to implement printing support.

Cheers
David



[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2400 bytes --]

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

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2005-10-06 22:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-04 10:43 Print to PDF? Configure fonts used when printing? David Reitter
2005-10-04 23:07 ` Peter Dyballa
2005-10-06 22:11   ` David Reitter [this message]
2005-10-06 23:35     ` Peter Dyballa
2005-10-11 20:06     ` Peter Dyballa
     [not found]     ` <mailman.10931.1129061171.20277.help-gnu-emacs@gnu.org>
2005-10-12 10:39       ` Piet van Oostrum

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48DB080E-6790-4302-8124-4E343FEC53B5@gmail.com \
    --to=david.reitter@gmail.com \
    --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.
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).