From dcf080aa0e011de37a154e9e8a97dd7546a4a1b1 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 10 Mar 2013 16:58:01 +0000 Subject: Add \s for 'strong' text, i.e. bold rather than italics. I've missed this a couple of times in Halibut markup recently (in particular, it's handy to have a typographical distinction between 'this term is emphasised because it's new' and 'this term is emphasised because I want you to pay attention to it'), so here's an implementation, basically parallel to \e. One slight oddity is that strong text in headings will not be distinguished in some output formats, since they already use bolded text for their headings. [originally from svn r9772] --- doc/output.but | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/output.but') diff --git a/doc/output.but b/doc/output.but index 49a6b05..47be785 100644 --- a/doc/output.but +++ b/doc/output.but @@ -263,6 +263,11 @@ in the \c{\\c} command (see \k{input-code}). emphasised text (written using the \c{\\e} command; see \k{input-emph}). +\dt \I{\cw{\\cfg\{text-strong\}}}\cw{\\cfg\{text-strong\}\{}\e{start-strong}\cw{\}\{}\e{end-strong}\cw{\}}[\cw{\{}\e{start-strong}\cw{\}\{}\e{end-strong}...\cw{\}}] + +\dd This specifies the characters which should be used to surround +strong text (written using the \c{\\s} command; see \k{input-emph}). + \lcont{ You should separately specify the start-emphasis and end-emphasis @@ -1457,6 +1462,13 @@ multiple fallback options. Works exactly like the \cw{\\cfg\{text-emphasis\}} directive (see \k{output-text-characters}). +\dt \I{\cw{\\cfg\{info-strong\}}}\cw{\\cfg\{info-strong\}\{}\e{start-strong}\cw{\}\{}\e{end-strong}\cw{\}}[\cw{\{}\e{start-strong}\cw{\}\{}\e{end-strong}...\cw{\}}] + +\dd Specifies how to display strong text. You can specify +multiple fallback options. Works exactly like the +\cw{\\cfg\{text-emphasis\}} directive (see +\k{output-text-characters}). + \S{output-info-misc} Miscellaneous configuration options \dt \I{\cw{\\cfg\{info-list-suffix\}}}\cw{\\cfg\{info-list-suffix\}\{}\e{text}\cw{\}} @@ -1545,6 +1557,7 @@ The \i{default settings} for the Info output format are: \c \cfg{info-rule}{\u2500}{-} \c \cfg{info-quotes}{\u2018}{\u2019}{`}{'} \c \cfg{info-emphasis}{_}{_} +\c \cfg{info-strong}{*}{*} \c \c \cfg{info-list-suffix}{.} -- cgit v1.1