aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-25 13:50:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-25 13:50:37 +0000
commit97ea338f64152142a27642d6ee10c3a0ae63be1e (patch)
tree1b2d5de6e555a424a34af16bcbfcd0dd5015c9ba /mdoc.h
parent7e94ba8189f4be23fa521d65778589feb5655811 (diff)
downloadmandoc-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.h7
1 files changed, 6 insertions, 1 deletions
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 <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;
};
/*