diff options
author | wlemb <wlemb> | 2000-09-11 20:01:03 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-09-11 20:01:03 +0000 |
commit | 2c6f3075dcc8ab71b0c781d27b0ba8de5cd68d79 (patch) | |
tree | 2c3b62264b7e1825a30b5fb1ff37c103b0cc268d /man | |
parent | e9c74c714d59d9e05ef479e4d36c2a4ff746542f (diff) | |
download | groff-2c6f3075dcc8ab71b0c781d27b0ba8de5cd68d79.tar.gz |
Implementing two new requests .tm1 and .tmc: The former is similar
to .tm but can output leading spaces; its syntax is similar to
defining a string, i.e., a `"' can be used to mark the beginning of
the string to be written to stderr: `.tm1 " test'. The latter is
similar to .tm1 but doesn't write out a final newline character.
* src/roff/troff/input.cc (terminal1, terminal_continue,
do_terminal): New functions.
(init_input_requests): Use them.
* src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
* tmac/groff_mdoc.samples.man: Small fixes.
* tmac/groff_mdoc.man: Fixing typo.
Diffstat (limited to 'man')
-rw-r--r-- | man/groff.man | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/man/groff.man b/man/groff.man index 337d66bb..c13f1f7d 100644 --- a/man/groff.man +++ b/man/groff.man @@ -542,7 +542,14 @@ Groff provides a printable representation with the escape sequence. .TP .character \(dq -The double quote is used to enclose arguments in requests and macros. +The double quote is used to enclose arguments in requests and macros. In +the +.request .ds +and +.request .as +requests, a leading double quote in the argument will be stripped off, +making everything else afterwards the string to be defined (enabling leading +whitespace). The escaped double quote .esc \(dq introduces a comment. @@ -1608,6 +1615,20 @@ Print .argument anything on terminal (UNIX standard message output). . +.REQ .tm1 anything +Print +.argument anything +on terminal (UNIX standard message output), allowing leading whitespace if +.argument anything +starts with +.character \(dq +(which will be stripped off). +. +.REQ .tmc anything +Similar to +.request .tm1 +without emitting a final newline. +. .REQ .tr abcd.... Translate .argument a |