diff options
author | wl <wl> | 2006-04-04 20:20:03 +0000 |
---|---|---|
committer | wl <wl> | 2006-04-04 20:20:03 +0000 |
commit | dbc2938995b9724fb06930dcd7f4b4af833793bf (patch) | |
tree | e0b0a8988ac64baf2a07d2e8451293596e3e604c /NEWS | |
parent | 8de88e49f386e53ed293ee62a48d66fd8c67ccbe (diff) | |
download | groff-dbc2938995b9724fb06930dcd7f4b4af833793bf.tar.gz |
Implement new number register `.br' which is set to 1 if a macro has
been called as .foo and to 0 if called as 'bar. This is useful for
-mtrace so that requests can be reliably traced too.
* src/roff/troff/input.cpp (input_iterator): Add virtual function
`get_break_flag'.
(macro_iterator): Add `with_break' member and `get_break_flag'
function.
Update constructors.
(input_stack): Add function `get_break_flag'.
(break_flag_reg): New number register class.
(input_init_requests): Register `.br'.
* src/roff/troff/TODO: Updated.
* tmac/trace.tmac: s/!!sp/!!!sp/.
Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
* docs/groff.texinfo, man/groff.man, man/groff_diff.man, NEWS:
Document it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -22,6 +22,18 @@ o Swedish macro localization has been added also. o Two new requests `device' and `devicem' have been added which are equivalents to the \X and \Y escapes, respectively. +o A new read-only number register `.br' is available which is set to 1 + if a macro is called as .foo and to 0 if called as 'foo. This allows to + reliably modify requests. + + .als bp@orig bp + .de bp + . tm before bp + . ie \\n[.br] .bp@orig + . el 'bp@orig + . tm after bp + .. + Pic --- @@ -34,6 +46,8 @@ Macro Packages o A new macro `Dx' has been added which identifies the DragonFly OS. +o -mtrace now shows whether a macro has been called as .foo or as 'foo. + VERSION 1.19.2 ============== |