unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: michael@cadilhac.name (Michaël Cadilhac)
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: How are Windows users supposed to print the PostScript refcards?
Date: Mon, 20 Aug 2007 11:58:39 +0200	[thread overview]
Message-ID: <873aye8r3k.fsf@lrde.org> (raw)
In-Reply-To: <k3fy2fvthm.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 19 Aug 2007 22:18:29 -0400")


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

Glenn Morris <rgm@gnu.org> writes:

> Reiner Steib wrote:
>
>> How about adding PDF versions now for 22.2+ and the trunk now and
>> decide about removing PS before releasing Emacs 23.1 (adding a note in
>> the Makefile or FOR-RELEASE?
>
> Personally I think that's a waste of time and disk space.

It seems that I'm the only one here willing to keep the PS files :-)
Well, I had a longish discussion with some of my geek friends, and they
all agreed that PS should be removed, the sooner the better.

Thus, well, so be it.

The patch is somewhat longer, but it's the cost to pay to have a shiny
PDF-compliant distribution, I think.


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

*** /dev/null	2006-08-03 17:37:27.000000000 +0200
--- pdflayout.sty	2007-08-20 10:51:42.000000000 +0200
***************
*** 0 ****
--- 1,47 ----
+ % Copyright (C) 2007  Free Software Foundation, Inc.
+ 
+ % This file is part of GNU Emacs.
+ 
+ % GNU Emacs is free software; you can redistribute it and/or modify
+ % it under the terms of the GNU General Public License as published by
+ % the Free Software Foundation; either version 3, or (at your option)
+ % any later version.
+ 
+ % GNU Emacs is distributed in the hope that it will be useful,
+ % but WITHOUT ANY WARRANTY; without even the implied warranty of
+ % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ % GNU General Public License for more details.
+ 
+ % You should have received a copy of the GNU General Public License
+ % along with GNU Emacs; see the file COPYING.  If not, write to
+ % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ % Boston, MA 02110-1301, USA.
+ 
+ % This file defines `\pdflayout':
+ %  - \pdflayout=(0) is A4 portrait,
+ %  - \pdflayout=(1) is letter (US) portrait,
+ %  - \pdflayout=(0l) is A4 landscape.
+ %  - \pdflayout=(1l) is letter (US) landscape,
+ 
+ \input ifpdf.sty
+ 
+ \ifpdf
+   \def\pdflayout=(#1#2){
+     \if0#1 % A4
+       \pdfpagewidth=21cm
+       \pdfpageheight=29.7cm
+     \else\if1#1 % Letter
+       \pdfpagewidth=8.5in
+       \pdfpageheight=11in
+     \fi\fi
+     \if l#2 % Landscape
+       \edef\oldwidth{\the\pdfpagewidth}
+       \pdfpagewidth=\pdfpageheight
+       \pdfpageheight=\oldwidth
+     \fi
+   }
+ \else
+   \def\pdflayout=(#1#2){}
+ \fi
+ 
+ % archtag: 63c938a5-cc78-4964-962d-603c90d34afc
Index: calccard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/calccard.tex,v
retrieving revision 1.11
diff -c -r1.11 calccard.tex
*** calccard.tex	26 Jul 2007 05:26:04 -0000	1.11
--- calccard.tex	20 Aug 2007 09:58:26 -0000
***************
*** 6,15 ****
  % card version 1.9, by Stephen Gildea.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  
  \columnsperpage=3
  
  % Typical command to format:  tex calccard.tex
  % Typical command to print (3 cols):  dvips -t landscape calccard.dvi
  
--- 6,22 ----
  % card version 1.9, by Stephen Gildea.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.
  
  \columnsperpage=3
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(1l)
+ 
+ % Nothing else needs to be changed.
  % Typical command to format:  tex calccard.tex
  % Typical command to print (3 cols):  dvips -t landscape calccard.dvi
  
***************
*** 666,672 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex calccard"
  % End:
  
  % arch-tag: a2764f34-ec23-4083-bd5c-53f9e70a5da9
--- 673,679 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex calccard"
  % End:
  
  % arch-tag: a2764f34-ec23-4083-bd5c-53f9e70a5da9
Index: cs-dired-ref.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/cs-dired-ref.tex,v
retrieving revision 1.12
diff -c -r1.12 cs-dired-ref.tex
*** cs-dired-ref.tex	26 Jul 2007 05:26:05 -0000	1.12
--- cs-dired-ref.tex	20 Aug 2007 09:58:26 -0000
***************
*** 23,35 ****
  % Boston, MA 02110-1301, USA.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  %**start of header
  
  \newcount\columnsperpage
  
  \columnsperpage=2
  
  % This file is intended to be processed by plain TeX (TeX82).
  % The reference card looks OK with 2 columns per page, portrait mode.
  % I haven't tried it with 3 columns per page.
--- 23,42 ----
  % Boston, MA 02110-1301, USA.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.
  %**start of header
  
  \newcount\columnsperpage
  
  \columnsperpage=2
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
+ % Nothing else needs to be changed.
  % This file is intended to be processed by plain TeX (TeX82).
  % The reference card looks OK with 2 columns per page, portrait mode.
  % I haven't tried it with 3 columns per page.
Index: cs-refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/cs-refcard.tex,v
retrieving revision 1.16
diff -c -r1.16 cs-refcard.tex
*** cs-refcard.tex	26 Jul 2007 05:26:05 -0000	1.16
--- cs-refcard.tex	20 Aug 2007 09:58:26 -0000
***************
*** 7,16 ****
  \newcount\columnsperpage
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  
  \columnsperpage=1
  
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
  
--- 7,23 ----
  \newcount\columnsperpage
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.
  
  \columnsperpage=1
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
+ % Nothing else needs to be changed.
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
  
Index: cs-survival.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/cs-survival.tex,v
retrieving revision 1.9
diff -c -r1.9 cs-survival.tex
*** cs-survival.tex	26 Jul 2007 05:26:05 -0000	1.9
--- cs-survival.tex	20 Aug 2007 09:58:26 -0000
***************
*** 21,26 ****
--- 21,32 ----
    \endinput
  \fi
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
  % Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
  %   2006, 2007  Free Software Foundation, Inc.
  
Index: de-refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/de-refcard.tex,v
retrieving revision 1.12
diff -c -r1.12 de-refcard.tex
*** de-refcard.tex	26 Jul 2007 05:26:05 -0000	1.12
--- de-refcard.tex	20 Aug 2007 09:58:27 -0000
***************
*** 4,20 ****
  %
  %**start of header
  \newcount\columnsperpage
- \newcount\letterpaper
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
  % Specify how many you want here.
  
  \columnsperpage=3
  
! % Set letterpaper to 0 for A4 paper, 1 for letter (US) paper.  Useful
! % only when columnsperpage is 2 or 3.
  
! \letterpaper=0
  
  % If you don't have german.sty, you can either get it from CTAN or
  % change the \glqq and \grqq commands below.
--- 4,20 ----
  %
  %**start of header
  \newcount\columnsperpage
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
  % Specify how many you want here.
  
  \columnsperpage=3
  
! % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
! % a landscape layout.
  
! \input pdflayout.sty
! \pdflayout=(0l)
  
  % If you don't have german.sty, you can either get it from CTAN or
  % change the \glqq and \grqq commands below.
***************
*** 689,695 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex de-refcard"
  % End:
  
  % arch-tag: af0a2666-f289-49f1-a9cc-cedab9783314
--- 689,695 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex de-refcard"
  % End:
  
  % arch-tag: af0a2666-f289-49f1-a9cc-cedab9783314
Index: dired-ref.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/dired-ref.tex,v
retrieving revision 1.14
diff -c -r1.14 dired-ref.tex
*** dired-ref.tex	26 Jul 2007 05:26:05 -0000	1.14
--- dired-ref.tex	20 Aug 2007 09:58:27 -0000
***************
*** 20,32 ****
  % Boston, MA 02110-1301, USA.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  %**start of header
  
  \newcount\columnsperpage
  
  \columnsperpage=2
  
  % This file is intended to be processed by plain TeX (TeX82).
  % The reference card looks OK with 2 columns per page, portrait mode.
  % I haven't tried it with 3 columns per page.
--- 20,39 ----
  % Boston, MA 02110-1301, USA.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.  
  %**start of header
  
  \newcount\columnsperpage
  
  \columnsperpage=2
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
+ % Nothing else needs to be changed.
  % This file is intended to be processed by plain TeX (TeX82).
  % The reference card looks OK with 2 columns per page, portrait mode.
  % I haven't tried it with 3 columns per page.
Index: fr-drdref.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/fr-drdref.tex,v
retrieving revision 1.12
diff -c -r1.12 fr-drdref.tex
*** fr-drdref.tex	26 Jul 2007 05:26:05 -0000	1.12
--- fr-drdref.tex	20 Aug 2007 09:58:27 -0000
***************
*** 20,32 ****
  % Boston, MA 02110-1301, USA.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  %**start of header
  
  \newcount\columnsperpage
  
  \columnsperpage=2
  
  % This file is intended to be processed by plain TeX (TeX82).
  % The reference card looks OK with 2 columns per page, portrait mode.
  % I haven't tried it with 3 columns per page.
--- 20,39 ----
  % Boston, MA 02110-1301, USA.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.
  %**start of header
  
  \newcount\columnsperpage
  
  \columnsperpage=2
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
+ % Nothing else needs to be changed.
  % This file is intended to be processed by plain TeX (TeX82).
  % The reference card looks OK with 2 columns per page, portrait mode.
  % I haven't tried it with 3 columns per page.
Index: fr-refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/fr-refcard.tex,v
retrieving revision 1.19
diff -c -r1.19 fr-refcard.tex
*** fr-refcard.tex	26 Jul 2007 05:26:05 -0000	1.19
--- fr-refcard.tex	20 Aug 2007 09:58:27 -0000
***************
*** 1,17 ****
  % Reference Card for GNU Emacs version 22 on Unix systems
  %**start of header
  \newcount\columnsperpage
- \newcount\letterpaper
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
  % Specify how many you want here.
  
  \columnsperpage=3
  
! % Set letterpaper to 0 for A4 paper, 1 for letter (US) paper.  Useful
! % only when columnsperpage is 2 or 3.
  
! \letterpaper=0
  
  % Nothing else needs to be changed below this line.
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
--- 1,17 ----
  % Reference Card for GNU Emacs version 22 on Unix systems
  %**start of header
  \newcount\columnsperpage
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
  % Specify how many you want here.
  
  \columnsperpage=3
  
! % PDF output layout.  0 for A4, 1 for Letter (US), a `l' is added for
! % a landscape layout.
  
! \input pdflayout.sty
! \pdflayout=(0l)
  
  % Nothing else needs to be changed below this line.
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
***************
*** 308,314 ****
  \key{D\'ecrire une fonction}{C-h f}
  \key{Obtenir des informations relatives au mode}{C-h m}
  
! \section{R\'ecup\'eration sur erreurs}
  
  \key{{\bf Abandonner} une commande}{C-g}
  \metax{{\bf R\'ecup\'erer} les fichiers apr\`es un crash}{M-x recover-session}
--- 308,314 ----
  \key{D\'ecrire une fonction}{C-h f}
  \key{Obtenir des informations relatives au mode}{C-h m}
  
! \section{R\'ecup\'eration sur erreur}
  
  \key{{\bf Abandonner} une commande}{C-g}
  \metax{{\bf R\'ecup\'erer} les fichiers apr\`es un crash}{M-x recover-session}
***************
*** 683,689 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex fr-refcard"
  % End:
  
  % arch-tag: 39d6dc6e-1a4a-4071-84db-4719d4e9e40d
--- 683,689 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex fr-refcard"
  % End:
  
  % arch-tag: 39d6dc6e-1a4a-4071-84db-4719d4e9e40d
Index: fr-survival.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/fr-survival.tex,v
retrieving revision 1.9
diff -c -r1.9 fr-survival.tex
*** fr-survival.tex	26 Jul 2007 05:26:05 -0000	1.9
--- fr-survival.tex	20 Aug 2007 09:58:27 -0000
***************
*** 22,27 ****
--- 22,33 ----
    \endinput
  \fi
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
  % Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
  %   2006, 2007  Free Software Foundation, Inc.
  
***************
*** 413,419 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex survival"
  % End:
  
  % arch-tag: 2fb4e93f-8bfa-4ab4-bc6d-b475131d766a
--- 419,425 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex survival"
  % End:
  
  % arch-tag: 2fb4e93f-8bfa-4ab4-bc6d-b475131d766a
Index: orgcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/orgcard.tex,v
retrieving revision 1.63
diff -c -r1.63 orgcard.tex
*** orgcard.tex	26 Jul 2007 05:26:06 -0000	1.63
--- orgcard.tex	20 Aug 2007 09:58:28 -0000
***************
*** 12,22 ****
  
  \columnsperpage=3
  
! % Set letterpapaer to 0 for A4 paper, 1 for letter (US) paper.  Useful
  % only when columnsperpage is 2 or 3.
  
  \letterpaper=0
  
  % Nothing else needs to be changed below this line.
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
--- 12,28 ----
  
  \columnsperpage=3
  
! % Set letterpaper to 0 for A4 paper, 1 for letter (US) paper.  Useful
  % only when columnsperpage is 2 or 3.
  
  \letterpaper=0
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0l)
+ 
  % Nothing else needs to be changed below this line.
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
***************
*** 775,781 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex refcard"
  % End:
  
  % arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290
--- 781,787 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex refcard"
  % End:
  
  % arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290
Index: pl-refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/pl-refcard.tex,v
retrieving revision 1.14
diff -c -r1.14 pl-refcard.tex
*** pl-refcard.tex	26 Jul 2007 05:26:06 -0000	1.14
--- pl-refcard.tex	20 Aug 2007 09:58:29 -0000
***************
*** 28,37 ****
  \newcount\columnsperpage
  
  % This file can be printed with 1, or 2 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  
  \columnsperpage=2
  
  % Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005,
  %   2006, 2007  Free Software Foundation, Inc.
  
--- 28,44 ----
  \newcount\columnsperpage
  
  % This file can be printed with 1, or 2 columns per page (see below).
! % Specify how many you want here.
  
  \columnsperpage=2
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
+ % Nothing else needs to be changed.
  % Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005,
  %   2006, 2007  Free Software Foundation, Inc.
  
***************
*** 995,1001 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex pl-refcard"
  % End:
  
  % arch-tag: 19d15a16-70be-40c8-ad91-88899aac32a9
--- 1002,1008 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex pl-refcard"
  % End:
  
  % arch-tag: 19d15a16-70be-40c8-ad91-88899aac32a9
Index: pt-br-refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/pt-br-refcard.tex,v
retrieving revision 1.8
diff -c -r1.8 pt-br-refcard.tex
*** pt-br-refcard.tex	26 Jul 2007 05:26:06 -0000	1.8
--- pt-br-refcard.tex	20 Aug 2007 09:58:29 -0000
***************
*** 8,18 ****
  
  \columnsperpage=3
  
! % Set letterpapaer to 0 for A4 paper, 1 for letter (US) paper.  Useful
  % only when columnsperpage is 2 or 3.
  
  \letterpaper=0
  
  % Nothing else needs to be changed below this line.
  % Copyright (C) 1987, 1993, 1996, 1997, 2002, 2003, 2004,
  %   2006, 2007  Free Software Foundation, Inc.
--- 8,24 ----
  
  \columnsperpage=3
  
! % Set letterpaper to 0 for A4 paper, 1 for letter (US) paper.  Useful
  % only when columnsperpage is 2 or 3.
  
  \letterpaper=0
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0l)
+ 
  % Nothing else needs to be changed below this line.
  % Copyright (C) 1987, 1993, 1996, 1997, 2002, 2003, 2004,
  %   2006, 2007  Free Software Foundation, Inc.
***************
*** 681,687 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex pt-br-refcard"
  % coding: iso-latin-1
  % End:
  
--- 687,693 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex pt-br-refcard"
  % coding: iso-latin-1
  % End:
  
Index: refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/refcard.tex,v
retrieving revision 1.17
diff -c -r1.17 refcard.tex
*** refcard.tex	26 Jul 2007 05:26:06 -0000	1.17
--- refcard.tex	20 Aug 2007 09:58:29 -0000
***************
*** 8,18 ****
  
  \columnsperpage=3
  
! % Set letterpapaer to 0 for A4 paper, 1 for letter (US) paper.  Useful
  % only when columnsperpage is 2 or 3.
  
  \letterpaper=1
  
  % Nothing else needs to be changed below this line.
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
--- 8,24 ----
  
  \columnsperpage=3
  
! % Set letterpaper to 0 for A4 paper, 1 for letter (US) paper.  Useful
  % only when columnsperpage is 2 or 3.
  
  \letterpaper=1
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(1l)
+ 
  % Nothing else needs to be changed below this line.
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
***************
*** 673,679 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex refcard"
  % End:
  
  % arch-tag: d67bdf5d-b77c-44eb-a22e-f4f7d25174d2
--- 679,685 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex refcard"
  % End:
  
  % arch-tag: d67bdf5d-b77c-44eb-a22e-f4f7d25174d2
Index: ru-refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/ru-refcard.tex,v
retrieving revision 1.12
diff -c -r1.12 ru-refcard.tex
*** ru-refcard.tex	20 Jan 2007 23:25:56 -0000	1.12
--- ru-refcard.tex	20 Aug 2007 09:58:30 -0000
***************
*** 518,524 ****
  \end{document}
  \f
  % Local variables:
! % compile-command: "latex ru-refcard"
  % coding: cyrillic-koi8
  % End:
  
--- 518,524 ----
  \end{document}
  \f
  % Local variables:
! % compile-command: "pdflatex ru-refcard"
  % coding: cyrillic-koi8
  % End:
  
Index: sk-dired-ref.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/sk-dired-ref.tex,v
retrieving revision 1.13
diff -c -r1.13 sk-dired-ref.tex
*** sk-dired-ref.tex	26 Jul 2007 05:26:06 -0000	1.13
--- sk-dired-ref.tex	20 Aug 2007 09:58:30 -0000
***************
*** 23,35 ****
  % Boston, MA 02110-1301, USA.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  %**start of header
  
  \newcount\columnsperpage
  
  \columnsperpage=2
  
  % This file is intended to be processed by plain TeX (TeX82).
  % The reference card looks OK with 2 columns per page, portrait mode.
  % I haven't tried it with 3 columns per page.
--- 23,42 ----
  % Boston, MA 02110-1301, USA.
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.
  %**start of header
  
  \newcount\columnsperpage
  
  \columnsperpage=2
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
+ % Nothing else needs to be changed.
  % This file is intended to be processed by plain TeX (TeX82).
  % The reference card looks OK with 2 columns per page, portrait mode.
  % I haven't tried it with 3 columns per page.
Index: sk-refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/sk-refcard.tex,v
retrieving revision 1.16
diff -c -r1.16 sk-refcard.tex
*** sk-refcard.tex	26 Jul 2007 05:26:06 -0000	1.16
--- sk-refcard.tex	20 Aug 2007 09:58:30 -0000
***************
*** 7,16 ****
  \newcount\columnsperpage
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  
  \columnsperpage=1
  
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
  
--- 7,23 ----
  \newcount\columnsperpage
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.
  
  \columnsperpage=1
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
+ % Nothing else needs to be changed.
  % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
  
Index: sk-survival.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/sk-survival.tex,v
retrieving revision 1.10
diff -c -r1.10 sk-survival.tex
*** sk-survival.tex	26 Jul 2007 05:26:06 -0000	1.10
--- sk-survival.tex	20 Aug 2007 09:58:30 -0000
***************
*** 21,26 ****
--- 21,32 ----
    \endinput
  \fi
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(0)
+ 
  % Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
  %   2006, 2007  Free Software Foundation, Inc.
  
Index: survival.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/survival.tex,v
retrieving revision 1.9
diff -c -r1.9 survival.tex
*** survival.tex	26 Jul 2007 05:26:06 -0000	1.9
--- survival.tex	20 Aug 2007 09:58:30 -0000
***************
*** 25,30 ****
--- 25,36 ----
    \endinput
  \fi
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(1)
+ 
  % Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
  %   2006, 2007  Free Software Foundation, Inc.
  
***************
*** 410,416 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex survival"
  % End:
  
  % arch-tag: 4f9a0562-617b-4843-aee1-450c41d6b22c
--- 416,422 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex survival"
  % End:
  
  % arch-tag: 4f9a0562-617b-4843-aee1-450c41d6b22c
Index: vipcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/vipcard.tex,v
retrieving revision 1.9
diff -c -r1.9 vipcard.tex
*** vipcard.tex	30 Jul 2007 05:33:27 -0000	1.9
--- vipcard.tex	20 Aug 2007 09:58:31 -0000
***************
*** 3,12 ****
  \newcount\columnsperpage
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  
  \columnsperpage=1
  
  % Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005,
  %   2006, 2007  Free Software Foundation, Inc.
  
--- 3,19 ----
  \newcount\columnsperpage
  
  % This file can be printed with 1, 2, or 3 columns per page (see below).
! % Specify how many you want here.
  
  \columnsperpage=1
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(1)
+ 
+ % Nothing else needs to be changed.
  % Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005,
  %   2006, 2007  Free Software Foundation, Inc.
  
***************
*** 678,684 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex refcard"
  % End:
  
  % arch-tag: 342a9548-4de4-499d-b864-74fb426b6729
--- 685,691 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex vipcard"
  % End:
  
  % arch-tag: 342a9548-4de4-499d-b864-74fb426b6729
Index: viperCard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/viperCard.tex,v
retrieving revision 1.10
diff -c -r1.10 viperCard.tex
*** viperCard.tex	30 Jul 2007 05:33:27 -0000	1.10
--- viperCard.tex	20 Aug 2007 09:58:31 -0000
***************
*** 3,12 ****
  \newcount\columnsperpage
  
  % This file can be printed with 1 or 2 columns per page (see below).
! % Specify how many you want here.  Nothing else needs to be changed.
  
  \columnsperpage=2
  
  % Copyright (C) 1995, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
  
--- 3,19 ----
  \newcount\columnsperpage
  
  % This file can be printed with 1 or 2 columns per page (see below).
! % Specify how many you want here.
  
  \columnsperpage=2
  
+ % PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
+ % a landscape layout.
+ 
+ \input pdflayout.sty
+ \pdflayout=(1)
+ 
+ % Nothing else needs to be changed.
  % Copyright (C) 1995, 1996, 1997, 2001, 2002, 2003, 2004,
  %   2005, 2006, 2007  Free Software Foundation, Inc.
  
***************
*** 743,749 ****
  \bye
  \f
  % Local variables:
! % compile-command: "tex viperCard"
  % End:
  
  % arch-tag: e287b45c-4c5e-4bf9-ae28-ead4cd9f68e3
--- 750,756 ----
  \bye
  \f
  % Local variables:
! % compile-command: "pdftex viperCard"
  % End:
  
  % arch-tag: e287b45c-4c5e-4bf9-ae28-ead4cd9f68e3
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	20 Aug 2007 09:58:31 -0000
***************
*** 23,51 ****
  
  ## Top-level targets.
  
! ## PS files included with Emacs.
! 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.
  
! ## FIXME the sk-*.tex files say to use csplain, but were not
! ## traditionally in this rule. Fix the doc or the rule.
! cs-refcard.dvi cs-dired-ref.dvi cs-survival.dvi: %.dvi:	%.tex
  	csplain $<
  
  pl-refcard.dvi: %.dvi: %.tex
--- 23,96 ----
  
  ## Top-level targets.
  
! ## PDF files that are included with Emacs.
! all: pdf
  
+ pdf: refcards_pdf dired-refcards_pdf misc-refcards_pdf
  
! ps: refcards_ps dired-refcards_ps misc-refcards_ps
  
! REFCARDS_PDF = refcard.pdf cs-refcard.pdf de-refcard.pdf fr-refcard.pdf \
!             pl-refcard.pdf pt-br-refcard.pdf ru-refcard.pdf sk-refcard.pdf
! refcards_pdf: ${REFCARDS_PDF}
! refcards_ps: ${REFCARDS_PDF:.pdf=.ps}
  
! DIRED-REFCARDS_PDF = dired-ref.pdf cs-dired-ref.pdf fr-drdref.pdf sk-dired-ref.pdf
! dired-refcards_pdf: ${DIRED-REFCARDS_PDF}
! dired-refcards_ps: ${DIRED-REFCARDS_PDF:.pdf=.ps}
  
! MISC-REFCARDS_PDF = calccard.pdf gnus-booklet.pdf gnus-refcard.pdf orgcard.pdf
! misc-refcards_pdf: ${MISC-REFCARDS_PDF}
! misc-refcards_ps: ${MISC-REFCARDS_PDF:.pdf=.ps}
! 
! 
! ## Following files are not included with Emacs.
! SURVIVAL-CARDS_PDF = survival.pdf cs-survival.pdf sk-survival.pdf
! survival-cards_pdf: ${SURVIVAL-CARDS_PDF}
! survival-cards_ps: ${SURVIVAL-CARDS_PDF:.pdf=.ps}
! 
! VIPER-CARDS_PDF = vipcard.pdf viperCard.pdf
! viper-cards_pdf: ${VIPER-CARDS_PDF}
! viper-cards_ps: ${VIPER-CARDS_PDF:.pdf=.ps}
! 
! 
! ## PDF files.
! 
! ## The page layout (a4/letter) is written directly in the .tex files.
! 
! cs-refcard.pdf cs-dired-ref.pdf cs-survival.pdf sk-refcard.pdf \
! sk-dired-ref.pdf sk-survival.pdf: %.pdf:	%.tex
! 	csplain "\pdfoutput=1\input $<"
! 
! pl-refcard.pdf: %.pdf: %.tex
! 	if ! kpsewhich -format=fmt mex > /dev/null; then \
! 	  echo "No mex format found."; false; \
! 	fi
! 	pdftex $<
! 
! ru-refcard.pdf: %.pdf: %.tex
! 	pdflatex $<
! 
! gnus-logo.pdf: %.pdf: %.eps
! 	ps2pdf $<
! 
! gnus-refcard.pdf: %.pdf: %.tex gnus-logo.pdf 
! 	pdflatex $<
! 
! gnus-booklet.pdf: gnus-refcard.tex gnus-logo.pdf
! 	pdflatex '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}'
! 	mv gnus-refcard.pdf $@
! 
! ## Everything not explicitly listed above.
! %.pdf: %.tex
! 	pdftex $<
  
  
  
  ## dvi files.
  
! cs-refcard.dvi cs-dired-ref.dvi cs-survival.dvi sk-refcard.dvi \
! sk-dired-ref.dvi sk-survival.dvi: %.dvi:	%.tex
  	csplain $<
  
  pl-refcard.dvi: %.dvi: %.tex
***************
*** 93,98 ****
--- 138,144 ----
  	dvips -t letter $< -o $@
  
  
+ 
  .PHONY: mostlyclean clean distclean maintainer-clean unlock relock
  
  mostlyclean:

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


It'd be great if some of you with a complete TeX distribution (mine
doesn't have MeX, and pdfcsplain just fails), could test it.

Thanks !

-- 
 |   Michaël `Micha' Cadilhac       |   An error can become exact            |
 |   http://michael.cadilhac.name   |     as the one who committed it        |
 |   JID/MSN:                       |  made a mistake or not.                |
 `----  michael.cadilhac@gmail.com  |          -- Pierre Dac            -  --'

[-- 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-20  9:58 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
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 [this message]
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

  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=873aye8r3k.fsf@lrde.org \
    --to=michael@cadilhac.name \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).