summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--doc/groff.texinfo8
-rw-r--r--man/groff.man60
3 files changed, 77 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a5171dfc..71846a97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-02-10 Denis M. Wilson <dmw@oxytropis.plus.com>
+
+ * man/groff.man: Document missing number registers (`$$', `.b',
+ `.F', `.j', `.k', `.L', `.O', `.P', `.R', `opmaxx', `opmaxy',
+ `opminx', `opminy').
+
+ * doc/groff.texinfo: Document missing `.R' register.
+ Add `.U' to register index.
+
2009-01-19 Werner LEMBERG <wl@gnu.org>
Fix incorrect grops color state before \X'...'.
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index e0f44a6c..1ff314c2 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -6276,11 +6276,19 @@ This string-valued register returns the current input file name.
@vindex .H
Horizontal resolution in basic units.
+@item \n[.R]
+@cindex number of registers register (@code{.R})
+@cindex registers, number of, register (@code{.R})
+@vindex .R
+The number of number registers available. This is always 10000 in
+GNU@tie{}@code{troff}; it exists for backward compatibility.
+
@item \n[.U]
@cindex safer mode
@cindex mode, safer
@cindex unsafe mode
@cindex mode, unsafe
+@vindex .U
If @code{gtroff} is called with the @option{-U} command line option to
activate unsafe mode, the number register @code{.U} is set to@tie{}1,
and to zero otherwise. @xref{Groff Options}.
diff --git a/man/groff.man b/man/groff.man
index b5790b1e..4e59c25b 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -3439,6 +3439,11 @@ results from request calls.
.PD 0
.
.TPx
+.REG $$
+The process ID of
+.BR troff .
+.
+.TPx
.REG .$
Number of arguments in the current macro or string.
.
@@ -3457,6 +3462,12 @@ is used; always\~1 in
.BR nroff .
.
.TPx
+.REG .b
+The emboldening offset while
+.request .bd
+is active.
+.
+.TPx
.REG .br
Within a macro, set to\~1 if macro called with the `normal' control
character, and to\~0 otherwise.
@@ -3512,6 +3523,10 @@ The name or number of the current environment (string-valued).
Current font number.
.
.TPx
+.REG .F
+The name of the current input file (string-valued).
+.
+.TPx
.REG .fam
The current font family (string-valued).
.
@@ -3591,6 +3606,15 @@ Positive if last output line contains
.esc c .
.
.TPx
+.REG .j
+The current adjustment mode.
+It can be stored and used to set adjustment.
+(n=1, b=1, l=0, r=5, c=3).
+.
+.TPx
+.REG .k
+The current horizontal output position (relative to the current indentation).
+.TPx
.REG .kern
1\~if pairwise kerning is enabled, 0\~otherwise.
.
@@ -3599,6 +3623,11 @@ Positive if last output line contains
Current line length.
.
.TPx
+.REG .L
+The current line spacing setting as set by
+.request .ls .
+.
+.TPx
.REG .lg
The current ligature mode (as set by the
.request lg
@@ -3650,10 +3679,21 @@ Useful in conjunction with
Current page offset.
.
.TPx
+.REG .O
+The suppression nesting level (see
+.esc O ).
+.
+.TPx
.REG .p
Current page length.
.
.TPx
+.REG .P
+1\~if the current page is being printed, 0\~otherwise (as determined by the
+.option \-o
+command line option).
+.
+.TPx
.REG .pe
1\~during page ejection, 0\~otherwise.
.
@@ -3676,6 +3716,11 @@ The last-requested point size in scaled points.
The current post-vertical line spacing.
.
.TPx
+.REG .R
+The number of unused number registers.
+Always 10000 in GNU troff.
+.
+.TPx
.REG .rj
The number of lines to be right-justified as set by the
.request rj
@@ -3871,6 +3916,21 @@ Current month (1-12).
Vertical position of last printed text base-line.
.
.TPx
+.REG opmaxx
+.TPx
+.REG opmaxy
+.TPx
+.REG opminx
+.TPx
+.REG opminy
+These four registers mark the top left and bottom right hand corners of a box
+which encompasses all written glyphs.
+They are reset to \-1 by
+.escarg O 0
+or
+.escarg O 1 .
+.
+.TPx
.REG rsb
Like
.register sb ,