[no emphasis in literal blocks Panu Kalliokoski **20041018134729 Keywords: (atehwa@sange.fi--2004/stx2any--prod--2--patch-166) ] { hunk ./common/emphasis.lsed 7 -First, gather lines until we reach an empty line. End of file has to be -made a special case. +Literal blocks should be passed untouched. If a literal block was met +when gathering a paragraph's lines (see below), it is processed now. +{{{ +x +/^{{{$/ { +G +x +s#.*## +} +x +/^{{{$/,/^}}}$/ b +/^{{{\n/,/^}}}$/ b +}}} + +First, gather lines until we reach an empty line or literal block to +process emphasis as paragraphs. End of file has to be made a special +case. hunk ./common/emphasis.lsed 27 -$!{ +$ b nogather hunk ./common/emphasis.lsed 29 -/\n$/! b gather +/\n$/ b nogather +/\n{{{$/ { +s### +x +s#.*#{{{# +x +b nogather hunk ./common/emphasis.lsed 37 +b gather +: nogather hunk ./debian/changelog 4 + * eschewed emphases in literal blocks hunk ./regression/abbrev.docbook-xml 143 - emphasis - strong emphasis + /emphasis/ + *strong emphasis* hunk ./regression/abbrev.docbook-xml 146 - quoted text AFAIK + "quoted text" AFAIK hunk ./regression/abbrev.docbook-xml 148 - multi-line - span stuff + multi-"line + span stuff" hunk ./regression/abbrev.docbook-xml 152 -1.6 special characters +embedded list and literal block: + + +foo /bar/ + + +1.6 special characters hunk ./regression/abbrev.html 148 - emphasis - strong emphasis + /emphasis/ + *strong emphasis* hunk ./regression/abbrev.html 151 - quoted text AFAIK + "quoted text" AFAIK hunk ./regression/abbrev.html 153 - multi-line - span stuff + multi-"line + span stuff" hunk ./regression/abbrev.html 157 -

1.6 special characters

+

1.6 special characters

hunk ./regression/abbrev.latex 157 - \emph{emphasis} - \strongemph{strong emphasis} + /emphasis/ + *strong emphasis* hunk ./regression/abbrev.latex 160 - ``quoted text'' AFAIK + "quoted text" AFAIK hunk ./regression/abbrev.latex 162 - multi-``line - span stuff'' + multi-"line + span stuff" hunk ./regression/abbrev.latex 166 +\begin{itemize} +\item embedded list and literal block: + +\begin{verbatim} +foo /bar/ +\end{verbatim} + +\end{itemize} hunk ./regression/abbrev.man 195 - \fIemphasis\fP - \fBstrong emphasis\fP + /emphasis/ + *strong emphasis* hunk ./regression/abbrev.man 198 - \(lqquoted text\(rq AFAIK + "quoted text" AFAIK hunk ./regression/abbrev.man 200 - multi-\(lqline - span stuff\(rq + multi-"line + span stuff" hunk ./regression/abbrev.man 204 +.RS 4 +.IP \(bu 4 +\&embedded list and literal block: +.IP "" 4 +.nf +\fC +foo /bar/ +\fP +.fi +.RE hunk ./regression/abbrev.test 141 + - embedded list and literal block: + +{{{ +foo /bar/ +}}} + hunk ./regression/block.stripped 142 + - embedded list and literal block: + +--> +foo /bar/ +