diff options
| author | Glenn Morris | 2012-08-22 13:55:19 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-08-22 13:55:19 -0400 |
| commit | 141562ffa6320154c7455b99028f74d40af9ee80 (patch) | |
| tree | c0fab4952ed43133d15d8d61e7cdefc5c15e630b | |
| parent | 1d0f71d37a0965e098075e8410c65a95011255ff (diff) | |
| download | emacs-141562ffa6320154c7455b99028f74d40af9ee80.tar.gz emacs-141562ffa6320154c7455b99028f74d40af9ee80.zip | |
* lisp/calendar/cal-tex.el (cal-tex-weekly-common): Restore leading blank page.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/calendar/cal-tex.el | 20 |
2 files changed, 18 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 39d1e94dbf5..c45fc114e5c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-08-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * calendar/cal-tex.el (cal-tex-weekly-common): | ||
| 4 | Restore leading blank page. | ||
| 5 | |||
| 1 | 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change) | 6 | 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change) |
| 2 | 7 | ||
| 3 | * misc.el (forward-to-word, backward-to-word): Activate or extend | 8 | * misc.el (forward-to-word, backward-to-word): Activate or extend |
diff --git a/lisp/calendar/cal-tex.el b/lisp/calendar/cal-tex.el index d8d2a09c871..9c01ab40c0c 100644 --- a/lisp/calendar/cal-tex.el +++ b/lisp/calendar/cal-tex.el | |||
| @@ -1080,8 +1080,8 @@ shown are hard-coded to 8-12, 13-17." | |||
| 1080 | (cal-tex-longday "weekend" "0.8in") | 1080 | (cal-tex-longday "weekend" "0.8in") |
| 1081 | (insert cal-tex-lefthead) | 1081 | (insert cal-tex-lefthead) |
| 1082 | (cal-tex-longday "leftday" "1.85in")) | 1082 | (cal-tex-longday "leftday" "1.85in")) |
| 1083 | (cal-tex-preamble "twoside,12pt") | 1083 | (cal-tex-preamble "twoside,12pt") |
| 1084 | (insert "\\textwidth 7in | 1084 | (insert "\\textwidth 7in |
| 1085 | \\textheight 10.5in | 1085 | \\textheight 10.5in |
| 1086 | \\oddsidemargin 0in | 1086 | \\oddsidemargin 0in |
| 1087 | \\evensidemargin 0in | 1087 | \\evensidemargin 0in |
| @@ -1090,13 +1090,19 @@ shown are hard-coded to 8-12, 13-17." | |||
| 1090 | \\headsep 0.125in | 1090 | \\headsep 0.125in |
| 1091 | \\footskip .125in | 1091 | \\footskip .125in |
| 1092 | ") | 1092 | ") |
| 1093 | (insert cal-tex-righthead) | 1093 | (insert cal-tex-righthead) |
| 1094 | (cal-tex-longday "rightday" "2.75in") | 1094 | (cal-tex-longday "rightday" "2.75in") |
| 1095 | (cal-tex-longday "weekend" "1.8in") | 1095 | (cal-tex-longday "weekend" "1.8in") |
| 1096 | (insert cal-tex-lefthead) | 1096 | (insert cal-tex-lefthead) |
| 1097 | (cal-tex-longday "leftday" "2.75in")) | 1097 | (cal-tex-longday "leftday" "2.75in")) |
| 1098 | (cal-tex-b-document) | 1098 | (cal-tex-b-document) |
| 1099 | (cal-tex-cmd "\\pagestyle" "empty") | 1099 | (cal-tex-cmd "\\pagestyle" "empty") |
| 1100 | ;; Let's assume this is something to with twopage documents. | ||
| 1101 | ;; It has the downside that we start with a blank page. | ||
| 1102 | ;; It doesn't make obvious sense when oddside and evenside margins | ||
| 1103 | ;; are the same (non-filofax), but consider the left and right | ||
| 1104 | ;; versions of various functions as applicable to even and odd pages. | ||
| 1105 | (cal-tex-newpage) | ||
| 1100 | (dotimes (i n) | 1106 | (dotimes (i n) |
| 1101 | (insert "\\lefthead") | 1107 | (insert "\\lefthead") |
| 1102 | (cal-tex-arg | 1108 | (cal-tex-arg |