This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
programlisting in LyX
- From: Dennis Grace <dgrace at us dot ibm dot com>
- To: Peter Bieringer <pb at bieringer dot de>
- Cc: DocBook LDP <docbook at linuxdoc dot org>, docbook-apps at lists dot oasis-open dot org
- Date: Thu, 11 Apr 2002 14:49:07 -0500
- Subject: DOCBOOK-APPS: programlisting in LyX
Well, Peter, I can't say for sure, because I don't use LyX (I use epcEdit,
used to use emacs/psgml); however, if you selected <programlisting> and LyX
included the CDATA markup, then I'd say this is a bug. I'm forwarding this
query to the DocBook Apps list at Oasis. Perhaps someone there can tell you
how to get LyX to give you a <programlisting> without the CDATA markup.
Dennis Grace
Information Developer
IBM Linux Technology Center
(512) 838-3937 T/L 678-3937 cell: (512)-296-7830
dgrace@us.ibm.com
What is this some kind of demonstrative pronoun?
|---------+---------------------------->
| | Peter Bieringer |
| | <pb@bieringer.de>|
| | |
| | 04/11/02 12:32 PM|
| | |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------|
| |
| To: Dennis Grace/Austin/IBM@IBMUS |
| cc: DocBook LDP <docbook@linuxdoc.org> |
| Subject: Re: Linux IPv6 HOWTO (fwd) <emphasis> not rendered in "code" style |
| |
| |
>--------------------------------------------------------------------------------------------------------------|
Hi again,
--On Thursday, April 11, 2002 09:21:17 AM -0500 Dennis Grace
<dgrace@us.ibm.com> wrote:
>
> Take a look at page 370 of DocBook TDG. If you want markup to work
> within <programlisting> tags, do not couch the text within CDATA
> sections.
>
> To get the emphasis tags to work, the SGML for the referenced page
> should be
>
> <programlisting>
> fe8<emphasis>x: <- currently the only one in
> use.</emphasis>
> fe9<emphasis>x:</emphasis>
> fea<emphasis>x:</emphasis>
> feb<emphasis>x:</emphasis>
> </programlisting>
Hmm, shown output was generated by LyX
> <programlisting>
> <![ CDATA [fe8<emphasis>x: <- currently the only one in
> use.</emphasis>
> ]]><![ CDATA [fe9<emphasis>x:</emphasis>
> ]]><![ CDATA [fea<emphasis>x:</emphasis>
> ]]><![ CDATA [feb<emphasis>x:</emphasis>
> ]]> </programlisting>
What now? Is LyX export buggy (this would not be the first time...)
TIA,
Peter
_________________________
http://list.linuxdoc.org/