all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: michael@cadilhac.name (Michaël Cadilhac)
To: emacs-devel@gnu.org
Subject: Re: How are Windows users supposed to print the PostScript refcards?
Date: Mon, 13 Aug 2007 02:36:51 +0200	[thread overview]
Message-ID: <87odhcfexo.fsf@lrde.org> (raw)
In-Reply-To: <v9wsw2bb6x.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sat, 11 Aug 2007 12:46:46 +0200")


[-- Attachment #1.1.1: Type: text/plain, Size: 866 bytes --]

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> I think adding *.pdf is fine (only ~ 1 MB) for a real benefit of many
> users.

This is one point we all agree on, so let's do it.

> I didn't suggest to remove the PS versions, because on typical
> GNU/Linux systems, the PDF would be converted to PS during the
> printing process (e.g. with CUPS filters) so I'd rather keep the PS
> files.  If size disk space is important, we may gzip the PS files like
> we do for *.el.  Older Unix or GNU/Linux systems might not even be
> able to print PDF while they can handle PS fine.

I do agree.  And I think there's no point saying on the one side ``Hey,
buddy, you can use Emacs on your good'ol MO-5 and your toaster !'' and on
the other side ``What ? You don't have a PDF viewer or converter ? Go
die !''.

I'd go for a patch like the following :


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: Makefile.patch --]
[-- Type: text/x-patch, Size: 2304 bytes --]

Index: Makefile
===================================================================
RCS file: /sources/emacs/emacs/etc/Makefile,v
retrieving revision 1.13
diff -c -r1.13 Makefile
*** Makefile	26 Jul 2007 05:26:03 -0000	1.13
--- Makefile	13 Aug 2007 00:33:12 -0000
***************
*** 27,44 ****
  all: refcards dired-refcards misc-refcards
  
  
! refcards: refcard.ps cs-refcard.ps de-refcard.ps fr-refcard.ps \
            pl-refcard.ps pt-br-refcard.ps ru-refcard.ps sk-refcard.ps
  
! dired-refcards: dired-ref.ps cs-dired-ref.ps fr-drdref.ps sk-dired-ref.ps
  
  ## No PS files: vipcard.tex viperCard.tex survival.tex sk-survival.tex
! misc-refcards: calccard.ps gnus-booklet.ps gnus-refcard.ps orgcard.ps
  
  ## Following PS files are not included with Emacs.
! survival-cards: survival.ps cs-survival.ps sk-survival.ps
  
! viper-cards: vipcard.ps viperCard.ps
  
  
  ## dvi files.
--- 27,49 ----
  all: refcards dired-refcards misc-refcards
  
  
! REFCARDS = refcard.ps cs-refcard.ps de-refcard.ps fr-refcard.ps \
            pl-refcard.ps pt-br-refcard.ps ru-refcard.ps sk-refcard.ps
+ refcards: ${REFCARDS} ${REFCARDS:.ps=.pdf}
  
! DIRED-REFCARDS = dired-ref.ps cs-dired-ref.ps fr-drdref.ps sk-dired-ref.ps
! dired-refcards: ${DIRED-REFCARDS} ${DIRED-REFCARDS:.ps=.pdf}
  
  ## No PS files: vipcard.tex viperCard.tex survival.tex sk-survival.tex
! MISC-REFCARDS = calccard.ps gnus-booklet.ps gnus-refcard.ps orgcard.ps
! misc-refcards: ${MISC-REFCARDS} ${MISC-REFCARDS:.ps=.pdf}
  
  ## Following PS files are not included with Emacs.
! SURVIVAL-CARDS = survival.ps cs-survival.ps sk-survival.ps
! survival-cards: ${SURVIVAL-CARDS} ${SURVIVAL-CARDS:.ps=.pdf}
  
! VIPER-CARDS = vipcard.ps viperCard.ps
! viper-cards: ${VIPER-CARDS} ${VIPER-CARDS:.ps=.pdf}
  
  
  ## dvi files.
***************
*** 93,98 ****
--- 98,112 ----
  	dvips -t letter $< -o $@
  
  
+ ## PDF files.
+ 
+ ## dvipdf uses dvips to create the PDF file, so use directly
+ ## GhostScript's ps2pdf.
+ 
+ ${REFCARDS:.ps=.pdf} ${DIRED-REFCARDS:.ps=.pdf} ${MISC-REFCARDS:.ps=.pdf} \
+ ${SURVIVAL-CARDS:.ps=.pdf} ${VIPER-CARDS:.ps=.pdf}: %.pdf: %.ps
+ 	ps2pdf $< $@
+ 
  .PHONY: mostlyclean clean distclean maintainer-clean unlock relock
  
  mostlyclean:

[-- Attachment #1.1.3: Type: text/plain, Size: 462 bytes --]


So ?

> There's no reason to convert ps-prin0.ps and ps-prin1.ps to PDF.

They weren't in the count, sorry I didn't mention it.

-- 
 |   Michaël `Micha' Cadilhac       |       One user is enough.              |
 |   http://michael.cadilhac.name   |    People suck.                        |
 |   JID/MSN:                       |                                        |
 `----  michael.cadilhac@gmail.com  |          -- Tuomo Valkonen        -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

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

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

  parent reply	other threads:[~2007-08-13  0:36 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-08 20:37 How are Windows users supposed to print the PostScript refcards? Reiner Steib
2007-08-08 20:59 ` Stefan Monnier
2007-08-09  5:24   ` Richard Stallman
2007-08-09 19:46   ` Reiner Steib
2007-08-09 23:11     ` Lennart Borgman (gmail)
2007-08-09 23:25     ` Chong Yidong
2007-08-09 23:56       ` Michaël Cadilhac
2007-08-10  2:27         ` Stephen J. Turnbull
2007-08-10  9:53           ` Michaël Cadilhac
2007-08-10 13:51             ` Stephen J. Turnbull
2007-08-10 14:22               ` Michaël Cadilhac
2007-08-10 17:45                 ` Reiner Steib
2007-08-10 14:37               ` Jan Djärv
2007-08-10 14:49                 ` Michaël Cadilhac
2007-08-10 19:34                 ` jemarch
2007-08-11 10:46         ` Reiner Steib
2007-08-11 18:04           ` Stefan Monnier
2007-08-11 19:23             ` Reiner Steib
2007-08-13  0:36           ` Michaël Cadilhac [this message]
2007-08-13  1:48             ` Stefan Monnier
2007-08-13 10:56               ` Michaël Cadilhac
2007-08-16 10:04                 ` Michaël Cadilhac
2007-08-17  0:32                   ` Richard Stallman
2007-08-17  8:35                     ` Reiner Steib
2007-08-17  8:57                       ` Michaël Cadilhac
2007-08-19  9:24                         ` Michaël Cadilhac
2007-08-19 10:28                           ` Sven Joachim
2007-08-19 16:14                             ` Reiner Steib
2007-08-17 20:17                       ` Richard Stallman
2007-08-20  2:18                       ` Glenn Morris
2007-08-20  4:18                         ` Miles Bader
2007-08-20  9:58                         ` Michaël Cadilhac
2007-08-23 10:00                           ` Michaël Cadilhac
2007-08-26 21:32                           ` Michaël Cadilhac
2007-08-13  7:48       ` Glenn Morris
2007-08-09  3:11 ` Eli Zaretskii
2007-08-09  5:51   ` Stephen J. Turnbull
2007-08-09  8:26     ` Mathias Dahl
2007-08-09  8:38   ` Frank Schmitt
2007-08-09 19:29   ` Reiner Steib
2007-08-09 22:27     ` Eli Zaretskii

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=87odhcfexo.fsf@lrde.org \
    --to=michael@cadilhac.name \
    --cc=emacs-devel@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.