X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=makedoc.c;h=3f04b00f3ac72bc4651b18838c1cb658b6bc645e;hp=e660dfd6ee5a33761e064ceaefbe43bce3d0b21a;hb=d9fc99160ddc77d61f45423bd05d44735ef912f5;hpb=d522dcf77ce4b7e071a8c5a68a21c781270d165c diff --git a/makedoc.c b/makedoc.c index e660dfd..3f04b00 100644 --- a/makedoc.c +++ b/makedoc.c @@ -805,6 +805,7 @@ static void print_confline (const char *varname, int type, const char *val) ** ** - \fI switches to italics ** - \fB switches to boldface + ** - \fT switches to typewriter for SGML ** - \fP switches to normal display ** - .dl on a line starts a definition list (name taken taken from HTML). ** - .dt starts a term in a definition list. @@ -964,26 +965,27 @@ static int print_it (int special, char *str, int docstat) case SP_END_FT: { add_s ("\\fP"); - docstat &= ~(D_EM | D_BF); + docstat &= ~(D_EM | D_BF | D_TT); break; } case SP_START_BF: { add_s ("\\fB"); docstat |= D_BF; - docstat &= ~D_EM; + docstat &= ~(D_EM | D_TT); break; } case SP_START_EM: { add_s ("\\fI"); docstat |= D_EM; - docstat &= ~D_BF; + docstat &= ~(D_BF | D_TT); break; } case SP_START_TT: { docstat |= D_TT; + docstat &= ~(D_BF | D_EM); break; } case SP_NEWLINE: