From 02b3298e7df190d17c1e5726e60fa2735a609206 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 10 Nov 2009 12:03:29 +0000 Subject: Noted that -man text decoration is re-set when exiting a macro invocation. --- man_term.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'man_term.c') diff --git a/man_term.c b/man_term.c index c7537ab7..20080694 100644 --- a/man_term.c +++ b/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.50 2009/11/10 11:45:57 kristaps Exp $ */ +/* $Id: man_term.c,v 1.51 2009/11/10 12:03:30 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -876,9 +876,13 @@ print_man_node(DECL_ARGS) if (c && n->child) print_man_body(p, mt, n->child, m); - if (MAN_TEXT != n->type) + if (MAN_TEXT != n->type) { if (termacts[n->tok].post) (*termacts[n->tok].post)(p, mt, n, m); + + /* Reset metafont upon exit from macro. */ + p->metafont = 0; + } } -- cgit v1.2.3