NEWS revision 75584
118099SpstThis file describes recent user-visible changes in groff. Bug fixes 218099Spstare not described. There are more details in the man pages. 318099Spst 475584SruGroff 575584Sru----- 675584Sru 775584Sruo `-mFOO' will now search first for `FOO.tmac' and then for `tmac.FOO'. The 875584Sru old behaviour has been changed to overcome problems with platforms which 975584Sru have an 8+3 file name limit, and platforms which have other versions of 1075584Sru troff installed also. Additionally, all macro files have been renamed 1175584Sru using the latter scheme to avoid 8+3 name clashes. 1275584Sru 1375584Sruo The new environment variable GROFF_BIN_PATH will be checked for programs 1475584Sru groff is calling (preprocessors, troff, and output devices) before PATH. 1575584Sru If not set, it defaults to the directory where the groff binary is 1675584Sru located. Previously, it was PATH only. The nroff script will only use 1775584Sru GROFF_BIN_PATH to find the groff binary but passes both the GROFF_BIN_PATH 1875584Sru and PATH environment variable to groff. 1975584Sru 2075584SruTroff 2175584Sru----- 2275584Sru 2375584Sruo The mdoc package has been completely rewritten, using the full power of 2475584Sru GNU troff to remove limitations of Unix troff (which is no longer 2575584Sru supported). Most important changes are: 2675584Sru 2775584Sru . No argument limit. 2875584Sru . Almost all macros are parsed and callable (if it makes sense). 2975584Sru . `.Lb': prints library names 3075584Sru . `.Nm <punctuation>' now works as expected; `.Nm "" <punctuation>' has 3175584Sru been withdrawn. 3275584Sru . Updated `.St' command 3375584Sru . `.Fx': prints FreeBSD 3475584Sru . `.Ox': prints OpenBSD 3575584Sru . `.Bsx': prints BSD/OS 3675584Sru . `.Brq', `.Bro', `.Brc': brace enclosure macros 3775584Sru . `.Bd -centered': center lines 3875584Sru . `.Bl -xwidth <string>': interpret <string> and use the resulting width 3975584Sru . support for double-sided printing (-rD1 command line switch) 4075584Sru . support for 11pt and 12pt document sizes (-rS11, -rS12 command line 4175584Sru switches) 4275584Sru 4375584Sru `groff_mdoc.man' replaces `groff_mdoc.samples.man'; it now completely 4475584Sru documents the mdoc package. 4575584Sru 4675584Sru Great care has been taken to assure backwards compatibility. If you 4775584Sru encounter any abnormal results, please report them to bug-groff@gnu.org. 4875584Sru 4975584Sruo A new command line option for the `man' macros (similar to the `mdoc' 5075584Sru package has been implemented: `-rcR=1' (now the default in nroff mode) will 5175584Sru produce one single, very long page instead of multiple pages. `-rcR=0' 5275584Sru will deactivate it. 5375584Sru 5475584Sruo The `return' request has been added to return immediately from a macro. 5575584Sru 5675584Sruo A new request `nop' (no operation) has been added which is similar to 5775584Sru `if 1'. For example, 5875584Sru 5975584Sru .if t \{\ 6075584Sru Hallo! 6175584Sru .\} 6275584Sru 6375584Sru can now be written as 6475584Sru 6575584Sru .if t \{\ 6675584Sru . nop Hallo! 6775584Sru .\} 6875584Sru 6975584Sruo `box' and `boxa' are two new requests which behave similarly to `di' and 7075584Sru `da' but don't include a partially filled line (which is restored after 7175584Sru ending the diversion). 7275584Sru 7375584Sruo The `asciify' request has been extended to `unformat' space characters 7475584Sru and some other escape sequences also. 7575584Sru 7675584Sru `\ ' will no longer be unformatted as a space but remains an unpaddable, 7775584Sru unbreakable space character. 7875584Sru 7975584Sruo The new `unformat' request is similar to `asciify' but only handles space 8075584Sru characters and tabs specially if the diversion is reread, retaining font 8175584Sru information. This makes it possible to reformat diversions; for example 8275584Sru the following 8375584Sru 8475584Sru .ll 3i 8575584Sru . 8675584Sru a01 a02 a03 a04 a05 a06 a07 a08 a09 a10. 8775584Sru . 8875584Sru .box box1 8975584Sru .ev 1 9075584Sru .nf 9175584Sru \f[B]b01 b02 b03 b04 b05 b06 b07 b08 b09 b10.\f[P] 9275584Sru .br 9375584Sru .ev 9475584Sru .box 9575584Sru . 9675584Sru c01 c02 c03 c04 c05 c06 c07 c08 c09 c10. 9775584Sru . 9875584Sru .unformat box1 9975584Sru .box1 10075584Sru 10175584Sru gives 10275584Sru 10375584Sru a01 a02 a03 a04 a05 a06 a07 10475584Sru a08 a09 a10. c01 c02 c03 c04 10575584Sru c05 c06 c07 c08 c09 c10. b01 10675584Sru b02 b03 b04 b05 b06 b07 b08 10775584Sru b09 b10. 10875584Sru 10975584Sru Without the `unformat' request, space characters are converted to word 11075584Sru space nodes which are no longer stretchable, and the result would be 11175584Sru 11275584Sru a01 a02 a03 a04 a05 a06 a07 11375584Sru a08 a09 a10. c01 c02 c03 c04 11475584Sru c05 c06 c07 c08 c09 c10. b01 11575584Sru b02 b03 b04 b05 b06 b07 b08 11675584Sru b09 b10. 11775584Sru 11875584Sruo The new request `linetabs' controls the `line-tabs' mode. In line-tabs 11975584Sru mode, tab distances are computed relative to the (current) output line. 12075584Sru Otherwise they are taken relative to the input line. For example, the 12175584Sru following 12275584Sru 12375584Sru .ds x a\t\c 12475584Sru .ds y b\t\c 12575584Sru .ds z c 12675584Sru .ta 1i 3i 12775584Sru \*x 12875584Sru \*y 12975584Sru \*z 13075584Sru 13175584Sru yields 13275584Sru 13375584Sru a b c 13475584Sru 13575584Sru In line-tabs mode, the same code gives 13675584Sru 13775584Sru a b c 13875584Sru 13975584Sru The new read-only number register `.linetabs' returns 1 if in line-tabs 14075584Sru mode, and 0 otherwise. 14175584Sru 14275584Sruo Two new requests `tm1' and `tmc' have been added to improve writing 14375584Sru messages to the terminal. `tm1' is similar to `tm' but allows leading 14475584Sru whitespace. `tmc' is similar to `tm1' but doesn't emit a final newline. 14575584Sru 14675584Sruo A new request `dei' (define indirect) has been added. The first and 14775584Sru second parameter of `dei' are taken from string registers rather than 14875584Sru directly; this very special request is needed to make `trace.tmac' 14975584Sru independent from the escape character (which might even be disabled). 15075584Sru 15175584Sruo It is now possible to save and restore the escape character with two new 15275584Sru requests `ecs' and `ecr'. 15375584Sru 15475584Sruo The new escape sequence \B'...' is an analogon to `\A': If the string 15575584Sru within the delimiters is a valid numeric expression, return character `1', 15675584Sru and `0' otherwise. 15775584Sru 15875584Sruo The new escape sequence `\:' inserts a zero-width break point. This is 15975584Sru similar to `\%' but without a soft hyphen character. 16075584Sru 16175584Sruo The `tr' request can now map characters onto `\~'. 16275584Sru 16375584Sruo Calling the `fam' request without an argument switches back to the 16475584Sru previous font family. 16575584Sru 16675584Sruo The new read-only register `.int' is set to a positive value if the last 16775584Sru output line is interrupted (i.e., if it contains `\c'). 16875584Sru 16975584Sruo The `writem' request is not new, but hasn't been documented before. This 17075584Sru is similar to `write' but instead of a string the contents of a given 17175584Sru macro or string is written to a stream. 17275584Sru 17375584Sruo The read/write number register `hp' to get/set the current horizontal 17475584Sru position relative to the input line isn't new but hasn't been documented 17575584Sru properly before. 17675584Sru 17775584Sruo `\X' and `\Y' are no transparent for end-of-sentence recognition. 17875584Sru 17975584Sruo The `cu' request in nroff mode now works as documented (i.e., it does 18075584Sru underline spaces also). 18175584Sru 18275584SruNroff 18375584Sru----- 18475584Sru 18575584SruOption -v shows the version number. 18675584Sru 18775584SruGrog 18875584Sru---- 18975584Sru 19075584Sruo The grog script will now work in non-compatibility mode also (which is the 19175584Sru default). As usual, use the `-C' option to activate compatibility mode. 19275584Sru 19375584Sruo Option -v shows the version number. 19475584Sru 19575584SruGrops 19675584Sru----- 19775584Sru 19875584SruA new option `-P' resp. a new environment variable `GROPS_PROLOGUE' has been 19975584Sruadded to select a different prologue file. 20075584Sru 20175584SruThe effect of the former `-mpsnew' option to access more Type 1 characters 20275584Sruis now the default and no longer available. To get the old behaviour (i.e., 20375584Sruemulation of some glyphs by composition) use `-mpsold'. 20475584Sru 20575584SruMiscellaneous 20675584Sru------------- 20775584Sru 20875584Sruo For security reasons the following changes have been done: 20975584Sru 21075584Sru . The tmac.safer file has been replaced with a built-in solution; .open, 21175584Sru .opena, .pso, .sy, and .pi are completely disabled in safer mode (which 21275584Sru is the default); to enable these requests the `-U' command line flag 21375584Sru must be used. 21475584Sru 21575584Sru . Files specified with the .mso request or given with the `-m' command 21675584Sru line option, and hyphenation patterns loaded with `.hpf' are no longer 21775584Sru searched in the current directory by default (besides the usual tmac 21875584Sru path). Instead, the home directory is used. To add the current 21975584Sru directory, either use the `-U' or `-M' command line option or set the 22075584Sru GROFF_TMAC_PATH environment variable to an appropriate value. 22175584Sru 22275584Sru . troffrc, troffrc-end, and eqnrc are neither searched in the current nor 22375584Sru in the home directory (even if -U is given). Use -M or GROFF_TMAC_PATH 22475584Sru to change that. 22575584Sru 22675584Sru . Similarly, the current directory is no longer part of the font path. 22775584Sru Use the `-F' command line option or the GROFF_FONT_PATH environment 22875584Sru variable if you really need the current directory. 22975584Sru 23075584Sruo groff will now install its data files into 23175584Sru /usr/local/share/groff/<version> by default, following the GNU standard. 23275584Sru Additionally, a local tmac directory (by default 23375584Sru /usr/local/share/groff/site-tmac) will be scanned before the standard tmac 23475584Sru directory. Wrapper files for system-specific macro packages (if 23575584Sru necessary) are put into /usr/local/lib/groff/site-tmac; this directory 23675584Sru will be searched before the local tmac directory. 23775584Sru 23875584Sruo All programs now have option `-v' to show the version number; they will 23975584Sru exit immediately afterwards, following the GNU standards. Additionally, 24075584Sru `--version' and `--help' have been added, doing the obvious actions. 24175584Sru 24269626SruVERSION 1.16.1 24369626Sru============== 24469626Sru 24569626SruBug fixes only; no user-visible changes. 24669626Sru 24769626SruVERSION 1.16 24869626Sru============ 24969626Sru 25069626SruGroff 25169626Sru----- 25269626Sru 25369626SruThe anachronism of calling the man macro package with `-man' has been fixed; 25469626Srunow you can say `-m man' also. The same is true for `ms', `me', `markup', 25569626Sru`mandoc', and `mdoc'. 25669626Sru 25769626SruA new switch `-g' for calling `grn' is available. 25869626Sru 25969626SruA new switch `-G' for calling `grap' is available. 26069626Sru 26169626SruEBCDIC support for tty devices has been added. On such hosts, IBM code page 26269626Sru1047 is available with -Tcp1047 instead of -Tascii and -Tlatin1 (and, for 26369626Sruthe moment, -Tutf8). Note that non-tty devices are not yet supported (but 26469626Sruinstalled). 26569626Sru 26669626SruTroff 26769626Sru----- 26869626Sru 26969626SruA new command line option to the `man' macros is available: `-rSxx' (with 27069626Sru`xx' either 10, 11, or 12) to set the base document font size to `xx' 27169626Srupoints. Additionally, `.SH' now produces larger headings than `.SS'. 27269626Sru 27369626SruTo solve a problem with the .PSPIC macro which needs the `-U' switch of 27469626Srutroff to access an external program (psbb), a new request .psbb is now 27569626Sruavailable to get the bounding box of a PostScript image file. The values 27669626Sru(in PostScript units) are returned in the new read-only number registers 27769626Sru`llx', `lly', `urx', and `ury'. Consequently, .PSPIC has been adapted to 27869626Sruuse the new request, and the psbb program has been removed. 27969626Sru 28069626SruA new predefined writable number register, `year', has been added. It 28169626Srucontains the current year. 28269626Sru 28369626SruA new read-only register, `.Y', has been added. It contains the revision 28469626Srunumber of the groff package. 28569626Sru 28669626Sru`\fP' now behaves as expected in situations like the following where the 28769626Srufont `foo' is undefined: 28869626Sru 28969626Sru .B bold text 29069626Sru normal text \f[foo]bar\fP normal text 29169626Sru 29269626SruPreviously, the text after \fP appeared as bold. 29369626Sru 29469626SruThe `substring' request is not new, but hasn't been documented before. 29569626Sru 29669626SruThe predefined `.T' string register (which holds the current output device) 29769626Sruis not new, but hasn't been documented before. 29869626Sru 29969626SruA new request `length' computes the length of a string and returns it in 30069626Srua number register. 30169626Sru 30269626SruThe macro files `tmac.a4' (for specifying A4 paper format) and `tmac.trace' 30369626Sru(a debugging aid) are now installed also. 30469626Sru 30569626SruA new resource file, `troffrc-end', is now available. It is invoked after 30669626Sruall user-specified macros. Currently used by the html device to include 30769626Srutmac.html; thus no need for users to specify -mhtml anymore. 30869626Sru 30969626SruThe soft hyphen character now has a glyph name: `shc'. 31069626Sru 31169626SruThe latin-1 character 173 (PS name `periodcentered') has got the troff glyph 31269626Sruname `pc' and is no longer intermixed with the symbol character `md' (PS 31369626Sruname `mathdot'). 31469626Sru 31569626SruASCII character 34 (PS name `quotedbl') has got the troff glyph name `dq' 31669626Sru(which is an alias to character `"'). 31769626Sru 31869626SruASCII character 39 (PS name `quoteright') has got the troff glyph name `cq' 31969626Sru(which is an alias to character "'"). 32069626Sru 32169626SruSome additions to the font description files have been implemented for 32269626Srubetter support of HTML output: 32369626Sru 32469626Sru The new format of lines in the `charset' subsection of font description 32569626Sru files is 32669626Sru 32769626Sru name metrics type code [entity_name] [-- comment] 32869626Sru 32969626Sru Currently, only the font description files in devhtml use the optional 33069626Sru entity_name string to define glyph entities in HTML. Everything after the 33169626Sru entity_name field is ignored; in case this field isn't used, two hyphen 33269626Sru characters are now necessary to start a comment. 33369626Sru 33469626Sru Two new requests are available in DESC files (currently used only with 33569626Sru grohtml): 33669626Sru 33769626Sru use_charnames_in_special 33869626Sru This command indicates that troff should encode named characters 33969626Sru inside special commands. 34069626Sru 34169626Sru pass_filenames 34269626Sru requests that troff tells the driver the source file name being 34369626Sru processed. This is achieved by another tcommand: `F filename'. 34469626Sru 34569626SruGrotty 34669626Sru------ 34769626Sru 34869626SruBruno Haible <haible@clisp.cons.org> contributed support for UTF8 output. 34969626Sru 35069626SruGrohtml 35169626Sru------- 35269626Sru 35369626SruAdded .LINE macro to tmac.arkup. 35469626Sru 35569626SruThe obsolete `.LINK' macro has been removed. 35669626Sru 35769626Sru.URL, .FTP, and .MAILTO macros now accept an optional third argument which 35869626Sruwill be immediately appended to the second argument (to be used with 35969626Srupunctuation, for example). 36069626Sru 36169626SruGrodvi 36269626Sru------ 36369626Sru 36469626SruThe font size 11pt has been changed to 10.95pt (as used in LaTeX 2e). 36569626Sru 36669626SruA new font file CWI (using cmitt10; this is typewriter italic) has been 36769626Sruadded. 36869626Sru 36969626SruGrolbp 37069626Sru------ 37169626Sru 37269626SruA new driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser 37369626Sruprinters). This code has been contributed by Francisco Andres Verdu 37469626Sru<pandres@dragonet.es>. 37569626Sru 37669626SruGrn 37769626Sru--- 37869626Sru 37969626SruA new preprocessor to process gremlin pictures. It is based on the 38069626Sruoriginal Berkeley implementation of grn, written by David Slattengren 38169626Sruand Barry Roitblat, and has been adapted to groff by Daniel Senderowicz 38269626Sru<daniel@synchrods.com> and Werner Lemberg <wl@gnu.org>. 38369626Sru 38469626SruPic 38569626Sru--- 38669626Sru 38769626SruAdded the `srand' command to set the seed for a new sequence of 38869626Srupseudo-random numbers to be returned by `rand'. 38969626Sru 39069626SruGxditview 39169626Sru--------- 39269626Sru 39369626SruSimplified installation: The Imakefile will now be configured (by groff's 39469626Sruconfigure script). 39569626Sru 39669626SruDocumentation 39769626Sru------------- 39869626Sru 39969626SruThree new man pages are available: groff_tmac.5 (documenting how troff macros 40069626Sruare accessed and where they are found), groff.7 (a short reference of the GNU 40169626Sruroff language), and roff.7 (a general survey on GNU troff). 40269626Sru 40369626SruMiscellaneous 40469626Sru------------- 40569626Sru 40669626SruA port to win32 (for use with Microsoft Visual C++ 6.0) is now part of the 40769626Srudistribution. It has been contributed by Blake McBride 40869626Sru<blake@florida-software.com>. 40969626Sru 41069626SruMore information about programs, macros, documentation, etc., which is 41169626Srurelated to groff has been collected in the file `MORE.STUFF'. 41269626Sru 41355839SasmodaiVERSION 1.13, 1.14, 1.15 41455839Sasmodai======================== 41555839Sasmodai 41655839SasmodaiBug fixes only; no user-visible changes. 41755839Sasmodai 41855839SasmodaiVERSION 1.12 41944777Sobrien============ 42044777Sobrien 42155839SasmodaiFinally, there are new maintainers for groff. Mailing lists and a CVS 42255839Sasmodairepository are available also. See the file README for details. Not 42355839Sasmodaiall reported bug could be fixed, so please send mails again if 42455839Sasmodaisomething is still not working. 42544777Sobrien 42655839SasmodaiMost of the installation problems should have vanished now (most 42755839Sasmodainotably the $(tmac_wrap) bug). 42844777Sobrien 42955839SasmodaiThere is now a man page called groff_man.man which documents the 43055839Sasmodaibasics of the -man macros. It has been originally written by Susan 43155839SasmodaiG. Kleinmann <sgk@debian.org>. 43255839Sasmodai 43355839SasmodaiA (still incomplete) groff reference manual in texinfo format 43455839Sasmodaioriginally contributed by Trent A. Fisher <trent@gnurd.portland.or.us>. 43555839Sasmodai 43655839Sasmodaime.man and msafer.man have been renamed to groff_me.man 43755839Sasmodairesp. groff_msafer.man for consistency. 43855839Sasmodai 43955839SasmodaiDefault strings for macros in doc-common resp. tmac.an no longer 44055839Sasmodaicontain the word `UNIX'. 44155839Sasmodai 44255839Sasmodaigroff should now be Y2k safe (fixes contributed by Paul Eggert 44355839Sasmodai<eggert@twinsun.com>). 44455839Sasmodai 44555839SasmodaiFollowing the GNU standards, groff will now use the prefix 44655839Sasmodai`/usr/local/' as the default instead of replacing an existent groff 44755839Sasmodaibinary. 44855839Sasmodai 44955839Sasmodaigroff, troff, nroff, and pic now support the -U flag to activate unsafe 45055839Sasmodaibehaviour (without -msafer); the -S flag for using the -msafer macros 45155839Sasmodaiis now the default. 45255839Sasmodai 45355839SasmodaiGrohtml 45455839Sasmodai------- 45555839Sasmodai 45655839SasmodaiThis is a new output device for producing HTML output contributed by 45755839SasmodaiGaius Mulley <gaius@glam.ac.uk>. It is still very alpha but has been 45855839Sasmodaiincluded into the distribution so that a lot of people have a chance 45955839Sasmodaito test it. Bug reports are highly welcome. 46055839Sasmodai 46155839SasmodaiGrolj4 46255839Sasmodai------ 46355839Sasmodai 46455839SasmodaiDuplex printing support has been contributed by Jeffrey Copeland 46555839Sasmodai<jeff@opennt.com>. 46655839Sasmodai 46755839SasmodaiSoelim 46855839Sasmodai------ 46955839Sasmodai 47055839SasmodaiAdded -I option for defining include paths (patch contributed by Peter 47155839SasmodaiMiller <peterm@jna.com.au>). 47255839Sasmodai 47355839SasmodaiGxditview 47455839Sasmodai--------- 47555839Sasmodai 47655839SasmodaiFallback resources added (patch contributed by Larry Jones 47755839Sasmodai<larry.jones@sdrc.com>). 47855839Sasmodai 47955839SasmodaiWill now support 8 gray levels. 48055839Sasmodai 48155839Sasmodaimm 48255839Sasmodai-- 48355839Sasmodai 48455839SasmodaiNew version 1.32 (contributed by Joergen Haegg <jh@axis.com>). 48555839Sasmodai 48655839SasmodaiVERSION 1.11 48755839Sasmodai============ 48855839Sasmodai 48944777SobrienComplete documentation for pic is now in the file doc/pic.ms. It was 49044777Sobriencontributed by Eric S. Raymond, <esr@thyrsus.com>, who is emphatically 49144777Sobrien*not* volunteering to take over groff as he is way overworked with 49244777Sobrienhalf a dozen other projects. 49344777Sobrien 49418099SpstVERSION 1.10 49518099Spst============ 49618099Spst 49718099SpstThe directory where data files are installed has been changed from 49818099Spst/usr/local/lib/groff to /usr/local/share/groff to comply with the 49918099Spstlatest GNU coding standards. 50018099Spst 50118099SpstBy default groff programs with Unix equivalents are installed with a 50218099Spst"g" prefix unless there is an existing (non-groff) troff installation. 50318099Spst 50418099SpstA new approach is used to make system macro packages available to 50518099Spstgroff. Instead of simply including /usr/lib/tmac in the list of 50618099Spstdirectories searched by groff, the installation process creates for 50718099Spsteach system macro package a wrapper macro package in the groff macro 50818099Spstdirectory that references the system macro package. The groff macro 50918099Spstpackages are now installed with a leading "g" prefix if there is a 51018099Spstsystem version of the same macro package, and otherwise without the 51118099Spst"g" prefix, with the exception that the groff version of -me which is 51218099Spstalways installed as -me. 51318099Spst 51418099SpstThere is a new device, lj4, for the HP LaserJet 4 (and PCL5 51518099Spstcompatibles). 51618099Spst 51718099SpstGroff 51818099Spst----- 51918099Spst 52018099Spstgroff has a -S option that prevents the use of unsafe features in pic 52118099Spstand troff. This uses a new -S option of pic and the -msafer macros 52218099Spstfor troff. 52318099Spst 52418099SpstTroff 52518099Spst----- 52618099Spst 52718099SpstThe `blm' request specifies a macro to be invoked when a blank line is 52818099Spstencountered. 52918099Spst 53018099SpstPic 53118099Spst--- 53218099Spst 53318099SpstA -S (safer) option disables the sh command. 53418099Spst 53518099SpstGrops 53618099Spst----- 53718099Spst 53818099SpstThe -m option enables manual feed. 53918099Spst 54018099SpstVERSION 1.09 54118099Spst============ 54218099Spst 54318099Spst\(rn will now produce a character that has the traditional metrics, 54418099Spstand will form corners with \(ul and \(br. This means that it will not 54518099Spstalign properly with \(sr. Instead there's a new character 54618099Spst\[radicalex] which aligns with \(sr; this is used by eqn for doing 54718099Spstsquare roots. 54818099Spst 54918099SpstTroff 55018099Spst----- 55118099Spst 55218099SpstThe `pso' request allows you to read from the standard output of a 55318099Spstcommand. 55418099Spst 55518099SpstGrops 55618099Spst----- 55718099Spst 55818099SpstThe PSPIC macro has options to allow the horizontal alignment of the 55918099Spstgraphic to be specified. 56018099Spst 56118099SpstVERSION 1.08 56218099Spst============ 56318099Spst 56418099SpstTroff 56518099Spst----- 56618099Spst 56718099SpstThe escape sequence \V[xxx] will interpolate the value of the 56818099Spstenvironment variable xxx. 56918099Spst 57018099SpstTbl 57118099Spst--- 57218099Spst 57318099SpstThe decimalpoint option can be used to specify the character to be 57418099Spstrecognized as the decimal point character in place of the default 57518099Spstperiod. 57618099Spst 57718099SpstVERSION 1.07 57818099Spst============ 57918099Spst 58018099SpstGroff 58118099Spst----- 58218099Spst 58318099SpstThe environment variable GROFF_COMMAND_PREFIX can be used to control 58418099Spstwhether groff looks for `gtroff' or `troff' (similarily for the 58518099Spstpreprocessors.) 58618099Spst 58718099SpstTroff 58818099Spst----- 58918099Spst 59018099SpstMultilingual hyphenation is supported by new `hpf' and `hla' requests, 59118099Spstand by a `\n[.hla]' number register. The -H option has been removed. 59218099SpstFiles of hyphenation patterns can have comments. 59318099Spst 59418099SpstWhen a font cannot be found, troff gives a warning (of type `font', 59518099Spstenabled by default) instead of an error. 59618099Spst 59718099SpstThere's a new request `trnt' that's like `tr' except that it doesn't 59818099Spstapply to text transparently throughput into a diversion with \!. 59918099Spst 60018099SpstTbl 60118099Spst--- 60218099Spst 60318099SpstThere is a `nokeep' option which tells tbl not to use diversions to 60418099Spsttry to keep the table on one page. 60518099Spst 60618099SpstEqn 60718099Spst--- 60818099Spst 60918099SpstSetting the parameter `nroff' to a non-zero value causes `ndefine' to 61018099Spstbehave like `define' and `tdefine' to be ignored. This is done by 61118099Spsteqnrc when the current device is ascii or latin1. There's a `neqn' 61218099Spstscript that just does `eqn -Tascii'. 61318099Spst 61418099SpstGrotty 61518099Spst------ 61618099Spst 61718099Spstgrotty uses whatever page length was specified using the `pl' request 61818099Spstrather than using the paperlength command in the DESC file. The 61918099Spstpaperwidth command in the DESC file is also ignored. 62018099Spst 62118099SpstVERSION 1.06 62218099Spst============ 62318099Spst 62418099SpstThe programs in groff that have Unix counterparts can now be installed 62518099Spstwithout a leading `g' prefix. See the `g' variable in the Makefile. 62618099Spst 62718099SpstThe g?nroff script simulates the nroff command using groff. 62818099Spst 62918099SpstNew special characters \(+h, \(+f, \(+p, \(Fn, \(Bq, \(bq, \(aq, \(lz, 63018099Spst\(an. See groff_char(7). 63118099Spst 63218099Spst^L is now a legal input character. 63318099Spst 63418099SpstGroff 63518099Spst----- 63618099Spst 63718099SpstThe Xps pseudo-device has disappeared. Instead there is a new -X 63818099Spstoption that tells groff to use gxditview instead of the usual 63918099Spstpostprocessor. (So instead of -TXps, use -XTps or just -X if your 64018099Spstdefault device is ps.) 64118099Spst 64218099SpstThe postprocessor to be used for a particular device is now specified 64318099Spstby a `postpro' command in the DESC file rather than being compiled 64418099Spstinto groff. Similarly the command to be used for printing (with the 64518099Spst-l option) is now specified by a `print' command in the DESC file. 64618099Spst 64718099SpstThe groff command no longer specifies eqnchar as an input file for 64818099Spsteqn. Instead eqn automatically loads a file `eqnrc'. The groff 64918099Spstcommand no longer passes the -D option to eqn. Instead eqnrc sets the 65018099Spstdraw_lines parameter. 65118099Spst 65218099SpstThe groff command no longer tells troff to load a device-specific 65318099Spstmacro file. This is handled instead by the `troffrc' file, which is 65418099Spstalways loaded by troff. 65518099Spst 65618099SpstThe shell script version of groff has been removed. 65718099Spst 65818099SpstTroff 65918099Spst----- 66018099Spst 66118099SpstThe `rchar' request removes a character definition established with `char'. 66218099Spst 66318099SpstCompatibility mode is disabled and the escape character is set to `\' 66418099Spstwhile a character definition is being processed. 66518099Spst 66618099SpstThe `\#' escape sequence is like `\"' except that the terminating 66718099Spstnewline is ignored. 66818099Spst 66918099SpstThe `shc' request tells troff which character to insert (instead of 67018099Spstthe default \(hy) when a word is hyphenated at a line break. 67118099Spst 67218099SpstA font name of 0 (zero) in the DESC file will cause no font to be 67318099Spstmounted on the corresponding font position. This is useful for 67418099Spstarranging that special fonts are mounted on positions on which users 67518099Spstare not likely explicitly to mount fonts. All groff devices now avoid 67618099Spstinitially mounting fonts on positions 5-9. 67718099Spst 67818099SpstThe `do' request allows a single request or macro to be interpreted 67918099Spstwith compatibility mode disabled. 68018099Spst 68118099Spsttroff automatically loads a file `troffrc' before any other input file. 68218099SpstThis can be prevented with the -R option. This file is responsible 68318099Spstfor loading the device-specific macros. 68418099Spst 68518099SpstPic 68618099Spst--- 68718099Spst 68818099SpstThe -x option has been removed and a -n option has been added. By 68918099Spstdefault, pic now assumes that the postprocessor supports groff 69018099Spstextensions. The -n option tells pic to generate output that works 69118099Spstwith ditroff drivers. The -z option now applies only to TeX mode. 69218099Spst 69318099SpstThe -p option has been removed. Instead if the -n option is not 69418099Spstspecified, pic generates output that uses \X'ps: ...' if the \n(0p 69518099Spstregister is non-zero and tmac.ps sets this register to 1. 69618099Spst 69718099SpstIn places where you could 1st or 5th you can now say `i'th or `i+1'th 69818099Spst(the quotes are required). 69918099Spst 70018099SpstEqn 70118099Spst--- 70218099Spst 70318099SpstEqn now automatically reads a file `eqnrc' from the macro directory. 70418099SpstThis performs the same role that the eqnchar files used to. This can 70518099Spstbe prevented by the -R option. 70618099Spst 70718099SpstSetting the draw_lines parameter to a non-zero value causes lines to 70818099Spstbe drawn using \D rather than \l. The -D option is now obsolete. 70918099Spst 71018099Spst`uparrow', `downarrow' and `updownarrow' can be used with `left' and 71118099Spst`right'. 71218099Spst 71318099SpstThe amount of extra space added before and after lines containing 71418099Spstequations can be controlled using the `body_height' and `body_depth' 71518099Spstparameters. 71618099Spst 71718099SpstGrops 71818099Spst----- 71918099Spst 72018099SpstFont description files have been regenerated from newer AFM files. 72118099SpstYou can get access to the additional characters present in the text 72218099Spstfonts in newer PostScript printers by using -mpsnew. 72318099Spst 72418099SpstThe default value of the -b option is specified by a `broken' command 72518099Spstin the DESC file. 72618099Spst 72718099SpstWith the -g option, grops will generate PostScript code that guesses 72818099Spstthe page height. This allows documents to be printed on both letter 72918099Spst(8.5x11) and A4 paper without change. 73018099Spst 73118099SpstGrodvi 73218099Spst------ 73318099Spst 73418099SpstISO Latin-1 characters are available with -Tdvi. Format groff_char(7) 73518099Spstwith groff -Tdvi for more information. 73618099Spst 73718099SpstGrotty 73818099Spst------ 73918099Spst 74018099SpstThe -mtty-char macros contain additional character definitions for 74118099Spstuse with grotty. 74218099Spst 74318099SpstMacros 74418099Spst------ 74518099Spst 74618099SpstIn previous releases the groff -me macros treated the $r and $R number 74718099Spstregisters in a way that was incompatible with the BSD -me macros. The 74818099Spstreason for this was that the approach used by the BSD -me macros does 74918099Spstnot work with low resolution devices such as -TX75 and -TX100. 75018099SpstHowever, this caused problems with existing -me documents. In this 75118099Spstrelease, the vertical spacing is controlled by the $v and $V registers 75218099Spstwhich have the same meaning as $r and $R in earlier groff releases. 75318099SpstIn addition, if the $r or $R register is set to a value that would be 75418099Spstcorrect for for the BSD -me macros and a low resolution device is not 75518099Spstbeing used, then an appropriate value for the $v or $V register will 75618099Spstbe derived from the $r or $R register. 75718099Spst 75818099SpstThe groff -me macros work with -C and (I think) with Unix troff. 75918099Spst 76018099SpstFor backward compatibility with BSD -me, the \*{ and \*} strings are 76118099Spstalso available as \*[ and \*]. Of course, \*[ will only be usable 76218099Spstwith -C. 76318099Spst 76418099SpstThe \*T string has been deleted. Use \*(Tm instead. 76518099Spst 76618099SpstXditview 76718099Spst-------- 76818099Spst 76918099SpstThe `n', Space and Return keys are bound to the Next Page action. The 77018099Spst`p', BackSpace and Delete keys are bound to the Previous Page action. 77118099SpstThe `q' key is bound to the Quit action. 77218099Spst 77318099SpstThe `r' key is bound to a rerasterize action that reruns groff, and 77418099Spstredisplays the current page. 77518099Spst 77618099SpstVERSION 1.05 77718099Spst============ 77818099Spst 77918099SpstPic 78018099Spst--- 78118099Spst 78218099SpstThere is a alternative assignment operator `:=' which interacts 78318099Spstdifferently with blocks. 78418099Spst 78518099SpstThere is a new command `command', which allows the values of variables 78618099Spstto be passed through to troff or TeX. 78718099Spst 78818099SpstThe `print' command now accepts multiple arguments. 78918099Spst 79018099SpstString comparison expressions (using `==' or `!=') are allowed in more 79118099Spstcontexts. 79218099Spst 79318099SpstGrotty 79418099Spst------ 79518099Spst 79618099SpstHorizontal and vertical lines drawn with \D'l ...' will be rendered 79718099Spstusing -, | and + characters. This is intended to give reasonable 79818099Spstresults with boxed tables. It won't work well with pic. 79918099Spst 80018099SpstMacros 80118099Spst------ 80218099Spst 80318099SpstThe -mdoc macros have been upgraded to the version in the second 80418099SpstBerkeley networking release. This version is not completely 80518099Spstcompatible with earlier versions; the old version is still available 80618099Spstas -mdoc.old. The grog script has been enhanced so that it can 80718099Spstusually determine whether a document requires the old or new versions. 80818099Spst 80918099SpstWith -TX75, -TX100 and -TXps, the PSPIC macro will produce a box 81018099Spstaround where the picture would appear with -Tps. 81118099Spst 81218099SpstVERSION 1.04 81318099Spst============ 81418099Spst 81518099SpstAn implementation of the -mm macros is included. 81618099Spst 81718099SpstThe directory in which temporary files are created can be controlled 81818099Spstby setting the GROFF_TMPDIR or TMPDIR environment variables. 81918099Spst 82018099SpstPic 82118099Spst--- 82218099Spst 82318099SpstSome MS-DOS support (see pic/make-dos-dist). 82418099Spst 82518099SpstGrops 82618099Spst----- 82718099Spst 82818099SpstThere are two new \X commands (\X'ps: invis' and \X'ps: endinvis') 82918099Spstwhich make it possible to have substitute characters that are 83018099Spstdisplayed when previewing with -TXps but ignored when printing with 83118099Spstgrops. 83218099Spst 83318099SpstXditview 83418099Spst-------- 83518099Spst 83618099SpstSupport for scalable fonts. 83718099Spst 83818099SpstVERSION 1.03 83918099Spst============ 84018099Spst 84118099SpstNo changes other than bug fixes. 84218099Spst 84318099SpstVERSION 1.02 84418099Spst============ 84518099Spst 84618099SpstThere is an implementation of refer and associated programs. groff -R 84718099Spstpreprocesses with grefer; no mechanism is provided for passing 84818099Spstarguments to grefer because most grefer options have equivalent 84918099Spstcommands which can be included in the file. grog also supports refer. 85018099Spst 85118099SpstThere is an alternative perl implementation of the grog script. 85218099Spst 85318099SpstThe code field in lines in the charset section of font description 85418099Spstfiles is now allowed to contain an arbitrary integer (previously it 85518099Spstwas required to lie between 0 and 255). Currently grops and grodvi 85618099Spstuse only the low order 8 bits of the value. Grodvi will use the 85718099Spstcomplete value; however, this is unlikely to be useful with 85818099Spsttraditional TeX tools (.tfm files only allow 8 bit character codes.) 85918099Spst 86018099SpstLeft and right double quotes can be obtained with \(lq and \(rq 86118099Spstrespectively. 86218099Spst 86318099SpstThere is a new program called pfbtops which translates PostScript 86418099Spstfonts in pfb format to ASCII. 86518099Spst 86618099SpstA slightly modified version of the Berkeley tmac.doc is included. 86718099Spst 86818099SpstTroff 86918099Spst----- 87018099Spst 87118099SpstIn long escape names the closing ] is now required to be at the same 87218099Spstinput level as the opening [. 87318099Spst 87418099SpstThe \A'S' escape sequence returns 1 or 0 according as S is or is not 87518099Spstsuitable for use as a name. 87618099Spst 87718099Spst\~ produces an unbreakable space that can be stretched when the line 87818099Spstis adjusted. 87918099Spst 88018099SpstThe `mso' request is like the `so' request except that it searches for 88118099Spstthe file in the same directories in which tmac.X is searched for when 88218099Spstthe -mX option is given. 88318099Spst 88418099SpstThe escape sequence `\R' is similar to the `nr' request. 88518099Spst 88618099SpstEqn 88718099Spst--- 88818099Spst 88918099SpstA new `special' primitive allows you to add new types of unary 89018099Spstconstructs by writing a troff macro. 89118099Spst 89218099SpstPic 89318099Spst--- 89418099Spst 89518099SpstThe implementation no longer uses gperf. 89618099Spst 89718099SpstGrops 89818099Spst----- 89918099Spst 90018099SpstThe compile-time -DBROKEN_SPOOLER option has been replaced by a 90118099SpstBROKEN_SPOOLER_FLAGS option. This allows more precise control over 90218099Spsthow grops should workaround broken spoolers and previewers. There is 90318099Spsta new -b option that can change this at run-time. 90418099Spst 90518099SpstGrops now generates PostScript that complies with version 3.0 of the 90618099SpstDocument Structuring Convention. 90718099Spst 90818099SpstThe resource management component of grops (the part that deals with 90918099Spstimported documents and downloadable fonts) has been rewritten and now 91018099Spstsupports version 3.0 of the Document Structuring Conventions. The 91118099Spst%%DocumentFonts comment is no longer supported; you must use the 91218099Spst%%Document{Needed,Supplied}{Fonts,Resources} comments instead 91318099Spst(or as well.) 91418099Spst 91518099Spsttmac.psatk contains some macros that support the mechanism used by the 91618099SpstAndrew Toolkit for including PostScript graphics in troff documents. 91718099Spst 91818099SpstXditview 91918099Spst-------- 92018099Spst 92118099SpstParts of xditview have been rewritten so that it can be used with the 92218099Spstoutput of gtroff -Tps. groff -TXps will run gtroff -Tps with 92318099Spstgxditview. 92418099Spst 92518099SpstThere is a new menu entry `Print' which brings up a dialog box for 92618099Spstspecifying a command with which the file being previewed should be 92718099Spstprinted. 92818099Spst 92918099SpstXditview now uses imake. 93018099Spst 93118099SpstVERSION 1.01 93218099Spst============ 93318099Spst 93418099SpstThe groff command now understands the gtroff `-a' and `-i' options. 93518099Spst 93618099SpstWith the `m' and `n' scale indicators, the scale factor is rounded 93718099Spsthorizontally before being applied. This makes (almost) no difference 93818099Spstfor devices with `hor' equal to 1, but it makes groff with -Tascii or 93918099Spst-Tlatin1 behave more like nroff in its treatment of these scale 94018099Spstindicators. Accordingly tmac.tty now calls the `nroff' request so 94118099Spstthat the `n' condition will be true. 94218099Spst 94318099SpstThe device-specific macros (tmac.ps, tmac.dvi, tmac.tty and tmac.X) 94418099Spsthave been made to work at least somewhat with -C. In particular the 94518099Spstspecial characters defined by these macros now work with -C. 94618099Spst 94718099Spstgroff -Tdvi -p will now pass pic the -x flag; this will enable filling 94818099Spstof arrowheads and boxes, provided that your dvi driver supports the 94918099Spstlatest version of the tpic specials. 95018099Spst 95118099SpstEqn 95218099Spst--- 95318099Spst 95418099SpstThere is a new `-N' option that tells eqn not to allow newlines in 95518099Spstdelimiters. This allows eqn to recover better from missing closing 95618099Spstdelimiters. The groff command will pass on a `-N' option to eqn. 95718099Spst 95818099SpstGrops 95918099Spst----- 96018099Spst 96118099SpstYou can now use psfig with grops. See the file ps/psfig.diff. I do 96218099Spstnot recommend using psfig for new documents. 96318099Spst 96418099SpstThe command \X'ps: file F' is similar to \X'ps: exec ...' except that 96518099Spstthe PostScript code is read from the file F instead of being contained 96618099Spstwithin the \X command. This was added to support psfig. 96718099Spst 96818099SpstGrodvi 96918099Spst------ 97018099Spst 97118099SpstThere are font files HB and HI corresponding to cmsssbx10 and cmssi10. 97218099Spst 97318099SpstMacros 97418099Spst------ 97518099Spst 97618099SpstThe groff -me macros now work with the -C option. As a result, they 97718099Spstmay also work with Unix nroff/troff. 97818099Spst 97918099SpstIn -me, the $r and $R number registers now contain the line spacing as 98018099Spsta percentage of the pointsize expressed in units (normally about 120). 98118099SpstThe previous definition was useless with low resolution devices such 98218099Spstas X75 and X100. 98318099Spst 98418099SpstVERSION 1.00 98518099Spst============ 98618099Spst 98718099SpstA -ms-like macro-package is now included. 98818099Spst 98918099SpstThe name for the Icelandic lowercase eth character has been changed 99018099Spstfrom \(-d to \(Sd. 99118099Spst 99218099SpstTroff 99318099Spst----- 99418099Spst 99518099SpstThere is a new request `nroff', which makes the `n' built-in condition 99618099Spsttrue and the `t' built-in condition false; also a new request `troff' 99718099Spstwhich undoes the effect of the `nroff' request. This is intended only 99818099Spstfor backward compatibility: it is usually better to test \n(.H or 99918099Spst\n(.V or to use the `c' built-in condition. 100018099Spst 100118099SpstThe \R escape sequence has been deleted. Use \E instead. 100218099Spst 100318099SpstThere are `break' and `continue' requests for use with the `while' 100418099Spstrequest. 100518099Spst 100618099SpstThere is a request `hym' that can ensure that when the current 100718099Spstadjustment mode is not `b' a line will not be hyphenated if it is no 100818099Spstmore than a given amount short, and a request `hys' that can ensure 100918099Spstthat when the current adjustment mode is `b' a line will not be 101018099Spsthyphenated if it can be justified by adding no more than a given 101118099Spstamount of extra space to each word space. 101218099Spst 101318099SpstThere is a request `rj' similar to `ce' that right justifies lines. 101418099Spst 101518099SpstA warning of type `space' will be given when a call is made to an 101618099Spstundefined request or macro with a name longer than two characters, and 101718099Spstthe first two characters of the name make a name that is defined. 101818099SpstThis is intended to find places where a space has been omitted been a 101918099Spstrequest or macro and its argument. This type of warning is enabled by 102018099Spstdefault. 102118099Spst 102218099SpstPic 102318099Spst--- 102418099Spst 102518099SpstA comma is permitted between the arguments to the `reset' command. 102618099Spst 102718099SpstFor use with TeX, there is a new `-c' option that makes gpic treat 102818099Spstlines beginning with `.' in a way that is more compatible with tpic 102918099Spst(but ugly). 103018099Spst 103118099SpstEqn 103218099Spst--- 103318099Spst 103418099SpstIt is no longer necessary to add `space 0' at the beginning of 103518099Spstcomplicated equations inside pictures. 103618099Spst 103718099Spst`prime' is now treated as an ordinary character, as in Unix eqn. The 103818099Spstprevious behaviour of `prime' as an operator can now be obtained using 103918099Spst`opprime'. 104018099Spst 104118099SpstXditview 104218099Spst-------- 104318099Spst 104418099SpstThere are two new devices X75-12 and X100-12 which are the same as X75 104518099Spstand X100 except that they are optimized for documents that use mostly 104618099Spst12 point text. 104718099Spst 104818099SpstVERSION 0.6 104918099Spst=========== 105018099Spst 105118099SpstThe installation process has been refined to make it easy for you to 105218099Spstshare groff with someone who has the same type of machine as you but 105318099Spstdoes not have a C++ compiler. See the end of the INSTALL file for 105418099Spstdetails. 105518099Spst 105618099SpstThere is a man page for the tfmtodit program which explains how to use 105718099Spstyour own fonts with groff -Tdvi. 105818099Spst 105918099SpstThere is a man page for afmtodit which explains how to use your own 106018099SpstPostScript fonts with groff -Tps. 106118099Spst 106218099SpstThe \N escape sequence is now fully supported. It can now be used to 106318099Spstaccess any character in a font by its output code, even if it doesn't 106418099Spsthave a groff name. This is made possible by a convention in the font 106518099Spstfiles that a character name of `---' refers to an unnamed character. 106618099SpstThe drivers now all support the `N' command required for this. The font 106718099Spstdescription files have been updated to include unnamed characters. 106818099Spst 106918099SpstThe `x' command in font description files has been removed: instead 107018099Spstany unknown commands are automatically made available to the drivers. 107118099SpstIf you constructed your own font files with an earlier version of 107218099Spsttfmtodit or afmtodit, you must construct them again using the current 107318099Spstversion. 107418099Spst 107518099SpstCharacters between 0200 and 0237 octal are no longer legal input 107618099Spstcharacters. Note that these are not used in ISO 8859. 107718099Spst 107818099SpstA command called `grog' has been added, similar to the `doctype' 107918099Spstcommand described in Kernighan and Pike. 108018099Spst 108118099SpstGroff 108218099Spst----- 108318099Spst 108418099SpstThe groff command has some new options: -V prints the pipeline 108518099Spstinstead of executing it; -P passes an argument to the postprocessor, 108618099Spst-L passes an argument to the spooler. 108718099Spst 108818099SpstThere is a C++ implementation of the groff command. This handles some 108918099Spstthings slightly better than the shell script. In particular, it can 109018099Spstcorrectly handle arguments containing characters that have a special 109118099Spstmeaning to the shell; it can give an error message when child 109218099Spstprocesses other than the last in the pipeline terminate abnormally; 109318099Spstits exit status can take account of the exit statuses of all its child 109418099Spstprocesses; it is a little more efficient; when geqn is used, it 109518099Spstsearches for the eqnchar file in the same way that font metric files 109618099Spstare searched for, rather than expecting to find it in one particular 109718099Spstdirectory. 109818099Spst 109918099SpstGtroff 110018099Spst------ 110118099Spst 110218099SpstThere is font translation feature: For example, you can tell gtroff to 110318099Spstuse font `HR' whenever font `H' is requested with the line 110418099Spst .ftr H HR 110518099SpstThis would be useful for a document that uses `H' to refer to 110618099SpstHelvetica. 110718099Spst 110818099SpstThere are some new number registers: `.kern' contains the current kern 110918099Spstmode, `.lg' the current ligature mode, `.x' the major version number, 111018099Spst`.y' the minor version number, `.ce' the number of lines to be 111118099Spstcentered in the current environment, `.trunc' the amount of vertical 111218099Spstspace truncated by the most recently sprung vertical position trap, 111318099Spst`.ne' the amount of vertical space needed in the last `ne' request 111418099Spstthat caused a vertical position trap to be sprung. 111518099Spst 111618099SpstThe `cf' request now behaves sensibly in a diversion. If used in a 111718099Spstdiversion, it will now arrange for the file to be copied to the output 111818099Spstwhen the diversion is reread. 111918099Spst 112018099SpstThere is a new request `trf' (transparent file) similar to `cf', but 112118099Spstmore like `\!'. 112218099Spst 112318099SpstThere is a new escape sequence `\Y[xxx]', roughly equivalent to 112418099Spst`\X'\*[xxx]'', except that the contents of string or macro xxx are not 112518099Spstinterpreted, and xxx may contain newlines. This requires an output 112618099Spstformat extension; the drivers have been modified to understand this. 112718099SpstGrops has also been modified to cope with newlines in the arguments to 112818099Spst\X commands; grops has a new \X command mdef, which is like def except 112918099Spstthat it has a first argument giving the number of definitions. 113018099Spst 113118099SpstThere is a new warning category `escape' which warns about unknown 113218099Spstescape sequences. 113318099Spst 113418099SpstThe `fp' request now takes an optional third argument giving the external 113518099Spstname of the font. 113618099Spst 113718099SpstThe `\_' character is now automatically translated to `\(ul' as in troff. 113818099Spst 113918099SpstThe environment variable `GROFF_HYPHEN' gives the name of the file 114018099Spstcontaining the hyphenation patterns. 114118099Spst 114218099SpstThere is a `\C'xxx'' escape sequence equivalent to `\[xxx]'. 114318099Spst 114418099SpstCharacters ", ', ), ], *, \(dg are now initially transparent for the purposes 114518099Spstof end of sentence recognition. 114618099Spst 114718099SpstThere is an anti-recursion feature in the `char' request, so you can 114818099Spstsay `.char \(bu \s+2\(bu\s-2'. 114918099Spst 115018099SpstThe limit on the number of font positions has been removed. 115118099SpstAccordingly `\n[.fp]' never returns 0. 115218099Spst 115318099SpstThe restriction on the number of numbered environments has been removed. 115418099Spst 115518099SpstThere is a new escape sequence `\E' that makes it possible to 115618099Spstguarantee that an escape sequence won't get interpreted in copy-mode. 115718099SpstThe `\R' escape sequence is accordingly now deprecated. 115818099Spst 115918099SpstGpic 116018099Spst---- 116118099Spst 116218099SpstArguments of the form `X anything X' (in the `copy thru', `sh', `for', 116318099Spst`if' and `define' constructs) can now be of the form `{ anything }'. 116418099Spst 116518099SpstIf the `linethick' variable is negative (as it now is initially), 116618099Spstlines will be drawn with a thickness proportional to the current point 116718099Spstsize. 116818099Spst 116918099SpstThe `rand' function now takes no arguments and returns a number between 117018099Spst0 and 1. The old syntax is still supported. 117118099Spst 117218099Spst`^' can be used in expressions to indicate exponentiation. 117318099Spst 117418099SpstIn the `for' construct the argument to the by clause can be prefixed 117518099Spstby `*' to indicate that the increment is multiplicative. 117618099Spst 117718099SpstA bare expression may be used as an attribute. If the current 117818099Spstdirection is `dir', then an attribute `expr' is equivalent to 117918099Spst`dir expr' 118018099Spst 118118099SpstThere is a `sprintf' construct that allows numbers to be formatted and used 118218099Spstwherever a quoted string can be used. 118318099Spst 118418099SpstThe height of a text object without an explicit height attribute is 118518099Spstthe number of text strings associated with the object times the value 118618099Spstof the `textht' variable. 118718099Spst 118818099SpstThe maximum height and width of a picture is controlled by the 118918099Spst`maxpswid' and `maxpsht' variables. 119018099Spst 119118099SpstGtbl 119218099Spst---- 119318099Spst 119418099SpstGtbl can now handle gracefully the situation where the `ce' request 119518099Spsthas been applied to a table. 119618099Spst 119718099SpstGeqn 119818099Spst---- 119918099Spst 120018099SpstThe `ifdef' primitive has been generalized. 120118099Spst 120218099SpstA tilde accent can be put underneath a box using `utilde'. This 120318099Spstdefined using a general `uaccent' primitive. 120418099Spst 120518099SpstGrops 120618099Spst----- 120718099Spst 120818099SpstThere is a new PostScript font downloading scheme which handles font 120918099Spstdownloading for imported illustrations. Previously, the name of the 121018099Spstfile containing the font was given in the `x download' line in the 121118099Spstgroff font metric file. Now, there is a `download' file which says 121218099Spstfor each PostScript font name which file contains that font. Grops 121318099Spstcan also now handle inter-font dependencies, where one downloadable 121418099Spstfont depends on some other (possibly downloadable) font. 121518099Spst 121618099SpstThe `T' font has been removed. The characters it used to provide are 121718099Spstnow provided by `char' definitions in tmac.ps. TSymbol.ps has also 121818099Spstbeen removed, and the tweaks it provided are now provided by `char' 121918099Spstdefinitions. 1220