This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Oliver Fischer <plexus@snafu.de> writes: > Hello! > > I am not sure how to markup the following things: > > o Source code in <para> etc like: > <para>This code <?>printf("abc") && do() || but()</?> <para>This code <literal>printf("abc") && do() || but()</literal> (A while back, Tobias Reif suggested adding a Code element for marking up such instances. It does seems like Code would be more intuitive for instances like that.) > o lines of an config file like: > > <para>To enable TZU add > > <?>tzu1 = "tz:0:9" > tzu2 = "tz:1:1"</?> > > to your file.</para> <para>To enable TZU add <literallayout class='monospaced' >tzu1 = "tz:0:9" tzu2 = "tz:1:1"</literallayout> to your file.</para> Remember that all whitespace and line breaks within a Literallayout are preserved in the rendered output. --Mike
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |