diff options
author | wlemb <wlemb> | 2001-11-16 20:03:41 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-11-16 20:03:41 +0000 |
commit | ba35c4a4941639c12b09cd92b01df28df1936b4f (patch) | |
tree | ace44958dc4f74c76100b0244ae8f5f813f9978b /doc | |
parent | 6277e9b4bbcab510013f15d5963150e8b354e004 (diff) | |
download | groff-ba35c4a4941639c12b09cd92b01df28df1936b4f.tar.gz |
* NEWS, man/groff_differences.man, doc/groff.texinfo: Updated.
* man/Makefile.sub: Include groff_differences.man.
* VERSION: Set to 1.18.
* REVISION: Set to 0.
* src/roff/troff/input.cc (do_define_macro): Allow whitespace before
the second dot (or ending macro name) to end a macro.
* doc/groff.texinfo: Doc fix.
* tmac/doc-common (doc-header): Handle very long document titles
better.
* tmac/doc.tmac (doc-do-Bl-args): Fix .substring requests.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/groff.texinfo | 45 |
1 files changed, 26 insertions, 19 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo index 3510c216..3b896e58 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -7244,8 +7244,8 @@ lines (starting with the next one) into an internal buffer until it encounters the line @samp{..} (two dots). The optional second argument to @code{de} changes this to a macro to @samp{.@var{end}}. -Note that no leading whitespace is allowed in the line containing the -ending token (either @samp{..} or the macro @samp{.@var{end}}). +There can be whitespace after the first dot in the line containing the +ending token (either @samp{.} or macro @samp{@var{end}}). Here a small example macro called @samp{P} which causes a break and inserts some vertical space. It could be used to separate paragraphs. @@ -7406,7 +7406,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.81 2001/10/05 14:12:11 wlemb Exp $ +.vl $Id: groff.texinfo,v 1.82 2001/11/16 20:03:43 wlemb Exp $ @endExample @endDefesc @@ -8092,28 +8092,35 @@ and @code{dl} contain the vertical and horizontal size of the diversion. @example @group .\" Center text both horizontally & vertically +. +.\" Enclose macro definitions in .eo and .ec to avoid the doubling of \ +.eo +.\" macro .(c starts centering mode .de (c -.br -.nf -.di @@c +. br +. nf +. di @@c .. @end group @group +.\" macro .)c terminates centering mode .de )c -.br -.di -.nr @@s (((\\n(.tu-\\n(dnu)/2u)-1v) -.sp \\n(@@su -.ce 1000 -.nf -.@c -.br -.ce 0 -.sp \\n(@@su -.br -.fi -.rr @@s +. br +. di +. nr @@s (((\n[.t]u - \n[dn]u) / 2u) - 1v) +. sp \n[@@s]u +. ce 1000 +. @@c +. ce 0 +. sp \n[@@s]u +. br +. fi +. rr @@s +. rm @@s +. rm @@c .. +.\" End of macro definitions, restore escape mechanism +.ec @end group @end example @endDefreg |