summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorwl <wl>2006-03-27 18:12:29 +0000
committerwl <wl>2006-03-27 18:12:29 +0000
commit336f6c94f376dde29954039af683646eaf70ef80 (patch)
tree8863bc7c85e69662188041b3e2df7aa7b5f2b2ae /man
parentf6bb502359da9f435ad95caa5aa66707884560f3 (diff)
downloadgroff-336f6c94f376dde29954039af683646eaf70ef80.tar.gz
Add two request `.device' and `.devicem' which are equivalent to
`\X' and `\Y', respectively. * src/roff/troff/input.cpp (device_request, device_macro_request): New functions. (init_input_requests): Register them. * doc/groff.texinfo, man/groff_diff.man, man/groff.man, NEWS: Document them.
Diffstat (limited to 'man')
-rw-r--r--man/groff.man16
-rw-r--r--man/groff_diff.man19
2 files changed, 31 insertions, 4 deletions
diff --git a/man/groff.man b/man/groff.man
index 49708f15..afc3a9d1 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -2,7 +2,7 @@
.ig
groff.man
-Last update: 13 Mar 2006
+Last update: 27 Mar 2006
This file is part of groff, the GNU roff type-setting system.
@@ -1330,7 +1330,7 @@ Change
.I trap
location
to
-.I N .
+.IR N .
.
.REQ .char c anything
Define character
@@ -1464,12 +1464,22 @@ Same as
.request .dei
but with compatibility mode switched off during macro expansion.
.
+.REQ .device anything
+Write
+.I anything
+to the intermediate output as a device control function.
+.
+.REQ .devicem name
+Write contents of macro or string
+.I name
+uninterpreted to the intermediate output as a device control function.
+.
.REQ .di
End current diversion.
.
.REQ .di macro
Divert to
-.I macro .
+.IR macro .
.
.REQ .do name
Interpret
diff --git a/man/groff_diff.man b/man/groff_diff.man
index ea59556c..e160a860 100644
--- a/man/groff_diff.man
+++ b/man/groff_diff.man
@@ -3,7 +3,7 @@
.ig
groff_diff.man
-Last update : 24 Feb 2006
+Last update : 27 Mar 2006
This file is part of groff, the GNU roff type-setting system.
It is the source of the man-page groff_diff(7).
@@ -1297,6 +1297,23 @@ Similar to the
request but compatibility mode is switched off during execution.
.
.TP
+.BI .device\ anything
+This is (almost) the same as the
+.B \[rs]X
+escape.
+.I anything
+is read in copy mode; a leading\~\c
+.B \[dq]
+is stripped.
+.
+.TP
+.BI .devicem\ xx
+This is the same as the
+.B \[rs]Y
+escape (to embed the contents of a macro into the intermediate
+output preceded with `x\~X').
+.
+.TP
.BI .do\ xxx
Interpret
.I .xxx