📄 news
字号:
constructs by writing a troff macro.Pic---The implementation no longer uses gperf.Grops-----The compile-time -DBROKEN_SPOOLER option has been replaced by aBROKEN_SPOOLER_FLAGS option. This allows more precise control overhow grops should workaround broken spoolers and previewers. There isa new -b option that can change this at run-time.Grops now generates PostScript that complies with version 3.0 of theDocument Structuring Convention.The resource management component of grops (the part that deals withimported documents and downloadable fonts) has been rewritten and nowsupports version 3.0 of the Document Structuring Conventions. The%%DocumentFonts comment is no longer supported; you must use the%%Document{Needed,Supplied}{Fonts,Resources} comments instead(or as well.)tmac.psatk contains some macros that support the mechanism used by theAndrew Toolkit for including PostScript graphics in troff documents.Xditview--------Parts of xditview have been rewritten so that it can be used with theoutput of gtroff -Tps. groff -TXps will run gtroff -Tps withgxditview.There is a new menu entry `Print' which brings up a dialog box forspecifying a command with which the file being previewed should beprinted.Xditview now uses imake.VERSION 1.01============The groff command now understands the gtroff `-a' and `-i' options.With the `m' and `n' scale indicators, the scale factor is roundedhorizontally before being applied. This makes (almost) no differencefor devices with `hor' equal to 1, but it makes groff with -Tascii or-Tlatin1 behave more like nroff in its treatment of these scaleindicators. Accordingly tmac.tty now calls the `nroff' request sothat the `n' condition will be true.The device-specific macros (tmac.ps, tmac.dvi, tmac.tty and tmac.X)have been made to work at least somewhat with -C. In particular thespecial characters defined by these macros now work with -C.groff -Tdvi -p will now pass pic the -x flag; this will enable fillingof arrowheads and boxes, provided that your dvi driver supports thelatest version of the tpic specials.Eqn---There is a new `-N' option that tells eqn not to allow newlines indelimiters. This allows eqn to recover better from missing closingdelimiters. The groff command will pass on a `-N' option to eqn.Grops-----You can now use psfig with grops. See the file ps/psfig.diff. I donot recommend using psfig for new documents.The command \X'ps: file F' is similar to \X'ps: exec ...' except thatthe PostScript code is read from the file F instead of being containedwithin the \X command. This was added to support psfig.Grodvi------There are font files HB and HI corresponding to cmsssbx10 and cmssi10.Macros------The groff -me macros now work with the -C option. As a result, theymay also work with Unix nroff/troff.In -me, the $r and $R number registers now contain the line spacing asa percentage of the pointsize expressed in units (normally about 120).The previous definition was useless with low resolution devices suchas X75 and X100.VERSION 1.00============A -ms-like macro-package is now included.The name for the Icelandic lowercase eth character has been changedfrom \(-d to \(Sd.Troff-----There is a new request `nroff', which makes the `n' built-in conditiontrue and the `t' built-in condition false; also a new request `troff'which undoes the effect of the `nroff' request. This is intended onlyfor backward compatibility: it is usually better to test \n(.H or\n(.V or to use the `c' built-in condition.The \R escape sequence has been deleted. Use \E instead.There are `break' and `continue' requests for use with the `while'request.There is a request `hym' that can ensure that when the currentadjustment mode is not `b' a line will not be hyphenated if it is nomore than a given amount short, and a request `hys' that can ensurethat when the current adjustment mode is `b' a line will not behyphenated if it can be justified by adding no more than a givenamount of extra space to each word space.There is a request `rj' similar to `ce' that right justifies lines.A warning of type `space' will be given when a call is made to anundefined request or macro with a name longer than two characters, andthe first two characters of the name make a name that is defined.This is intended to find places where a space has been omitted been arequest or macro and its argument. This type of warning is enabled bydefault.Pic---A comma is permitted between the arguments to the `reset' command.For use with TeX, there is a new `-c' option that makes gpic treatlines beginning with `.' in a way that is more compatible with tpic(but ugly).Eqn---It is no longer necessary to add `space 0' at the beginning ofcomplicated equations inside pictures.`prime' is now treated as an ordinary character, as in Unix eqn. Theprevious behaviour of `prime' as an operator can now be obtained using`opprime'.Xditview--------There are two new devices X75-12 and X100-12 which are the same as X75and X100 except that they are optimized for documents that use mostly12 point text.VERSION 0.6===========The installation process has been refined to make it easy for you toshare groff with someone who has the same type of machine as you butdoes not have a C++ compiler. See the end of the INSTALL file fordetails.There is a man page for the tfmtodit program which explains how to useyour own fonts with groff -Tdvi.There is a man page for afmtodit which explains how to use your ownPostScript fonts with groff -Tps.The \N escape sequence is now fully supported. It can now be used toaccess any character in a font by its output code, even if it doesn'thave a groff name. This is made possible by a convention in the fontfiles that a character name of `---' refers to an unnamed character.The drivers now all support the `N' command required for this. The fontdescription files have been updated to include unnamed characters.The `x' command in font description files has been removed: insteadany unknown commands are automatically made available to the drivers.If you constructed your own font files with an earlier version oftfmtodit or afmtodit, you must construct them again using the currentversion.Characters between 0200 and 0237 octal are no longer legal inputcharacters. Note that these are not used in ISO 8859.A command called `grog' has been added, similar to the `doctype'command described in Kernighan and Pike.Groff-----The groff command has some new options: -V prints the pipelineinstead of executing it; -P passes an argument to the postprocessor,-L passes an argument to the spooler.There is a C++ implementation of the groff command. This handles somethings slightly better than the shell script. In particular, it cancorrectly handle arguments containing characters that have a specialmeaning to the shell; it can give an error message when childprocesses other than the last in the pipeline terminate abnormally;its exit status can take account of the exit statuses of all its childprocesses; it is a little more efficient; when geqn is used, itsearches for the eqnchar file in the same way that font metric filesare searched for, rather than expecting to find it in one particulardirectory.Gtroff------There is font translation feature: For example, you can tell gtroff touse font `HR' whenever font `H' is requested with the line .ftr H HRThis would be useful for a document that uses `H' to refer toHelvetica.There are some new number registers: `.kern' contains the current kernmode, `.lg' the current ligature mode, `.x' the major version number,`.y' the minor version number, `.ce' the number of lines to becentered in the current environment, `.trunc' the amount of verticalspace truncated by the most recently sprung vertical position trap,`.ne' the amount of vertical space needed in the last `ne' requestthat caused a vertical position trap to be sprung.The `cf' request now behaves sensibly in a diversion. If used in adiversion, it will now arrange for the file to be copied to the outputwhen the diversion is reread.There is a new request `trf' (transparent file) similar to `cf', butmore like `\!'.There is a new escape sequence `\Y[xxx]', roughly equivalent to`\X'\*[xxx]'', except that the contents of string or macro xxx are notinterpreted, and xxx may contain newlines. This requires an outputformat extension; the drivers have been modified to understand this.Grops has also been modified to cope with newlines in the arguments to\X commands; grops has a new \X command mdef, which is like def exceptthat it has a first argument giving the number of definitions.There is a new warning category `escape' which warns about unknownescape sequences.The `fp' request now takes an optional third argument giving the externalname of the font.The `\_' character is now automatically translated to `\(ul' as in troff.The environment variable `GROFF_HYPHEN' gives the name of the filecontaining the hyphenation patterns.There is a `\C'xxx'' escape sequence equivalent to `\[xxx]'.Characters ", ', ), ], *, \(dg are now initially transparent for the purposesof end of sentence recognition.There is an anti-recusion feature in the `char' request, so you cansay `.char \(bu \s+2\(bu\s-2'.The limit on the number of font positions has been removed.Accordingly `\n[.fp]' never returns 0.The restriction on the number of numbered environments has been removed.There is a new escape sequence `\E' that makes it possible toguarantee that an escape sequence won't get interpreted in copy-mode.The `\R' escape sequence is accordingly now deprecated.Gpic----Arguments of the form `X anything X' (in the `copy thru', `sh', `for',`if' and `define' constructs) can now be of the form `{ anything }'.If the `linethick' variable is negative (as it now is initially),lines will be drawn with a thickness proportional to the current pointsize.The `rand' function now takes no arguments and returns a number between0 and 1. The old syntax is still supported.`^' can be used in expressions to indicate exponentiation.In the `for' construct the argument to the by clause can be prefixedby `*' to indicate that the increment is multiplicative.A bare expression may be used as an attribute. If the currentdirection is `dir', then an attribute `expr' is equivalent to`dir expr'There is a `sprintf' construct that allows numbers to be formatted and usedwherever a quoted string can be used.The height of a text object without an explicit height attribute isthe number of text strings associated with the object times the valueof the `textht' variable.The maximum height and width of a picture is controlled by the`maxpswid' and `maxpsht' variables.Gtbl----Gtbl can now handle gracefully the situation where the `ce' requesthas been applied to a table.Geqn----The `ifdef' primitive has been generalized.A tilde accent can be put underneath a box using `utilde'. Thisdefined using a general `uaccent' primitive.Grops-----There is a new PostScript font downloading scheme which handles fontdownloading for imported illustrations. Previously, the name of thefile containing the font was given in the `x download' line in thegroff font metric file. Now, there is a `download' file which saysfor each PostScript font name which file contains that font. Gropscan also now handle inter-font dependencies, where one downloadablefont depends on some other (possibly downloadable) font.The `T' font has been removed. The characters it used to provide arenow provided by `char' definitions in tmac.ps. TSymbol.ps has alsobeen removed, and the tweaks it provided are now provided by `char'definitions.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -