[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How are Windows users supposed to print the PostScript refcards?
From: |
Michaël Cadilhac |
Subject: |
Re: How are Windows users supposed to print the PostScript refcards? |
Date: |
Thu, 23 Aug 2007 12:00:14 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
address@hidden (Michaël Cadilhac) writes:
> Glenn Morris <address@hidden> 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.
Repost with the new etc/ arborescence :
*** /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/refcards/calccard.tex,v
retrieving revision 1.1
diff -c -r1.1 calccard.tex
*** calccard.tex 22 Aug 2007 07:23:37 -0000 1.1
--- calccard.tex 23 Aug 2007 09:58:27 -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
% Local variables:
! % compile-command: "tex calccard"
% End:
% arch-tag: a2764f34-ec23-4083-bd5c-53f9e70a5da9
--- 673,679 ----
\bye
% 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/refcards/cs-dired-ref.tex,v
retrieving revision 1.1
diff -c -r1.1 cs-dired-ref.tex
*** cs-dired-ref.tex 22 Aug 2007 07:23:50 -0000 1.1
--- cs-dired-ref.tex 23 Aug 2007 09:58:28 -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/refcards/cs-refcard.tex,v
retrieving revision 1.1
diff -c -r1.1 cs-refcard.tex
*** cs-refcard.tex 22 Aug 2007 07:24:03 -0000 1.1
--- cs-refcard.tex 23 Aug 2007 09:58:28 -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/refcards/cs-survival.tex,v
retrieving revision 1.1
diff -c -r1.1 cs-survival.tex
*** cs-survival.tex 22 Aug 2007 07:24:09 -0000 1.1
--- cs-survival.tex 23 Aug 2007 09:58:28 -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/refcards/de-refcard.tex,v
retrieving revision 1.1
diff -c -r1.1 de-refcard.tex
*** de-refcard.tex 22 Aug 2007 07:24:22 -0000 1.1
--- de-refcard.tex 23 Aug 2007 09:58:28 -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
% Local variables:
! % compile-command: "tex de-refcard"
% End:
% arch-tag: af0a2666-f289-49f1-a9cc-cedab9783314
--- 689,695 ----
\bye
% 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/refcards/dired-ref.tex,v
retrieving revision 1.1
diff -c -r1.1 dired-ref.tex
*** dired-ref.tex 22 Aug 2007 07:24:35 -0000 1.1
--- dired-ref.tex 23 Aug 2007 09:58:29 -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/refcards/fr-drdref.tex,v
retrieving revision 1.1
diff -c -r1.1 fr-drdref.tex
*** fr-drdref.tex 22 Aug 2007 07:24:48 -0000 1.1
--- fr-drdref.tex 23 Aug 2007 09:58:29 -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/refcards/fr-refcard.tex,v
retrieving revision 1.1
diff -c -r1.1 fr-refcard.tex
*** fr-refcard.tex 22 Aug 2007 07:25:01 -0000 1.1
--- fr-refcard.tex 23 Aug 2007 09:58:29 -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,
***************
*** 82,90 ****
\centerline{traduction fran\c{c}aise de Micha\"el Cadilhac}
% previously: Eric Jacoboni
! Vous pouvez faire et distribuer des copies de cette carte, pourvu que
! la note de copyright et cette note de permission soient conserv\'ees sur
! toutes les copies.
Pour des copies du manuel GNU Emacs, \'ecrivez \`a la Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
--- 82,90 ----
\centerline{traduction fran\c{c}aise de Micha\"el Cadilhac}
% previously: Eric Jacoboni
! Vous pouvez faire et distribuer des copies de cette carte, modifiée ou
! non, pourvu que la note de copyright et cette note de permission
! soient conserv\'ees sur toutes les copies.
Pour des copies du manuel GNU Emacs, \'ecrivez \`a la Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
***************
*** 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}
***************
*** 649,656 ****
Exemples de d\'efinition globale de touches en Emacs Lisp :
\beginexample%
! (global-set-key "\\C-cg" 'goto-line)
! (global-set-key "\\M-\#" 'query-replace-regexp)
\endexample
\section{\'Ecriture de commandes}
--- 649,656 ----
Exemples de d\'efinition globale de touches en Emacs Lisp :
\beginexample%
! (global-set-key (kbd "C-c g") 'search-forward)
! (global-set-key (kbd "M-\#") 'query-replace-regexp)
\endexample
\section{\'Ecriture de commandes}
***************
*** 683,689 ****
\bye
% Local variables:
! % compile-command: "tex fr-refcard"
% End:
% arch-tag: 39d6dc6e-1a4a-4071-84db-4719d4e9e40d
--- 683,689 ----
\bye
% 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/refcards/fr-survival.tex,v
retrieving revision 1.1
diff -c -r1.1 fr-survival.tex
*** fr-survival.tex 22 Aug 2007 07:25:07 -0000 1.1
--- fr-survival.tex 23 Aug 2007 09:58:29 -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
% Local variables:
! % compile-command: "tex survival"
% End:
% arch-tag: 2fb4e93f-8bfa-4ab4-bc6d-b475131d766a
--- 419,425 ----
\bye
% Local variables:
! % compile-command: "pdftex survival"
% End:
% arch-tag: 2fb4e93f-8bfa-4ab4-bc6d-b475131d766a
Index: orgcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/refcards/orgcard.tex,v
retrieving revision 1.1
diff -c -r1.1 orgcard.tex
*** orgcard.tex 22 Aug 2007 07:25:48 -0000 1.1
--- orgcard.tex 23 Aug 2007 09:58:29 -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
% Local variables:
! % compile-command: "tex refcard"
% End:
% arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290
--- 781,787 ----
\bye
% Local variables:
! % compile-command: "pdftex refcard"
% End:
% arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290
Index: pl-refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/refcards/pl-refcard.tex,v
retrieving revision 1.1
diff -c -r1.1 pl-refcard.tex
*** pl-refcard.tex 22 Aug 2007 07:26:01 -0000 1.1
--- pl-refcard.tex 23 Aug 2007 09:58:30 -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
% Local variables:
! % compile-command: "tex pl-refcard"
% End:
% arch-tag: 19d15a16-70be-40c8-ad91-88899aac32a9
--- 1002,1008 ----
\bye
% 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/refcards/pt-br-refcard.tex,v
retrieving revision 1.1
diff -c -r1.1 pt-br-refcard.tex
*** pt-br-refcard.tex 22 Aug 2007 07:26:14 -0000 1.1
--- pt-br-refcard.tex 23 Aug 2007 09:58:30 -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
% Local variables:
! % compile-command: "tex pt-br-refcard"
% coding: iso-latin-1
% End:
--- 687,693 ----
\bye
% Local variables:
! % compile-command: "pdftex pt-br-refcard"
% coding: iso-latin-1
% End:
Index: refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/refcards/refcard.tex,v
retrieving revision 1.2
diff -c -r1.2 refcard.tex
*** refcard.tex 22 Aug 2007 20:45:38 -0000 1.2
--- refcard.tex 23 Aug 2007 09:58:30 -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
% Local variables:
! % compile-command: "tex refcard"
% End:
% arch-tag: d67bdf5d-b77c-44eb-a22e-f4f7d25174d2
--- 679,685 ----
\bye
% Local variables:
! % compile-command: "pdftex refcard"
% End:
% arch-tag: d67bdf5d-b77c-44eb-a22e-f4f7d25174d2
Index: ru-refcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/refcards/ru-refcard.tex,v
retrieving revision 1.1
diff -c -r1.1 ru-refcard.tex
*** ru-refcard.tex 22 Aug 2007 07:26:40 -0000 1.1
--- ru-refcard.tex 23 Aug 2007 09:58:31 -0000
***************
*** 518,524 ****
\end{document}
% Local variables:
! % compile-command: "latex ru-refcard"
% coding: cyrillic-koi8
% End:
--- 518,524 ----
\end{document}
% Local variables:
! % compile-command: "pdflatex ru-refcard"
% coding: cyrillic-koi8
% End:
Index: sk-dired-ref.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/refcards/sk-dired-ref.tex,v
retrieving revision 1.1
diff -c -r1.1 sk-dired-ref.tex
*** sk-dired-ref.tex 22 Aug 2007 07:26:53 -0000 1.1
--- sk-dired-ref.tex 23 Aug 2007 09:58:31 -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/refcards/sk-refcard.tex,v
retrieving revision 1.1
diff -c -r1.1 sk-refcard.tex
*** sk-refcard.tex 22 Aug 2007 07:27:06 -0000 1.1
--- sk-refcard.tex 23 Aug 2007 09:58:31 -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/refcards/sk-survival.tex,v
retrieving revision 1.1
diff -c -r1.1 sk-survival.tex
*** sk-survival.tex 22 Aug 2007 07:27:12 -0000 1.1
--- sk-survival.tex 23 Aug 2007 09:58:31 -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/refcards/survival.tex,v
retrieving revision 1.1
diff -c -r1.1 survival.tex
*** survival.tex 22 Aug 2007 07:27:41 -0000 1.1
--- survival.tex 23 Aug 2007 09:58:31 -0000
***************
*** 3,10 ****
% Title: GNU Emacs Survival Card
% Author: Wlodek Bzyl <address@hidden>
%
! % $Revision: 1.1 $
! % $Date: 2007/08/22 07:27:41 $
%
%**start of header
--- 3,10 ----
% Title: GNU Emacs Survival Card
% Author: Wlodek Bzyl <address@hidden>
%
! % $Revision: 1.8 $
! % $Date: 2000/05/05 22:00:48 $
%
%**start of header
***************
*** 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
% Local variables:
! % compile-command: "tex survival"
% End:
% arch-tag: 4f9a0562-617b-4843-aee1-450c41d6b22c
--- 416,422 ----
\bye
% Local variables:
! % compile-command: "pdftex survival"
% End:
% arch-tag: 4f9a0562-617b-4843-aee1-450c41d6b22c
Index: vipcard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/refcards/vipcard.tex,v
retrieving revision 1.1
diff -c -r1.1 vipcard.tex
*** vipcard.tex 22 Aug 2007 07:27:53 -0000 1.1
--- vipcard.tex 23 Aug 2007 09:58:32 -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
% Local variables:
! % compile-command: "tex refcard"
% End:
% arch-tag: 342a9548-4de4-499d-b864-74fb426b6729
--- 685,691 ----
\bye
% Local variables:
! % compile-command: "pdftex vipcard"
% End:
% arch-tag: 342a9548-4de4-499d-b864-74fb426b6729
Index: viperCard.tex
===================================================================
RCS file: /sources/emacs/emacs/etc/refcards/viperCard.tex,v
retrieving revision 1.1
diff -c -r1.1 viperCard.tex
*** viperCard.tex 22 Aug 2007 07:27:59 -0000 1.1
--- viperCard.tex 23 Aug 2007 09:58:32 -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
% Local variables:
! % compile-command: "tex viperCard"
% End:
% arch-tag: e287b45c-4c5e-4bf9-ae28-ead4cd9f68e3
--- 750,756 ----
\bye
% Local variables:
! % compile-command: "pdftex viperCard"
% End:
% arch-tag: e287b45c-4c5e-4bf9-ae28-ead4cd9f68e3
Index: Makefile
===================================================================
RCS file: /sources/emacs/emacs/etc/refcards/Makefile,v
retrieving revision 1.1
diff -c -r1.1 Makefile
*** Makefile 22 Aug 2007 08:16:20 -0000 1.1
--- Makefile 23 Aug 2007 09:58:32 -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
> 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 !
Another question: should the PDF be added to the repository? If it's the
case, I just don't have all the necessary artillery (MeX, csplain) for
all the files.
--
| Michaël `Micha' Cadilhac | Si les religions étaient aussi tolé- |
| http://michael.cadilhac.name | rantes qu'elles le prétendent, il y |
| JID/MSN: | a longtemps qu'il n'y en aurait plus |
`---- address@hidden | -- Moustic - --'
pgpRvgR9aKM2k.pgp
Description: PGP signature
- Re: How are Windows users supposed to print the PostScript refcards?, (continued)
- Re: How are Windows users supposed to print the PostScript refcards?, Michaël Cadilhac, 2007/08/17
- Re: How are Windows users supposed to print the PostScript refcards?, Michaël Cadilhac, 2007/08/19
- Re: How are Windows users supposed to print the PostScript refcards?, Sven Joachim, 2007/08/19
- Re: How are Windows users supposed to print the PostScript refcards?, Michaël Cadilhac, 2007/08/19
- Re: How are Windows users supposed to print the PostScript refcards?, Reiner Steib, 2007/08/19
- Re: How are Windows users supposed to print the PostScript refcards?, Reiner Steib, 2007/08/19
- Re: How are Windows users supposed to print the PostScript refcards?, Richard Stallman, 2007/08/17
- Re: How are Windows users supposed to print the PostScript refcards?, Glenn Morris, 2007/08/19
- Re: How are Windows users supposed to print the PostScript refcards?, Miles Bader, 2007/08/20
- Re: How are Windows users supposed to print the PostScript refcards?, Michaël Cadilhac, 2007/08/20
- Re: How are Windows users supposed to print the PostScript refcards?,
Michaël Cadilhac <=
- Re: How are Windows users supposed to print the PostScript refcards?, Michaël Cadilhac, 2007/08/26
- Re: How are Windows users supposed to print the PostScript refcards?, Glenn Morris, 2007/08/13
Re: How are Windows users supposed to print the PostScript refcards?, Eli Zaretskii, 2007/08/08