From 324f60ef7b58937d0d5cd91d92875ff98392539b Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 4 Mar 2010 19:01:38 -0800 Subject: [PATCH] Fix orgcard.tex pdf landscape format. * refcards/orgcard.tex: Use pdflayout.sty. * refcards/Makefile (orgcard.pdf): Special rule no longer needed. --- etc/ChangeLog | 5 +++++ etc/refcards/Makefile | 5 ----- etc/refcards/orgcard.tex | 7 +++++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/etc/ChangeLog b/etc/ChangeLog index 9fbdeabb6cd..5c5e62d4e33 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,8 @@ +2010-03-05 Glenn Morris + + * refcards/orgcard.tex: Use pdflayout.sty. + * refcards/Makefile (orgcard.pdf): Special rule no longer needed. + 2010-03-02 Glenn Morris * refcards/Makefile: For cs- and sk-, use pdfcsplain if available. diff --git a/etc/refcards/Makefile b/etc/refcards/Makefile index c08a9b2cfab..c1bddd124d7 100644 --- a/etc/refcards/Makefile +++ b/etc/refcards/Makefile @@ -81,16 +81,11 @@ gnus-refcard.pdf: %.pdf: %.tex gnus-logo.pdf gnus-booklet.pdf: gnus-refcard.tex gnus-logo.pdf pdflatex -jobname=gnus-booklet '\def\booklettrue{}\def\letterpapertrue{}\input{gnus-refcard}' -## FIXME just pdftex produces portrait rather than landscape. -orgcard.pdf: orgcard.ps - ps2pdf $< - ## Everything not explicitly listed above. %.pdf: %.tex pdftex $< - ## dvi files. cs-refcard.dvi cs-dired-ref.dvi cs-survival.dvi sk-refcard.dvi \ diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex index ff498236467..c35cafbba52 100644 --- a/etc/refcards/orgcard.tex +++ b/etc/refcards/orgcard.tex @@ -9,14 +9,17 @@ % 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 +% 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, 2008, 2009, 2010 Free Software Foundation, Inc. -- 2.39.2