diff options
author | wlemb <wlemb> | 2003-02-14 11:30:08 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-02-14 11:30:08 +0000 |
commit | e2b4b9428ae54b64192c7a48dd10098eb2f17f3d (patch) | |
tree | cd3b661e1e5caebffaabf546881a9ce7bad25982 /man/groff_diff.man | |
parent | 2f74c30001fab6d35640f015440f896ae6c15d5f (diff) | |
download | groff-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/groff_diff.man')
-rw-r--r-- | man/groff_diff.man | 25 |
1 files changed, 18 insertions, 7 deletions
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 ). . . |