diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-12 05:50:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-12 05:50:12 +0000 |
commit | 754ffee707861356b63ca9cf6d44f5d683edf9f3 (patch) | |
tree | 8d87e9f691c5f59a89cdcde5a4f89e40f10bc048 /man.7 | |
parent | f2108e6ac6a2dab810b9177f6f302c9032ca4af5 (diff) | |
download | mandoc-754ffee707861356b63ca9cf6d44f5d683edf9f3.tar.gz mandoc-754ffee707861356b63ca9cf6d44f5d683edf9f3.tar.zst mandoc-754ffee707861356b63ca9cf6d44f5d683edf9f3.zip |
Basically re-wrote -Tascii font handling: instead of incrementers for
bold and underline, we use a stack (no cascading, no double-font-mode).
Font modes with \f only affect the current stack point, as documented in
mdoc.7 and man.7. While -mdoc stacks fonts with embedded macros, -man
replaces them (the stack is always size 1). This works for all
invocations in supported systems' manual corpora to date. It doesn't
support groff's insanity with line-scoped \f as documented in mdoc.7.
Diffstat (limited to 'man.7')
-rw-r--r-- | man.7 | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.\" $Id: man.7,v 1.49 2009/11/10 12:03:29 kristaps Exp $ +.\" $Id: man.7,v 1.50 2009/11/12 05:50:12 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 10 2009 $ +.Dd $Mdocdate: November 12 2009 $ .Dt MAN 7 .Os . @@ -115,7 +115,9 @@ escape followed by an indicator: B (bold), I, (italic), R (Roman), or P .D1 \efBbold\efR \efIitalic\efP .Pp A numerical representation 3, 2, or 1 (bold, italic, and Roman, -respectively) may be used instead. +respectively) may be used instead. A text decoration is only valid, if +specified in free-form text, until the next macro invocation; if +specified within a macro, it's only valid until the macro closes scope. .Pp Text may also be sized with the .Sq \es |