Mercurial > emacs
annotate etc/refcards/pdflayout.sty @ 111986:faa4a1c986c6
Merge changes made in Gnus trunk.
nnimap.el (nnimap-wait-for-response): Always look (at least) at the previous line.
nnimap.el (nnimap-quirk): New function.
(nnimap-retrieve-group-data-early): Use it.
(nnimap-quirks): New alist.
gnus.texi (Foreign Groups): Added clarification of foreign groups.
gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for copying read-ness to the backends.
gnus-group.el (gnus-group-kill-group): Notify the backend that the group has been killed.
(gnus-group-yank-group): Ditto.
gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
nnir.el: Improve customizations.
gnus.texi (Archived Messages): Removed outdated comment and text.
nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own function.
(nnfolder-request-expire-articles): Save all the buffers after doing expiry.
nnmail.el (nnmail-expiry-target-group): Revert the "all articles are the last article", since that led to serious performance regressions when expiring nnml groups.
gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML fetching stops when Gnus exits.
gnus-srvr.el: Avoid passing nil regexp argument to delete-matching-lines.
auth-source.el (auth-source-gpg-encrypt-to): New variable to set the list of recipient keys, or use symmetric encryption if not a list.
(auth-source-create): Use it to make `epa-file-encrypt-to' local for an EPA override, replacing the call to `netrc-store-data'.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Thu, 16 Dec 2010 22:22:28 +0000 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
rev | line source |
---|---|
106815 | 1 % Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
82859
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
2 |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
3 % This file is part of GNU Emacs. |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
4 |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87913
diff
changeset
|
5 % GNU Emacs is free software: you can redistribute it and/or modify |
82859
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
6 % it under the terms of the GNU General Public License as published by |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87913
diff
changeset
|
7 % the Free Software Foundation, either version 3 of the License, or |
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87913
diff
changeset
|
8 % (at your option) any later version. |
82859
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
9 |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
10 % GNU Emacs is distributed in the hope that it will be useful, |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
11 % but WITHOUT ANY WARRANTY; without even the implied warranty of |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
12 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
13 % GNU General Public License for more details. |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
14 |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
15 % You should have received a copy of the GNU General Public License |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87913
diff
changeset
|
16 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
82859
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
17 |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
18 % This file defines `\pdflayout': |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
19 % - \pdflayout=(0) is A4 portrait, |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
20 % - \pdflayout=(1) is letter (US) portrait, |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
21 % - \pdflayout=(0l) is A4 landscape. |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
22 % - \pdflayout=(1l) is letter (US) landscape, |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
23 |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
24 \input ifpdf.sty |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
25 |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
26 \ifpdf |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
27 \def\pdflayout=(#1#2){ |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
28 \if0#1 % A4 |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
29 \pdfpagewidth=21cm |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
30 \pdfpageheight=29.7cm |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
31 \else\if1#1 % Letter |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
32 \pdfpagewidth=8.5in |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
33 \pdfpageheight=11in |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
34 \fi\fi |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
35 \if l#2 % Landscape |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
36 \edef\oldwidth{\the\pdfpagewidth} |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
37 \pdfpagewidth=\pdfpageheight |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
38 \pdfpageheight=\oldwidth |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
39 \fi |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
40 } |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
41 \else |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
42 \def\pdflayout=(#1#2){} |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
43 \fi |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
44 |
393e0dc93fa0
New. Handle PDF layouts through \pdfpagewidth and \pdfpageheight.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
diff
changeset
|
45 % archtag: 63c938a5-cc78-4964-962d-603c90d34afc |
82894 | 46 |
47 % arch-tag: 3464d27c-1439-473a-bc47-a7c501e8c156 |