diff options
author | wlemb <wlemb> | 2002-03-11 10:55:26 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2002-03-11 10:55:26 +0000 |
commit | 7dc818289c733115e78e2db269d3a1700f618399 (patch) | |
tree | 6f095f2b28179a5d7b65ca59a45317c1eeff07d5 | |
parent | 11b2f6077872bff4c6485498f2d118546e6d005d (diff) | |
download | groff-7dc818289c733115e78e2db269d3a1700f618399.tar.gz |
* tmac/pspic.tmac: Add support for -Tdvi.
* tmac/dvi.tmac: Include pspic.tmac.
* src/devices/grodvi/grodvi.man: Document it.
* NEWS: Updated.
* font/devlj4/generate/Makefile: Fix URL of metric files.
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | PROBLEMS | 4 | ||||
-rw-r--r-- | doc/groff.texinfo | 4 | ||||
-rw-r--r-- | font/devlj4/generate/Makefile | 4 | ||||
-rw-r--r-- | src/devices/grodvi/grodvi.man | 15 | ||||
-rw-r--r-- | tmac/dvi.tmac | 3 | ||||
-rw-r--r-- | tmac/pspic.tmac | 42 |
8 files changed, 77 insertions, 14 deletions
@@ -1,3 +1,16 @@ +2002-03-10 Werner LEMBERG <wl@gnu.org> + + * tmac/pspic.tmac: Add support for -Tdvi. + * tmac/dvi.tmac: Include pspic.tmac. + * src/devices/grodvi/grodvi.man: Document it. + * NEWS: Updated. + + * font/devlj4/generate/Makefile: Fix URL of metric files. + +2002-03-09 Werner LEMBERG <wl@gnu.org> + + * PROBLEMS: The static constructor bug has been fixed in z/OS V1R3. + 2002-03-09 Larry Kollar <kollar@alltel.net> * tmac/groff_ms.man: Add documentation for RS and RE macros. @@ -96,6 +96,10 @@ o The `-xwidth' specifier in the mdoc macro package has been removed. Its o A new macro `Ex' has been added to the mdoc macro package to document an exit status. +o The PSPIC macro has been extended to work with DVI output (`pspic.tmac' is + now automatically loaded for -Tdvi), using a dvips special to load the EPS + file. + o The trace.tmac package now traces calls to `am' also. Additionally, it works in compatibility mode. @@ -103,7 +107,7 @@ o `troff.1' has been split. Differences to UNIX troff are now documented in the new man page `groff_diff.7'. o `groff_mwww.1' has been renamed to `groff_www.1'. The file mwww.tmac - has been removed. + has been removed. o `groff_ms.7' has been completely rewritten. It now contains a complete reference to the ms macros. @@ -634,7 +634,9 @@ before starting the configure script. ---------------------------------------------------------------------- -* The configure script fails on OS/390 Unix. +* The configure script fails on OS/390 (z/OS) Unix. + +[This has been fixed in z/OS V1R3 (aka OS/390 R13).] There is a bug in the Language Environment (LE) whereby the test program for static destructors fails. You will see the message diff --git a/doc/groff.texinfo b/doc/groff.texinfo index 66f9c7a9..42829eab 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -6069,6 +6069,8 @@ hyphenation set to itself, and each upper-case letter version of itself. This request is ignored if it has no parameter. + +See the description of the @code{hpf} request above for more information. @endDefreq @cindex hyphenation margin (@code{hym}) @@ -9036,7 +9038,7 @@ The @code{als} request can make a macro have more than one name. This would be called as @Example -.vl $Id: groff.texinfo,v 1.103 2002/03/08 07:33:48 wlemb Exp $ +.vl $Id: groff.texinfo,v 1.104 2002/03/11 10:55:26 wlemb Exp $ @endExample @endDefesc diff --git a/font/devlj4/generate/Makefile b/font/devlj4/generate/Makefile index c11dbee6..2ce6f5f6 100644 --- a/font/devlj4/generate/Makefile +++ b/font/devlj4/generate/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1994 Free Software Foundation, Inc. +# Copyright (C) 1994, 2002 Free Software Foundation, Inc. # Written by James Clark (jjc@jclark.com) # # This file is part of groff. @@ -20,7 +20,7 @@ # Directory containing Autofont TFM files. # The TFM files I used are available for ftp as # -# ftp://ftp.hp.com/pub/faxes/software/tfmlj4.exe +# ftp://ftp.hp.com/pub/faxes/software/tfmlj4p.exe # # This is a self-extracting MS-DOS archive (in ZIP format). diff --git a/src/devices/grodvi/grodvi.man b/src/devices/grodvi/grodvi.man index 3704c2ec..9d65e661 100644 --- a/src/devices/grodvi/grodvi.man +++ b/src/devices/grodvi/grodvi.man @@ -73,7 +73,7 @@ The dvi file generated by can be printed by any correctly-written dvi driver. . The troff drawing primitives are implemented -using the tpic version 2 specials. +using the tpic version\~2 specials. . If the driver does not support these, the .B \[rs]D @@ -107,6 +107,19 @@ in \*(tx; may not contain a newline. . .LP +For inclusion of EPS image files, +.B grodvi +loads +.B pspic.tmac +automatically, providing the +.B PSPIC +macro. +. +Please check +.B grops (@MAN1EXT@) +for a detailed description of this macro. +. +.LP Font files for .B grodvi can be created from tfm files using diff --git a/tmac/dvi.tmac b/tmac/dvi.tmac index 5dc374c8..1ed45706 100644 --- a/tmac/dvi.tmac +++ b/tmac/dvi.tmac @@ -716,6 +716,9 @@ D\v'-.33m'\s0\v'.33m' . .cp \n(_C . +.if !\n(.C \ +. mso pspic.tmac +. .do ie '\[char97]'a' \ . do mso latin1.tmac .el \ diff --git a/tmac/pspic.tmac b/tmac/pspic.tmac index 30fa61db..6382d917 100644 --- a/tmac/pspic.tmac +++ b/tmac/pspic.tmac @@ -2,8 +2,9 @@ .\" .\" Define the PSPIC macro. .\" -.\" When used other than with -Tps, it will draw a box around where +.\" When used other than with -Tps or -Tdvi, it will draw a box around where .\" the picture would go. +. .de PSPIC . nr ps-offset-mode 0 . ie '\\$1'-L' \{\ @@ -55,16 +56,37 @@ . . ne (\\n[ps-desht]u + 1v) . -. if (\\n[ps-offset-mode] = 0) \ +. if (\\n[ps-offset-mode] == 0) \ . nr ps-offset (\\n[.l] - \\n[.i] - \\n[ps-deswid] / 2) -. if (\\n[ps-offset-mode] = 1) \ +. if (\\n[ps-offset-mode] == 1) \ . nr ps-offset 0 -. if (\\n[ps-offset-mode] = 2) \ +. if (\\n[ps-offset-mode] == 2) \ . nr ps-offset (\\n[.l] - \\n[.i] - \\n[ps-deswid]) -. ie (\\n[.$] >= 3) \ -. ds ps-desht \\n[ps-desht] -. el \ -. ds ps-desht \" empty +. +. ie '\*[.T]'dvi' \{\ +. ie (\\n[ps-wid]p == \\n[ps-deswid]) \{\ +. ds ps-scale \" empty +. ds ps-hoffset hoffset=-\\n[llx] +. ds ps-voffset voffset=-\\n[lly] +. \} +. el \{\ +. nr ps-scale (\\n[ps-deswid] * 100 / \\n[ps-wid]p) +. nr ps-hoffset (-\\n[llx] * \\n[ps-scale] / 100) +. nr ps-voffset (-\\n[lly] * \\n[ps-scale] / 100) +. ds ps-scale hscale=\\n[ps-scale] vscale=\\n[ps-scale] +. ds ps-hoffset hoffset=\\n[ps-hoffset] +. ds ps-voffset voffset=\\n[ps-voffset] +. \} +. +\h'\\n[ps-offset]u'\ +\v'\\n[ps-desht]u'\ +\X'psfile=\\$1 \\*[ps-hoffset] \\*[ps-voffset] \\*[ps-scale]' +. \} +. el \{\ +. ie (\\n[.$] >= 3) \ +. ds ps-desht \\n[ps-desht] +. el \ +. ds ps-desht \" empty . \h'\\n[ps-offset]u'\ \X'ps: invis'\ @@ -73,8 +95,12 @@ \v'\\n[ps-desht]u'\ \X'ps: import \ \\$1 \\n[llx] \\n[lly] \\n[urx] \\n[ury] \\n[ps-deswid] \\*[ps-desht]' +. \} +. . br . sp \\n[ps-desht]u . \} . HTML-IMAGE-END .. +. +.\" end of pspic.tmac |