diff options
author | wlemb <wlemb> | 2002-04-14 10:22:55 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2002-04-14 10:22:55 +0000 |
commit | e9c0c7e398d4a279cf7078591f5036fe9fac6b96 (patch) | |
tree | e06207ec5d55c97e29cf67130b0e354f55271d9c /tmac/www.tmac | |
parent | 7782388159e2d3d64093167e2fcdf9dd1a1721cc (diff) | |
download | groff-e9c0c7e398d4a279cf7078591f5036fe9fac6b96.tar.gz |
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.
Diffstat (limited to 'tmac/www.tmac')
-rw-r--r-- | tmac/www.tmac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tmac/www.tmac b/tmac/www.tmac index 3d2d9351..479ea1e7 100644 --- a/tmac/www.tmac +++ b/tmac/www.tmac @@ -72,7 +72,7 @@ . ie \\n[www-html] \ . HTML <a href="\\$1">\\$2</a>\\$3 . el \ -. nop \m[blue]\\$2\mP \%\[la]\fC\\$1\fP\[ra]\\$3 +. nop \m[blue]\\$2\m[] \%\[la]\fC\\$1\fP\[ra]\\$3 .. .\" .\" FTP url description [after] @@ -105,9 +105,9 @@ . \} . el \{\ . ie '\\$2'' \ -. nop \%\m[blue]\fC\\$1\fP\mP\\$3 +. nop \%\m[blue]\fC\\$1\fP\m[]\\$3 . el \ -. nop \m[blue]\\$2\mP \%\[la]\fC\\$1\fP\[ra]\\$3 +. nop \m[blue]\\$2\m[] \%\[la]\fC\\$1\fP\[ra]\\$3 . \} .. .\" @@ -506,7 +506,7 @@ ' ti \w'\\[dcap]'u . \} . \} -. nop \\mP\\$2 +. nop \\m[]\\$2 .. .\" .\" now set up TS, TE, EQ, EN default macros |