summaryrefslogtreecommitdiffstats
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
commit72dde2cbfd108b1a17101a36f17ed4abd72231db (patch)
tree5ab22c55d9287160446e75081ed4fe2b2a059238 /mdoc.h
parent66602c8db181a50641e1c399880c1cc036d8ecec (diff)
downloadmandoc-72dde2cbfd108b1a17101a36f17ed4abd72231db.tar.gz
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mdoc.h b/mdoc.h
index 6cf8364c..8f1a55db 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -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;
};
/*