diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-25 13:50:37 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-25 13:50:37 +0000 |
commit | 97ea338f64152142a27642d6ee10c3a0ae63be1e (patch) | |
tree | 1b2d5de6e555a424a34af16bcbfcd0dd5015c9ba /mdoc.h | |
parent | 7e94ba8189f4be23fa521d65778589feb5655811 (diff) | |
download | mandoc-97ea338f64152142a27642d6ee10c3a0ae63be1e.tar.gz mandoc-97ea338f64152142a27642d6ee10c3a0ae63be1e.tar.zst mandoc-97ea338f64152142a27642d6ee10c3a0ae63be1e.zip |
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.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 <kristaps@bsd.lv> * @@ -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; }; /* |