From 97ea338f64152142a27642d6ee10c3a0ae63be1e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 25 Dec 2010 13:50:37 +0000 Subject: Specifying both %T and %J in an `Rs' block causes the title to be quoted instead of underlined. This only happens in -Tascii, as -T[x]html both underlines and italicises. --- mdoc.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mdoc.h') diff --git a/mdoc.h b/mdoc.h index 69a11005..36e40d19 100644 --- a/mdoc.h +++ b/mdoc.h @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.110 2010/12/24 14:00:40 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.111 2010/12/25 13:50:37 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -353,6 +353,10 @@ struct mdoc_an { enum mdoc_auth auth; /* -split, etc. */ }; +struct mdoc_rs { + int titlejournal; /* whether %T and %J */ +}; + /* * Consists of normalised node arguments. These should be used instead * of iterating through the mdoc_arg pointers of a node: defaults are @@ -363,6 +367,7 @@ union mdoc_data { struct mdoc_bd Bd; struct mdoc_bf Bf; struct mdoc_bl Bl; + struct mdoc_rs Rs; }; /* -- cgit v1.2.3-56-ge451