summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-11-21 00:09:05 +0000
committerwlemb <wlemb>2001-11-21 00:09:05 +0000
commit27f30ca70d36830294cb7927910061676d4a255d (patch)
treeea3a37f7590f1ab217a4ca197fd19e30432637f4
parentd924e1dd669583a615d264a17eecad98a4050b74 (diff)
downloadgroff-27f30ca70d36830294cb7927910061676d4a255d.tar.gz
* tmac/an-old.tmac (an-header): Set header length equal to page
width. * doc/groff.texinfo: Improve documentation of `ne' request. Other minor fixes. * NEWS: Small fix.
-rw-r--r--ChangeLog8
-rw-r--r--NEWS7
-rw-r--r--doc/groff.texinfo22
-rw-r--r--tmac/an-old.tmac3
4 files changed, 31 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 904b925f..4de1b726 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-11-20 Werner LEMBERG <wl@gnu.org>
+
+ * tmac/an-old.tmac (an-header): Set header length equal to page
+ width.
+ * doc/groff.texinfo: Improve documentation of `ne' request. Other
+ minor fixes.
+ * NEWS: Small fix.
+
2001-11-19 Werner LEMBERG <wl@gnu.org>
* NEWS, man/Makefile.sub: Updated.
diff --git a/NEWS b/NEWS
index 3a1fd1be..6e075757 100644
--- a/NEWS
+++ b/NEWS
@@ -28,12 +28,15 @@ o Color support has been added to troff and pic (and to two device drivers,
o It is now possible to have whitespace between the first and second dot (or
the name of the ending macro) to end a macro definition. Example:
+ .de !
+ ..
+ .
.de foo
. nop Hello, I'm `foo'.
. nop I will now define `bar'.
- . de bar
+ . de bar !
. nop Hello, I'm `bar'.
- . .
+ . !
..
o Two macros `AT' (AT&T) and `UC' (Univ. of California) have been added to
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index 3b896e58..140ddb8b 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -5329,7 +5329,8 @@ If @code{in} is called without an argument, the indentation is reset to
the previous value before the last call to @code{in}. The default
scaling indicator is@w{ }@code{m}.
-The indentation is associated with the current environment.
+The indentation is associated with the current environment
+(@pxref{Environments}).
If a negative indentation value is specified (which is not allowed),
@code{gtroff} emits a warning of type @samp{range} and sets the
@@ -5351,8 +5352,8 @@ increment or decrement value is specified, adjust the temporary
indentation relative to the value set by the @code{in} request.
This request causes a break; its value is associated with the current
-environment. The default scaling indicator is@w{ }@code{m}. A call
-of @code{ti} without an argument is ignored.
+environment (@pxref{Environments}). The default scaling indicator
+is@w{ }@code{m}. A call of @code{ti} without an argument is ignored.
If the total indentation value is negative (which is not allowed),
@code{gtroff} emits a warning of type @samp{range} and sets the
@@ -5387,7 +5388,8 @@ the previous value before the last call to @code{ll}. If a negative
line length is specified (which is not allowed), @code{gtroff} emits a
warning of type @samp{range} and sets the line length to zero.
-The line length is associated with the current environment.
+The line length is associated with the current environment
+(@pxref{Environments}).
@cindex line length register (@code{.l})
The current line length (as set by @code{ll}) can be found in the
@@ -5574,6 +5576,8 @@ cause a break or actually eject a page.
@endDefreq
@cindex orphan lines, preventing with @code{ne}
+@cindex conditional page break (@code{ne})
+@cindex page break, conditional (@code{ne})
@Defreq {ne, [@Var{space}]}
It is often necessary to force a certain amount of space before a new
page occurs. This is most useful to make sure that there is not a
@@ -5591,6 +5595,9 @@ do the following before each paragraph:
.ne 2
text text text
@endExample
+
+@code{ne} will then automatically cause a page break if there is space
+for one line only.
@endDefreq
@cindex @code{ne} request, comparison with @code{sv}
@@ -6169,8 +6176,9 @@ underline font is activated. Within the span of a @code{ul} request,
it is possible to change fonts, but after the last line affected by
@code{ul} the saved font is restored.
-This command is associated with the current environment. The
-underline font can be changed with the @code{uf} request.
+This command is associated with the current environment
+(@pxref{Environments}). The underline font can be changed with the
+@code{uf} request.
@c XXX @xref should be changed to grotty
@@ -7406,7 +7414,7 @@ The @code{als} request can make a macro have more than one name.
This would be called as
@Example
-.vl $Id: groff.texinfo,v 1.82 2001/11/16 20:03:43 wlemb Exp $
+.vl $Id: groff.texinfo,v 1.83 2001/11/21 00:09:11 wlemb Exp $
@endExample
@endDefesc
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index d089e3d0..b069213d 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -89,6 +89,8 @@
. nr PS-SH 10.95z
. nr VS 12p
.
+. nr LT \n[.l]
+.
. \" use sizes similar to LaTeX
. if t \{\
. ie (\\n[S] == 11) \{\
@@ -171,6 +173,7 @@
. ev 1
. ps \\n[PS]u
. vs \\n[VS]u
+. lt \\n[LT]u
. ie \\n[an-html] \
. tl ''''
. el \{\