This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xhtml transform problems


Jirka Kosek wrote:
> 
> DocBook allows elements like screen inside para. Stylesheet only
> converts DocBook <para>s to HTML <p>s and <screen>s to <pre>s. If you
> want to get correct HTML output, write screens on same level as paras:
> 
> <orderedlist>
> <listitem>
> <para>As root - format floppy(raw).</para>
> <screen format="linespecific">
> <prompt moreinfo="none">debian:~#</prompt><command moreinfo="none">mount
> /dev/fd0</command>
> <prompt moreinfo="none">debian:~#</prompt><command
> moreinfo="none">umount /dev/fd0</command>
> <prompt moreinfo="none">debian:~#</prompt><command
> moreinfo="none">fdformat /dev/fd0</command>
> </screen>
> </listitem>
> </orderedlist>
> 
I think I may try this suggestion as it's all inside a listitem I think
the markup conveys the correct idea this way as well if not better than
my way.

Thanks,
Eric :-)

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]