From e9c0c7e398d4a279cf7078591f5036fe9fac6b96 Mon Sep 17 00:00:00 2001 From: wlemb Date: Sun, 14 Apr 2002 10:22:55 +0000 Subject: Implement \f[] as an alternative to \fP. Change \mP and \MP to \m[] and \M[], respectively. * src/roff/troff/symbol.cc (EMPTY_SYMBOL): New global variable. (symbol::symbol): Handle NULL string and empty string differently. * src/roff/troff/symbol.h (symbol::is_empty): New inline function. * src/roff/troff/input.cc (read_escape_name, read_long_escape_name): Add optional parameter. Updated calling functions. (get_copy, do_glyph_color, do_fill_color, token::next): Use `symbol::is_empty'. * src/roff/troff/env.cc (environment::set_font): Ditto. * src/preproc/pic/troff.cc (troff_output::set_fill, troff_output::reset_color: Updated. * tmac/www.tmac: Updated. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo, doc/homepage.ms, src/devices/grotty/grotty.man, tmac/groff_www.man: Updated. * src/include/printer.h, src/libs/libdriver/printer.cc (printer::change_fill_color): New member function. * src/libs/libdriver/input.cc (parse_D_command): Use it. --- tmac/groff_www.man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmac/groff_www.man') diff --git a/tmac/groff_www.man b/tmac/groff_www.man index e070c3ce..3ac6baab 100644 --- a/tmac/groff_www.man +++ b/tmac/groff_www.man @@ -155,7 +155,7 @@ If this is processed by a device other than it appears as: .RS .IP -\m[blue]foo\mP \[la]\fChttp://foo.org\fP\[ra]: +\m[blue]foo\m[] \[la]\fChttp://foo.org\fP\[ra]: .RE .IP The URL macro can be of any type; for example we can reference -- cgit v1.2.1