⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news

📁 早期freebsd实现
💻
📖 第 1 页 / 共 2 页
字号:
This file describes recent user-visible changes in groff.  Bug fixesare not described.  There are more details in the man pages.VERSION 1.08============Troff-----The escape sequence \V[xxx] will interpolate the value of theenvironment variable xxx.Tbl---The decimalpoint option can be used to specify the character to berecognized as the decimal point character in place of the defaultperiod.VERSION 1.07============Groff-----The environment variable GROFF_COMMAND_PREFIX can be used to controlwhether groff looks for `gtroff' or `troff' (similarily for thepreprocessors.)Troff-----Multilingual hyphenation is supported by new `hpf' and `hla' requests,and by a `\n[.hla]' number register.  The -H option has been removed.Files of hyphenation patterns can have comments.When a font cannot be found, troff gives a warning (of type `font',enabled by default) instead of an error.There's a new request `trnt' that's like `tr' except that it doesn'tapply to text transparently throughput into a diversion with \!.Tbl---There is a `nokeep' option which tells tbl not to use diversions totry to keep the table on one page.Eqn---Setting the parameter `nroff' to a non-zero value causes `ndefine' tobehave like `define' and `tdefine' to be ignored.  This is done byeqnrc when the current device is ascii or latin1.  There's a `neqn'script that just does `eqn -Tascii'.Grotty------grotty uses whatever page length was specified using the `pl' requestrather than using the paperlength command in the DESC file.  Thepaperwidth command in the DESC file is also ignored.VERSION 1.06============The programs in groff that have Unix counterparts can now be installedwithout a leading `g' prefix.  See the `g' variable in the Makefile.The g?nroff script simulates the nroff command using groff.New special characters \(+h, \(+f, \(+p, \(Fn, \(Bq, \(bq, \(aq, \(lz,\(an.  See groff_char(7).^L is now a legal input character.Groff-----The Xps pseudo-device has disappeared.  Instead there is a new -Xoption that tells groff to use gxditview instead of the usualpostprocessor. (So instead of -TXps, use -XTps or just -X if yourdefault device is ps.)The postprocessor to be used for a particular device is now specifiedby a `postpro' command in the DESC file rather than being compiledinto groff.  Similarily the command to be used for printing (with the-l option) is now specified by a `print' command in the DESC file.The groff command no longer specifies eqnchar as an input file foreqn.  Instead eqn automatically loads a file `eqnrc'.  The groffcommand no longer passes the -D option to eqn.  Instead eqnrc sets thedraw_lines parameter.The groff command no longer tells troff to load a device-specificmacro file.  This is handled instead by the `troffrc' file, which isalways loaded by troff.The shell script version of groff has been removed.Troff-----The `rchar' request removes a character definition established with `char'.Compatibility mode is disabled and the escape character is set to `\'while a character definition is being processed.The `\#' escape sequence is like `\%' except that the terminatingnewline is ignored.The `shc' request tells troff which character to insert (instead ofthe default \(hy) when a word is hyphenated at a line break.A font name of 0 (zero) in the DESC file will cause no font to bemounted on the corresponding font position.  This is useful forarranging that special fonts are mounted on positions on which usersare not likely explicitly to mount fonts.  All groff devices now avoidinitially mounting fonts on positions 5-9.The `do' request allows a single request or macro to be interpretedwith compatibility mode disabled.troff automatically loads a file `troffrc' before any other input file.This can be prevented with the -R option.  This file is responsiblefor loading the device-specific macros.Pic---The -x option has been removed and a -n option has been added.  Bydefault, pic now assumes that the postprocessor supports groffextensions.  The -n option tells pic to generate output that workswith ditroff drivers.  The -z option now applies only to TeX mode.The -p option has been removed. Instead if the -n option is notspecified, pic generates output that uses \X'ps: ...' if the \n(0pregister is non-zero and tmac.ps sets this register to 1.In places where you could 1st or 5th you can now say `i'th or `i+1'th(the quotes are required).Eqn---Eqn now automatically reads a file `eqnrc' from the macro directory.This performs the same role that the eqnchar files used to.  This canbe prevented by the -R option.Setting the draw_lines parameter to a non-zero value causes lines tobe drawn using \D rather than \l.  The -D option is now obsolete.`uparrow', `downarrow' and `updownarrow' can be used with `left' and`right'.The amount of extra space added before and after lines containingequations can be controlled using the `body_height' and `body_depth'parameters.Grops-----Font description files have been regenerated from newer AFM files.You can get access to the additional characters present in the textfonts in newer PostScript printers by using -mpsnew.The default value of the -b option is specified by a `broken' commandin the DESC file.With the -g option, grops will generate PostScript code that guessesthe page height.  This allows documents to be printed on both letter(8.5x11) and A4 paper without change.Grodvi------ISO Latin-1 characters are available with -Tdvi.  Format groff_char(7)with groff -Tdvi for more information.Grotty------The -mtty-char macros contain additional character definitions foruse with grotty.Macros------In previous releases the groff -me macros treated the $r and $R numberregisters in a way that was incompatible with the BSD -me macros.  Thereason for this was that the approach used by the BSD -me macros doesnot work with low resolution devices such as -TX75 and -TX100.However, this caused problems with existing -me documents.  In thisrelease, the vertical spacing is controlled by the $v and $V registerswhich have the same meaning as $r and $R in earlier groff releases.In addition, if the $r or $R register is set to a value that would becorrect for for the BSD -me macros and a low resolution device is notbeing used, then an appropriate value for the $v or $V register willbe derived from the $r or $R register.The groff -me macros work with -C and (I think) with Unix troff.For backward compatibility with BSD -me, the \*{ and \*} strings arealso available as \*[ and \*].  Of course, \*[ will only be useablewith -C.The \*T string has been deleted.  Use \*(Tm instead.Xditview--------The `n', Space and Return keys are bound to the Next Page action.  The`p', BackSpace and Delete keys are bound to the Previous Page action.The `q' key is bound to the Quit action.The `r' key is bound to a rerasterize action that reruns groff, andredisplays the current page.VERSION 1.05============Pic---There is a alternative assignment operator `:=' which interactsdifferently with blocks.There is a new command `command', which allows the values of variablesto be passed through to troff or TeX.The `print' command now accepts multiple arguments.String comparison expressions (using `==' or `!=') are allowed in morecontexts.Grotty------Horizontal and vertical lines drawn with \D'l ...' will be renderedusing -, | and + characters.  This is intended to give reasonableresults with boxed tables.  It won't work well with pic.Macros------The -mdoc macros have been upgraded to the version in the secondBerkeley networking release.  This version is not completelycompatible with earlier versions; the old version is still availableas -mdoc.old.  The grog script has been enhanced so that it canusually determine whether a document requires the old or new versions.With -TX75, -TX100 and -TXps, the PSPIC macro will produce a boxaround where the picture would appear with -Tps.VERSION 1.04============An implementation of the -mm macros is included.The directory in which temporary files are created can be controlledby setting the GROFF_TMPDIR or TMPDIR environment variables.Pic---Some MS-DOS support (see pic/make-dos-dist).Grops-----There are two new \X commands (\X'ps: invis' and \X'ps: endinvis')which make it possible to have substitute characters that aredisplayed when previewing with -TXps but ignored when printing withgrops.Xditview--------Support for scalable fonts.VERSION 1.03============No changes other than bug fixes.VERSION 1.02============There is an implementation of refer and associated programs.  groff -Rpreprocesses with grefer; no mechanism is provided for passingarguments to grefer because most grefer options have equivalentcommands which can be included in the file.  grog also supports refer.There is an alternative perl implementation of the grog script.The code field in lines in the charset section of font descriptionfiles is now allowed to contain an arbitrary integer (previously itwas required to lie between 0 and 255).  Currently grops and grodviuse only the low order 8 bits of the value.  Grodvi will use thecomplete value; however, this is unlikely to be useful withtraditional TeX tools (.tfm files only allow 8 bit character codes.)Left and right double quotes can be obtained with \(lq and \(rqrespectively.There is a new program called pfbtops which translates PostScriptfonts in pfb format to ASCII.A slightly modified version of the Berkeley tmac.doc is included.Troff-----In long escape names the closing ] is now required to be at the sameinput level as the opening [.The \A'S' escape sequence returns 1 or 0 according as S is or is notsuitable for use as a name.\~ produces an unbreakable space that can be stretched when the lineis adjusted.The `mso' request is like the `so' request except that it searches forthe file in the same directories in which tmac.X is searched for whenthe -mX option is given.The escape sequence `\R' is similar to the `nr' request.Eqn---A new `special' primitive allows you to add new types of unary

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -