diff options
author | wlemb <wlemb> | 2003-04-10 18:07:14 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-04-10 18:07:14 +0000 |
commit | cc0267e39f3fb40ece537b0ff7dd0523beeae985 (patch) | |
tree | dffd3999fd301b0e262f740b3fb48dbe6a2f0e1d /man | |
parent | e5974c01e435e4c2ebafcf95af6dc6986127ab98 (diff) | |
download | groff-cc0267e39f3fb40ece537b0ff7dd0523beeae985.tar.gz |
Add register \n[.height] which returns the value of \H.
Add register \n[.slant] which returns the value of \S.
* src/roff/troff/env.cc (init_env_requests): Implement.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document.
* tmac/html.tmac: Move some of the data into html-end.tmac.
Remove most of the character translations for eqn since html fonts
now cover those characters.
Load www.tmac.
* tmac/html-end.tmac: New file.
* tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
* tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
* tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
* man/groff_out.man: Document negative values of `N' if -Thtml is
used.
Diffstat (limited to 'man')
-rw-r--r-- | man/groff.man | 8 | ||||
-rw-r--r-- | man/groff_diff.man | 10 | ||||
-rw-r--r-- | man/groff_out.man | 17 |
3 files changed, 31 insertions, 4 deletions
diff --git a/man/groff.man b/man/groff.man index e33827b9..82387177 100644 --- a/man/groff.man +++ b/man/groff.man @@ -3070,6 +3070,10 @@ Text base-line high-water mark on current page or diversion. .REG .H Available horizontal resolution in basic units. . +.REG .height +The current font height as set with +.request \[rs]H . +. .REG .hla The current hyphenation language as set by the .B .hla @@ -3176,6 +3180,10 @@ The number of lines to be right-justified as set by the rj request. .REG .s Current point size as a decimal fraction. . +.REG .slant +The slant of the current font as set with +.request \[rs]S . +. .REG .sr The last requested pointsize in points as a decimal fraction (string-valued). diff --git a/man/groff_diff.man b/man/groff_diff.man index f4f6fc01..eb00b442 100644 --- a/man/groff_diff.man +++ b/man/groff_diff.man @@ -2599,6 +2599,11 @@ Macros should use this to determine whether they are running under GNU troff. . .TP +.B \[rs]n[.height] +The current height of the font as set with +.BR \[rs]H . +. +.TP .B \[rs]n[.hla] The current hyphenation language as set by the .B hla @@ -2716,6 +2721,11 @@ The number of lines to be right-justified as set by the request. . .TP +.B \[rs]n[.slant] +The slant of the current font as set with +.BR \[rs]S . +. +.TP .B \[rs]n[.sr] The last requested pointsize in points as a decimal fraction. . diff --git a/man/groff_out.man b/man/groff_out.man index 5fe7dcce..8db30f13 100644 --- a/man/groff_out.man +++ b/man/groff_out.man @@ -3,11 +3,11 @@ .ig groff_out.5 -Last update: 12 Sep 2002 +Last update: 07 Apr 2003 This file is part of groff, the GNU roff type-setting system. -Copyright (C) 1989, 2001, 2002 Free Software Foundation, Inc. +Copyright (C) 1989, 2001, 2002, 2003 Free Software Foundation, Inc. rewritten from scrach 2001 by Bernd Warken <bwarken@mayn.de> Permission is granted to copy, distribute and/or modify this document @@ -719,10 +719,19 @@ red, green, and blue. .command N n Print character with index\~\c .argument n -(a non-negative integer) of the current font. +(an integer, normally non-negative) of the current font. . The print position is not changed. . +If +.B \-T\~html +is used, negative values are emitted also to indicate an unbreakable space +with given width. +. +For example, +.B N\~-193 +represents an unbreakable space which has a width of 193u. +. This command is a groff extension. . . @@ -1855,7 +1864,7 @@ see .SH "AUTHORS" .\" -------------------------------------------------------------------- . -Copyright (C) 1989, 2001, 2002 Free Software Foundation, Inc. +Copyright (C) 1989, 2001, 2002, 2003 Free Software Foundation, Inc. .P This document is distributed under the terms of the FDL (GNU Free Documentation License) version 1.1 or later. |