summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-02-14 11:30:08 +0000
committerwlemb <wlemb>2003-02-14 11:30:08 +0000
commite2b4b9428ae54b64192c7a48dd10098eb2f17f3d (patch)
treecd3b661e1e5caebffaabf546881a9ce7bad25982 /man
parent2f74c30001fab6d35640f015440f896ae6c15d5f (diff)
downloadgroff-e2b4b9428ae54b64192c7a48dd10098eb2f17f3d.tar.gz
New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
Make \D'f ...' move horizontally again for backwards compatibility. Replace it with \D'Fg ...' where appropriate to avoid dependency on horizontal resolution. * src/roff/troff/input.cc (do_get_long_name): New function. (get_long_name): Call it. (read_draw_node): Handle `\D'Fx ...' by calling ... (read_color_draw_node): New function. (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument `end'. Pass it to `do_get_long_name' which is used instead of `get_long_name'. * src/libs/libdriver/input.cc (color_from_Df_command): Remove unnecessary value guard. (parse_D_command) <'f'>: Add horizontal shift. * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'. * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto. (FILL_MAX): Removed. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: Updated. * src/roff/troff/input.cc (do_name_test, do_expr_test, do_zero_width): Push `\n' if closing delimiter is missing. (token::next) <ESCAPE_NEWLINE>, <'\n'>, <'\ '>: Reset `have_input'. <'F'>: Make \F non-transparent at the beginning of line. (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE, token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle `have_input'. (define_color): Free color in case of reassignment. * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem, @DefescListEnd): Use @Var, not @var. Fix all calls. * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo. * src/preproc/pic/object.cc (object_spec::~object_spec): Free `shaded' and `outlined' arrays. (object_spec::object_spec): Initialize `shaded' and `outlined'. (graphic_object::set_fill_color, graphic_object::set_outline_color): Use strsave. (closed_object::set_fill_color): Ditto. * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave instead of strdup. (troff_output::reset_color): Use a_delete instead of free. * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
Diffstat (limited to 'man')
-rw-r--r--man/groff.man8
-rw-r--r--man/groff_diff.man25
2 files changed, 24 insertions, 9 deletions
diff --git a/man/groff.man b/man/groff.man
index b1d3a0c9..176a04e1 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -2,11 +2,11 @@
.ig
groff.man
-Last update: 3 Dec 2002
+Last update: 13 Feb 2003
This file is part of groff, the GNU roff type-setting system.
-Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
written by Bernd Warken <bwarken@mayn.de>
maintained by Werner Lemberg <wl@gnu.org>
@@ -1717,6 +1717,10 @@ If
.I n
is zero, disable line-tabs mode, otherwise enable it.
.
+.REQ .lf N
+Set input line number to
+.IR N .
+.
.REQ .lf N file
Set input line number to
.I N
diff --git a/man/groff_diff.man b/man/groff_diff.man
index f34e3522..5aebf22c 100644
--- a/man/groff_diff.man
+++ b/man/groff_diff.man
@@ -3,7 +3,7 @@
.ig
groff_diff.man
-Last update : 10 Feb 2003
+Last update : 13 Feb 2003
This file is part of groff, the GNU roff type-setting system.
It is the source of the man-page groff_diff(7).
@@ -2396,6 +2396,19 @@ is read in copy mode.
.
.
.\" --------------------------------------------------------------------
+.SS "Extended escape sequences"
+.\" --------------------------------------------------------------------
+.
+.TP
+.BI \[rs]D' .\|.\|. '
+All drawing commands of groff's intermediate output are accepted.
+.
+See subsection
+.B "Drawing Commands"
+below for more information.
+.
+.
+.\" --------------------------------------------------------------------
.SS "Extended requests"
.\" --------------------------------------------------------------------
.
@@ -3281,7 +3294,9 @@ exception of
.BR De .
For the sake of compatibility GNU troff also follows this rule, even
though it produces an ugly result in the case of the
-.BR Dt ,
+.B Dt
+and
+.BR Df ,
and, to a lesser extent,
.B DE
commands.
@@ -3316,11 +3331,7 @@ Set the color components of the filling color similar to the
commands above.
.
.P
-Note that
-.B Df
-is now mapped onto
-.BR DFg .
-The current position isn't changed by those colour commands (including
+The current position isn't changed by those colour commands (contrary to
.BR Df ).
.
.