bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calendar: tex output does not fit on letter paper


From: Stephen Eglen
Subject: calendar: tex output does not fit on letter paper
Date: Tue, 6 Nov 2001 17:23:53 GMT

When using calendar to create .tex files, I have noted a problem with
the calender not fitting on letter paper:

emacs -q
M-x calendar
select a day, e.g. Nov 6, then:
M-x cal-tex-cursor-day (bound to "t d")

If I then run latex and dvips on the tex file produced, the top of the
page is cropped (the day "6" is missing) when viewed in gv and
selecting the "letter" size of paper.  The page should fit on 8.5 x 11
paper according to the doc string of cal-tex-cursor-day.

The same thing happens when using "t m" to get a monthtly view -- this
time the "November 2001" falls off the top of the page, and the days
of the week are cropped.

On a related note, the top of the latex file says:

%        This buffer was produced by cal-tex.el.
%        To print a calendar, type
%           M-x tex-buffer RET
%           M-x tex-print  RET

On the default setup, the tex-print command will print the .dvi file
created by tex-buffer using the variable "tex-dvi-print-command",
which is "lpr -d" by default.  On my machine, sending .dvi file to the
printer will print the .dvi verbatim, i.e. lots of junk pages.
Wouldn't it be safer to have the default value be something like
"dvips"?

Finally, the .tex files produced by cal-tex work are written for
latex2.09 -- should they now be upgraded to work with LaTeX2e?

Stephen

In GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
configured using `configure  --prefix=/usr/local'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: nil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]