PageRenderTime 85ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/contrib/groff/doc/groff-2

https://bitbucket.org/freebsd/freebsd-head/
#! | 4910 lines | 3933 code | 977 blank | 0 comment | 0 complexity | 49d6f50ba96bba8de8a1912d8cbd463c MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
  1. This is groff, produced by makeinfo version 4.8 from ./groff.texinfo.
  2. This manual documents GNU `troff' version 1.19.2.
  3. Copyright (C) 1994-2000, 2001, 2002, 2003, 2004, 2005 Free Software
  4. Foundation, Inc.
  5. Permission is granted to copy, distribute and/or modify this
  6. document under the terms of the GNU Free Documentation License,
  7. Version 1.1 or any later version published by the Free Software
  8. Foundation; with no Invariant Sections, with the Front-Cover texts
  9. being `A GNU Manual," and with the Back-Cover Texts as in (a)
  10. below. A copy of the license is included in the section entitled
  11. `GNU Free Documentation License."
  12. (a) The FSF's Back-Cover Text is: `You have freedom to copy and
  13. modify this GNU Manual, like GNU software. Copies published by
  14. the Free Software Foundation raise funds for GNU development."
  15. INFO-DIR-SECTION Typesetting
  16. START-INFO-DIR-ENTRY
  17. * Groff: (groff). The GNU troff document formatting system.
  18. END-INFO-DIR-ENTRY
  19. 
  20. File: groff, Node: Drawing Requests, Next: Traps, Prev: Page Motions, Up: gtroff Reference
  21. 5.23 Drawing Requests
  22. =====================
  23. `gtroff' provides a number of ways to draw lines and other figures on
  24. the page. Used in combination with the page motion commands (see *Note
  25. Page Motions::, for more info), a wide variety of figures can be drawn.
  26. However, for complex drawings these operations can be quite
  27. cumbersome, and it may be wise to use graphic preprocessors like `gpic'
  28. or `ggrn'. *Note gpic::, and *Note ggrn::, for more information.
  29. All drawing is done via escapes.
  30. -- Escape: \l'l'
  31. -- Escape: \l'lg'
  32. Draw a line horizontally. L is the length of the line to be
  33. drawn. If it is positive, start the line at the current location
  34. and draw to the right; its end point is the new current location.
  35. Negative values are handled differently: The line starts at the
  36. current location and draws to the left, but the current location
  37. doesn't move.
  38. L can also be specified absolutely (i.e. with a leading `|') which
  39. draws back to the beginning of the input line. Default scaling
  40. indicator is `m'.
  41. The optional second parameter G is a glyph to draw the line with.
  42. If this second argument is not specified, `gtroff' uses the
  43. underscore glyph, `\[ru]'.
  44. To separate the two arguments (to prevent `gtroff' from
  45. interpreting a drawing glyph as a scaling indicator if the glyph is
  46. represented by a single character) use `\&'.
  47. Here a small useful example:
  48. .de box
  49. \[br]\\$*\[br]\l'|0\[rn]'\l'|0\[ul]'
  50. ..
  51. Note that this works by outputting a box rule (a vertical line),
  52. then the text given as an argument and then another box rule.
  53. Finally, the line drawing escapes both draw from the current
  54. location to the beginning of the _input_ line - this works because
  55. the line length is negative, not moving the current point.
  56. -- Escape: \L'l'
  57. -- Escape: \L'lg'
  58. Draw vertical lines. Its parameters are similar to the `\l'
  59. escape, except that the default scaling indicator is `v'. The
  60. movement is downwards for positive values, and upwards for
  61. negative values. The default glyph is the box rule glyph,
  62. `\[br]'. As with the vertical motion escapes, text processing
  63. blindly continues where the line ends.
  64. This is a \L'3v'test.
  65. Here the result, produced with `grotty'.
  66. This is a
  67. |
  68. |
  69. |test.
  70. -- Escape: \D'command arg ...'
  71. The `\D' escape provides a variety of drawing functions. Note
  72. that on character devices, only vertical and horizontal lines are
  73. supported within `grotty'; other devices may only support a subset
  74. of the available drawing functions.
  75. The default scaling indicator for all subcommands of `\D' is `m'
  76. for horizontal distances and `v' for vertical ones. Exceptions
  77. are `\D'f ...'' and `\D't ...'' which use `u' as the default, and
  78. `\D'FX ...'' which arguments are treated similar to the `defcolor'
  79. request.
  80. `\D'l DX DY''
  81. Draw a line from the current location to the relative point
  82. specified by (DX,DY), where positive values mean down and
  83. right, respectively. The end point of the line is the new
  84. current location.
  85. The following example is a macro for creating a box around a
  86. text string; for simplicity, the box margin is taken as a
  87. fixed value, 0.2m.
  88. .de BOX
  89. . nr @wd \w'\\$1'
  90. \h'.2m'\
  91. \h'-.2m'\v'(.2m - \\n[rsb]u)'\
  92. \D'l 0 -(\\n[rst]u - \\n[rsb]u + .4m)'\
  93. \D'l (\\n[@wd]u + .4m) 0'\
  94. \D'l 0 (\\n[rst]u - \\n[rsb]u + .4m)'\
  95. \D'l -(\\n[@wd]u + .4m) 0'\
  96. \h'.2m'\v'-(.2m - \\n[rsb]u)'\
  97. \\$1\
  98. \h'.2m'
  99. ..
  100. First, the width of the string is stored in register `@wd'.
  101. Then, four lines are drawn to form a box, properly offset by
  102. the box margin. The registers `rst' and `rsb' are set by the
  103. `\w' escape, containing the largest height and depth of the
  104. whole string.
  105. `\D'c D''
  106. Draw a circle with a diameter of D with the leftmost point at
  107. the current position. After drawing, the current location is
  108. positioned at the rightmost point of the circle.
  109. `\D'C D''
  110. Draw a solid circle with the same parameters and behaviour as
  111. an outlined circle. No outline is drawn.
  112. `\D'e X Y''
  113. Draw an ellipse with a horizontal diameter of X and a vertical
  114. diameter of Y with the leftmost point at the current position.
  115. After drawing, the current location is positioned at the
  116. rightmost point of the ellipse.
  117. `\D'E X Y''
  118. Draw a solid ellipse with the same parameters and behaviour
  119. as an outlined ellipse. No outline is drawn.
  120. `\D'a DX1 DY1 DX2 DY2''
  121. Draw an arc clockwise from the current location through the
  122. two specified relative locations (DX1,DY1) and (DX2,DY2).
  123. The coordinates of the first point are relative to the
  124. current position, and the coordinates of the second point are
  125. relative to the first point. After drawing, the current
  126. position is moved to the final point of the arc.
  127. `\D'~ DX1 DY1 DX2 DY2 ...''
  128. Draw a spline from the current location to the relative point
  129. (DX1,DY1) and then to (DX2,DY2), and so on. The current
  130. position is moved to the terminal point of the drawn curve.
  131. `\D'f N''
  132. Set the shade of gray to be used for filling solid objects
  133. to N; N must be an integer between 0 and 1000, where 0
  134. corresponds solid white and 1000 to solid black, and values
  135. in between correspond to intermediate shades of gray. This
  136. applies only to solid circles, solid ellipses, and solid
  137. polygons. By default, a level of 1000 is used.
  138. Despite of being silly, the current point is moved
  139. horizontally to the right by N.
  140. Don't use this command! It has the serious drawback that it
  141. will be always rounded to the next integer multiple of the
  142. horizontal resolution (the value of the `hor' keyword in the
  143. `DESC' file). Use `\M' (*note Colors::) or `\D'Fg ...''
  144. instead.
  145. `\D'p DX1 DY1 DX2 DY2 ...''
  146. Draw a polygon from the current location to the relative
  147. position (DX1,DY1) and then to (DX2,DY2) and so on. When the
  148. specified data points are exhausted, a line is drawn back to
  149. the starting point. The current position is changed by
  150. adding the sum of all arguments with odd index to the actual
  151. horizontal position and the even ones to the vertical
  152. position.
  153. `\D'P DX1 DY1 DX2 DY2 ...''
  154. Draw a solid polygon with the same parameters and behaviour
  155. as an outlined polygon. No outline is drawn.
  156. Here a better variant of the box macro to fill the box with
  157. some color. Note that the box must be drawn before the text
  158. since colors in `gtroff' are not transparent; the filled
  159. polygon would hide the text completely.
  160. .de BOX
  161. . nr @wd \w'\\$1'
  162. \h'.2m'\
  163. \h'-.2m'\v'(.2m - \\n[rsb]u)'\
  164. \M[lightcyan]\
  165. \D'P 0 -(\\n[rst]u - \\n[rsb]u + .4m) \
  166. (\\n[@wd]u + .4m) 0 \
  167. 0 (\\n[rst]u - \\n[rsb]u + .4m) \
  168. -(\\n[@wd]u + .4m) 0'\
  169. \h'.2m'\v'-(.2m - \\n[rsb]u)'\
  170. \M[]\
  171. \\$1\
  172. \h'.2m'
  173. ..
  174. `\D't N''
  175. Set the current line thickness to N machine units. A value of
  176. zero selects the smallest available line thickness. A
  177. negative value makes the line thickness proportional to the
  178. current point size (this is the default behaviour of AT&T
  179. `troff').
  180. Despite of being silly, the current point is moved
  181. horizontally to the right by N.
  182. `\D'FSCHEME COLOR_COMPONENTS''
  183. Change current fill color. SCHEME is a single letter
  184. denoting the color scheme: `r' (rgb), `c' (cmy), `k' (cmyk),
  185. `g' (gray), or `d' (default color). The color components use
  186. exactly the same syntax as in the `defcolor' request (*note
  187. Colors::); the command `\D'Fd'' doesn't take an argument.
  188. _No_ position changing!
  189. Examples:
  190. \D'Fg .3' \" same gray as \D'f 700' \D'Fr #0000ff' \"
  191. blue
  192. *Note Graphics Commands::.
  193. -- Escape: \b'string'
  194. "Pile" a sequence of glyphs vertically, and center it vertically
  195. on the current line. Use it to build large brackets and braces.
  196. Here an example how to create a large opening brace:
  197. \b'\[lt]\[bv]\[lk]\[bv]\[lb]'
  198. The first glyph is on the top, the last glyph in STRING is at the
  199. bottom. Note that `gtroff' separates the glyphs vertically by 1m,
  200. and the whole object is centered 0.5m above the current baseline;
  201. the largest glyph width is used as the width for the whole object.
  202. This rather unflexible positioning algorithm doesn't work with
  203. `-Tdvi' since the bracket pieces vary in height for this device.
  204. Instead, use the `eqn' preprocessor.
  205. *Note Manipulating Spacing::, how to adjust the vertical spacing
  206. with the `\x' escape.
  207. 
  208. File: groff, Node: Traps, Next: Diversions, Prev: Drawing Requests, Up: gtroff Reference
  209. 5.24 Traps
  210. ==========
  211. "Traps" are locations, which, when reached, call a specified macro.
  212. These traps can occur at a given location on the page, at a given
  213. location in the current diversion, at a blank line, after a certain
  214. number of input lines, or at the end of input.
  215. Setting a trap is also called "planting". It is also said that a
  216. trap is "sprung" if the associated macro is executed.
  217. * Menu:
  218. * Page Location Traps::
  219. * Diversion Traps::
  220. * Input Line Traps::
  221. * Blank Line Traps::
  222. * End-of-input Traps::
  223. 
  224. File: groff, Node: Page Location Traps, Next: Diversion Traps, Prev: Traps, Up: Traps
  225. 5.24.1 Page Location Traps
  226. --------------------------
  227. "Page location traps" perform an action when `gtroff' reaches or passes
  228. a certain vertical location on the page. Page location traps have a
  229. variety of purposes, including:
  230. * setting headers and footers
  231. * setting body text in multiple columns
  232. * setting footnotes
  233. -- Request: .vpt flag
  234. -- Register: \n[.vpt]
  235. Enable vertical position traps if FLAG is non-zero, or disables
  236. them otherwise. Vertical position traps are traps set by the `wh'
  237. or `dt' requests. Traps set by the `it' request are not vertical
  238. position traps. The parameter that controls whether vertical
  239. position traps are enabled is global. Initially vertical position
  240. traps are enabled. The current setting of this is available in the
  241. `.vpt' read-only number register.
  242. Note that a page can't be ejected if `vpt' is set to zero.
  243. -- Request: .wh dist [macro]
  244. Set a page location trap. Non-negative values for DIST set the
  245. trap relative to the top of the page; negative values set the trap
  246. relative to the bottom of the page. Default scaling indicator is
  247. `v'.
  248. MACRO is the name of the macro to execute when the trap is sprung.
  249. If MACRO is missing, remove the first trap (if any) at DIST.
  250. The following is a simple example of how many macro packages set
  251. headers and footers.
  252. .de hd \" Page header
  253. ' sp .5i
  254. . tl 'Title''date'
  255. ' sp .3i
  256. ..
  257. .
  258. .de fo \" Page footer
  259. ' sp 1v
  260. . tl ''%''
  261. ' bp
  262. ..
  263. .
  264. .wh 0 hd \" trap at top of the page
  265. .wh -1i fo \" trap one inch from bottom
  266. A trap at or below the bottom of the page is ignored; it can be
  267. made active by either moving it up or increasing the page length
  268. so that the trap is on the page.
  269. It is possible to have more than one trap at the same location; to
  270. do so, the traps must be defined at different locations, then
  271. moved together with the `ch' request; otherwise the second trap
  272. would replace the first one. Earlier defined traps hide later
  273. defined traps if moved to the same position (the many empty lines
  274. caused by the `bp' request are omitted in the following example):
  275. .de a
  276. . nop a
  277. ..
  278. .de b
  279. . nop b
  280. ..
  281. .de c
  282. . nop c
  283. ..
  284. .
  285. .wh 1i a
  286. .wh 2i b
  287. .wh 3i c
  288. .bp
  289. => a b c
  290. .ch b 1i
  291. .ch c 1i
  292. .bp
  293. => a
  294. .ch a 0.5i
  295. .bp
  296. => a b
  297. -- Register: \n[.t]
  298. A read-only number register holding the distance to the next trap.
  299. If there are no traps between the current position and the bottom
  300. of the page, it contains the distance to the page bottom. In a
  301. diversion, the distance to the page bottom is infinite (the
  302. returned value is the biggest integer which can be represented in
  303. `groff') if there are no diversion traps.
  304. -- Request: .ch macro [dist]
  305. Change the location of a trap. The first argument is the name of
  306. the macro to be invoked at the trap, and the second argument is
  307. the new location for the trap (note that the parameters are
  308. specified in opposite order as in the `wh' request). This is
  309. useful for building up footnotes in a diversion to allow more
  310. space at the bottom of the page for them.
  311. Default scaling indicator for DIST is `v'. If DIST is missing,
  312. the trap is removed.
  313. -- Register: \n[.ne]
  314. The read-only number register `.ne' contains the amount of space
  315. that was needed in the last `ne' request that caused a trap to be
  316. sprung. Useful in conjunction with the `.trunc' register. *Note
  317. Page Control::, for more information.
  318. Since the `.ne' register is only set by traps it doesn't make much
  319. sense to use it outside of trap macros.
  320. -- Register: \n[.trunc]
  321. A read-only register containing the amount of vertical space
  322. truncated by the most recently sprung vertical position trap, or,
  323. if the trap was sprung by an `ne' request, minus the amount of
  324. vertical motion produced by the `ne' request. In other words, at
  325. the point a trap is sprung, it represents the difference of what
  326. the vertical position would have been but for the trap, and what
  327. the vertical position actually is.
  328. Since the `.trunc' register is only set by traps it doesn't make
  329. much sense to use it outside of trap macros.
  330. -- Register: \n[.pe]
  331. A read-only register which is set to 1 while a page is ejected with
  332. the `bp' request (or by the end of input).
  333. Outside of traps this register is always zero. In the following
  334. example, only the second call to `x' is caused by `bp'.
  335. .de x
  336. \&.pe=\\n[.pe]
  337. .br
  338. ..
  339. .wh 1v x
  340. .wh 4v x
  341. A line.
  342. .br
  343. Another line.
  344. .br
  345. => A line.
  346. .pe=0
  347. Another line.
  348. .pe=1
  349. An important fact to consider while designing macros is that
  350. diversions and traps do not interact normally. For example, if a trap
  351. invokes a header macro (while outputting a diversion) which tries to
  352. change the font on the current page, the effect will not be visible
  353. before the diversion has completely been printed (except for input
  354. protected with `\!' or `\?') since the data in the diversion is already
  355. formatted. In most cases, this is not the expected behaviour.
  356. 
  357. File: groff, Node: Diversion Traps, Next: Input Line Traps, Prev: Page Location Traps, Up: Traps
  358. 5.24.2 Diversion Traps
  359. ----------------------
  360. -- Request: .dt [dist macro]
  361. Set a trap _within_ a diversion. DIST is the location of the trap
  362. (identical to the `wh' request; default scaling indicator is `v')
  363. and MACRO is the name of the macro to be invoked. If called
  364. without arguments, the diversion trap is removed.
  365. Note that there exists only a single diversion trap.
  366. The number register `.t' still works within diversions. *Note
  367. Diversions::, for more information.
  368. 
  369. File: groff, Node: Input Line Traps, Next: Blank Line Traps, Prev: Diversion Traps, Up: Traps
  370. 5.24.3 Input Line Traps
  371. -----------------------
  372. -- Request: .it n macro
  373. -- Request: .itc n macro
  374. Set an input line trap. N is the number of lines of input which
  375. may be read before springing the trap, MACRO is the macro to be
  376. invoked. Request lines are not counted as input lines.
  377. For example, one possible use is to have a macro which prints the
  378. next N lines in a bold font.
  379. .de B
  380. . it \\$1 B-end
  381. . ft B
  382. ..
  383. .
  384. .de B-end
  385. . ft R
  386. ..
  387. The `itc' request is identical except that an interrupted text
  388. line (ending with `\c') is not counted as a separate line.
  389. Both requests are associated with the current environment (*note
  390. Environments::); switching to another environment disables the
  391. current input trap, and going back reactivates it, restoring the
  392. number of already processed lines.
  393. 
  394. File: groff, Node: Blank Line Traps, Next: End-of-input Traps, Prev: Input Line Traps, Up: Traps
  395. 5.24.4 Blank Line Traps
  396. -----------------------
  397. -- Request: .blm macro
  398. Set a blank line trap. `gtroff' executes MACRO when it encounters
  399. a blank line in the input file.
  400. 
  401. File: groff, Node: End-of-input Traps, Prev: Blank Line Traps, Up: Traps
  402. 5.24.5 End-of-input Traps
  403. -------------------------
  404. -- Request: .em macro
  405. Set a trap at the end of input. MACRO is executed after the last
  406. line of the input file has been processed.
  407. For example, if the document had to have a section at the bottom
  408. of the last page for someone to approve it, the `em' request could
  409. be used.
  410. .de approval
  411. . ne 5v
  412. . sp |(\\n[.t] - 6v)
  413. . in +4i
  414. . lc _
  415. . br
  416. Approved:\t\a
  417. . sp
  418. Date:\t\t\a
  419. ..
  420. .
  421. .em approval
  422. 
  423. File: groff, Node: Diversions, Next: Environments, Prev: Traps, Up: gtroff Reference
  424. 5.25 Diversions
  425. ===============
  426. In `gtroff' it is possible to "divert" text into a named storage area.
  427. Due to the similarity to defining macros it is sometimes said to be
  428. stored in a macro. This is used for saving text for output at a later
  429. time, which is useful for keeping blocks of text on the same page,
  430. footnotes, tables of contents, and indices.
  431. For orthogonality it is said that `gtroff' is in the "top-level
  432. diversion" if no diversion is active (i.e., the data is diverted to the
  433. output device).
  434. -- Request: .di macro
  435. -- Request: .da macro
  436. Begin a diversion. Like the `de' request, it takes an argument of
  437. a macro name to divert subsequent text into. The `da' macro
  438. appends to an existing diversion.
  439. `di' or `da' without an argument ends the diversion.
  440. -- Request: .box macro
  441. -- Request: .boxa macro
  442. Begin (or appends to) a diversion like the `di' and `da' requests.
  443. The difference is that `box' and `boxa' do not include a
  444. partially-filled line in the diversion.
  445. Compare this:
  446. Before the box.
  447. .box xxx
  448. In the box.
  449. .br
  450. .box
  451. After the box.
  452. .br
  453. => Before the box. After the box.
  454. .xxx
  455. => In the box.
  456. with this:
  457. Before the diversion.
  458. .di yyy
  459. In the diversion.
  460. .br
  461. .di
  462. After the diversion.
  463. .br
  464. => After the diversion.
  465. .yyy
  466. => Before the diversion. In the diversion.
  467. `box' or `boxa' without an argument ends the diversion.
  468. -- Register: \n[.z]
  469. -- Register: \n[.d]
  470. Diversions may be nested. The read-only number register `.z'
  471. contains the name of the current diversion (this is a string-valued
  472. register). The read-only number register `.d' contains the current
  473. vertical place in the diversion. If not in a diversion it is the
  474. same as register `nl'.
  475. -- Register: \n[.h]
  476. The "high-water mark" on the current page. It corresponds to the
  477. text baseline of the lowest line on the page. This is a read-only
  478. register.
  479. .tm .h==\n[.h], nl==\n[nl]
  480. => .h==0, nl==-1
  481. This is a test.
  482. .br
  483. .sp 2
  484. .tm .h==\n[.h], nl==\n[nl]
  485. => .h==40, nl==120
  486. As can be seen in the previous example, empty lines are not
  487. considered in the return value of the `.h' register.
  488. -- Register: \n[dn]
  489. -- Register: \n[dl]
  490. After completing a diversion, the read-write number registers `dn'
  491. and `dl' contain the vertical and horizontal size of the diversion.
  492. Note that only the just processed lines are counted: For the
  493. computation of `dn' and `dl', the requests `da' and `boxa' are
  494. handled as if `di' and `box' had been used - lines which have been
  495. already stored in a macro are not taken into account.
  496. .\" Center text both horizontally & vertically
  497. .
  498. .\" Enclose macro definitions in .eo and .ec
  499. .\" to avoid the doubling of the backslash
  500. .eo
  501. .\" macro .(c starts centering mode
  502. .de (c
  503. . br
  504. . ev (c
  505. . evc 0
  506. . in 0
  507. . nf
  508. . di @c
  509. ..
  510. .\" macro .)c terminates centering mode
  511. .de )c
  512. . br
  513. . ev
  514. . di
  515. . nr @s (((\n[.t]u - \n[dn]u) / 2u) - 1v)
  516. . sp \n[@s]u
  517. . ce 1000
  518. . @c
  519. . ce 0
  520. . sp \n[@s]u
  521. . br
  522. . fi
  523. . rr @s
  524. . rm @s
  525. . rm @c
  526. ..
  527. .\" End of macro definitions, restore escape mechanism
  528. .ec
  529. -- Escape: \!
  530. -- Escape: \?anything\?
  531. Prevent requests, macros, and escapes from being interpreted when
  532. read into a diversion. Both escapes take the given text and
  533. "transparently" embed it into the diversion. This is useful for
  534. macros which shouldn't be invoked until the diverted text is
  535. actually output.
  536. The `\!' escape transparently embeds text up to and including the
  537. end of the line. The `\?' escape transparently embeds text until
  538. the next occurrence of the `\?' escape. Example:
  539. \?ANYTHING\?
  540. ANYTHING may not contain newlines; use `\!' to embed newlines in
  541. a diversion. The escape sequence `\?' is also recognized in copy
  542. mode and turned into a single internal code; it is this code that
  543. terminates ANYTHING. Thus the following example prints 4.
  544. .nr x 1
  545. .nf
  546. .di d
  547. \?\\?\\\\?\\\\\\\\nx\\\\?\\?\?
  548. .di
  549. .nr x 2
  550. .di e
  551. .d
  552. .di
  553. .nr x 3
  554. .di f
  555. .e
  556. .di
  557. .nr x 4
  558. .f
  559. Both escapes read the data in copy mode.
  560. If `\!' is used in the top-level diversion, its argument is
  561. directly embedded into the `gtroff' intermediate output. This can
  562. be used for example to control a postprocessor which processes the
  563. data before it is sent to the device driver.
  564. The `\?' escape used in the top-level diversion produces no output
  565. at all; its argument is simply ignored.
  566. -- Request: .output string
  567. Emit STRING directly to the `gtroff' intermediate output (subject
  568. to copy-mode interpretation); this is similar to `\!' used at the
  569. top level. An initial double quote in STRING is stripped off to
  570. allow initial blanks.
  571. This request can't be used before the first page has started - if
  572. you get an error, simply insert `.br' before the `output' request.
  573. Without argument, `output' is ignored.
  574. Use with caution! It is normally only needed for mark-up used by a
  575. postprocessor which does something with the output before sending
  576. it to the output device, filtering out STRING again.
  577. -- Request: .asciify div
  578. "Unformat" the diversion specified by DIV in such a way that ASCII
  579. characters, characters translated with the `trin' request, space
  580. characters, and some escape sequences that were formatted and
  581. diverted are treated like ordinary input characters when the
  582. diversion is reread. It can be also used for gross hacks; for
  583. example, the following sets register `n' to 1.
  584. .tr @.
  585. .di x
  586. @nr n 1
  587. .br
  588. .di
  589. .tr @@
  590. .asciify x
  591. .x
  592. *Note Copy-in Mode::.
  593. -- Request: .unformat div
  594. Like `asciify', unformat the specified diversion. However,
  595. `unformat' only unformats spaces and tabs between words.
  596. Unformatted tabs are treated as input tokens, and spaces are
  597. stretchable again.
  598. The vertical size of lines is not preserved; glyph information
  599. (font, font size, space width, etc.) is retained.
  600. 
  601. File: groff, Node: Environments, Next: Suppressing output, Prev: Diversions, Up: gtroff Reference
  602. 5.26 Environments
  603. =================
  604. It happens frequently that some text should be printed in a certain
  605. format regardless of what may be in effect at the time, for example, in
  606. a trap invoked macro to print headers and footers. To solve this
  607. `gtroff' processes text in "environments". An environment contains
  608. most of the parameters that control text processing. It is possible to
  609. switch amongst these environments; by default `gtroff' processes text
  610. in environment 0. The following is the information kept in an
  611. environment.
  612. * font parameters (size, family, style, glyph height and slant, space
  613. and sentence space size)
  614. * page parameters (line length, title length, vertical spacing, line
  615. spacing, indentation, line numbering, centering, right-justifying,
  616. underlining, hyphenation data)
  617. * fill and adjust mode
  618. * tab stops, tab and leader characters, escape character, no-break
  619. and hyphen indicators, margin character data
  620. * partially collected lines
  621. * input traps
  622. * drawing and fill colours
  623. These environments may be given arbitrary names (see *Note
  624. Identifiers::, for more info). Old versions of `troff' only had
  625. environments named `0', `1', and `2'.
  626. -- Request: .ev [env]
  627. -- Register: \n[.ev]
  628. Switch to another environment. The argument ENV is the name of
  629. the environment to switch to. With no argument, `gtroff' switches
  630. back to the previous environment. There is no limit on the number
  631. of named environments; they are created the first time that they
  632. are referenced. The `.ev' read-only register contains the name or
  633. number of the current environment. This is a string-valued
  634. register.
  635. Note that a call to `ev' (with argument) pushes the previously
  636. active environment onto a stack. If, say, environments `foo',
  637. `bar', and `zap' are called (in that order), the first `ev'
  638. request without parameter switches back to environment `bar'
  639. (which is popped off the stack), and a second call switches back
  640. to environment `foo'.
  641. Here is an example:
  642. .ev footnote-env
  643. .fam N
  644. .ps 6
  645. .vs 8
  646. .ll -.5i
  647. .ev
  648. ...
  649. .ev footnote-env
  650. \(dg Note the large, friendly letters.
  651. .ev
  652. -- Request: .evc env
  653. Copy the environment ENV into the current environment.
  654. The following environment data is not copied:
  655. * Partially filled lines.
  656. * The status whether the previous line was interrupted.
  657. * The number of lines still to center, or to right-justify, or
  658. to underline (with or without underlined spaces); they are
  659. set to zero.
  660. * The status whether a temporary indentation is active.
  661. * Input traps and its associated data.
  662. * Line numbering mode is disabled; it can be reactivated with
  663. `.nm +0'.
  664. * The number of consecutive hyphenated lines (set to zero).
  665. -- Register: \n[.w]
  666. -- Register: \n[.cht]
  667. -- Register: \n[.cdp]
  668. -- Register: \n[.csk]
  669. The `\n[.w]' register contains the width of the last glyph added
  670. to the current environment.
  671. The `\n[.cht]' register contains the height of the last glyph
  672. added to the current environment.
  673. The `\n[.cdp]' register contains the depth of the last glyph added
  674. to the current environment. It is positive for glyphs extending
  675. below the baseline.
  676. The `\n[.csk]' register contains the "skew" (how far to the right
  677. of the glyph's center that `gtroff' should place an accent) of the
  678. last glyph added to the current environment.
  679. -- Register: \n[.n]
  680. The `\n[.n]' register contains the length of the previous output
  681. line in the current environment.
  682. 
  683. File: groff, Node: Suppressing output, Next: Colors, Prev: Environments, Up: gtroff Reference
  684. 5.27 Suppressing output
  685. =======================
  686. -- Escape: \Onum
  687. Disable or enable output depending on the value of NUM:
  688. `\O0'
  689. Disable any glyphs from being emitted to the device driver,
  690. provided that the escape occurs at the outer level (see
  691. `\O[3]' and `\O[4]'). Motion is not suppressed so
  692. effectively `\O[0]' means _pen up_.
  693. `\O1'
  694. Enable output of glyphs, provided that the escape occurs at
  695. the outer level.
  696. `\O0' and `\O1' also reset the four registers `opminx', `opminy',
  697. `opmaxx', and `opmaxy' to -1. *Note Register Index::. These four
  698. registers mark the top left and bottom right hand corners of a box
  699. which encompasses all written glyphs.
  700. For example the input text:
  701. Hello \O[0]world \O[1]this is a test.
  702. produces the following output:
  703. Hello this is a test.
  704. `\O2'
  705. Provided that the escape occurs at the outer level, enable
  706. output of glyphs and also write out to `stderr' the page
  707. number and four registers encompassing the glyphs previously
  708. written since the last call to `\O'.
  709. `\O3'
  710. Begin a nesting level. At start-up, `gtroff' is at outer
  711. level.
  712. `\O4'
  713. End a nesting level.
  714. `\O[5PFILENAME]'
  715. This escape is `grohtml' specific. Provided that this escape
  716. occurs at the outer nesting level write the `filename' to
  717. `stderr'. The position of the image, P, must be specified
  718. and must be one of `l', `r', `c', or `i' (left, right,
  719. centered, inline). FILENAME will be associated with the
  720. production of the next inline image.
  721. 
  722. File: groff, Node: Colors, Next: I/O, Prev: Suppressing output, Up: gtroff Reference
  723. 5.28 Colors
  724. ===========
  725. -- Request: .color [n]
  726. -- Register: \n[.color]
  727. If N is missing or non-zero, activate colors (this is the default);
  728. otherwise, turn it off.
  729. The read-only number register `.color' is 1 if colors are active,
  730. 0 otherwise.
  731. Internally, `color' sets a global flag; it does not produce a
  732. token. Similar to the `cp' request, you should use it at the
  733. beginning of your document to control color output.
  734. Colors can be also turned off with the `-c' command line option.
  735. -- Request: .defcolor ident scheme color_components
  736. Define color with name IDENT. SCHEME can be one of the following
  737. values: `rgb' (three components), `cmy' (three components), `cmyk'
  738. (four components), and `gray' or `grey' (one component).
  739. Color components can be given either as a hexadecimal string or as
  740. positive decimal integers in the range 0-65535. A hexadecimal
  741. string contains all color components concatenated. It must start
  742. with either `#' or `##'; the former specifies hex values in the
  743. range 0-255 (which are internally multiplied by 257), the latter
  744. in the range 0-65535. Examples: `#FFC0CB' (pink), `##ffff0000ffff'
  745. (magenta). The default color name value is device-specific
  746. (usually black). It is possible that the default color for `\m'
  747. and `\M' is not identical.
  748. A new scaling indicator `f' has been introduced which multiplies
  749. its value by 65536; this makes it convenient to specify color
  750. components as fractions in the range 0 to 1 (1f equals 65536u).
  751. Example:
  752. .defcolor darkgreen rgb 0.1f 0.5f 0.2f
  753. Note that `f' is the default scaling indicator for the `defcolor'
  754. request, thus the above statement is equivalent to
  755. .defcolor darkgreen rgb 0.1 0.5 0.2
  756. -- Request: .gcolor [color]
  757. -- Escape: \mc
  758. -- Escape: \m(co
  759. -- Escape: \m[color]
  760. -- Register: \n[.m]
  761. Set (glyph) drawing color. The following examples show how to
  762. turn the next four words red.
  763. .gcolor red
  764. these are in red
  765. .gcolor
  766. and these words are in black.
  767. \m[red]these are in red\m[] and these words are in black.
  768. The escape `\m[]' returns to the previous color, as does a call to
  769. `gcolor' without an argument.
  770. The name of the current drawing color is available in the
  771. read-only, string-valued number register `.m'.
  772. The drawing color is associated with the current environment
  773. (*note Environments::).
  774. Note that `\m' doesn't produce an input token in `gtroff'. As a
  775. consequence, it can be used in requests like `mc' (which expects a
  776. single character as an argument) to change the color on the fly:
  777. .mc \m[red]x\m[]
  778. -- Request: .fcolor [color]
  779. -- Escape: \Mc
  780. -- Escape: \M(co
  781. -- Escape: \M[color]
  782. -- Register: \n[.M]
  783. Set fill (background) color for filled objects drawn with the
  784. `\D'...'' commands.
  785. A red ellipse can be created with the following code:
  786. \M[red]\h'0.5i'\D'E 2i 1i'\M[]
  787. The escape `\M[]' returns to the previous fill color, as does a
  788. call to `fcolor' without an argument.
  789. The name of the current fill (background) color is available in the
  790. read-only, string-valued number register `.M'.
  791. The fill color is associated with the current environment (*note
  792. Environments::).
  793. Note that `\M' doesn't produce an input token in `gtroff'.
  794. 
  795. File: groff, Node: I/O, Next: Postprocessor Access, Prev: Colors, Up: gtroff Reference
  796. 5.29 I/O
  797. ========
  798. `gtroff' has several requests for including files:
  799. -- Request: .so file
  800. Read in the specified FILE and includes it in place of the `so'
  801. request. This is quite useful for large documents, e.g. keeping
  802. each chapter in a separate file. *Note gsoelim::, for more
  803. information.
  804. Since `gtroff' replaces the `so' request with the contents of
  805. `file', it makes a difference whether the data is terminated with
  806. a newline or not: Assuming that file `xxx' contains the word `foo'
  807. without a final newline, this
  808. This is
  809. .so xxx
  810. bar
  811. yields `This is foobar'.
  812. The search path for FILE can be controlled with the `-I' command
  813. line option.
  814. -- Request: .pso command
  815. Read the standard output from the specified COMMAND and includes
  816. it in place of the `pso' request.
  817. This request causes an error if used in safer mode (which is the
  818. default). Use `groff''s or `troff''s `-U' option to activate
  819. unsafe mode.
  820. The comment regarding a final newline for the `so' request is valid
  821. for `pso' also.
  822. -- Request: .mso file
  823. Identical to the `so' request except that `gtroff' searches for
  824. the specified FILE in the same directories as macro files for the
  825. the `-m' command line option. If the file name to be included has
  826. the form `NAME.tmac' and it isn't found, `mso' tries to include
  827. `tmac.NAME' and vice versa.
  828. -- Request: .trf file
  829. -- Request: .cf file
  830. Transparently output the contents of FILE. Each line is output as
  831. if it were preceded by `\!'; however, the lines are not subject to
  832. copy mode interpretation. If the file does not end with a newline,
  833. then a newline is added (`trf' only). For example, to define a
  834. macro `x' containing the contents of file `f', use
  835. .di x
  836. .trf f
  837. .di
  838. Both `trf' and `cf', when used in a diversion, embeds an object in
  839. the diversion which, when reread, causes the contents of FILE to
  840. be transparently copied through to the output. In UNIX `troff',
  841. the contents of FILE is immediately copied through to the output
  842. regardless of whether there is a current diversion; this behaviour
  843. is so anomalous that it must be considered a bug.
  844. While `cf' copies the contents of FILE completely unprocessed,
  845. `trf' disallows characters such as NUL that are not valid `gtroff'
  846. input characters (*note Identifiers::).
  847. Both requests cause a line break.
  848. -- Request: .nx [file]
  849. Force `gtroff' to continue processing of the file specified as an
  850. argument. If no argument is given, immediately jump to the end of
  851. file.
  852. -- Request: .rd [prompt [arg1 arg2 ...]]
  853. Read from standard input, and include what is read as though it
  854. were part of the input file. Text is read until a blank line is
  855. encountered.
  856. If standard input is a TTY input device (keyboard), write PROMPT
  857. to standard error, followed by a colon (or send BEL for a beep if
  858. no argument is given).
  859. Arguments after PROMPT are available for the input. For example,
  860. the line
  861. .rd data foo bar
  862. with the input `This is \$2.' prints
  863. This is bar.
  864. Using the `nx' and `rd' requests, it is easy to set up form letters.
  865. The form letter template is constructed like this, putting the
  866. following lines into a file called `repeat.let':
  867. .ce
  868. \*(td
  869. .sp 2
  870. .nf
  871. .rd
  872. .sp
  873. .rd
  874. .fi
  875. Body of letter.
  876. .bp
  877. .nx repeat.let
  878. When this is run, a file containing the following lines should be
  879. redirected in. Note that requests included in this file are executed
  880. as though they were part of the form letter. The last block of input
  881. is the `ex' request which tells `groff' to stop processing. If this
  882. was not there, `groff' would not know when to stop.
  883. Trent A. Fisher
  884. 708 NW 19th Av., #202
  885. Portland, OR 97209
  886. Dear Trent,
  887. Len Adollar
  888. 4315 Sierra Vista
  889. San Diego, CA 92103
  890. Dear Mr. Adollar,
  891. .ex
  892. -- Request: .pi pipe
  893. Pipe the output of `gtroff' to the shell command(s) specified by
  894. PIPE. This request must occur before `gtroff' has a chance to
  895. print anything.
  896. `pi' causes an error if used in safer mode (which is the default).
  897. Use `groff''s or `troff''s `-U' option to activate unsafe mode.
  898. Multiple calls to `pi' are allowed, acting as a chain. For
  899. example,
  900. .pi foo
  901. .pi bar
  902. ...
  903. is the same as `.pi foo | bar'.
  904. Note that the intermediate output format of `gtroff' is piped to
  905. the specified commands. Consequently, calling `groff' without the
  906. `-Z' option normally causes a fatal error.
  907. -- Request: .sy cmds
  908. -- Register: \n[systat]
  909. Execute the shell command(s) specified by CMDS. The output is not
  910. saved anyplace, so it is up to the user to do so.
  911. This request causes an error if used in safer mode (which is the
  912. default). Use `groff''s or `troff''s `-U' option to activate
  913. unsafe mode.
  914. For example, the following code fragment introduces the current
  915. time into a document:
  916. .sy perl -e 'printf ".nr H %d\\n.nr M %d\\n.nr S %d\\n",\
  917. (localtime(time))[2,1,0]' > /tmp/x\n[$$]
  918. .so /tmp/x\n[$$]
  919. .sy rm /tmp/x\n[$$]
  920. \nH:\nM:\nS
  921. Note that this works by having the `perl' script (run by `sy')
  922. print out the `nr' requests which set the number registers `H',
  923. `M', and `S', and then reads those commands in with the `so'
  924. request.
  925. For most practical purposes, the number registers `seconds',
  926. `minutes', and `hours' which are initialized at start-up of
  927. `gtroff' should be sufficient. Use the `af' request to get a
  928. formatted output:
  929. .af hours 00
  930. .af minutes 00
  931. .af seconds 00
  932. \n[hours]:\n[minutes]:\n[seconds]
  933. The `systat' read-write number register contains the return value
  934. of the `system()' function executed by the last `sy' request.
  935. -- Request: .open stream file
  936. -- Request: .opena stream file
  937. Open the specified FILE for writing and associates the specified
  938. STREAM with it.
  939. The `opena' request is like `open', but if the file exists, append
  940. to it instead of truncating it.
  941. Both `open' and `opena' cause an error if used in safer mode
  942. (which is the default). Use `groff''s or `troff''s `-U' option to
  943. activate unsafe mode.
  944. -- Request: .write stream data
  945. -- Request: .writec stream data
  946. Write to the file associated with the specified STREAM. The
  947. stream must previously have been the subject of an open request.
  948. The remainder of the line is interpreted as the `ds' request reads
  949. its second argument: A leading `"' is stripped, and it is read in
  950. copy-in mode.
  951. The `writec' request is like `write', but only `write' appends a
  952. newline to the data.
  953. -- Request: .writem stream xx
  954. Write the contents of the macro or string XX to the file
  955. associated with the specified STREAM.
  956. XX is read in copy mode, i.e., already formatted elements are
  957. ignored. Consequently, diversions must be unformatted with the
  958. `asciify' request before calling `writem'. Usually, this means a
  959. loss of information.
  960. -- Request: .close stream
  961. Close the specified STREAM; the stream is no longer an acceptable
  962. argument to the `write' request.
  963. Here a simple macro to write an index entry.
  964. .open idx test.idx
  965. .
  966. .de IX
  967. . write idx \\n[%] \\$*
  968. ..
  969. .
  970. .IX test entry
  971. .
  972. .close idx
  973. -- Escape: \Ve
  974. -- Escape: \V(ev
  975. -- Escape: \V[env]
  976. Interpolate the contents of the specified environment variable ENV
  977. (one-character name E, two-character name EV) as returned by the
  978. function `getenv'. `\V' is interpreted in copy-in mode.
  979. 
  980. File: groff, Node: Postprocessor Access, Next: Miscellaneous, Prev: I/O, Up: gtroff Reference
  981. 5.30 Postprocessor Access
  982. =========================
  983. There are two escapes which give information directly to the
  984. postprocessor. This is particularly useful for embedding POSTSCRIPT
  985. into the final document.
  986. -- Escape: \X'xxx'
  987. Embeds its argument into the `gtroff' output preceded with `x X'.
  988. The escapes `\&', `\)', `\%', and `\:' are ignored within `\X',
  989. `\ ' and `\~' are converted to single space characters. All other
  990. escapes (except `\\' which produces a backslash) cause an error.
  991. If the `use_charnames_in_special' keyword is set in the `DESC'
  992. file, special characters no longer cause an error; the name XX is
  993. represented as `\(XX)' in the `x X' output command. Additionally,
  994. the backslash is represented as `\\'.
  995. `use_charnames_in_special' is currently used by `grohtml' only.
  996. -- Escape: \Yn
  997. -- Escape: \Y(nm
  998. -- Escape: \Y[name]
  999. This is approximately equivalent to `\X'\*[NAME]'' (one-character
  1000. name N, two-character name NM). However, the contents of the
  1001. string or macro NAME are not interpreted; also it is permitted for
  1002. NAME to have been defined as a macro and thus contain newlines (it
  1003. is not permitted for the argument to `\X' to contain newlines).
  1004. The inclusion of newlines requires an extension to the UNIX `troff'
  1005. output format, and confuses drivers that do not know about this
  1006. extension (*note Device Control Commands::).
  1007. *Note Output Devices::.
  1008. 
  1009. File: groff, Node: Miscellaneous, Next: Gtroff Internals, Prev: Postprocessor Access, Up: gtroff Reference
  1010. 5.31 Miscellaneous
  1011. ==================
  1012. This section documents parts of `gtroff' which cannot (yet) be
  1013. categorized elsewhere in this manual.
  1014. -- Request: .nm [start [inc [space [indent]]]]
  1015. Print line numbers. START is the line number of the _next_ output
  1016. line. INC indicates which line numbers are printed. For example,
  1017. the value 5 means to emit only line numbers which are multiples
  1018. of 5; this defaults to 1. SPACE is the space to be left between
  1019. the number and the text; this defaults to one digit space. The
  1020. fourth argument is the indentation of the line numbers, defaulting
  1021. to zero. Both SPACE and INDENT are given as multiples of digit
  1022. spaces; they can be negative also. Without any arguments, line
  1023. numbers are turned off.
  1024. `gtroff' reserves three digit spaces for the line number (which is
  1025. printed right-justified) plus the amount given by INDENT; the
  1026. output lines are concatenated to the line numbers, separated by
  1027. SPACE, and _without_ reducing the line length. Depending on the
  1028. value of the horizontal page offset (as set with the `po'
  1029. request), line numbers which are longer than the reserved space
  1030. stick out to the left, or the whole line is moved to the right.
  1031. Parameters corresponding to missing arguments are not changed; any
  1032. non-digit argument (to be more precise, any argument starting with
  1033. a character valid as a delimiter for identifiers) is also treated
  1034. as missing.
  1035. If line numbering has been disabled with a call to `nm' without an
  1036. argument, it can be reactivated with `.nm +0', using the
  1037. previously active line numbering parameters.
  1038. The parameters of `nm' are associated with the current environment
  1039. (*note Environments::). The current output line number is
  1040. available in the number register `ln'.
  1041. .po 1m
  1042. .ll 2i
  1043. This test shows how line numbering works with groff.
  1044. .nm 999
  1045. This test shows how line numbering works with groff.
  1046. .br
  1047. .nm xxx 3 2
  1048. .ll -\w'0'u
  1049. This test shows how line numbering works with groff.
  1050. .nn 2
  1051. This test shows how line numbering works with groff.
  1052. And here the result:
  1053. This test shows how
  1054. line numbering works
  1055. 999 with groff. This
  1056. 1000 test shows how line
  1057. 1001 numbering works with
  1058. 1002 groff.
  1059. This test shows how
  1060. line numbering
  1061. works with groff.
  1062. This test shows how
  1063. 1005 line numbering
  1064. works with groff.
  1065. -- Request: .nn [skip]
  1066. Temporarily turn off line numbering. The argument is the number
  1067. of lines not to be numbered; this defaults to 1.
  1068. -- Request: .mc glyph [dist]
  1069. Print a "margin character" to the right of the text.(1) (*note
  1070. Miscellaneous-Footnote-1::) The first argument is the glyph to be
  1071. printed. The second argument is the distance away from the right
  1072. margin. If missing, the previously set value is used; default is
  1073. 10pt). For text lines that are too long (that is, longer than the
  1074. text length plus DIST), the margin character is directly appended
  1075. to the lines.
  1076. With no arguments the margin character is turned off. If this
  1077. occurs before a break, no margin character is printed.
  1078. For compatibility with AT&T `troff', a call to `mc' to set the
  1079. margin character can't be undone immediately; at least one line
  1080. gets a margin character. Thus
  1081. .ll 1i
  1082. .mc \[br]
  1083. .mc
  1084. xxx
  1085. .br
  1086. xxx
  1087. produces
  1088. xxx |
  1089. xxx
  1090. For empty lines and lines produced by the `tl' request no margin
  1091. character is emitted.
  1092. The margin character is associated with the current environment
  1093. (*note Environments::).
  1094. This is quite useful for indicating text that has changed, and, in
  1095. fact, there are programs available for doing this (they are called
  1096. `nrchbar' and `changebar' and can be found in any
  1097. `comp.sources.unix' archive).
  1098. .ll 3i
  1099. .mc |
  1100. This paragraph is highlighted with a margin
  1101. character.
  1102. .sp
  1103. Note that vertical space isn't marked.
  1104. .br
  1105. \&
  1106. .br
  1107. But we can fake it with `\&'.
  1108. Result:
  1109. This paragraph is highlighted |
  1110. with a margin character. |
  1111. Note that vertical space isn't |
  1112. marked. |
  1113. |
  1114. But we can fake it with `\&'. |
  1115. -- Request: .psbb filename
  1116. -- Register: \n[llx]
  1117. -- Register: \n[lly]
  1118. -- Register: \n[urx]
  1119. -- Register: \n[ury]
  1120. Retrieve the bounding box of the PostScript image found in
  1121. FILENAME. The file must conform to Adobe's "Document Structuring
  1122. Conventions" (DSC); the command searches for a `%%BoundingBox'
  1123. comment and extracts the bounding box values into the number
  1124. registers `llx', `lly', `urx', and `ury'. If an error occurs (for
  1125. example, `psbb' cannot find the `%%BoundingBox' comment), it sets
  1126. the four number registers to zero.
  1127. The search path for FILENAME can be controlled with the `-I'
  1128. command line option.
  1129. 
  1130. File: groff, Node: Miscellaneous-Footnotes, Up: Miscellaneous
  1131. (1) "Margin character" is a misnomer since it is an output glyph.
  1132. 
  1133. File: groff, Node: Gtroff Internals, Next: Debugging, Prev: Miscellaneous, Up: gtroff Reference
  1134. 5.32 `gtroff' Internals
  1135. =======================
  1136. `gtroff' processes input in three steps. One or more input characters
  1137. are converted to an "input token".(1) (*note Gtroff
  1138. Internals-Footnote-1::) Then, one or more input tokens are converted
  1139. to an "output node". Finally, output nodes are converted to the
  1140. intermediate output language understood by all output devices.
  1141. Actually, before step one happens, `gtroff' converts certain escape
  1142. sequences into reserved input characters (not accessible by the user);
  1143. such reserved characters are used for other internal processing also -
  1144. this is the very reason why not all characters are valid input. *Note
  1145. Identifiers::, for more on this topic.
  1146. For example, the input string `fi\[:u]' is converted into a
  1147. character token `f', a character token `i', and a special token `:u'
  1148. (representing u umlaut). Later on, the character tokens `f' and `i'
  1149. are merged to a single output node representing the ligature glyph `fi'
  1150. (provided the current font has a glyph for this ligature); the same
  1151. happens with `:u'. All output glyph nodes are `processed' which means
  1152. that they are invariably associated with a given font, font size,
  1153. advance width, etc. During the formatting process, `gtroff' itself
  1154. adds various nodes to control the data flow.
  1155. Macros, diversions, and strings collect elements in two chained
  1156. lists: a list of input tokens which have been passed unprocessed, and a
  1157. list of output nodes. Consider the following the diversion.
  1158. .di xxx
  1159. a
  1160. \!b
  1161. c
  1162. .br
  1163. .di
  1164. It contains these elements.
  1165. node list token list element number
  1166. line start node -- 1
  1167. glyph node `a' -- 2
  1168. word space node -- 3
  1169. -- `b' 4
  1170. -- `\n' 5
  1171. glyph node `c' -- 6
  1172. vertical size node -- 7
  1173. vertical size node -- 8
  1174. -- `\n' 9
  1175. Elements 1, 7, and 8 are inserted by `gtroff'; the latter two (which
  1176. are always present) specify the vertical extent of the last line,
  1177. possibly modified by `\x'. The `br' request finishes the current
  1178. partial line, inserting a newline input token which is subsequently
  1179. converted to a space when the diversion is reread. Note that the word
  1180. space node has a fixed width which isn't stretchable anymore. To
  1181. convert horizontal space nodes back to input tokens, use the `unformat'
  1182. request.
  1183. Macros only contain elements in the token list (and the node list is
  1184. empty); diversions and strings can contain elements in both lists.
  1185. Note that the `chop' request simply reduces the number of elements
  1186. in a macro, string, or diversion by one. Exceptions are "compatibility
  1187. save" and "compatibility ignore" input tokens which are ignored. The
  1188. `substring' request also ignores those input tokens.
  1189. Some requests like `tr' or `cflags' work on glyph identifiers only;
  1190. this means that the associated glyph can be changed without destroying
  1191. this association. This can be very helpful for substituting glyphs.
  1192. In the following example, we assume that glyph `foo' isn't available by
  1193. default, so we provide a substitution using the `fchar' request and map
  1194. it to input character `x'.
  1195. .fchar \[foo] foo
  1196. .tr x \[foo]
  1197. Now let us assume that we install an additional special font `bar'
  1198. which has glyph `foo'.
  1199. .special bar
  1200. .rchar \[foo]
  1201. Since glyphs defined with `fchar' are searched before glyphs in special
  1202. fonts, we must call `rchar' to remove the definition of the fallback
  1203. glyph. Anyway, the translation is still active; `x' now maps to the
  1204. real glyph `foo'.
  1205. Macro and request arguments preserve the compatibility mode:
  1206. .cp 1 \" switch to compatibility mode
  1207. .de xx
  1208. \\$1
  1209. ..
  1210. .cp 0 \" switch compatibility mode off
  1211. .xx caf\['e]
  1212. => café
  1213. Since compatibility mode is on while `de' is called, the macro `xx'
  1214. activates compatibility mode while executing. Argument `$1' can still
  1215. be handled properly because it inherits the compatibility mode status
  1216. which was active at the point where `xx' is called.
  1217. After expansion of the parameters, the compatibility save and restore
  1218. tokens are removed.
  1219. 
  1220. File: groff, Node: Gtroff Internals-Footnotes, Up: Gtroff Internals
  1221. (1) Except the escapes `\f', `\F', `\H', `\m', `\M', `\R', `\s', and
  1222. `\S' which are processed immediately if not in copy-in mode.
  1223. 
  1224. File: groff, Node: Debugging, Next: Implementation Differences, Prev: Gtroff Internals, Up: gtroff Reference
  1225. 5.33 Debugging
  1226. ==============
  1227. `gtroff' is not easy to debug, but there are some useful features and
  1228. strategies for debugging.
  1229. -- Request: .lf line [filename]
  1230. Change the line number and optionally the file name `gtroff' shall
  1231. use for error and warning messages. LINE is the input line number
  1232. of the _next_ line.
  1233. Without argument, the request is ignored.
  1234. This is a debugging aid for documents which are split into many
  1235. files, then put together with `soelim' and other preprocessors.
  1236. Usually, it isn't invoked manually.
  1237. Note that other `troff' implementations (including the original
  1238. AT&T version) handle `lf' differently. For them, LINE changes the
  1239. line number of the _current_ line.
  1240. -- Request: .tm string
  1241. -- Request: .tm1 string
  1242. -- Request: .tmc string
  1243. Send STRING to the standard error output; this is very useful for
  1244. printing debugging messages among other things.
  1245. STRING is read in copy mode.
  1246. The `tm' request ignores leading spaces of STRING; `tm1' handles
  1247. its argument similar to the `ds' request: a leading double quote
  1248. in STRING is stripped to allow initial blanks.
  1249. The `tmc' request is similar to `tm1' but does not append a
  1250. newline (as is done in `tm' and `tm1').
  1251. -- Request: .ab [string]
  1252. Similar to the `tm' request, except that it causes `gtroff' to
  1253. stop processing. With no argument it prints `User Abort.' to
  1254. standard error.
  1255. -- Request: .ex
  1256. The `ex' request also causes `gtroff' to stop processing; see also
  1257. *Note I/O::.
  1258. When doing something involved it is useful to leave the debugging
  1259. statements in the code and have them turned on by a command line flag.
  1260. .if \n(DB .tm debugging output
  1261. To activate these statements say
  1262. groff -rDB=1 file
  1263. If it is known in advance that there will be many errors and no
  1264. useful output, `gtroff' can be forced to suppress formatted output with
  1265. the `-z' flag.
  1266. -- Request: .pm
  1267. Print the entire symbol table on `stderr'. Names of all defined
  1268. macros, strings, and diversions are print together with their size
  1269. in bytes. Since `gtroff' sometimes adds nodes by itself, the
  1270. returned size can be larger than expected.
  1271. This request differs from UNIX `troff': `gtroff' reports the sizes
  1272. of diversions, ignores an additional argument to print only the
  1273. total of the sizes, and the size isn't returned in blocks of 128
  1274. characters.
  1275. -- Request: .pnr
  1276. Print the names and contents of all currently defined number
  1277. registers on `stderr'.
  1278. -- Request: .ptr
  1279. Print the names and positions of all traps (not including input
  1280. line traps and diversion traps) on `stderr'. Empty slots in the
  1281. page trap list are printed as well, because they can affect the
  1282. priority of subsequently planted traps.
  1283. -- Request: .fl
  1284. Instruct `gtroff' to flush its output immediately. The intent is
  1285. for interactive use, but this behaviour is currently not
  1286. implemented in `gtroff'. Contrary to UNIX `troff', TTY output is
  1287. sent to a device driver also (`grotty'), making it non-trivial to
  1288. communicate interactively.
  1289. This request causes a line break.
  1290. -- Request: .backtrace
  1291. Print a backtrace of the input stack to the standard error stream.
  1292. Consider the following in file `test':
  1293. .de xxx
  1294. . backtrace
  1295. ..
  1296. .de yyy
  1297. . xxx
  1298. ..
  1299. .
  1300. .yyy
  1301. On execution, `gtroff' prints the following:
  1302. test:2: backtrace: macro `xxx'
  1303. test:5: backtrace: macro `yyy'
  1304. test:8: backtrace: file `test'
  1305. The option `-b' of `gtroff' internally calls a variant of this
  1306. request on each error and warning.
  1307. -- Register: \n[slimit]
  1308. Use the `slimit' number register to set the maximum number of
  1309. objects on the input stack. If `slimit' is less than or equal
  1310. to 0, there is no limit set. With no limit, a buggy recursive
  1311. macro can exhaust virtual memory.
  1312. The default value is 1000; this is a compile-time constant.
  1313. -- Request: .warnscale si
  1314. Set the scaling indicator used in warnings to SI. Valid values for
  1315. SI are `u', `i', `c', `p', and `P'. At startup, it is set to `i'.
  1316. -- Request: .spreadwarn [limit]
  1317. Make `gtroff' emit a warning if the additional space inserted for
  1318. each space between words in an output line is larger or equal to
  1319. LIMIT. A negative value is changed to zero; no argument toggles
  1320. the warning on and off without changing LIMIT. The default scaling
  1321. indicator is `m'. At startup, `spreadwarn' is deactivated, and
  1322. LIMIT is set to 3m.
  1323. For example,
  1324. .spreadwarn 0.2m
  1325. will cause a warning if `gtroff' must add 0.2m or more for each
  1326. interword space in a line.
  1327. This request is active only if text is justified to both margins
  1328. (using `.ad b').
  1329. `gtroff' has command line options for printing out more warnings
  1330. (`-w') and for printing backtraces (`-b') when a warning or an error
  1331. occurs. The most verbose level of warnings is `-ww'.
  1332. -- Request: .warn [flags]
  1333. -- Register: \n[.warn]
  1334. Control the level of warnings checked for. The FLAGS are the sum
  1335. of the numbers associated with each warning that is to be enabled;
  1336. all other warnings are disabled. The number associated with each
  1337. warning is listed below. For example, `.warn 0' disables all
  1338. warnings, and `.warn 1' disables all warnings except that about
  1339. missing glyphs. If no argument is given, all warnings are enabled.
  1340. The read-only number register `.warn' contains the current warning
  1341. level.
  1342. * Menu:
  1343. * Warnings::
  1344. 
  1345. File: groff, Node: Warnings, Prev: Debugging, Up: Debugging
  1346. 5.33.1 Warnings
  1347. ---------------
  1348. The warnings that can be given to `gtroff' are divided into the
  1349. following categories. The name associated with each warning is used by
  1350. the `-w' and `-W' options; the number is used by the `warn' request and
  1351. by the `.warn' register.
  1352. `char'
  1353. `1'
  1354. Non-existent glyphs.(1) (*note Warnings-Footnote-1::) This is
  1355. enabled by default.
  1356. `number'
  1357. `2'
  1358. Invalid numeric expressions. This is enabled by default. *Note
  1359. Expressions::.
  1360. `break'
  1361. `4'
  1362. In fill mode, lines which could not be broken so that their length
  1363. was less than the line length. This is enabled by default.
  1364. `delim'
  1365. `8'
  1366. Missing or mismatched closing delimiters.
  1367. `el'
  1368. `16'
  1369. Use of the `el' request with no matching `ie' request. *Note
  1370. if-else::.
  1371. `scale'
  1372. `32'
  1373. Meaningless scaling indicators.
  1374. `range'
  1375. `64'
  1376. Out of range arguments.
  1377. `syntax'
  1378. `128'
  1379. Dubious syntax in numeric expressions.
  1380. `di'
  1381. `256'
  1382. Use of `di' or `da' without an argument when there is no current
  1383. diversion.
  1384. `mac'
  1385. `512'
  1386. Use of undefined strings, macros and diversions. When an undefined
  1387. string, macro, or diversion is used, that string is automatically
  1388. defined as empty. So, in most cases, at most one warning is given
  1389. for each name.
  1390. `reg'
  1391. `1024'
  1392. Use of undefined number registers. When an undefined number
  1393. register is used, that register is automatically defined to have a
  1394. value of 0. So, in most cases, at most one warning is given for
  1395. use of a particular name.
  1396. `tab'
  1397. `2048'
  1398. Use of a tab character where a number was expected.
  1399. `right-brace'
  1400. `4096'
  1401. Use of `\}' where a number was expected.
  1402. `missing'
  1403. `8192'
  1404. Requests that are missing non-optional arguments.
  1405. `input'
  1406. `16384'
  1407. Invalid input characters.
  1408. `escape'
  1409. `32768'
  1410. Unrecognized escape sequences. When an unrecognized escape
  1411. sequence `\X' is encountered, the escape character is ignored, and
  1412. X is printed.
  1413. `space'
  1414. `65536'
  1415. Missing space between a request or macro and its argument. This
  1416. warning is given when an undefined name longer than two characters
  1417. is encountered, and the first two characters of the name make a
  1418. defined name. The request or macro is not invoked. When this
  1419. warning is given, no macro is automatically defined. This is
  1420. enabled by default. This warning never occurs in compatibility
  1421. mode.
  1422. `font'
  1423. `131072'
  1424. Non-existent fonts. This is enabled by default.
  1425. `ig'
  1426. `262144'
  1427. Invalid escapes in text ignored with the `ig' request. These are
  1428. conditions that are errors when they do not occur in ignored text.
  1429. `color'
  1430. `524288'
  1431. Color related warnings.
  1432. `all'
  1433. All warnings except `di', `mac' and `reg'. It is intended that
  1434. this covers all warnings that are useful with traditional macro
  1435. packages.
  1436. `w'
  1437. All warnings.
  1438. 
  1439. File: groff, Node: Warnings-Footnotes, Up: Warnings
  1440. (1) `char' is a misnomer since it reports missing glyphs - there
  1441. aren't missing input characters, only invalid ones.
  1442. 
  1443. File: groff, Node: Implementation Differences, Prev: Debugging, Up: gtroff Reference
  1444. 5.34 Implementation Differences
  1445. ===============================
  1446. GNU `troff' has a number of features which cause incompatibilities with
  1447. documents written with old versions of `troff'.
  1448. Long names cause some incompatibilities. UNIX `troff' interprets
  1449. .dsabcd
  1450. as defining a string `ab' with contents `cd'. Normally, GNU `troff'
  1451. interprets this as a call of a macro named `dsabcd'. Also UNIX `troff'
  1452. interprets `\*[' or `\n[' as references to a string or number register
  1453. called `['. In GNU `troff', however, this is normally interpreted as
  1454. the start of a long name. In compatibility mode GNU `troff' interprets
  1455. long names in the traditional way (which means that they are not
  1456. recognized as names).
  1457. -- Request: .cp [n]
  1458. -- Request: .do cmd
  1459. -- Register: \n[.C]
  1460. If N is missing or non-zero, turn on compatibility mode;
  1461. otherwise, turn it off.
  1462. The read-only number register `.C' is 1 if compatibility mode is
  1463. on, 0 otherwise.
  1464. Compatibility mode can be also turned on with the `-C' command line
  1465. option.
  1466. The `do' request turns off compatibility mode while executing its
  1467. arguments as a `gtroff' command.
  1468. .do fam T
  1469. executes the `fam' request when compatibility mode is enabled.
  1470. `gtroff' restores the previous compatibility setting before
  1471. interpreting any files sourced by the CMD.
  1472. Two other features are controlled by `-C'. If not in compatibility
  1473. mode, GNU `troff' preserves the input level in delimited arguments:
  1474. .ds xx '
  1475. \w'abc\*(xxdef'
  1476. In compatibility mode, the string `72def'' is returned; without `-C'
  1477. the resulting string is `168' (assuming a TTY output device).
  1478. Finally, the escapes `\f', `\H', `\m', `\M', `\R', `\s', and `\S'
  1479. are transparent for recognizing the beginning of a line only in
  1480. compatibility mode (this is a rather obscure feature). For example,
  1481. the code
  1482. .de xx
  1483. Hallo!
  1484. ..
  1485. \fB.xx\fP
  1486. prints `Hallo!' in bold face if in compatibility mode, and `.xx' in
  1487. bold face otherwise.
  1488. GNU `troff' does not allow the use of the escape sequences `\|',
  1489. `\^', `\&', `\{', `\}', `\<SP>', `\'', `\`', `\-', `\_', `\!', `\%',
  1490. and `\c' in names of strings, macros, diversions, number registers,
  1491. fonts or environments; UNIX `troff' does. The `\A' escape sequence
  1492. (*note Identifiers::) may be helpful in avoiding use of these escape
  1493. sequences in names.
  1494. Fractional point sizes cause one noteworthy incompatibility. In
  1495. UNIX `troff' the `ps' request ignores scale indicators and thus
  1496. .ps 10u
  1497. sets the point size to 10 points, whereas in GNU `troff' it sets the
  1498. point size to 10 scaled points. *Note Fractional Type Sizes::, for
  1499. more information.
  1500. In GNU `troff' there is a fundamental difference between
  1501. (unformatted) input characters and (formatted) output glyphs.
  1502. Everything that affects how a glyph is output is stored with the glyph
  1503. node; once a glyph node has been constructed it is unaffected by any
  1504. subsequent requests that are executed, including `bd', `cs', `tkf',
  1505. `tr', or `fp' requests. Normally glyphs are constructed from input
  1506. characters at the moment immediately before the glyph is added to the
  1507. current output line. Macros, diversions and strings are all, in fact,
  1508. the same type of object; they contain lists of input characters and
  1509. glyph nodes in any combination. A glyph node does not behave like an
  1510. input character for the purposes of macro processing; it does not
  1511. inherit any of the special properties that the input character from
  1512. which it was constructed might have had. For example,
  1513. .di x
  1514. \\\\
  1515. .br
  1516. .di
  1517. .x
  1518. prints `\\' in GNU `troff'; each pair of input backslashes is turned
  1519. into one output backslash and the resulting output backslashes are not
  1520. interpreted as escape characters when they are reread. UNIX `troff'
  1521. would interpret them as escape characters when they were reread and
  1522. would end up printing one `\'. The correct way to obtain a printable
  1523. backslash is to use the `\e' escape sequence: This always prints a
  1524. single instance of the current escape character, regardless of whether
  1525. or not it is used in a diversion; it also works in both GNU `troff' and
  1526. UNIX `troff'.(1) (*note Implementation Differences-Footnote-1::) To
  1527. store, for some reason, an escape sequence in a diversion that will be
  1528. interpreted when the diversion is reread, either use the traditional
  1529. `\!' transparent output facility, or, if this is unsuitable, the new
  1530. `\?' escape sequence.
  1531. *Note Diversions::, and *Note Gtroff Internals::, for more
  1532. information.
  1533. 
  1534. File: groff, Node: Implementation Differences-Footnotes, Up: Implementation Differences
  1535. (1) To be completely independent of the current escape character,
  1536. use `\(rs' which represents a reverse solidus (backslash) glyph.
  1537. 
  1538. File: groff, Node: Preprocessors, Next: Output Devices, Prev: gtroff Reference, Up: Top
  1539. 6 Preprocessors
  1540. ***************
  1541. This chapter describes all preprocessors that come with `groff' or
  1542. which are freely available.
  1543. * Menu:
  1544. * geqn::
  1545. * gtbl::
  1546. * gpic::
  1547. * ggrn::
  1548. * grap::
  1549. * grefer::
  1550. * gsoelim::
  1551. 
  1552. File: groff, Node: geqn, Next: gtbl, Prev: Preprocessors, Up: Preprocessors
  1553. 6.1 `geqn'
  1554. ==========
  1555. * Menu:
  1556. * Invoking geqn::
  1557. 
  1558. File: groff, Node: Invoking geqn, Prev: geqn, Up: geqn
  1559. 6.1.1 Invoking `geqn'
  1560. ---------------------
  1561. 
  1562. File: groff, Node: gtbl, Next: gpic, Prev: geqn, Up: Preprocessors
  1563. 6.2 `gtbl'
  1564. ==========
  1565. * Menu:
  1566. * Invoking gtbl::
  1567. 
  1568. File: groff, Node: Invoking gtbl, Prev: gtbl, Up: gtbl
  1569. 6.2.1 Invoking `gtbl'
  1570. ---------------------
  1571. 
  1572. File: groff, Node: gpic, Next: ggrn, Prev: gtbl, Up: Preprocessors
  1573. 6.3 `gpic'
  1574. ==========
  1575. * Menu:
  1576. * Invoking gpic::
  1577. 
  1578. File: groff, Node: Invoking gpic, Prev: gpic, Up: gpic
  1579. 6.3.1 Invoking `gpic'
  1580. ---------------------
  1581. 
  1582. File: groff, Node: ggrn, Next: grap, Prev: gpic, Up: Preprocessors
  1583. 6.4 `ggrn'
  1584. ==========
  1585. * Menu:
  1586. * Invoking ggrn::
  1587. 
  1588. File: groff, Node: Invoking ggrn, Prev: ggrn, Up: ggrn
  1589. 6.4.1 Invoking `ggrn'
  1590. ---------------------
  1591. 
  1592. File: groff, Node: grap, Next: grefer, Prev: ggrn, Up: Preprocessors
  1593. 6.5 `grap'
  1594. ==========
  1595. A free implementation of `grap', written by Ted Faber, is available as
  1596. an extra package from the following address:
  1597. `http://www.lunabase.org/~faber/Vault/software/grap/'
  1598. 
  1599. File: groff, Node: grefer, Next: gsoelim, Prev: grap, Up: Preprocessors
  1600. 6.6 `grefer'
  1601. ============
  1602. * Menu:
  1603. * Invoking grefer::
  1604. 
  1605. File: groff, Node: Invoking grefer, Prev: grefer, Up: grefer
  1606. 6.6.1 Invoking `grefer'
  1607. -----------------------
  1608. 
  1609. File: groff, Node: gsoelim, Prev: grefer, Up: Preprocessors
  1610. 6.7 `gsoelim'
  1611. =============
  1612. * Menu:
  1613. * Invoking gsoelim::
  1614. 
  1615. File: groff, Node: Invoking gsoelim, Prev: gsoelim, Up: gsoelim
  1616. 6.7.1 Invoking `gsoelim'
  1617. ------------------------
  1618. 
  1619. File: groff, Node: Output Devices, Next: File formats, Prev: Preprocessors, Up: Top
  1620. 7 Output Devices
  1621. ****************
  1622. * Menu:
  1623. * Special Characters::
  1624. * grotty::
  1625. * grops::
  1626. * grodvi::
  1627. * grolj4::
  1628. * grolbp::
  1629. * grohtml::
  1630. * gxditview::
  1631. 
  1632. File: groff, Node: Special Characters, Next: grotty, Prev: Output Devices, Up: Output Devices
  1633. 7.1 Special Characters
  1634. ======================
  1635. *Note Font Files::.
  1636. 
  1637. File: groff, Node: grotty, Next: grops, Prev: Special Characters, Up: Output Devices
  1638. 7.2 `grotty'
  1639. ============
  1640. * Menu:
  1641. * Invoking grotty::
  1642. 
  1643. File: groff, Node: Invoking grotty, Prev: grotty, Up: grotty
  1644. 7.2.1 Invoking `grotty'
  1645. -----------------------
  1646. 
  1647. File: groff, Node: grops, Next: grodvi, Prev: grotty, Up: Output Devices
  1648. 7.3 `grops'
  1649. ===========
  1650. * Menu:
  1651. * Invoking grops::
  1652. * Embedding PostScript::
  1653. 
  1654. File: groff, Node: Invoking grops, Next: Embedding PostScript, Prev: grops, Up: grops
  1655. 7.3.1 Invoking `grops'
  1656. ----------------------
  1657. 
  1658. File: groff, Node: Embedding PostScript, Prev: Invoking grops, Up: grops
  1659. 7.3.2 Embedding POSTSCRIPT
  1660. --------------------------
  1661. 
  1662. File: groff, Node: grodvi, Next: grolj4, Prev: grops, Up: Output Devices
  1663. 7.4 `grodvi'
  1664. ============
  1665. * Menu:
  1666. * Invoking grodvi::
  1667. 
  1668. File: groff, Node: Invoking grodvi, Prev: grodvi, Up: grodvi
  1669. 7.4.1 Invoking `grodvi'
  1670. -----------------------
  1671. 
  1672. File: groff, Node: grolj4, Next: grolbp, Prev: grodvi, Up: Output Devices
  1673. 7.5 `grolj4'
  1674. ============
  1675. * Menu:
  1676. * Invoking grolj4::
  1677. 
  1678. File: groff, Node: Invoking grolj4, Prev: grolj4, Up: grolj4
  1679. 7.5.1 Invoking `grolj4'
  1680. -----------------------
  1681. 
  1682. File: groff, Node: grolbp, Next: grohtml, Prev: grolj4, Up: Output Devices
  1683. 7.6 `grolbp'
  1684. ============
  1685. * Menu:
  1686. * Invoking grolbp::
  1687. 
  1688. File: groff, Node: Invoking grolbp, Prev: grolbp, Up: grolbp
  1689. 7.6.1 Invoking `grolbp'
  1690. -----------------------
  1691. 
  1692. File: groff, Node: grohtml, Next: gxditview, Prev: grolbp, Up: Output Devices
  1693. 7.7 `grohtml'
  1694. =============
  1695. * Menu:
  1696. * Invoking grohtml::
  1697. * grohtml specific registers and strings::
  1698. 
  1699. File: groff, Node: Invoking grohtml, Next: grohtml specific registers and strings, Prev: grohtml, Up: grohtml
  1700. 7.7.1 Invoking `grohtml'
  1701. ------------------------
  1702. 
  1703. File: groff, Node: grohtml specific registers and strings, Prev: Invoking grohtml, Up: grohtml
  1704. 7.7.2 `grohtml' specific registers and strings
  1705. ----------------------------------------------
  1706. -- Register: \n[ps4html]
  1707. -- String: \*[www-image-template]
  1708. The registers `ps4html' and `www-image-template' are defined by
  1709. the `pre-grohtml' preprocessor. `pre-grohtml' reads in the
  1710. `troff' input, marks up the inline equations and passes the result
  1711. firstly to
  1712. troff -Tps -rps4html=1 -dwww-image-template=TEMPLATE
  1713. and secondly to
  1714. troff -Thtml
  1715. The PostScript device is used to create all the image files, and
  1716. the register `ps4html' enables the macro sets to ignore floating
  1717. keeps, footers, and headings.
  1718. The register `www-image-template' is set to the user specified
  1719. template name or the default name.
  1720. 
  1721. File: groff, Node: gxditview, Prev: grohtml, Up: Output Devices
  1722. 7.8 `gxditview'
  1723. ===============
  1724. * Menu:
  1725. * Invoking gxditview::
  1726. 
  1727. File: groff, Node: Invoking gxditview, Prev: gxditview, Up: gxditview
  1728. 7.8.1 Invoking `gxditview'
  1729. --------------------------
  1730. 
  1731. File: groff, Node: File formats, Next: Installation, Prev: Output Devices, Up: Top
  1732. 8 File formats
  1733. **************
  1734. All files read and written by `gtroff' are text files. The following
  1735. two sections describe their format.
  1736. * Menu:
  1737. * gtroff Output::
  1738. * Font Files::
  1739. 
  1740. File: groff, Node: gtroff Output, Next: Font Files, Prev: File formats, Up: File formats
  1741. 8.1 `gtroff' Output
  1742. ===================
  1743. This section describes the intermediate output format of GNU `troff'.
  1744. This output is produced by a run of `gtroff' before it is fed into a
  1745. device postprocessor program.
  1746. As `groff' is a wrapper program around `gtroff' that automatically
  1747. calls a postprocessor, this output does not show up normally. This is
  1748. why it is called "intermediate". `groff' provides the option `-Z' to
  1749. inhibit postprocessing, such that the produced intermediate output is
  1750. sent to standard output just like calling `gtroff' manually.
  1751. Here, the term "troff output" describes what is output by `gtroff',
  1752. while "intermediate output" refers to the language that is accepted by
  1753. the parser that prepares this output for the postprocessors. This
  1754. parser is smarter on whitespace and implements obsolete elements for
  1755. compatibility, otherwise both formats are the same.(1) (*note gtroff
  1756. Output-Footnote-1::)
  1757. The main purpose of the intermediate output concept is to facilitate
  1758. the development of postprocessors by providing a common programming
  1759. interface for all devices. It has a language of its own that is
  1760. completely different from the `gtroff' language. While the `gtroff'
  1761. language is a high-level programming language for text processing, the
  1762. intermediate output language is a kind of low-level assembler language
  1763. by specifying all positions on the page for writing and drawing.
  1764. The intermediate output produced by `gtroff' is fairly readable,
  1765. while output from AT&T `troff' is rather hard to understand because of
  1766. strange habits that are still supported, but not used any longer by
  1767. `gtroff'.
  1768. * Menu:
  1769. * Language Concepts::
  1770. * Command Reference::
  1771. * Intermediate Output Examples::
  1772. * Output Language Compatibility::
  1773. 
  1774. File: groff, Node: gtroff Output-Footnotes, Up: gtroff Output
  1775. (1) The parser and postprocessor for intermediate output can be
  1776. found in the file
  1777. `GROFF-SOURCE-DIR/src/libs/libdriver/input.cpp'.
  1778. 
  1779. File: groff, Node: Language Concepts, Next: Command Reference, Prev: gtroff Output, Up: gtroff Output
  1780. 8.1.1 Language Concepts
  1781. -----------------------
  1782. During the run of `gtroff', the input data is cracked down to the
  1783. information on what has to be printed at what position on the intended
  1784. device. So the language of the intermediate output format can be quite
  1785. small. Its only elements are commands with and without arguments. In
  1786. this section, the term "command" always refers to the intermediate
  1787. output language, and never to the `gtroff' language used for document
  1788. formatting. There are commands for positioning and text writing, for
  1789. drawing, and for device controlling.
  1790. * Menu:
  1791. * Separation::
  1792. * Argument Units::
  1793. * Document Parts::
  1794. 
  1795. File: groff, Node: Separation, Next: Argument Units, Prev: Language Concepts, Up: Language Concepts
  1796. 8.1.1.1 Separation
  1797. ..................
  1798. AT&T `troff' output has strange requirements on whitespace. The
  1799. `gtroff' output parser, however, is smart about whitespace by making it
  1800. maximally optional. The whitespace characters, i.e., the tab, space,
  1801. and newline characters, always have a syntactical meaning. They are
  1802. never printable because spacing within the output is always done by
  1803. positioning commands.
  1804. Any sequence of space or tab characters is treated as a single
  1805. "syntactical space". It separates commands and arguments, but is only
  1806. required when there would occur a clashing between the command code and
  1807. the arguments without the space. Most often, this happens when
  1808. variable-length command names, arguments, argument lists, or command
  1809. clusters meet. Commands and arguments with a known, fixed length need
  1810. not be separated by syntactical space.
  1811. A line break is a syntactical element, too. Every command argument
  1812. can be followed by whitespace, a comment, or a newline character. Thus
  1813. a "syntactical line break" is defined to consist of optional
  1814. syntactical space that is optionally followed by a comment, and a
  1815. newline character.
  1816. The normal commands, those for positioning and text, consist of a
  1817. single letter taking a fixed number of arguments. For historical
  1818. reasons, the parser allows to stack such commands on the same line, but
  1819. fortunately, in `gtroff''s intermediate output, every command with at
  1820. least one argument is followed by a line break, thus providing
  1821. excellent readability.
  1822. The other commands - those for drawing and device controlling - have
  1823. a more complicated structure; some recognize long command names, and
  1824. some take a variable number of arguments. So all `D' and `x' commands
  1825. were designed to request a syntactical line break after their last
  1826. argument. Only one command, `x X', has an argument that can stretch
  1827. over several lines; all other commands must have all of their arguments
  1828. on the same line as the command, i.e., the arguments may not be
  1829. splitted by a line break.
  1830. Empty lines (these are lines containing only space and/or a
  1831. comment), can occur everywhere. They are just ignored.
  1832. 
  1833. File: groff, Node: Argument Units, Next: Document Parts, Prev: Separation, Up: Language Concepts
  1834. 8.1.1.2 Argument Units
  1835. ......................
  1836. Some commands take integer arguments that are assumed to represent
  1837. values in a measurement unit, but the letter for the corresponding
  1838. scale indicator is not written with the output command arguments. Most
  1839. commands assume the scale indicator `u', the basic unit of the device,
  1840. some use `z', the scaled point unit of the device, while others, such
  1841. as the color commands, expect plain integers.
  1842. Note that single characters can have the eighth bit set, as can the
  1843. names of fonts and special characters. The names of characters and
  1844. fonts can be of arbitrary length. A character that is to be printed
  1845. will always be in the current font.
  1846. A string argument is always terminated by the next whitespace
  1847. character (space, tab, or newline); an embedded `#' character is
  1848. regarded as part of the argument, not as the beginning of a comment
  1849. command. An integer argument is already terminated by the next
  1850. non-digit character, which then is regarded as the first character of
  1851. the next argument or command.
  1852. 
  1853. File: groff, Node: Document Parts, Prev: Argument Units, Up: Language Concepts
  1854. 8.1.1.3 Document Parts
  1855. ......................
  1856. A correct intermediate output document consists of two parts, the
  1857. "prologue" and the "body".
  1858. The task of the prologue is to set the general device parameters
  1859. using three exactly specified commands. `gtroff''s prologue is
  1860. guaranteed to consist of the following three lines (in that order):
  1861. x T DEVICE
  1862. x res N H V
  1863. x init
  1864. with the arguments set as outlined in *Note Device Control Commands::.
  1865. Note that the parser for the intermediate output format is able to
  1866. swallow additional whitespace and comments as well even in the prologue.
  1867. The body is the main section for processing the document data.
  1868. Syntactically, it is a sequence of any commands different from the ones
  1869. used in the prologue. Processing is terminated as soon as the first
  1870. `x stop' command is encountered; the last line of any `gtroff'
  1871. intermediate output always contains such a command.
  1872. Semantically, the body is page oriented. A new page is started by a
  1873. `p' command. Positioning, writing, and drawing commands are always
  1874. done within the current page, so they cannot occur before the first `p'
  1875. command. Absolute positioning (by the `H' and `V' commands) is done
  1876. relative to the current page; all other positioning is done relative to
  1877. the current location within this page.
  1878. 
  1879. File: groff, Node: Command Reference, Next: Intermediate Output Examples, Prev: Language Concepts, Up: gtroff Output
  1880. 8.1.2 Command Reference
  1881. -----------------------
  1882. This section describes all intermediate output commands, both from AT&T
  1883. `troff' as well as the `gtroff' extensions.
  1884. * Menu:
  1885. * Comment Command::
  1886. * Simple Commands::
  1887. * Graphics Commands::
  1888. * Device Control Commands::
  1889. * Obsolete Command::
  1890. 
  1891. File: groff, Node: Comment Command, Next: Simple Commands, Prev: Command Reference, Up: Command Reference
  1892. 8.1.2.1 Comment Command
  1893. .......................
  1894. `#ANYTHING<end of line>'
  1895. A comment. Ignore any characters from the `#' character up to the
  1896. next newline character.
  1897. This command is the only possibility for commenting in the
  1898. intermediate output. Each comment can be preceded by arbitrary
  1899. syntactical space; every command can be terminated by a comment.
  1900. 
  1901. File: groff, Node: Simple Commands, Next: Graphics Commands, Prev: Comment Command, Up: Command Reference
  1902. 8.1.2.2 Simple Commands
  1903. .......................
  1904. The commands in this subsection have a command code consisting of a
  1905. single character, taking a fixed number of arguments. Most of them are
  1906. commands for positioning and text writing. These commands are smart
  1907. about whitespace. Optionally, syntactical space can be inserted
  1908. before, after, and between the command letter and its arguments. All
  1909. of these commands are stackable, i.e., they can be preceded by other
  1910. simple commands or followed by arbitrary other commands on the same
  1911. line. A separating syntactical space is only necessary when two
  1912. integer arguments would clash or if the preceding argument ends with a
  1913. string argument.
  1914. `C XXX<whitespace>'
  1915. Print a special character named XXX. The trailing syntactical
  1916. space or line break is necessary to allow glyph names of arbitrary
  1917. length. The glyph is printed at the current print position; the
  1918. glyph's size is read from the font file. The print position is
  1919. not changed.
  1920. `c G'
  1921. Print glyph G at the current print position;(1) (*note Simple
  1922. Commands-Footnote-1::) the glyph's size is read from the font
  1923. file. The print position is not changed.
  1924. `f N'
  1925. Set font to font number N (a non-negative integer).
  1926. `H N'
  1927. Move right to the absolute vertical position N (a non-negative
  1928. integer in basic units `u' relative to left edge of current page.
  1929. `h N'
  1930. Move N (a non-negative integer) basic units `u' horizontally to
  1931. the right. The original UNIX troff manual allows negative values
  1932. for N also, but `gtroff' doesn't use this.
  1933. `m COLOR-SCHEME [COMPONENT ...]'
  1934. Set the color for text (glyphs), line drawing, and the outline of
  1935. graphic objects using different color schemes; the analoguous
  1936. command for the filling color of graphic objects is `DF'. The
  1937. color components are specified as integer arguments between 0 and
  1938. 65536. The number of color components and their meaning vary for
  1939. the different color schemes. These commands are generated by
  1940. `gtroff''s escape sequence `\m'. No position changing. These
  1941. commands are a `gtroff' extension.
  1942. `mc CYAN MAGENTA YELLOW'
  1943. Set color using the CMY color scheme, having the 3 color
  1944. components CYAN, MAGENTA, and YELLOW.
  1945. `md'
  1946. Set color to the default color value (black in most cases).
  1947. No component arguments.
  1948. `mg GRAY'
  1949. Set color to the shade of gray given by the argument, an
  1950. integer between 0 (black) and 65536 (white).
  1951. `mk CYAN MAGENTA YELLOW BLACK'
  1952. Set color using the CMYK color scheme, having the 4 color
  1953. components CYAN, MAGENTA, YELLOW, and BLACK.
  1954. `mr RED GREEN BLUE'
  1955. Set color using the RGB color scheme, having the 3 color
  1956. components RED, GREEN, and BLUE.
  1957. `N N'
  1958. Print glyph with index N (a non-negative integer) of the current
  1959. font. This command is a `gtroff' extension.
  1960. `n B A'
  1961. Inform the device about a line break, but no positioning is done by
  1962. this command. In AT&T `troff', the integer arguments B and A
  1963. informed about the space before and after the current line to make
  1964. the intermediate output more human readable without performing any
  1965. action. In `groff', they are just ignored, but they must be
  1966. provided for compatibility reasons.
  1967. `p N'
  1968. Begin a new page in the outprint. The page number is set to N.
  1969. This page is completely independent of pages formerly processed
  1970. even if those have the same page number. The vertical position on
  1971. the outprint is automatically set to 0. All positioning, writing,
  1972. and drawing is always done relative to a page, so a `p' command
  1973. must be issued before any of these commands.
  1974. `s N'
  1975. Set point size to N scaled points (this is unit `z'). AT&T
  1976. `troff' used the unit points (`p') instead. *Note Output Language
  1977. Compatibility::.
  1978. `t XXX<whitespace>'
  1979. `t XXX DUMMY-ARG<whitespace>'
  1980. Print a word, i.e., a sequence of characters XXX representing
  1981. output glyphs which names are single characters, terminated by a
  1982. space character or a line break; an optional second integer
  1983. argument is ignored (this allows the formatter to generate an even
  1984. number of arguments). The first glyph should be printed at the
  1985. current position, the current horizontal position should then be
  1986. increased by the width of the first glyph, and so on for each
  1987. glyph. The widths of the glyphs are read from the font file,
  1988. scaled for the current point size, and rounded to a multiple of
  1989. the horizontal resolution. Special characters cannot be printed
  1990. using this command (use the `C' command for special characters).
  1991. This command is a `gtroff' extension; it is only used for devices
  1992. whose `DESC' file contains the `tcommand' keyword (*note DESC File
  1993. Format::).
  1994. `u N XXX<whitespace>'
  1995. Print word with track kerning. This is the same as the `t'
  1996. command except that after printing each glyph, the current
  1997. horizontal position is increased by the sum of the width of that
  1998. glyph and N (an integer in basic units `u'). This command is a
  1999. `gtroff' extension; it is only used for devices whose `DESC' file
  2000. contains the `tcommand' keyword (*note DESC File Format::).
  2001. `V N'
  2002. Move down to the absolute vertical position N (a non-negative
  2003. integer in basic units `u') relative to upper edge of current page.
  2004. `v N'
  2005. Move N basic units `u' down (N is a non-negative integer). The
  2006. original UNIX troff manual allows negative values for N also, but
  2007. `gtroff' doesn't use this.
  2008. `w'
  2009. Informs about a paddable white space to increase readability. The
  2010. spacing itself must be performed explicitly by a move command.
  2011. 
  2012. File: groff, Node: Simple Commands-Footnotes, Up: Simple Commands
  2013. (1) `c' is actually a misnomer since it outputs a glyph.
  2014. 
  2015. File: groff, Node: Graphics Commands, Next: Device Control Commands, Prev: Simple Commands, Up: Command Reference
  2016. 8.1.2.3 Graphics Commands
  2017. .........................
  2018. Each graphics or drawing command in the intermediate output starts with
  2019. the letter `D', followed by one or two characters that specify a
  2020. subcommand; this is followed by a fixed or variable number of integer
  2021. arguments that are separated by a single space character. A `D'
  2022. command may not be followed by another command on the same line (apart
  2023. from a comment), so each `D' command is terminated by a syntactical
  2024. line break.
  2025. `gtroff' output follows the classical spacing rules (no space
  2026. between command and subcommand, all arguments are preceded by a single
  2027. space character), but the parser allows optional space between the
  2028. command letters and makes the space before the first argument optional.
  2029. As usual, each space can be any sequence of tab and space characters.
  2030. Some graphics commands can take a variable number of arguments. In
  2031. this case, they are integers representing a size measured in basic
  2032. units `u'. The arguments called H1, H2, ..., HN stand for horizontal
  2033. distances where positive means right, negative left. The arguments
  2034. called V1, V2, ..., VN stand for vertical distances where positive
  2035. means down, negative up. All these distances are offsets relative to
  2036. the current location.
  2037. Each graphics command directly corresponds to a similar `gtroff'
  2038. `\D' escape sequence. *Note Drawing Requests::.
  2039. Unknown `D' commands are assumed to be device-specific. Its
  2040. arguments are parsed as strings; the whole information is then sent to
  2041. the postprocessor.
  2042. In the following command reference, the syntax element <line
  2043. break> means a syntactical line break as defined above.
  2044. `D~ H1 V1 H2 V2 ... HN VN<line break>'
  2045. Draw B-spline from current position to offset (H1,V1), then to
  2046. offset (H2,V2), if given, etc. up to (HN,VN). This command takes
  2047. a variable number of argument pairs; the current position is moved
  2048. to the terminal point of the drawn curve.
  2049. `Da H1 V1 H2 V2<line break>'
  2050. Draw arc from current position to (H1,V1)+(H2,V2) with center at
  2051. (H1,V1); then move the current position to the final point of the
  2052. arc.
  2053. `DC D<line break>'
  2054. `DC D DUMMY-ARG<line break>'
  2055. Draw a solid circle using the current fill color with diameter D
  2056. (integer in basic units `u') with leftmost point at the current
  2057. position; then move the current position to the rightmost point of
  2058. the circle. An optional second integer argument is ignored (this
  2059. allows the formatter to generate an even number of arguments).
  2060. This command is a `gtroff' extension.
  2061. `Dc D<line break>'
  2062. Draw circle line with diameter D (integer in basic units `u') with
  2063. leftmost point at the current position; then move the current
  2064. position to the rightmost point of the circle.
  2065. `DE H V<line break>'
  2066. Draw a solid ellipse in the current fill color with a horizontal
  2067. diameter of H and a vertical diameter of V (both integers in basic
  2068. units `u') with the leftmost point at the current position; then
  2069. move to the rightmost point of the ellipse. This command is a
  2070. `gtroff' extension.
  2071. `De H V<line break>'
  2072. Draw an outlined ellipse with a horizontal diameter of H and a
  2073. vertical diameter of V (both integers in basic units `u') with the
  2074. leftmost point at current position; then move to the rightmost
  2075. point of the ellipse.
  2076. `DF COLOR-SCHEME [COMPONENT ...]<line break>'
  2077. Set fill color for solid drawing objects using different color
  2078. schemes; the analoguous command for setting the color of text, line
  2079. graphics, and the outline of graphic objects is `m'. The color
  2080. components are specified as integer arguments between 0 and 65536.
  2081. The number of color components and their meaning vary for the
  2082. different color schemes. These commands are generated by
  2083. `gtroff''s escape sequences `\D'F ...'' and `\M' (with no other
  2084. corresponding graphics commands). No position changing. This
  2085. command is a `gtroff' extension.
  2086. `DFc CYAN MAGENTA YELLOW<line break>'
  2087. Set fill color for solid drawing objects using the CMY color
  2088. scheme, having the 3 color components CYAN, MAGENTA, and
  2089. YELLOW.
  2090. `DFd<line break>'
  2091. Set fill color for solid drawing objects to the default fill
  2092. color value (black in most cases). No component arguments.
  2093. `DFg GRAY<line break>'
  2094. Set fill color for solid drawing objects to the shade of gray
  2095. given by the argument, an integer between 0 (black) and 65536
  2096. (white).
  2097. `DFk CYAN MAGENTA YELLOW BLACK<line break>'
  2098. Set fill color for solid drawing objects using the CMYK color
  2099. scheme, having the 4 color components CYAN, MAGENTA, YELLOW,
  2100. and BLACK.
  2101. `DFr RED GREEN BLUE<line break>'
  2102. Set fill color for solid drawing objects using the RGB color
  2103. scheme, having the 3 color components RED, GREEN, and BLUE.
  2104. `Df N<line break>'
  2105. The argument N must be an integer in the range -32767 to 32767.
  2106. 0 <= N <= 1000
  2107. Set the color for filling solid drawing objects to a shade of
  2108. gray, where 0 corresponds to solid white, 1000 (the default)
  2109. to solid black, and values in between to intermediate shades
  2110. of gray; this is obsoleted by command `DFg'.
  2111. N < 0 or N > 1000
  2112. Set the filling color to the color that is currently being
  2113. used for the text and the outline, see command `m'. For
  2114. example, the command sequence
  2115. mg 0 0 65536
  2116. Df -1
  2117. sets all colors to blue.
  2118. No position changing. This command is a `gtroff' extension.
  2119. `Dl H V<line break>'
  2120. Draw line from current position to offset (H,V) (integers in basic
  2121. units `u'); then set current position to the end of the drawn line.
  2122. `Dp H1 V1 H2 V2 ... HN VN<line break>'
  2123. Draw a polygon line from current position to offset (H1,V1), from
  2124. there to offset (H2,V2), etc. up to offset (HN,VN), and from there
  2125. back to the starting position. For historical reasons, the
  2126. position is changed by adding the sum of all arguments with odd
  2127. index to the actual horizontal position and the even ones to the
  2128. vertical position. Although this doesn't make sense it is kept
  2129. for compatibility. This command is a `gtroff' extension.
  2130. `Dp H1 V1 H2 V2 ... HN VN<line break>'
  2131. Draw a solid polygon in the current fill color rather than an
  2132. outlined polygon, using the same arguments and positioning as the
  2133. corresponding `Dp' command. This command is a `gtroff' extension.
  2134. `Dt N<line break>'
  2135. Set the current line thickness to N (an integer in basic units
  2136. `u') if N>0; if N=0 select the smallest available line thickness;
  2137. if N<0 set the line thickness proportional to the point size (this
  2138. is the default before the first `Dt' command was specified). For
  2139. historical reasons, the horizontal position is changed by adding
  2140. the argument to the actual horizontal position, while the vertical
  2141. position is not changed. Although this doesn't make sense it is
  2142. kept for compatibility. This command is a `gtroff' extension.
  2143. 
  2144. File: groff, Node: Device Control Commands, Next: Obsolete Command, Prev: Graphics Commands, Up: Command Reference
  2145. 8.1.2.4 Device Control Commands
  2146. ...............................
  2147. Each device control command starts with the letter `x', followed by a
  2148. space character (optional or arbitrary space or tab in `gtroff') and a
  2149. subcommand letter or word; each argument (if any) must be preceded by a
  2150. syntactical space. All `x' commands are terminated by a syntactical
  2151. line break; no device control command can be followed by another
  2152. command on the same line (except a comment).
  2153. The subcommand is basically a single letter, but to increase
  2154. readability, it can be written as a word, i.e., an arbitrary sequence
  2155. of characters terminated by the next tab, space, or newline character.
  2156. All characters of the subcommand word but the first are simply ignored.
  2157. For example, `gtroff' outputs the initialization command `x i' as
  2158. `x init' and the resolution command `x r' as `x res'.
  2159. In the following, the syntax element <line break> means a
  2160. syntactical line break (*note Separation::).
  2161. `xF NAME<line break>'
  2162. The `F' stands for FILENAME.
  2163. Use NAME as the intended name for the current file in error
  2164. reports. This is useful for remembering the original file name
  2165. when `gtroff' uses an internal piping mechanism. The input file is
  2166. not changed by this command. This command is a `gtroff' extension.
  2167. `xf N S<line break>'
  2168. The `f' stands for FONT.
  2169. Mount font position N (a non-negative integer) with font named S
  2170. (a text word). *Note Font Positions::.
  2171. `xH N<line break>'
  2172. The `H' stands for HEIGHT.
  2173. Set glyph height to N (a positive integer in scaled points `z').
  2174. AT&T `troff' uses the unit points (`p') instead. *Note Output
  2175. Language Compatibility::.
  2176. `xi<line break>'
  2177. The `i' stands for INIT.
  2178. Initialize device. This is the third command of the prologue.
  2179. `xp<line break>'
  2180. The `p' stands for PAUSE.
  2181. Parsed but ignored. The original UNIX troff manual writes
  2182. pause device, can be restarted
  2183. `xr N H V<line break>'
  2184. The `r' stands for RESOLUTION.
  2185. Resolution is N, while H is the minimal horizontal motion, and V
  2186. the minimal vertical motion possible with this device; all
  2187. arguments are positive integers in basic units `u' per inch. This
  2188. is the second command of the prologue.
  2189. `xS N<line break>'
  2190. The `S' stands for SLANT.
  2191. Set slant to N (an integer in basic units `u').
  2192. `xs<line break>'
  2193. The `s' stands for STOP.
  2194. Terminates the processing of the current file; issued as the last
  2195. command of any intermediate troff output.
  2196. `xt<line break>'
  2197. The `t' stands for TRAILER.
  2198. Generate trailer information, if any. In GTROFF, this is actually
  2199. just ignored.
  2200. `xT XXX<line break>'
  2201. The `T' stands for TYPESETTER.
  2202. Set name of device to word XXX, a sequence of characters ended by
  2203. the next white space character. The possible device names coincide
  2204. with those from the `groff' `-T' option. This is the first
  2205. command of the prologue.
  2206. `xu N<line break>'
  2207. The `u' stands for UNDERLINE.
  2208. Configure underlining of spaces. If N is 1, start underlining of
  2209. spaces; if N is 0, stop underlining of spaces. This is needed for
  2210. the `cu' request in nroff mode and is ignored otherwise. This
  2211. command is a `gtroff' extension.
  2212. `xX ANYTHING<line break>'
  2213. The `x' stands for X-ESCAPE.
  2214. Send string ANYTHING uninterpreted to the device. If the line
  2215. following this command starts with a `+' character this line is
  2216. interpreted as a continuation line in the following sense. The
  2217. `+' is ignored, but a newline character is sent instead to the
  2218. device, the rest of the line is sent uninterpreted. The same
  2219. applies to all following lines until the first character of a line
  2220. is not a `+' character. This command is generated by the `gtroff'
  2221. escape sequence `\X'. The line-continuing feature is a `gtroff'
  2222. extension.
  2223. 
  2224. File: groff, Node: Obsolete Command, Prev: Device Control Commands, Up: Command Reference
  2225. 8.1.2.5 Obsolete Command
  2226. ........................
  2227. In AT&T `troff' output, the writing of a single glyph is mostly done by
  2228. a very strange command that combines a horizontal move and a single
  2229. character giving the glyph name. It doesn't have a command code, but
  2230. is represented by a 3-character argument consisting of exactly 2 digits
  2231. and a character.
  2232. DDG
  2233. Move right DD (exactly two decimal digits) basic units `u', then
  2234. print glyph G (represented as a single character).
  2235. In `gtroff', arbitrary syntactical space around and within this
  2236. command is allowed to be added. Only when a preceding command on
  2237. the same line ends with an argument of variable length a
  2238. separating space is obligatory. In AT&T `troff', large clusters
  2239. of these and other commands are used, mostly without spaces; this
  2240. made such output almost unreadable.
  2241. For modern high-resolution devices, this command does not make sense
  2242. because the width of the glyphs can become much larger than two decimal
  2243. digits. In `gtroff', this is only used for the devices `X75',
  2244. `X75-12', `X100', and `X100-12'. For other devices, the commands `t'
  2245. and `u' provide a better functionality.
  2246. 
  2247. File: groff, Node: Intermediate Output Examples, Next: Output Language Compatibility, Prev: Command Reference, Up: gtroff Output
  2248. 8.1.3 Intermediate Output Examples
  2249. ----------------------------------
  2250. This section presents the intermediate output generated from the same
  2251. input for three different devices. The input is the sentence `hell
  2252. world' fed into `gtroff' on the command line.
  2253. High-resolution device `ps'
  2254. This is the standard output of `gtroff' if no `-T' option is given.
  2255. shell> echo "hell world" | groff -Z -T ps
  2256. x T ps
  2257. x res 72000 1 1
  2258. x init
  2259. p1
  2260. x font 5 TR
  2261. f5
  2262. s10000
  2263. V12000
  2264. H72000
  2265. thell
  2266. wh2500
  2267. tw
  2268. H96620
  2269. torld
  2270. n12000 0
  2271. x trailer
  2272. V792000
  2273. x stop
  2274. This output can be fed into `grops' to get its representation as a
  2275. PostScript file.
  2276. Low-resolution device `latin1'
  2277. This is similar to the high-resolution device except that the
  2278. positioning is done at a minor scale. Some comments (lines
  2279. starting with `#') were added for clarification; they were not
  2280. generated by the formatter.
  2281. shell> echo "hell world" | groff -Z -T latin1
  2282. # prologue
  2283. x T latin1
  2284. x res 240 24 40
  2285. x init
  2286. # begin a new page
  2287. p1
  2288. # font setup
  2289. x font 1 R
  2290. f1
  2291. s10
  2292. # initial positioning on the page
  2293. V40
  2294. H0
  2295. # write text `hell'
  2296. thell
  2297. # inform about space, and issue a horizontal jump
  2298. wh24
  2299. # write text `world'
  2300. tworld
  2301. # announce line break, but do nothing because ...
  2302. n40 0
  2303. # ... the end of the document has been reached
  2304. x trailer
  2305. V2640
  2306. x stop
  2307. This output can be fed into `grotty' to get a formatted text
  2308. document.
  2309. AT&T `troff' output
  2310. Since a computer monitor has a very low resolution compared to
  2311. modern printers the intermediate output for the X Window devices
  2312. can use the jump-and-write command with its 2-digit displacements.
  2313. shell> echo "hell world" | groff -Z -T X100
  2314. x T X100
  2315. x res 100 1 1
  2316. x init
  2317. p1
  2318. x font 5 TR
  2319. f5
  2320. s10
  2321. V16
  2322. H100
  2323. # write text with jump-and-write commands
  2324. ch07e07l03lw06w11o07r05l03dh7
  2325. n16 0
  2326. x trailer
  2327. V1100
  2328. x stop
  2329. This output can be fed into `xditview' or `gxditview' for
  2330. displaying in X.
  2331. Due to the obsolete jump-and-write command, the text clusters in
  2332. the AT&T `troff' output are almost unreadable.
  2333. 
  2334. File: groff, Node: Output Language Compatibility, Prev: Intermediate Output Examples, Up: gtroff Output
  2335. 8.1.4 Output Language Compatibility
  2336. -----------------------------------
  2337. The intermediate output language of AT&T `troff' was first documented
  2338. in the UNIX troff manual, with later additions documented in `A
  2339. Typesetter-indenpendent TROFF', written by Brian Kernighan.
  2340. The `gtroff' intermediate output format is compatible with this
  2341. specification except for the following features.
  2342. * The classical quasi device independence is not yet implemented.
  2343. * The old hardware was very different from what we use today. So the
  2344. `groff' devices are also fundamentally different from the ones in
  2345. AT&T `troff'. For example, the AT&T PostScript device is called
  2346. `post' and has a resolution of only 720 units per inch, suitable
  2347. for printers 20 years ago, while `groff''s `ps' device has a
  2348. resolution of 72000 units per inch. Maybe, by implementing some
  2349. rescaling mechanism similar to the classical quasi device
  2350. independence, `groff' could emulate AT&T's `post' device.
  2351. * The B-spline command `D~' is correctly handled by the intermediate
  2352. output parser, but the drawing routines aren't implemented in some
  2353. of the postprocessor programs.
  2354. * The argument of the commands `s' and `x H' has the implicit unit
  2355. scaled point `z' in `gtroff', while AT&T `troff' has point (`p').
  2356. This isn't an incompatibility but a compatible extension, for both
  2357. units coincide for all devices without a `sizescale' parameter in
  2358. the `DESC' file, including all postprocessors from AT&T and
  2359. `groff''s text devices. The few `groff' devices with a
  2360. `sizescale' parameter either do not exist for AT&T `troff', have a
  2361. different name, or seem to have a different resolution. So
  2362. conflicts are very unlikely.
  2363. * The position changing after the commands `Dp', `DP', and `Dt' is
  2364. illogical, but as old versions of `gtroff' used this feature it is
  2365. kept for compatibility reasons.
  2366. 
  2367. File: groff, Node: Font Files, Prev: gtroff Output, Up: File formats
  2368. 8.2 Font Files
  2369. ==============
  2370. The `gtroff' font format is roughly a superset of the `ditroff' font
  2371. format (as used in later versions of AT&T `troff' and its descendants).
  2372. Unlike the `ditroff' font format, there is no associated binary
  2373. format; all files are text files.(1) (*note Font Files-Footnote-1::)
  2374. The font files for device NAME are stored in a directory `devNAME'.
  2375. There are two types of file: a device description file called `DESC'
  2376. and for each font F a font file called `F'.
  2377. * Menu:
  2378. * DESC File Format::
  2379. * Font File Format::
  2380. 
  2381. File: groff, Node: Font Files-Footnotes, Up: Font Files
  2382. (1) Plan 9 `troff' has also abandoned the binary format.
  2383. 
  2384. File: groff, Node: DESC File Format, Next: Font File Format, Prev: Font Files, Up: Font Files
  2385. 8.2.1 `DESC' File Format
  2386. ------------------------
  2387. The `DESC' file can contain the following types of line. Except for
  2388. the `charset' keyword which must comes last (if at all), the order of
  2389. the lines is not important.
  2390. `res N'
  2391. There are N machine units per inch.
  2392. `hor N'
  2393. The horizontal resolution is N machine units. All horizontal
  2394. quantities are rounded to be multiples of this value.
  2395. `vert N'
  2396. The vertical resolution is N machine units. All vertical
  2397. quantities are rounded to be multiples of this value.
  2398. `sizescale N'
  2399. The scale factor for point sizes. By default this has a value
  2400. of 1. One scaled point is equal to one point/N. The arguments to
  2401. the `unitwidth' and `sizes' commands are given in scaled points.
  2402. *Note Fractional Type Sizes::, for more information.
  2403. `unitwidth N'
  2404. Quantities in the font files are given in machine units for fonts
  2405. whose point size is N scaled points.
  2406. `prepro PROGRAM'
  2407. Call PROGRAM as a preprocessor. Currently, this keyword is used
  2408. by `groff' with option `-Thtml' only.
  2409. `postpro PROGRAM'
  2410. Call PROGRAM as a postprocessor. For example, the line
  2411. postpro grodvi
  2412. in the file `devdvi/DESC' makes `groff' call `grodvi' if option
  2413. `-Tdvi' is given (and `-Z' isn't used).
  2414. `tcommand'
  2415. This means that the postprocessor can handle the `t' and `u'
  2416. intermediate output commands.
  2417. `sizes S1 S2 ... SN 0'
  2418. This means that the device has fonts at S1, S2, ... SN scaled
  2419. points. The list of sizes must be terminated by 0 (this is digit
  2420. zero). Each SI can also be a range of sizes M-N. The list can
  2421. extend over more than one line.
  2422. `styles S1 S2 ... SM'
  2423. The first M font positions are associated with styles S1 ... SM.
  2424. `fonts N F1 F2 F3 ... FN'
  2425. Fonts F1 ... FN are mounted in the font positions M+1, ..., M+N
  2426. where M is the number of styles. This command may extend over
  2427. more than one line. A font name of 0 means no font is mounted on
  2428. the corresponding font position.
  2429. `family FAM'
  2430. The default font family is FAM.
  2431. `use_charnames_in_special'
  2432. This command indicates that `gtroff' should encode special
  2433. characters inside special commands. Currently, this is only used
  2434. by the HTML output device. *Note Postprocessor Access::.
  2435. `papersize STRING ...'
  2436. Select a paper size. Valid values for STRING are the ISO paper
  2437. types `A0'-`A7', `B0'-`B7', `C0'-`C7', `D0'-`D7', `DL', and the US
  2438. paper types `letter', `legal', `tabloid', `ledger', `statement',
  2439. `executive', `com10', and `monarch'. Case is not significant for
  2440. STRING if it holds predefined paper types. Alternatively, STRING
  2441. can be a file name (e.g. `/etc/papersize'); if the file can be
  2442. opened, `groff' reads the first line and tests for the above paper
  2443. sizes. Finally, STRING can be a custom paper size in the format
  2444. `LENGTH,WIDTH' (no spaces before and after the comma). Both
  2445. LENGTH and WIDTH must have a unit appended; valid values are `i'
  2446. for inches, `C' for centimeters, `p' for points, and `P' for
  2447. picas. Example: `12c,235p'. An argument which starts with a
  2448. digit is always treated as a custom paper format. `papersize'
  2449. sets both the vertical and horizontal dimension of the output
  2450. medium.
  2451. More than one argument can be specified; `groff' scans from left to
  2452. right and uses the first valid paper specification.
  2453. `pass_filenames'
  2454. Tell `gtroff' to emit the name of the source file currently being
  2455. processed. This is achieved by the intermediate output command
  2456. `F'. Currently, this is only used by the HTML output device.
  2457. `print PROGRAM'
  2458. Use PROGRAM as a spooler program for printing. If omitted, the
  2459. `-l' and `-L' options of `groff' are ignored.
  2460. `charset'
  2461. This line and everything following in the file are ignored. It is
  2462. allowed for the sake of backwards compatibility.
  2463. The `res', `unitwidth', `fonts', and `sizes' lines are mandatory.
  2464. Other commands are ignored by `gtroff' but may be used by
  2465. postprocessors to store arbitrary information about the device in the
  2466. `DESC' file.
  2467. Here a list of obsolete keywords which are recognized by `groff' but
  2468. completely ignored: `spare1', `spare2', `biggestfont'.
  2469. 
  2470. File: groff, Node: Font File Format, Prev: DESC File Format, Up: Font Files
  2471. 8.2.2 Font File Format
  2472. ----------------------
  2473. A "font file", also (and probably better) called a "font description
  2474. file", has two sections. The first section is a sequence of lines each
  2475. containing a sequence of blank delimited words; the first word in the
  2476. line is a key, and subsequent words give a value for that key.
  2477. `name F'
  2478. The name of the font is F.
  2479. `spacewidth N'
  2480. The normal width of a space is N.
  2481. `slant N'
  2482. The glyphs of the font have a slant of N degrees. (Positive means
  2483. forward.)
  2484. `ligatures LIG1 LIG2 ... LIGN [0]'
  2485. Glyphs LIG1, LIG2, ..., LIGN are ligatures; possible ligatures are
  2486. `ff', `fi', `fl', `ffi' and `ffl'. For backwards compatibility,
  2487. the list of ligatures may be terminated with a 0. The list of
  2488. ligatures may not extend over more than one line.
  2489. `special'
  2490. The font is "special"; this means that when a glyph is requested
  2491. that is not present in the current font, it is searched for in any
  2492. special fonts that are mounted.
  2493. Other commands are ignored by `gtroff' but may be used by
  2494. postprocessors to store arbitrary information about the font in the font
  2495. file.
  2496. The first section can contain comments which start with the `#'
  2497. character and extend to the end of a line.
  2498. The second section contains one or two subsections. It must contain
  2499. a `charset' subsection and it may also contain a `kernpairs'
  2500. subsection. These subsections can appear in any order. Each
  2501. subsection starts with a word on a line by itself.
  2502. The word `charset' starts the character set subsection.(1) (*note
  2503. Font File Format-Footnote-1::) The `charset' line is followed by a
  2504. sequence of lines. Each line gives information for one glyph. A line
  2505. comprises a number of fields separated by blanks or tabs. The format is
  2506. NAME METRICS TYPE CODE [ENTITY-NAME] [`--' COMMENT]
  2507. NAME identifies the glyph name(2) (*note Font File Format-Footnote-2::):
  2508. If NAME is a single character C then it corresponds to the `gtroff'
  2509. input character C; if it is of the form `\C' where C is a single
  2510. character, then it corresponds to the special character `\[C]';
  2511. otherwise it corresponds to the special character `\[NAME]'. If it is
  2512. exactly two characters XX it can be entered as `\(XX'. Note that
  2513. single-letter special characters can't be accessed as `\C'; the only
  2514. exception is `\-' which is identical to `\[-]'.
  2515. `gtroff' supports 8-bit input characters; however some utilities
  2516. have difficulties with eight-bit characters. For this reason, there is
  2517. a convention that the entity name `charN' is equivalent to the single
  2518. input character whose code is N. For example, `char163' would be
  2519. equivalent to the character with code 163 which is the pounds sterling
  2520. sign in the ISO Latin-1 character set. You shouldn't use `charN'
  2521. entities in font description files since they are related to input, not
  2522. output. Otherwise, you get hard-coded connections between input and
  2523. output encoding which prevents use of different (input) character sets.
  2524. The name `---' is special and indicates that the glyph is unnamed;
  2525. such glyphs can only be used by means of the `\N' escape sequence in
  2526. `gtroff'.
  2527. The TYPE field gives the glyph type:
  2528. `1'
  2529. the glyph has a descender, for example, `p';
  2530. `2'
  2531. the glyph has an ascender, for example, `b';
  2532. `3'
  2533. the glyph has both an ascender and a descender, for example, `('.
  2534. The CODE field gives the code which the postprocessor uses to print
  2535. the glyph. The glyph can also be input to `gtroff' using this code by
  2536. means of the `\N' escape sequence. CODE can be any integer. If it
  2537. starts with `0' it is interpreted as octal; if it starts with `0x' or
  2538. `0X' it is interpreted as hexadecimal. Note, however, that the `\N'
  2539. escape sequence only accepts a decimal integer.
  2540. The ENTITY-NAME field gives an ASCII string identifying the glyph
  2541. which the postprocessor uses to print the `gtroff' glyph NAME. This
  2542. field is optional and has been introduced so that the HTML device
  2543. driver can encode its character set. For example, the glyph `\[Po]' is
  2544. represented as `&pound;' in HTML 4.0.
  2545. Anything on the line after the ENTITY-NAME field resp. after `--'
  2546. will be ignored.
  2547. The METRICS field has the form:
  2548. WIDTH[`,'HEIGHT[`,'DEPTH[`,'ITALIC-CORRECTION
  2549. [`,'LEFT-ITALIC-CORRECTION[`,'SUBSCRIPT-CORRECTION]]]]]
  2550. There must not be any spaces between these subfields (it has been split
  2551. here into two lines for better legibility only). Missing subfields are
  2552. assumed to be 0. The subfields are all decimal integers. Since there
  2553. is no associated binary format, these values are not required to fit
  2554. into a variable of type `char' as they are in `ditroff'. The WIDTH
  2555. subfield gives the width of the glyph. The HEIGHT subfield gives the
  2556. height of the glyph (upwards is positive); if a glyph does not extend
  2557. above the baseline, it should be given a zero height, rather than a
  2558. negative height. The DEPTH subfield gives the depth of the glyph, that
  2559. is, the distance from the baseline to the lowest point below the
  2560. baseline to which the glyph extends (downwards is positive); if a glyph
  2561. does not extend below the baseline, it should be given a zero depth,
  2562. rather than a negative depth. The ITALIC-CORRECTION subfield gives the
  2563. amount of space that should be added after the glyph when it is
  2564. immediately to be followed by a glyph from a roman font. The
  2565. LEFT-ITALIC-CORRECTION subfield gives the amount of space that should
  2566. be added before the glyph when it is immediately to be preceded by a
  2567. glyph from a roman font. The SUBSCRIPT-CORRECTION gives the amount of
  2568. space that should be added after a glyph before adding a subscript.
  2569. This should be less than the italic correction.
  2570. A line in the `charset' section can also have the format
  2571. NAME "
  2572. This indicates that NAME is just another name for the glyph mentioned
  2573. in the preceding line.
  2574. The word `kernpairs' starts the kernpairs section. This contains a
  2575. sequence of lines of the form:
  2576. C1 C2 N
  2577. This means that when glyph C1 appears next to glyph C2 the space
  2578. between them should be increased by N. Most entries in the kernpairs
  2579. section have a negative value for N.
  2580. 
  2581. File: groff, Node: Font File Format-Footnotes, Up: Font File Format
  2582. (1) This keyword is misnamed since it starts a list of ordered
  2583. glyphs, not characters.
  2584. (2) The distinction between input, characters, and output, glyphs,
  2585. is not clearly separated in the terminology of `groff'; for example,
  2586. the `char' request should be called `glyph' since it defines an output
  2587. entity.
  2588. 
  2589. File: groff, Node: Installation, Next: Copying This Manual, Prev: File formats, Up: Top
  2590. 9 Installation
  2591. **************
  2592. 
  2593. File: groff, Node: Copying This Manual, Next: Request Index, Prev: Installation, Up: Top
  2594. Appendix A Copying This Manual
  2595. ******************************
  2596. * Menu:
  2597. * GNU Free Documentation License:: License for copying this manual.
  2598. 
  2599. File: groff, Node: GNU Free Documentation License, Up: Copying This Manual
  2600. A.1 GNU Free Documentation License
  2601. ==================================
  2602. Version 1.2, November 2002
  2603. Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
  2604. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  2605. Everyone is permitted to copy and distribute verbatim copies
  2606. of this license document, but changing it is not allowed.
  2607. 0. PREAMBLE
  2608. The purpose of this License is to make a manual, textbook, or other
  2609. functional and useful document "free" in the sense of freedom: to
  2610. assure everyone the effective freedom to copy and redistribute it,
  2611. with or without modifying it, either commercially or
  2612. noncommercially. Secondarily, this License preserves for the
  2613. author and publisher a way to get credit for their work, while not
  2614. being considered responsible for modifications made by others.
  2615. This License is a kind of "copyleft", which means that derivative
  2616. works of the document must themselves be free in the same sense.
  2617. It complements the GNU General Public License, which is a copyleft
  2618. license designed for free software.
  2619. We have designed this License in order to use it for manuals for
  2620. free software, because free software needs free documentation: a
  2621. free program should come with manuals providing the same freedoms
  2622. that the software does. But this License is not limited to
  2623. software manuals; it can be used for any textual work, regardless
  2624. of subject matter or whether it is published as a printed book.
  2625. We recommend this License principally for works whose purpose is
  2626. instruction or reference.
  2627. 1. APPLICABILITY AND DEFINITIONS
  2628. This License applies to any manual or other work, in any medium,
  2629. that contains a notice placed by the copyright holder saying it
  2630. can be distributed under the terms of this License. Such a notice
  2631. grants a world-wide, royalty-free license, unlimited in duration,
  2632. to use that work under the conditions stated herein. The
  2633. "Document", below, refers to any such manual or work. Any member
  2634. of the public is a licensee, and is addressed as "you". You
  2635. accept the license if you copy, modify or distribute the work in a
  2636. way requiring permission under copyright law.
  2637. A "Modified Version" of the Document means any work containing the
  2638. Document or a portion of it, either copied verbatim, or with
  2639. modifications and/or translated into another language.
  2640. A "Secondary Section" is a named appendix or a front-matter section
  2641. of the Document that deals exclusively with the relationship of the
  2642. publishers or authors of the Document to the Document's overall
  2643. subject (or to related matters) and contains nothing that could
  2644. fall directly within that overall subject. (Thus, if the Document
  2645. is in part a textbook of mathematics, a Secondary Section may not
  2646. explain any mathematics.) The relationship could be a matter of
  2647. historical connection with the subject or with related matters, or
  2648. of legal, commercial, philosophical, ethical or political position
  2649. regarding them.
  2650. The "Invariant Sections" are certain Secondary Sections whose
  2651. titles are designated, as being those of Invariant Sections, in
  2652. the notice that says that the Document is released under this
  2653. License. If a section does not fit the above definition of
  2654. Secondary then it is not allowed to be designated as Invariant.
  2655. The Document may contain zero Invariant Sections. If the Document
  2656. does not identify any Invariant Sections then there are none.
  2657. The "Cover Texts" are certain short passages of text that are
  2658. listed, as Front-Cover Texts or Back-Cover Texts, in the notice
  2659. that says that the Document is released under this License. A
  2660. Front-Cover Text may be at most 5 words, and a Back-Cover Text may
  2661. be at most 25 words.
  2662. A "Transparent" copy of the Document means a machine-readable copy,
  2663. represented in a format whose specification is available to the
  2664. general public, that is suitable for revising the document
  2665. straightforwardly with generic text editors or (for images
  2666. composed of pixels) generic paint programs or (for drawings) some
  2667. widely available drawing editor, and that is suitable for input to
  2668. text formatters or for automatic translation to a variety of
  2669. formats suitable for input to text formatters. A copy made in an
  2670. otherwise Transparent file format whose markup, or absence of
  2671. markup, has been arranged to thwart or discourage subsequent
  2672. modification by readers is not Transparent. An image format is
  2673. not Transparent if used for any substantial amount of text. A
  2674. copy that is not "Transparent" is called "Opaque".
  2675. Examples of suitable formats for Transparent copies include plain
  2676. ASCII without markup, Texinfo input format, LaTeX input format,
  2677. SGML or XML using a publicly available DTD, and
  2678. standard-conforming simple HTML, PostScript or PDF designed for
  2679. human modification. Examples of transparent image formats include
  2680. PNG, XCF and JPG. Opaque formats include proprietary formats that
  2681. can be read and edited only by proprietary word processors, SGML or
  2682. XML for which the DTD and/or processing tools are not generally
  2683. available, and the machine-generated HTML, PostScript or PDF
  2684. produced by some word processors for output purposes only.
  2685. The "Title Page" means, for a printed book, the title page itself,
  2686. plus such following pages as are needed to hold, legibly, the
  2687. material this License requires to appear in the title page. For
  2688. works in formats which do not have any title page as such, "Title
  2689. Page" means the text near the most prominent appearance of the
  2690. work's title, preceding the beginning of the body of the text.
  2691. A section "Entitled XYZ" means a named subunit of the Document
  2692. whose title either is precisely XYZ or contains XYZ in parentheses
  2693. following text that translates XYZ in another language. (Here XYZ
  2694. stands for a specific section name mentioned below, such as
  2695. "Acknowledgements", "Dedications", "Endorsements", or "History".)
  2696. To "Preserve the Title" of such a section when you modify the
  2697. Document means that it remains a section "Entitled XYZ" according
  2698. to this definition.
  2699. The Document may include Warranty Disclaimers next to the notice
  2700. which states that this License applies to the Document. These
  2701. Warranty Disclaimers are considered to be included by reference in
  2702. this License, but only as regards disclaiming warranties: any other
  2703. implication that these Warranty Disclaimers may have is void and
  2704. has no effect on the meaning of this License.
  2705. 2. VERBATIM COPYING
  2706. You may copy and distribute the Document in any medium, either
  2707. commercially or noncommercially, provided that this License, the
  2708. copyright notices, and the license notice saying this License
  2709. applies to the Document are reproduced in all copies, and that you
  2710. add no other conditions whatsoever to those of this License. You
  2711. may not use technical measures to obstruct or control the reading
  2712. or further copying of the copies you make or distribute. However,
  2713. you may accept compensation in exchange for copies. If you
  2714. distribute a large enough number of copies you must also follow
  2715. the conditions in section 3.
  2716. You may also lend copies, under the same conditions stated above,
  2717. and you may publicly display copies.
  2718. 3. COPYING IN QUANTITY
  2719. If you publish printed copies (or copies in media that commonly
  2720. have printed covers) of the Document, numbering more than 100, and
  2721. the Document's license notice requires Cover Texts, you must
  2722. enclose the copies in covers that carry, clearly and legibly, all
  2723. these Cover Texts: Front-Cover Texts on the front cover, and
  2724. Back-Cover Texts on the back cover. Both covers must also clearly
  2725. and legibly identify you as the publisher of these copies. The
  2726. front cover must present the full title with all words of the
  2727. title equally prominent and visible. You may add other material
  2728. on the covers in addition. Copying with changes limited to the
  2729. covers, as long as they preserve the title of the Document and
  2730. satisfy these conditions, can be treated as verbatim copying in
  2731. other respects.
  2732. If the required texts for either cover are too voluminous to fit
  2733. legibly, you should put the first ones listed (as many as fit
  2734. reasonably) on the actual cover, and continue the rest onto
  2735. adjacent pages.
  2736. If you publish or distribute Opaque copies of the Document
  2737. numbering more than 100, you must either include a
  2738. machine-readable Transparent copy along with each Opaque copy, or
  2739. state in or with each Opaque copy a computer-network location from
  2740. which the general network-using public has access to download
  2741. using public-standard network protocols a complete Transparent
  2742. copy of the Document, free of added material. If you use the
  2743. latter option, you must take reasonably prudent steps, when you
  2744. begin distribution of Opaque copies in quantity, to ensure that
  2745. this Transparent copy will remain thus accessible at the stated
  2746. location until at least one year after the last time you
  2747. distribute an Opaque copy (directly or through your agents or
  2748. retailers) of that edition to the public.
  2749. It is requested, but not required, that you contact the authors of
  2750. the Document well before redistributing any large number of
  2751. copies, to give them a chance to provide you with an updated
  2752. version of the Document.
  2753. 4. MODIFICATIONS
  2754. You may copy and distribute a Modified Version of the Document
  2755. under the conditions of sections 2 and 3 above, provided that you
  2756. release the Modified Version under precisely this License, with
  2757. the Modified Version filling the role of the Document, thus
  2758. licensing distribution and modification of the Modified Version to
  2759. whoever possesses a copy of it. In addition, you must do these
  2760. things in the Modified Version:
  2761. A. Use in the Title Page (and on the covers, if any) a title
  2762. distinct from that of the Document, and from those of
  2763. previous versions (which should, if there were any, be listed
  2764. in the History section of the Document). You may use the
  2765. same title as a previous version if the original publisher of
  2766. that version gives permission.
  2767. B. List on the Title Page, as authors, one or more persons or
  2768. entities responsible for authorship of the modifications in
  2769. the Modified Version, together with at least five of the
  2770. principal authors of the Document (all of its principal
  2771. authors, if it has fewer than five), unless they release you
  2772. from this requirement.
  2773. C. State on the Title page the name of the publisher of the
  2774. Modified Version, as the publisher.
  2775. D. Preserve all the copyright notices of the Document.
  2776. E. Add an appropriate copyright notice for your modifications
  2777. adjacent to the other copyright notices.
  2778. F. Include, immediately after the copyright notices, a license
  2779. notice giving the public permission to use the Modified
  2780. Version under the terms of this License, in the form shown in
  2781. the Addendum below.
  2782. G. Preserve in that license notice the full lists of Invariant
  2783. Sections and required Cover Texts given in the Document's
  2784. license notice.
  2785. H. Include an unaltered copy of this License.
  2786. I. Preserve the section Entitled "History", Preserve its Title,
  2787. and add to it an item stating at least the title, year, new
  2788. authors, and publisher of the Modified Version as given on
  2789. the Title Page. If there is no section Entitled "History" in
  2790. the Document, create one stating the title, year, authors,
  2791. and publisher of the Document as given on its Title Page,
  2792. then add an item describing the Modified Version as stated in
  2793. the previous sentence.
  2794. J. Preserve the network location, if any, given in the Document
  2795. for public access to a Transparent copy of the Document, and
  2796. likewise the network locations given in the Document for
  2797. previous versions it was based on. These may be placed in
  2798. the "History" section. You may omit a network location for a
  2799. work that was published at least four years before the
  2800. Document itself, or if the original publisher of the version
  2801. it refers to gives permission.
  2802. K. For any section Entitled "Acknowledgements" or "Dedications",
  2803. Preserve the Title of the section, and preserve in the
  2804. section all the substance and tone of each of the contributor
  2805. acknowledgements and/or dedications given therein.
  2806. L. Preserve all the Invariant Sections of the Document,
  2807. unaltered in their text and in their titles. Section numbers
  2808. or the equivalent are not considered part of the section
  2809. titles.
  2810. M. Delete any section Entitled "Endorsements". Such a section
  2811. may not be included in the Modified Version.
  2812. N. Do not retitle any existing section to be Entitled
  2813. "Endorsements" or to conflict in title with any Invariant
  2814. Section.
  2815. O. Preserve any Warranty Disclaimers.
  2816. If the Modified Version includes new front-matter sections or
  2817. appendices that qualify as Secondary Sections and contain no
  2818. material copied from the Document, you may at your option
  2819. designate some or all of these sections as invariant. To do this,
  2820. add their titles to the list of Invariant Sections in the Modified
  2821. Version's license notice. These titles must be distinct from any
  2822. other section titles.
  2823. You may add a section Entitled "Endorsements", provided it contains
  2824. nothing but endorsements of your Modified Version by various
  2825. parties--for example, statements of peer review or that the text
  2826. has been approved by an organization as the authoritative
  2827. definition of a standard.
  2828. You may add a passage of up to five words as a Front-Cover Text,
  2829. and a passage of up to 25 words as a Back-Cover Text, to the end
  2830. of the list of Cover Texts in the Modified Version. Only one
  2831. passage of Front-Cover Text and one of Back-Cover Text may be
  2832. added by (or through arrangements made by) any one entity. If the
  2833. Document already includes a cover text for the same cover,
  2834. previously added by you or by arrangement made by the same entity
  2835. you are acting on behalf of, you may not add another; but you may
  2836. replace the old one, on explicit permission from the previous
  2837. publisher that added the old one.
  2838. The author(s) and publisher(s) of the Document do not by this
  2839. License give permission to use their names for publicity for or to
  2840. assert or imply endorsement of any Modified Version.
  2841. 5. COMBINING DOCUMENTS
  2842. You may combine the Document with other documents released under
  2843. this License, under the terms defined in section 4 above for
  2844. modified versions, provided that you include in the combination
  2845. all of the Invariant Sections of all of the original documents,
  2846. unmodified, and list them all as Invariant Sections of your
  2847. combined work in its license notice, and that you preserve all
  2848. their Warranty Disclaimers.
  2849. The combined work need only contain one copy of this License, and
  2850. multiple identical Invariant Sections may be replaced with a single
  2851. copy. If there are multiple Invariant Sections with the same name
  2852. but different contents, make the title of each such section unique
  2853. by adding at the end of it, in parentheses, the name of the
  2854. original author or publisher of that section if known, or else a
  2855. unique number. Make the same adjustment to the section titles in
  2856. the list of Invariant Sections in the license notice of the
  2857. combined work.
  2858. In the combination, you must combine any sections Entitled
  2859. "History" in the various original documents, forming one section
  2860. Entitled "History"; likewise combine any sections Entitled
  2861. "Acknowledgements", and any sections Entitled "Dedications". You
  2862. must delete all sections Entitled "Endorsements."
  2863. 6. COLLECTIONS OF DOCUMENTS
  2864. You may make a collection consisting of the Document and other
  2865. documents released under this License, and replace the individual
  2866. copies of this License in the various documents with a single copy
  2867. that is included in the collection, provided that you follow the
  2868. rules of this License for verbatim copying of each of the
  2869. documents in all other respects.
  2870. You may extract a single document from such a collection, and
  2871. distribute it individually under this License, provided you insert
  2872. a copy of this License into the extracted document, and follow
  2873. this License in all other respects regarding verbatim copying of
  2874. that document.
  2875. 7. AGGREGATION WITH INDEPENDENT WORKS
  2876. A compilation of the Document or its derivatives with other
  2877. separate and independent documents or works, in or on a volume of
  2878. a storage or distribution medium, is called an "aggregate" if the
  2879. copyright resulting from the compilation is not used to limit the
  2880. legal rights of the compilation's users beyond what the individual
  2881. works permit. When the Document is included in an aggregate, this
  2882. License does not apply to the other works in the aggregate which
  2883. are not themselves derivative works of the Document.
  2884. If the Cover Text requirement of section 3 is applicable to these
  2885. copies of the Document, then if the Document is less than one half
  2886. of the entire aggregate, the Document's Cover Texts may be placed
  2887. on covers that bracket the Document within the aggregate, or the
  2888. electronic equivalent of covers if the Document is in electronic
  2889. form. Otherwise they must appear on printed covers that bracket
  2890. the whole aggregate.
  2891. 8. TRANSLATION
  2892. Translation is considered a kind of modification, so you may
  2893. distribute translations of the Document under the terms of section
  2894. 4. Replacing Invariant Sections with translations requires special
  2895. permission from their copyright holders, but you may include
  2896. translations of some or all Invariant Sections in addition to the
  2897. original versions of these Invariant Sections. You may include a
  2898. translation of this License, and all the license notices in the
  2899. Document, and any Warranty Disclaimers, provided that you also
  2900. include the original English version of this License and the
  2901. original versions of those notices and disclaimers. In case of a
  2902. disagreement between the translation and the original version of
  2903. this License or a notice or disclaimer, the original version will
  2904. prevail.
  2905. If a section in the Document is Entitled "Acknowledgements",
  2906. "Dedications", or "History", the requirement (section 4) to
  2907. Preserve its Title (section 1) will typically require changing the
  2908. actual title.
  2909. 9. TERMINATION
  2910. You may not copy, modify, sublicense, or distribute the Document
  2911. except as expressly provided for under this License. Any other
  2912. attempt to copy, modify, sublicense or distribute the Document is
  2913. void, and will automatically terminate your rights under this
  2914. License. However, parties who have received copies, or rights,
  2915. from you under this License will not have their licenses
  2916. terminated so long as such parties remain in full compliance.
  2917. 10. FUTURE REVISIONS OF THIS LICENSE
  2918. The Free Software Foundation may publish new, revised versions of
  2919. the GNU Free Documentation License from time to time. Such new
  2920. versions will be similar in spirit to the present version, but may
  2921. differ in detail to address new problems or concerns. See
  2922. `http://www.gnu.org/copyleft/'.
  2923. Each version of the License is given a distinguishing version
  2924. number. If the Document specifies that a particular numbered
  2925. version of this License "or any later version" applies to it, you
  2926. have the option of following the terms and conditions either of
  2927. that specified version or of any later version that has been
  2928. published (not as a draft) by the Free Software Foundation. If
  2929. the Document does not specify a version number of this License,
  2930. you may choose any version ever published (not as a draft) by the
  2931. Free Software Foundation.
  2932. A.1.1 ADDENDUM: How to use this License for your documents
  2933. ----------------------------------------------------------
  2934. To use this License in a document you have written, include a copy of
  2935. the License in the document and put the following copyright and license
  2936. notices just after the title page:
  2937. Copyright (C) YEAR YOUR NAME.
  2938. Permission is granted to copy, distribute and/or modify this document
  2939. under the terms of the GNU Free Documentation License, Version 1.2
  2940. or any later version published by the Free Software Foundation;
  2941. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  2942. Texts. A copy of the license is included in the section entitled ``GNU
  2943. Free Documentation License''.
  2944. If you have Invariant Sections, Front-Cover Texts and Back-Cover
  2945. Texts, replace the "with...Texts." line with this:
  2946. with the Invariant Sections being LIST THEIR TITLES, with
  2947. the Front-Cover Texts being LIST, and with the Back-Cover Texts
  2948. being LIST.
  2949. If you have Invariant Sections without Cover Texts, or some other
  2950. combination of the three, merge those two alternatives to suit the
  2951. situation.
  2952. If your document contains nontrivial examples of program code, we
  2953. recommend releasing these examples in parallel under your choice of
  2954. free software license, such as the GNU General Public License, to
  2955. permit their use in free software.
  2956. 
  2957. File: groff, Node: Request Index, Next: Escape Index, Prev: Copying This Manual, Up: Top
  2958. Appendix B Request Index
  2959. ************************
  2960. Requests appear without the leading control character (normally either
  2961. `.' or `'').
  2962. [index]
  2963. * Menu:
  2964. * ab: Debugging. (line 40)
  2965. * ad: Manipulating Filling and Adjusting.
  2966. (line 52)
  2967. * af: Assigning Formats. (line 13)
  2968. * aln: Setting Registers. (line 79)
  2969. * als: Strings. (line 224)
  2970. * am: Writing Macros. (line 107)
  2971. * am1: Writing Macros. (line 108)
  2972. * ami: Writing Macros. (line 109)
  2973. * ami1: Writing Macros. (line 110)
  2974. * as: Strings. (line 170)
  2975. * as1: Strings. (line 171)
  2976. * asciify: Diversions. (line 195)
  2977. * backtrace: Debugging. (line 94)
  2978. * bd: Artificial Fonts. (line 96)
  2979. * blm: Blank Line Traps. (line 7)
  2980. * box: Diversions. (line 25)
  2981. * boxa: Diversions. (line 26)
  2982. * bp: Page Control. (line 7)
  2983. * br: Manipulating Filling and Adjusting.
  2984. (line 12)
  2985. * break: while. (line 73)
  2986. * brp: Manipulating Filling and Adjusting.
  2987. (line 112)
  2988. * c2: Character Translations.
  2989. (line 16)
  2990. * cc: Character Translations.
  2991. (line 10)
  2992. * ce: Manipulating Filling and Adjusting.
  2993. (line 189)
  2994. * cf: I/O. (line 49)
  2995. * cflags: Using Symbols. (line 241)
  2996. * ch: Page Location Traps. (line 106)
  2997. * char: Using Symbols. (line 281)
  2998. * chop: Strings. (line 231)
  2999. * close: I/O. (line 230)
  3000. * color: Colors. (line 7)
  3001. * composite: Using Symbols. (line 197)
  3002. * continue: while. (line 77)
  3003. * cp: Implementation Differences.
  3004. (line 23)
  3005. * cs: Artificial Fonts. (line 127)
  3006. * cu: Artificial Fonts. (line 87)
  3007. * da: Diversions. (line 18)
  3008. * de: Writing Macros. (line 10)
  3009. * de1: Writing Macros. (line 11)
  3010. * defcolor: Colors. (line 21)
  3011. * dei: Writing Macros. (line 12)
  3012. * dei1: Writing Macros. (line 13)
  3013. * di: Diversions. (line 17)
  3014. * do: Implementation Differences.
  3015. (line 24)
  3016. * ds: Strings. (line 11)
  3017. * ds1: Strings. (line 12)
  3018. * dt: Diversion Traps. (line 7)
  3019. * ec: Character Translations.
  3020. (line 47)
  3021. * ecr: Character Translations.
  3022. (line 59)
  3023. * ecs: Character Translations.
  3024. (line 58)
  3025. * el: if-else. (line 28)
  3026. * em: End-of-input Traps. (line 7)
  3027. * eo: Character Translations.
  3028. (line 22)
  3029. * ev: Environments. (line 38)
  3030. * evc: Environments. (line 72)
  3031. * ex: Debugging. (line 45)
  3032. * fam: Font Families. (line 19)
  3033. * fc: Fields. (line 18)
  3034. * fchar: Using Symbols. (line 282)
  3035. * fcolor: Colors. (line 85)
  3036. * fi: Manipulating Filling and Adjusting.
  3037. (line 30)
  3038. * fl: Debugging. (line 85)
  3039. * fp: Font Positions. (line 11)
  3040. * fschar: Using Symbols. (line 283)
  3041. * fspecial: Special Fonts. (line 18)
  3042. * ft <1>: Font Positions. (line 58)
  3043. * ft: Changing Fonts. (line 7)
  3044. * ftr: Changing Fonts. (line 53)
  3045. * gcolor: Colors. (line 51)
  3046. * hc: Manipulating Hyphenation.
  3047. (line 105)
  3048. * hcode: Manipulating Hyphenation.
  3049. (line 174)
  3050. * hla: Manipulating Hyphenation.
  3051. (line 253)
  3052. * hlm: Manipulating Hyphenation.
  3053. (line 45)
  3054. * hpf: Manipulating Hyphenation.
  3055. (line 114)
  3056. * hpfa: Manipulating Hyphenation.
  3057. (line 115)
  3058. * hpfcode: Manipulating Hyphenation.
  3059. (line 116)
  3060. * hw: Manipulating Hyphenation.
  3061. (line 61)
  3062. * hy: Manipulating Hyphenation.
  3063. (line 9)
  3064. * hym: Manipulating Hyphenation.
  3065. (line 209)
  3066. * hys: Manipulating Hyphenation.
  3067. (line 224)
  3068. * ie: if-else. (line 27)
  3069. * if: if-else. (line 10)
  3070. * ig: Comments. (line 67)
  3071. * in: Line Layout. (line 91)
  3072. * it: Input Line Traps. (line 7)
  3073. * itc: Input Line Traps. (line 8)
  3074. * kern: Ligatures and Kerning.
  3075. (line 41)
  3076. * lc: Leaders. (line 23)
  3077. * length: Strings. (line 204)
  3078. * lf: Debugging. (line 10)
  3079. * lg: Ligatures and Kerning.
  3080. (line 23)
  3081. * linetabs: Tabs and Fields. (line 147)
  3082. * ll: Line Layout. (line 145)
  3083. * ls: Manipulating Spacing.
  3084. (line 51)
  3085. * lt: Page Layout. (line 60)
  3086. * mc: Miscellaneous. (line 76)
  3087. * mk: Page Motions. (line 10)
  3088. * mso: I/O. (line 41)
  3089. * na: Manipulating Filling and Adjusting.
  3090. (line 104)
  3091. * ne: Page Control. (line 34)
  3092. * nf: Manipulating Filling and Adjusting.
  3093. (line 41)
  3094. * nh: Manipulating Hyphenation.
  3095. (line 37)
  3096. * nm: Miscellaneous. (line 10)
  3097. * nn: Miscellaneous. (line 72)
  3098. * nop: if-else. (line 24)
  3099. * nr <1>: Auto-increment. (line 11)
  3100. * nr: Setting Registers. (line 9)
  3101. * nroff: Troff and Nroff Mode.
  3102. (line 32)
  3103. * ns: Manipulating Spacing.
  3104. (line 113)
  3105. * nx: I/O. (line 74)
  3106. * open: I/O. (line 198)
  3107. * opena: I/O. (line 199)
  3108. * os: Page Control. (line 55)
  3109. * output: Diversions. (line 180)
  3110. * pc: Page Layout. (line 89)
  3111. * pi: I/O. (line 138)
  3112. * pl: Page Layout. (line 10)
  3113. * pm: Debugging. (line 64)
  3114. * pn: Page Layout. (line 77)
  3115. * pnr: Debugging. (line 75)
  3116. * po: Line Layout. (line 61)
  3117. * ps: Changing Type Sizes. (line 7)
  3118. * psbb: Miscellaneous. (line 141)
  3119. * pso: I/O. (line 30)
  3120. * ptr: Debugging. (line 79)
  3121. * pvs: Changing Type Sizes. (line 133)
  3122. * rchar: Using Symbols. (line 340)
  3123. * rd: I/O. (line 79)
  3124. * return: Writing Macros. (line 143)
  3125. * rfschar: Using Symbols. (line 341)
  3126. * rj: Manipulating Filling and Adjusting.
  3127. (line 238)
  3128. * rm: Strings. (line 219)
  3129. * rn: Strings. (line 216)
  3130. * rnn: Setting Registers. (line 75)
  3131. * rr: Setting Registers. (line 71)
  3132. * rs: Manipulating Spacing.
  3133. (line 114)
  3134. * rt: Page Motions. (line 11)
  3135. * schar: Using Symbols. (line 284)
  3136. * shc: Manipulating Hyphenation.
  3137. (line 240)
  3138. * shift: Parameters. (line 30)
  3139. * sizes: Changing Type Sizes. (line 69)
  3140. * so: I/O. (line 9)
  3141. * sp: Manipulating Spacing.
  3142. (line 7)
  3143. * special: Special Fonts. (line 17)
  3144. * spreadwarn: Debugging. (line 131)
  3145. * ss: Manipulating Filling and Adjusting.
  3146. (line 134)
  3147. * sty: Font Families. (line 61)
  3148. * substring: Strings. (line 188)
  3149. * sv: Page Control. (line 54)
  3150. * sy: I/O. (line 160)
  3151. * ta: Tabs and Fields. (line 14)
  3152. * tc: Tabs and Fields. (line 139)
  3153. * ti: Line Layout. (line 117)
  3154. * tkf: Ligatures and Kerning.
  3155. (line 60)
  3156. * tl: Page Layout. (line 35)
  3157. * tm: Debugging. (line 25)
  3158. * tm1: Debugging. (line 26)
  3159. * tmc: Debugging. (line 27)
  3160. * tr: Character Translations.
  3161. (line 153)
  3162. * trf: I/O. (line 48)
  3163. * trin: Character Translations.
  3164. (line 154)
  3165. * trnt: Character Translations.
  3166. (line 245)
  3167. * troff: Troff and Nroff Mode.
  3168. (line 24)
  3169. * uf: Artificial Fonts. (line 91)
  3170. * ul: Artificial Fonts. (line 65)
  3171. * unformat: Diversions. (line 215)
  3172. * vpt: Page Location Traps. (line 17)
  3173. * vs: Changing Type Sizes. (line 84)
  3174. * warn: Debugging. (line 154)
  3175. * warnscale: Debugging. (line 127)
  3176. * wh: Page Location Traps. (line 29)
  3177. * while: while. (line 10)
  3178. * write: I/O. (line 210)
  3179. * writec: I/O. (line 211)
  3180. * writem: I/O. (line 221)
  3181. 
  3182. File: groff, Node: Escape Index, Next: Operator Index, Prev: Request Index, Up: Top
  3183. Appendix C Escape Index
  3184. ***********************
  3185. Any escape sequence `\X' with X not in the list below emits a warning,
  3186. printing glyph X.
  3187. �[index�]
  3188. * Menu:
  3189. * \: Using Symbols. (line 139)
  3190. * \!: Diversions. (line 133)
  3191. * \": Comments. (line 10)
  3192. * \#: Comments. (line 50)
  3193. * \$: Parameters. (line 19)
  3194. * \$*: Parameters. (line 38)
  3195. * \$0: Parameters. (line 48)
  3196. * \$@: Parameters. (line 39)
  3197. * \%: Manipulating Hyphenation.
  3198. (line 84)
  3199. * \&: Ligatures and Kerning.
  3200. (line 102)
  3201. * \': Using Symbols. (line 229)
  3202. * \): Ligatures and Kerning.
  3203. (line 131)
  3204. * \*: Strings. (line 13)
  3205. * \,: Ligatures and Kerning.
  3206. (line 92)
  3207. * \-: Using Symbols. (line 238)
  3208. * \.: Character Translations.
  3209. (line 126)
  3210. * \/: Ligatures and Kerning.
  3211. (line 80)
  3212. * \0: Page Motions. (line 139)
  3213. * \<colon>: Manipulating Hyphenation.
  3214. (line 85)
  3215. * \<RET>: Line Control. (line 43)
  3216. * \<SP>: Page Motions. (line 123)
  3217. * \?: Diversions. (line 134)
  3218. * \\: Character Translations.
  3219. (line 68)
  3220. * \^: Page Motions. (line 135)
  3221. * \`: Using Symbols. (line 234)
  3222. * \a: Leaders. (line 18)
  3223. * \A: Identifiers. (line 55)
  3224. * \b: Drawing Requests. (line 223)
  3225. * \B: Expressions. (line 65)
  3226. * \C: Using Symbols. (line 191)
  3227. * \c: Line Control. (line 44)
  3228. * \D: Drawing Requests. (line 71)
  3229. * \d: Page Motions. (line 109)
  3230. * \E: Character Translations.
  3231. (line 70)
  3232. * \e: Character Translations.
  3233. (line 69)
  3234. * \f: Font Positions. (line 59)
  3235. * \F: Font Families. (line 21)
  3236. * \f: Changing Fonts. (line 8)
  3237. * \g: Assigning Formats. (line 75)
  3238. * \h: Page Motions. (line 112)
  3239. * \H: Artificial Fonts. (line 13)
  3240. * \k: Page Motions. (line 203)
  3241. * \L: Drawing Requests. (line 50)
  3242. * \l: Drawing Requests. (line 16)
  3243. * \M: Colors. (line 86)
  3244. * \m: Colors. (line 52)
  3245. * \N: Using Symbols. (line 207)
  3246. * \n <1>: Auto-increment. (line 19)
  3247. * \n: Interpolating Registers.
  3248. (line 9)
  3249. * \O: Suppressing output. (line 7)
  3250. * \o: Page Motions. (line 218)
  3251. * \p: Manipulating Filling and Adjusting.
  3252. (line 113)
  3253. * \r: Page Motions. (line 103)
  3254. * \R: Setting Registers. (line 10)
  3255. * \s: Changing Type Sizes. (line 10)
  3256. * \S: Artificial Fonts. (line 45)
  3257. * \t: Tabs and Fields. (line 10)
  3258. * \u: Page Motions. (line 106)
  3259. * \V: I/O. (line 248)
  3260. * \v: Page Motions. (line 87)
  3261. * \w: Page Motions. (line 147)
  3262. * \X: Postprocessor Access.
  3263. (line 11)
  3264. * \x: Manipulating Spacing.
  3265. (line 71)
  3266. * \Y: Postprocessor Access.
  3267. (line 25)
  3268. * \Z: Page Motions. (line 226)
  3269. * \z: Page Motions. (line 222)
  3270. * \{: if-else. (line 38)
  3271. * \|: Page Motions. (line 131)
  3272. * \}: if-else. (line 38)
  3273. * \~: Page Motions. (line 127)
  3274. 
  3275. File: groff, Node: Operator Index, Next: Register Index, Prev: Escape Index, Up: Top
  3276. Appendix D Operator Index
  3277. *************************
  3278. [index]
  3279. * Menu:
  3280. * !: Expressions. (line 21)
  3281. * %: Expressions. (line 8)
  3282. * &: Expressions. (line 19)
  3283. * (: Expressions. (line 41)
  3284. * ): Expressions. (line 41)
  3285. * *: Expressions. (line 8)
  3286. * +: Expressions. (line 8)
  3287. * -: Expressions. (line 8)
  3288. * /: Expressions. (line 8)
  3289. * <: Expressions. (line 15)
  3290. * <=: Expressions. (line 15)
  3291. * <?: Expressions. (line 26)
  3292. * <colon>: Expressions. (line 19)
  3293. * =: Expressions. (line 15)
  3294. * ==: Expressions. (line 15)
  3295. * >: Expressions. (line 15)
  3296. * >=: Expressions. (line 15)
  3297. * >?: Expressions. (line 26)
  3298. 
  3299. File: groff, Node: Register Index, Next: Macro Index, Prev: Operator Index, Up: Top
  3300. Appendix E Register Index
  3301. *************************
  3302. The macro package or program a specific register belongs to is appended
  3303. in brackets.
  3304. A register name `x' consisting of exactly one character can be
  3305. accessed as `\nx'. A register name `xx' consisting of exactly two
  3306. characters can be accessed as `\n(xx'. Register names `xxx' of any
  3307. length can be accessed as `\n[xxx]'.
  3308. �[index�]
  3309. * Menu:
  3310. * $$: Built-in Registers. (line 96)
  3311. * % <1>: Page Control. (line 10)
  3312. * %: Page Layout. (line 89)
  3313. * .$: Parameters. (line 10)
  3314. * .a: Manipulating Spacing.
  3315. (line 72)
  3316. * .A: Built-in Registers. (line 103)
  3317. * .b: Artificial Fonts. (line 98)
  3318. * .C: Implementation Differences.
  3319. (line 25)
  3320. * .c: Built-in Registers. (line 73)
  3321. * .cdp: Environments. (line 96)
  3322. * .ce: Manipulating Filling and Adjusting.
  3323. (line 190)
  3324. * .cht: Environments. (line 95)
  3325. * .color: Colors. (line 8)
  3326. * .csk: Environments. (line 97)
  3327. * .d: Diversions. (line 62)
  3328. * .ev: Environments. (line 39)
  3329. * .f: Font Positions. (line 12)
  3330. * .F: Built-in Registers. (line 12)
  3331. * .fam: Font Families. (line 20)
  3332. * .fn: Font Families. (line 24)
  3333. * .fp: Font Positions. (line 13)
  3334. * .g: Built-in Registers. (line 99)
  3335. * .h: Diversions. (line 69)
  3336. * .H: Built-in Registers. (line 15)
  3337. * .height: Artificial Fonts. (line 16)
  3338. * .hla: Manipulating Hyphenation.
  3339. (line 254)
  3340. * .hlc: Manipulating Hyphenation.
  3341. (line 47)
  3342. * .hlm: Manipulating Hyphenation.
  3343. (line 46)
  3344. * .hy: Manipulating Hyphenation.
  3345. (line 10)
  3346. * .hym: Manipulating Hyphenation.
  3347. (line 210)
  3348. * .hys: Manipulating Hyphenation.
  3349. (line 225)
  3350. * .i: Line Layout. (line 94)
  3351. * .in: Line Layout. (line 120)
  3352. * .int: Line Control. (line 45)
  3353. * .j: Manipulating Filling and Adjusting.
  3354. (line 53)
  3355. * .k: Page Motions. (line 214)
  3356. * .kern: Ligatures and Kerning.
  3357. (line 42)
  3358. * .l: Line Layout. (line 148)
  3359. * .L: Manipulating Spacing.
  3360. (line 52)
  3361. * .lg: Ligatures and Kerning.
  3362. (line 24)
  3363. * .linetabs: Tabs and Fields. (line 148)
  3364. * .ll: Line Layout. (line 149)
  3365. * .lt: Page Layout. (line 63)
  3366. * .M: Colors. (line 89)
  3367. * .m: Colors. (line 55)
  3368. * .n: Environments. (line 112)
  3369. * .ne: Page Location Traps. (line 118)
  3370. * .ns: Manipulating Spacing.
  3371. (line 115)
  3372. * .o: Line Layout. (line 64)
  3373. * .p: Page Layout. (line 13)
  3374. * .P: Built-in Registers. (line 108)
  3375. * .pe: Page Location Traps. (line 139)
  3376. * .pn: Page Layout. (line 80)
  3377. * .ps: Fractional Type Sizes.
  3378. (line 35)
  3379. * .psr: Fractional Type Sizes.
  3380. (line 42)
  3381. * .pvs: Changing Type Sizes. (line 136)
  3382. * .rj: Manipulating Filling and Adjusting.
  3383. (line 239)
  3384. * .s: Changing Type Sizes. (line 11)
  3385. * .slant: Artificial Fonts. (line 46)
  3386. * .sr: Fractional Type Sizes.
  3387. (line 43)
  3388. * .ss: Manipulating Filling and Adjusting.
  3389. (line 135)
  3390. * .sss: Manipulating Filling and Adjusting.
  3391. (line 136)
  3392. * .sty: Changing Fonts. (line 11)
  3393. * .t: Page Location Traps. (line 97)
  3394. * .T: Built-in Registers. (line 114)
  3395. * .tabs: Tabs and Fields. (line 15)
  3396. * .trunc: Page Location Traps. (line 127)
  3397. * .u: Manipulating Filling and Adjusting.
  3398. (line 31)
  3399. * .v: Changing Type Sizes. (line 87)
  3400. * .V: Built-in Registers. (line 23)
  3401. * .vpt: Page Location Traps. (line 18)
  3402. * .w: Environments. (line 94)
  3403. * .warn: Debugging. (line 155)
  3404. * .x: Built-in Registers. (line 85)
  3405. * .Y: Built-in Registers. (line 93)
  3406. * .y: Built-in Registers. (line 89)
  3407. * .z: Diversions. (line 61)
  3408. * c.: Built-in Registers. (line 74)
  3409. * ct: Page Motions. (line 152)
  3410. * dl: Diversions. (line 87)
  3411. * dn: Diversions. (line 86)
  3412. * dw: Built-in Registers. (line 39)
  3413. * dy: Built-in Registers. (line 42)
  3414. * FAM [ms]: ms Document Control Registers.
  3415. (line 110)
  3416. * FF [ms]: ms Document Control Registers.
  3417. (line 184)
  3418. * FI [ms]: ms Document Control Registers.
  3419. (line 177)
  3420. * FL [ms]: ms Document Control Registers.
  3421. (line 170)
  3422. * FM [ms]: ms Document Control Registers.
  3423. (line 47)
  3424. * FPD [ms]: ms Document Control Registers.
  3425. (line 221)
  3426. * FPS [ms]: ms Document Control Registers.
  3427. (line 204)
  3428. * FVS [ms]: ms Document Control Registers.
  3429. (line 212)
  3430. * GROWPS [ms]: ms Document Control Registers.
  3431. (line 88)
  3432. * GS [ms]: Differences from AT&T ms.
  3433. (line 46)
  3434. * HM [ms]: ms Document Control Registers.
  3435. (line 40)
  3436. * HORPHANS [ms]: ms Document Control Registers.
  3437. (line 154)
  3438. * hours: Built-in Registers. (line 35)
  3439. * hp: Page Motions. (line 211)
  3440. * HY [ms]: ms Document Control Registers.
  3441. (line 101)
  3442. * LL [ms]: ms Document Control Registers.
  3443. (line 25)
  3444. * llx: Miscellaneous. (line 142)
  3445. * lly: Miscellaneous. (line 143)
  3446. * ln: Built-in Registers. (line 79)
  3447. * LT [ms]: ms Document Control Registers.
  3448. (line 32)
  3449. * MINGW [ms] <1>: Additional ms Macros.
  3450. (line 28)
  3451. * MINGW [ms]: ms Document Control Registers.
  3452. (line 231)
  3453. * minutes: Built-in Registers. (line 31)
  3454. * mo: Built-in Registers. (line 45)
  3455. * nl: Page Control. (line 68)
  3456. * opmaxx: Suppressing output. (line 19)
  3457. * opmaxy: Suppressing output. (line 19)
  3458. * opminx: Suppressing output. (line 19)
  3459. * opminy: Suppressing output. (line 19)
  3460. * PD [ms]: ms Document Control Registers.
  3461. (line 127)
  3462. * PI [ms]: ms Document Control Registers.
  3463. (line 120)
  3464. * PO [ms]: ms Document Control Registers.
  3465. (line 16)
  3466. * PORPHANS [ms]: ms Document Control Registers.
  3467. (line 142)
  3468. * PS [ms]: ms Document Control Registers.
  3469. (line 57)
  3470. * ps4html [grohtml]: grohtml specific registers and strings.
  3471. (line 7)
  3472. * PSINCR [ms]: ms Document Control Registers.
  3473. (line 77)
  3474. * QI [ms]: ms Document Control Registers.
  3475. (line 134)
  3476. * rsb: Page Motions. (line 151)
  3477. * rst: Page Motions. (line 150)
  3478. * sb: Page Motions. (line 149)
  3479. * seconds: Built-in Registers. (line 26)
  3480. * skw: Page Motions. (line 154)
  3481. * slimit: Debugging. (line 119)
  3482. * ssc: Page Motions. (line 153)
  3483. * st: Page Motions. (line 148)
  3484. * systat: I/O. (line 161)
  3485. * urx: Miscellaneous. (line 144)
  3486. * ury: Miscellaneous. (line 145)
  3487. * VS [ms]: ms Document Control Registers.
  3488. (line 67)
  3489. * year: Built-in Registers. (line 48)
  3490. * yr: Built-in Registers. (line 51)
  3491. 
  3492. File: groff, Node: Macro Index, Next: String Index, Prev: Register Index, Up: Top
  3493. Appendix F Macro Index
  3494. **********************
  3495. The macro package a specific macro belongs to is appended in brackets.
  3496. They appear without the leading control character (normally `.').
  3497. [index]
  3498. * Menu:
  3499. * 1C [ms]: ms Multiple Columns. (line 13)
  3500. * 2C [ms]: ms Multiple Columns. (line 16)
  3501. * [ [ms]: ms Insertions. (line 33)
  3502. * ] [ms]: ms Insertions. (line 34)
  3503. * AB [ms]: ms Cover Page Macros.
  3504. (line 60)
  3505. * AE [ms]: ms Cover Page Macros.
  3506. (line 65)
  3507. * AI [ms]: ms Cover Page Macros.
  3508. (line 56)
  3509. * AM [ms] <1>: Additional ms Macros.
  3510. (line 10)
  3511. * AM [ms]: ms Strings and Special Characters.
  3512. (line 51)
  3513. * AT [man]: Miscellaneous man macros.
  3514. (line 26)
  3515. * AU [ms]: ms Cover Page Macros.
  3516. (line 38)
  3517. * B [man]: Man font macros. (line 48)
  3518. * B [ms]: Highlighting in ms. (line 10)
  3519. * B1 [ms]: ms Displays and Keeps.
  3520. (line 94)
  3521. * B2 [ms]: ms Displays and Keeps.
  3522. (line 95)
  3523. * BD [ms]: ms Displays and Keeps.
  3524. (line 31)
  3525. * BI [man]: Man font macros. (line 18)
  3526. * BI [ms]: Highlighting in ms. (line 39)
  3527. * BR [man]: Man font macros. (line 40)
  3528. * BT [man]: Optional man extensions.
  3529. (line 21)
  3530. * BX [ms]: Highlighting in ms. (line 43)
  3531. * CD [ms]: ms Displays and Keeps.
  3532. (line 41)
  3533. * CT [man]: Optional man extensions.
  3534. (line 36)
  3535. * CW [man]: Optional man extensions.
  3536. (line 39)
  3537. * CW [ms] <1>: Additional ms Macros.
  3538. (line 19)
  3539. * CW [ms]: Highlighting in ms. (line 35)
  3540. * DA [ms]: ms Cover Page Macros.
  3541. (line 23)
  3542. * De [man]: Optional man extensions.
  3543. (line 45)
  3544. * De [ms]: ms Displays and Keeps.
  3545. (line 57)
  3546. * DE [ms]: ms Displays and Keeps.
  3547. (line 16)
  3548. * Ds [man]: Optional man extensions.
  3549. (line 42)
  3550. * DS [ms]: Additional ms Macros.
  3551. (line 14)
  3552. * Ds [ms]: ms Displays and Keeps.
  3553. (line 56)
  3554. * DS [ms]: ms Displays and Keeps.
  3555. (line 14)
  3556. * DT [man]: Miscellaneous man macros.
  3557. (line 10)
  3558. * EE [man]: Optional man extensions.
  3559. (line 52)
  3560. * EF [ms]: ms Headers and Footers.
  3561. (line 26)
  3562. * EH [ms]: ms Headers and Footers.
  3563. (line 24)
  3564. * EN [ms]: ms Insertions. (line 28)
  3565. * EQ [ms]: ms Insertions. (line 27)
  3566. * EX [man]: Optional man extensions.
  3567. (line 48)
  3568. * FE [ms]: ms Footnotes. (line 15)
  3569. * FS [ms]: ms Footnotes. (line 14)
  3570. * G [man]: Optional man extensions.
  3571. (line 55)
  3572. * GL [man]: Optional man extensions.
  3573. (line 60)
  3574. * HB [man]: Optional man extensions.
  3575. (line 65)
  3576. * HP [man]: Man usage. (line 98)
  3577. * I [man]: Man font macros. (line 53)
  3578. * I [ms]: Highlighting in ms. (line 31)
  3579. * IB [man]: Man font macros. (line 28)
  3580. * ID [ms]: ms Displays and Keeps.
  3581. (line 23)
  3582. * IP [man]: Man usage. (line 78)
  3583. * IP [ms]: Lists in ms. (line 9)
  3584. * IR [man]: Man font macros. (line 36)
  3585. * IX [ms]: Additional ms Macros.
  3586. (line 22)
  3587. * KE [ms]: ms Displays and Keeps.
  3588. (line 73)
  3589. * KF [ms]: ms Displays and Keeps.
  3590. (line 77)
  3591. * KS [ms]: ms Displays and Keeps.
  3592. (line 72)
  3593. * LD [ms]: ms Displays and Keeps.
  3594. (line 15)
  3595. * LG [ms]: Highlighting in ms. (line 52)
  3596. * LP [man]: Man usage. (line 68)
  3597. * LP [ms]: Paragraphs in ms. (line 10)
  3598. * MC [ms]: ms Multiple Columns. (line 19)
  3599. * MS [man]: Optional man extensions.
  3600. (line 73)
  3601. * ND [ms]: ms Cover Page Macros.
  3602. (line 28)
  3603. * NE [man]: Optional man extensions.
  3604. (line 85)
  3605. * NH [ms]: Headings in ms. (line 13)
  3606. * NL [ms]: Highlighting in ms. (line 64)
  3607. * NT [man]: Optional man extensions.
  3608. (line 78)
  3609. * OF [ms]: ms Headers and Footers.
  3610. (line 25)
  3611. * OH [ms]: ms Headers and Footers.
  3612. (line 23)
  3613. * P [man]: Man usage. (line 70)
  3614. * P1 [ms]: ms Cover Page Macros.
  3615. (line 19)
  3616. * PD [man]: Miscellaneous man macros.
  3617. (line 15)
  3618. * PE [ms]: ms Insertions. (line 21)
  3619. * Pn [man]: Optional man extensions.
  3620. (line 92)
  3621. * PN [man]: Optional man extensions.
  3622. (line 88)
  3623. * PP [man]: Man usage. (line 69)
  3624. * PP [ms]: Paragraphs in ms. (line 9)
  3625. * PS [ms]: ms Insertions. (line 20)
  3626. * PT [man]: Optional man extensions.
  3627. (line 16)
  3628. * PX [ms]: ms TOC. (line 65)
  3629. * QP [ms]: Paragraphs in ms. (line 13)
  3630. * R [man]: Optional man extensions.
  3631. (line 98)
  3632. * R [ms]: Highlighting in ms. (line 27)
  3633. * RB [man]: Man font macros. (line 44)
  3634. * RD [ms]: ms Displays and Keeps.
  3635. (line 49)
  3636. * RE [man]: Man usage. (line 115)
  3637. * RE [ms]: Indentation values in ms.
  3638. (line 12)
  3639. * RI [man]: Man font macros. (line 32)
  3640. * RN [man]: Optional man extensions.
  3641. (line 101)
  3642. * RP [ms]: ms Cover Page Macros.
  3643. (line 10)
  3644. * RS [man]: Man usage. (line 106)
  3645. * RS [ms]: Indentation values in ms.
  3646. (line 11)
  3647. * SB [man]: Man font macros. (line 14)
  3648. * SH [man]: Man usage. (line 32)
  3649. * SH [ms]: Headings in ms. (line 43)
  3650. * SM [man]: Man font macros. (line 10)
  3651. * SM [ms]: Highlighting in ms. (line 58)
  3652. * SS [man]: Man usage. (line 41)
  3653. * TA [ms]: Tabstops in ms. (line 10)
  3654. * TB [man]: Optional man extensions.
  3655. (line 70)
  3656. * TC [ms]: ms TOC. (line 55)
  3657. * TE [ms]: ms Insertions. (line 12)
  3658. * TH [man]: Man usage. (line 11)
  3659. * TL [ms]: ms Cover Page Macros.
  3660. (line 33)
  3661. * TP [man]: Man usage. (line 49)
  3662. * TS [ms]: ms Insertions. (line 11)
  3663. * UC [man]: Miscellaneous man macros.
  3664. (line 43)
  3665. * UL [ms]: Highlighting in ms. (line 47)
  3666. * VE [man]: Optional man extensions.
  3667. (line 108)
  3668. * VS [man]: Optional man extensions.
  3669. (line 104)
  3670. * XA [ms]: ms TOC. (line 13)
  3671. * XE [ms]: ms TOC. (line 14)
  3672. * XP [ms]: Paragraphs in ms. (line 18)
  3673. * XS [ms]: ms TOC. (line 12)
  3674. 
  3675. File: groff, Node: String Index, Next: Glyph Name Index, Prev: Macro Index, Up: Top
  3676. Appendix G String Index
  3677. ***********************
  3678. The macro package or program a specific string belongs to is appended in
  3679. brackets.
  3680. A string name `x' consisting of exactly one character can be
  3681. accessed as `\*x'. A string name `xx' consisting of exactly two
  3682. characters can be accessed as `\*(xx'. String names `xxx' of any
  3683. length can be accessed as `\*[xxx]'.
  3684. �[index�]
  3685. * Menu:
  3686. * ! [ms]: ms Strings and Special Characters.
  3687. (line 101)
  3688. * ' [ms]: ms Strings and Special Characters.
  3689. (line 65)
  3690. * * [ms]: ms Footnotes. (line 11)
  3691. * , [ms]: ms Strings and Special Characters.
  3692. (line 74)
  3693. * - [ms]: ms Strings and Special Characters.
  3694. (line 41)
  3695. * . [ms]: ms Strings and Special Characters.
  3696. (line 89)
  3697. * .T: Built-in Registers. (line 119)
  3698. * 3 [ms]: ms Strings and Special Characters.
  3699. (line 107)
  3700. * 8 [ms]: ms Strings and Special Characters.
  3701. (line 104)
  3702. * ? [ms]: ms Strings and Special Characters.
  3703. (line 98)
  3704. * \*[<colon>] [ms]: ms Strings and Special Characters.
  3705. (line 80)
  3706. * ^ [ms]: ms Strings and Special Characters.
  3707. (line 71)
  3708. * _ [ms]: ms Strings and Special Characters.
  3709. (line 86)
  3710. * ` [ms]: ms Strings and Special Characters.
  3711. (line 68)
  3712. * ABSTRACT [ms]: ms Strings and Special Characters.
  3713. (line 15)
  3714. * Ae [ms]: ms Strings and Special Characters.
  3715. (line 128)
  3716. * ae [ms]: ms Strings and Special Characters.
  3717. (line 125)
  3718. * CF [ms]: ms Headers and Footers.
  3719. (line 16)
  3720. * CH [ms]: ms Headers and Footers.
  3721. (line 11)
  3722. * d- [ms]: ms Strings and Special Characters.
  3723. (line 119)
  3724. * D- [ms]: ms Strings and Special Characters.
  3725. (line 116)
  3726. * HF [man]: Predefined man strings.
  3727. (line 12)
  3728. * LF [ms]: ms Headers and Footers.
  3729. (line 15)
  3730. * LH [ms]: ms Headers and Footers.
  3731. (line 10)
  3732. * lq [man]: Predefined man strings.
  3733. (line 21)
  3734. * MONTH1 [ms]: ms Strings and Special Characters.
  3735. (line 23)
  3736. * MONTH10 [ms]: ms Strings and Special Characters.
  3737. (line 32)
  3738. * MONTH11 [ms]: ms Strings and Special Characters.
  3739. (line 33)
  3740. * MONTH12 [ms]: ms Strings and Special Characters.
  3741. (line 34)
  3742. * MONTH2 [ms]: ms Strings and Special Characters.
  3743. (line 24)
  3744. * MONTH3 [ms]: ms Strings and Special Characters.
  3745. (line 25)
  3746. * MONTH4 [ms]: ms Strings and Special Characters.
  3747. (line 26)
  3748. * MONTH5 [ms]: ms Strings and Special Characters.
  3749. (line 27)
  3750. * MONTH6 [ms]: ms Strings and Special Characters.
  3751. (line 28)
  3752. * MONTH7 [ms]: ms Strings and Special Characters.
  3753. (line 29)
  3754. * MONTH8 [ms]: ms Strings and Special Characters.
  3755. (line 30)
  3756. * MONTH9 [ms]: ms Strings and Special Characters.
  3757. (line 31)
  3758. * o [ms]: ms Strings and Special Characters.
  3759. (line 92)
  3760. * q [ms]: ms Strings and Special Characters.
  3761. (line 122)
  3762. * Q [ms]: ms Strings and Special Characters.
  3763. (line 44)
  3764. * R [man]: Predefined man strings.
  3765. (line 15)
  3766. * REFERENCES [ms]: ms Strings and Special Characters.
  3767. (line 11)
  3768. * RF [ms]: ms Headers and Footers.
  3769. (line 17)
  3770. * RH [ms]: ms Headers and Footers.
  3771. (line 12)
  3772. * rq [man]: Predefined man strings.
  3773. (line 22)
  3774. * S [man]: Predefined man strings.
  3775. (line 9)
  3776. * SN [ms]: Headings in ms. (line 22)
  3777. * SN-DOT [ms]: Headings in ms. (line 23)
  3778. * SN-NO-DOT [ms]: Headings in ms. (line 24)
  3779. * th [ms]: ms Strings and Special Characters.
  3780. (line 113)
  3781. * Th [ms]: ms Strings and Special Characters.
  3782. (line 110)
  3783. * Tm [man]: Predefined man strings.
  3784. (line 18)
  3785. * TOC [ms]: ms Strings and Special Characters.
  3786. (line 19)
  3787. * U [ms]: ms Strings and Special Characters.
  3788. (line 45)
  3789. * v [ms]: ms Strings and Special Characters.
  3790. (line 83)
  3791. * www-image-template [grohtml]: grohtml specific registers and strings.
  3792. (line 8)
  3793. * { [ms]: Highlighting in ms. (line 68)
  3794. * } [ms]: Highlighting in ms. (line 69)
  3795. * ~ [ms]: ms Strings and Special Characters.
  3796. (line 77)
  3797. 
  3798. File: groff, Node: Glyph Name Index, Next: Font File Keyword Index, Prev: String Index, Up: Top
  3799. Appendix H Glyph Name Index
  3800. ***************************
  3801. A glyph name `xx' consisting of exactly two characters can be accessed
  3802. as `\(xx'. Glyph names `xxx' of any length can be accessed as `\[xxx]'.
  3803. 
  3804. File: groff, Node: Font File Keyword Index, Next: Program and File Index, Prev: Glyph Name Index, Up: Top
  3805. Appendix I Font File Keyword Index
  3806. **********************************
  3807. �[index�]
  3808. * Menu:
  3809. * #: Font File Format. (line 36)
  3810. * ---: Font File Format. (line 51)
  3811. * biggestfont: DESC File Format. (line 109)
  3812. * charset <1>: Font File Format. (line 44)
  3813. * charset: DESC File Format. (line 101)
  3814. * family <1>: DESC File Format. (line 64)
  3815. * family <2>: Font Positions. (line 61)
  3816. * family: Changing Fonts. (line 11)
  3817. * fonts <1>: DESC File Format. (line 58)
  3818. * fonts <2>: Special Fonts. (line 18)
  3819. * fonts: Using Symbols. (line 15)
  3820. * hor: DESC File Format. (line 14)
  3821. * kernpairs: Font File Format. (line 135)
  3822. * ligatures: Font File Format. (line 22)
  3823. * name: Font File Format. (line 12)
  3824. * papersize: DESC File Format. (line 72)
  3825. * pass_filenames: DESC File Format. (line 92)
  3826. * postpro: DESC File Format. (line 36)
  3827. * prepro: DESC File Format. (line 32)
  3828. * print: DESC File Format. (line 97)
  3829. * res: DESC File Format. (line 11)
  3830. * sizes: DESC File Format. (line 49)
  3831. * sizescale: DESC File Format. (line 22)
  3832. * slant: Font File Format. (line 18)
  3833. * spacewidth: Font File Format. (line 15)
  3834. * spare1: DESC File Format. (line 109)
  3835. * spare2: DESC File Format. (line 109)
  3836. * special <1>: Font File Format. (line 28)
  3837. * special: Artificial Fonts. (line 116)
  3838. * styles <1>: DESC File Format. (line 55)
  3839. * styles <2>: Font Positions. (line 61)
  3840. * styles <3>: Font Families. (line 76)
  3841. * styles: Changing Fonts. (line 11)
  3842. * tcommand: DESC File Format. (line 45)
  3843. * unitwidth: DESC File Format. (line 28)
  3844. * use_charnames_in_special <1>: DESC File Format. (line 67)
  3845. * use_charnames_in_special: Postprocessor Access.
  3846. (line 17)
  3847. * vert: DESC File Format. (line 18)
  3848. 
  3849. File: groff, Node: Program and File Index, Next: Concept Index, Prev: Font File Keyword Index, Up: Top
  3850. Appendix J Program and File Index
  3851. *********************************
  3852. �[index�]
  3853. * Menu:
  3854. * an.tmac: man. (line 6)
  3855. * changebar: Miscellaneous. (line 111)
  3856. * composite.tmac: Using Symbols. (line 197)
  3857. * cp1047.tmac: Input Encodings. (line 9)
  3858. * DESC <1>: Special Fonts. (line 18)
  3859. * DESC <2>: Using Symbols. (line 15)
  3860. * DESC <3>: Font Positions. (line 61)
  3861. * DESC <4>: Font Families. (line 76)
  3862. * DESC: Changing Fonts. (line 11)
  3863. * DESC file format: DESC File Format. (line 6)
  3864. * DESC, and font mounting: Font Positions. (line 37)
  3865. * DESC, and use_charnames_in_special: Postprocessor Access.
  3866. (line 17)
  3867. * ditroff: History. (line 58)
  3868. * ec.tmac: Input Encodings. (line 41)
  3869. * eqn: ms Insertions. (line 7)
  3870. * freeeuro.pfa: Input Encodings. (line 41)
  3871. * geqn: Groff Options. (line 6)
  3872. * geqn, invocation in manual pages: Preprocessors in man pages.
  3873. (line 12)
  3874. * ggrn: Groff Options. (line 6)
  3875. * gpic: Groff Options. (line 6)
  3876. * grap: Groff Options. (line 6)
  3877. * grefer: Groff Options. (line 6)
  3878. * grefer, invocation in manual pages: Preprocessors in man pages.
  3879. (line 12)
  3880. * groff: Groff Options. (line 6)
  3881. * grog: grog. (line 6)
  3882. * grohtml: Miscellaneous man macros.
  3883. (line 6)
  3884. * gsoelim: Groff Options. (line 6)
  3885. * gtbl: Groff Options. (line 6)
  3886. * gtbl, invocation in manual pages: Preprocessors in man pages.
  3887. (line 12)
  3888. * gtroff: Groff Options. (line 6)
  3889. * hyphen.us: Manipulating Hyphenation.
  3890. (line 161)
  3891. * hyphenex.us: Manipulating Hyphenation.
  3892. (line 161)
  3893. * latin1.tmac: Input Encodings. (line 14)
  3894. * latin2.tmac: Input Encodings. (line 18)
  3895. * latin9.tmac: Input Encodings. (line 23)
  3896. * makeindex: Indices. (line 10)
  3897. * man, invocation of preprocessors: Preprocessors in man pages.
  3898. (line 12)
  3899. * man-old.tmac: man. (line 6)
  3900. * man.local <1>: Optional man extensions.
  3901. (line 6)
  3902. * man.local: Man usage. (line 6)
  3903. * man.tmac: man. (line 6)
  3904. * man.ultrix: Optional man extensions.
  3905. (line 30)
  3906. * nrchbar: Miscellaneous. (line 111)
  3907. * papersize.tmac: Paper Size. (line 16)
  3908. * perl: I/O. (line 171)
  3909. * pic: ms Insertions. (line 7)
  3910. * post-grohtml: Groff Options. (line 165)
  3911. * pre-grohtml: Groff Options. (line 165)
  3912. * refer: ms Insertions. (line 7)
  3913. * soelim: Debugging. (line 10)
  3914. * tbl: ms Insertions. (line 7)
  3915. * trace.tmac: Writing Macros. (line 101)
  3916. * troffrc <1>: Line Layout. (line 64)
  3917. * troffrc <2>: Troff and Nroff Mode.
  3918. (line 24)
  3919. * troffrc <3>: Manipulating Hyphenation.
  3920. (line 161)
  3921. * troffrc <4>: Paper Size. (line 16)
  3922. * troffrc: Groff Options. (line 80)
  3923. * troffrc-end <1>: Troff and Nroff Mode.
  3924. (line 24)
  3925. * troffrc-end <2>: Manipulating Hyphenation.
  3926. (line 161)
  3927. * troffrc-end: Groff Options. (line 80)
  3928. * tty.tmac: Troff and Nroff Mode.
  3929. (line 32)
  3930. 
  3931. Local Variables:
  3932. coding: iso-8859-1
  3933. End: