docbook: programlisting in LyX


Previous by date: 11 Apr 2002 19:49:42 -0000 [ATTN: lists are moving on April, 15th], --s+
Next by date: 11 Apr 2002 19:49:42 -0000 Re: programlisting in LyX, Charles Curley
Previous in thread:
Next in thread: 11 Apr 2002 19:49:42 -0000 Re: programlisting in LyX, Charles Curley

Subject: programlisting in LyX
From: "Dennis Grace" ####@####.####
Date: 11 Apr 2002 19:49:42 -0000
Message-Id: <OFCECA38B0.FC87C366-ON85256B98.006C0988@pok.ibm.com>

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
####@####.####

What is this some kind of demonstrative pronoun?




|---------+---------------------------->
|         |           Peter Bieringer  |
|         |           ####@####.####
|         |                            |
|         |           04/11/02 12:32 PM|
|         |                            |
|---------+---------------------------->
  >--------------------------------------------------------------------------------------------------------------|
  |                                                                                                              |
  |       To:       Dennis Grace/Austin/IBM@IBMUS                                                                |
  |       cc:       DocBook LDP ####@####.####                                                           |
  |       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
####@####.#### 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/






Previous by date: 11 Apr 2002 19:49:42 -0000 [ATTN: lists are moving on April, 15th], --s+
Next by date: 11 Apr 2002 19:49:42 -0000 Re: programlisting in LyX, Charles Curley
Previous in thread:
Next in thread: 11 Apr 2002 19:49:42 -0000 Re: programlisting in LyX, Charles Curley


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.