[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Program Listings within Paragraphs (XHTML Output)
You might consider using <computeroutput> for these things instead of <programlisting>. <computeroutput> is formatted inline in both HTML and PDF. Cheers, --Trish Trish Billard firstname.lastname@example.org (408) 285-5462 -----Original Message----- From: Janeene Webb [mailto:email@example.com] Sent: Thursday, December 18, 2003 7:30 PM To: firstname.lastname@example.org Subject: [docbook-apps] Program Listings within Paragraphs (XHTML Output) Hi, Have got a few places where I need to put system error messages within paragraphs, with standard formatting for program listing stuff *except* it needs to be inline rather than as a separate block. Have got it working for PDF use, but in testing things just noticed that for xhtml the output breaks the original paragraph up so that each individual part is a separate block. An example of the input is: ==================== <para>If the Error Message <programlisting role="inline">No Good</programlisting> appears, something's wrong.</para> The output after XSL processing is: ==================== <p>If the Error Message</p> <pre class="inline">No Good</pre> <p>appears, something's wrong.</p> Note that the paragraph is actually being closed in the middle, and a new one started after the error message. I need to be able to nest "inline" programlistings inside the paragraph. Any suggestions for either what to change the programlisting elements to or which template to modify to enable a fixed width type font for the error messages? Cheers, Janeene. To unsubscribe from this list, send a post to email@example.com, or visit http://www.oasis-open.org/mlmanage/.