summaryrefslogtreecommitdiff
path: root/tmac/a4.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-03-12 22:59:30 +0000
committerwlemb <wlemb>2003-03-12 22:59:30 +0000
commit3aa5f041823825d124ba3dfa4965acee713bc45c (patch)
treedea10cc8cc2e8c6fe80a21ad7586c94b167dd28e /tmac/a4.tmac
parenta0d84a8c7ac9d3c7aea01fbb9e96c688bfa4093a (diff)
downloadgroff-3aa5f041823825d124ba3dfa4965acee713bc45c.tar.gz
Make variable `pr' local to libdriver/input.cc. Based on a patch
by Bernd Warken <bwarken@mayn.de>. * src/include/driver.h (pr): Removed. * src/libs/libdriver/input.cc (pr): New global variable. (do_file): Deallocate `pr'. * src/libs/libdriver/printer.cc (pr): Removed. * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc (main): Don't delete `pr'. * tmac/a4.tmac, tmac/composite.tmac: Use `.do'. * tmac/papersize.tmac: New file. * tmac/troffrc: Include `papersize.tmac'. * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'. * tmac/an-old.tmac: Set LT to LL by default. * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man, doc/groff.texinfo: Updated. * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing bug which caused all odd iso papers to have wrong dimensions. * src/devices/grops/ps.cc (user_paper_width): New global variable. (main) <'p'>: Set `user_paper_width' also. (ps_printer::media_width, ps_printer::media_height): Use values given with option `-p'.
Diffstat (limited to 'tmac/a4.tmac')
-rw-r--r--tmac/a4.tmac18
1 files changed, 13 insertions, 5 deletions
diff --git a/tmac/a4.tmac b/tmac/a4.tmac
index 5001939d..80c944d0 100644
--- a/tmac/a4.tmac
+++ b/tmac/a4.tmac
@@ -1,12 +1,20 @@
.\" a4.tmac
.\"
.\" Set up groff for A4 paper. Must be called before any other macro
-.\" package. For correct PS output, you must also set the
-.\" `paperlength' keyword in devps/DESC to 841890 in case groff hasn't
-.\" guessed it correctly during configuration.
+.\" package.
+.\"
+.\" Some output drivers need an additional command line switch `-p' to
+.\" override the default paper length set in the driver specific DESC
+.\" file.
+.\"
+.\" For example, use the following for PS output:
+.\"
+.\" groff -Tps -P-pa4 -ma4 -ms foo.ms > foo.ps
.
.pl 29.7c
.ll 21c-2i
.
-.\" for ms
-.if !rLL .nr LL \n[.l]u
+.\" for ms, mdoc, man
+.do if !r LL .nr LL \n[.l]u
+.
+.\" EOF