diff options
author | Werner LEMBERG <wl@gnu.org> | 2003-03-14 13:13:57 +0000 |
---|---|---|
committer | Werner LEMBERG <wl@gnu.org> | 2003-03-14 13:13:57 +0000 |
commit | 1311c6dcc89abf6363255935b0afd2643712b5c8 (patch) | |
tree | b25c473b60e654d35bf102227053c2145e1afb6e /font/devdvi | |
parent | c078a0203c41984e2d311d397a865f9ffe23962b (diff) | |
download | groff-git-1311c6dcc89abf6363255935b0afd2643712b5c8.tar.gz |
Add options -p and -l to grodvi.
* src/devices/grodvi/dvi.cc: Include paper.h.
(landscape_flag, user_paper_length, user_paper_width): New global
variables.
(dvi_printer::begin_page): Emit `papersize' special.
Set color after initialization of `cur_h' and `cur_v'.
(main): Add options `-l' and `-p'.
* font/devdvi/Makefile.sub (DESC): Set `papersize'.
* src/devices/grodvi/grodvi.man, NEWS: Updated.
* src/devices/grops/psrm.cc (valid_input_table): Fixed.
* src/devices/grops/grops.man: Move documentation of .PSPIC to...
* man/groff_tmac.man: This man page.
* man/groff_font.man: Declare `paperwidth' and `paperlength' as
deprecated.
* tmac/X.tmac: Don't load pspic.tmac.
Diffstat (limited to 'font/devdvi')
-rw-r--r-- | font/devdvi/Makefile.sub | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/font/devdvi/Makefile.sub b/font/devdvi/Makefile.sub index f65361523..e3d09a259 100644 --- a/font/devdvi/Makefile.sub +++ b/font/devdvi/Makefile.sub @@ -14,4 +14,9 @@ CLEANADD=DESC DESC: DESC.in cat $(srcdir)/DESC.in >DESC + if test "$(PAGE)" = A4; then \ + echo "papersize a4" >>DESC; \ + else \ + echo "papersize letter" >>DESC; \ + fi test -z '$(DVIPRINT)' || echo print '$(DVIPRINT)' >>DESC |