This is the mail archive of the
davenport@berkshire.net
mailing list for the Davenport project.
Re: DAVENPORT: [DOCBOOK] programlisting
- To: davenport@berkshire.net
- Subject: Re: DAVENPORT: [DOCBOOK] programlisting
- From: Joerg Wittenberger <Joerg.Wittenberger@pobox.com>
- Date: 29 Jun 1999 16:46:48 +0200
- Organization: softeYes
- References: <Pine.OSF.3.96.990629202722.4119C-100000@decunx.iscs.nus.sg>
- Reply-To: davenport@berkshire.net
three ways:
a) redefine programlisting in the prolog of your document to have
CDATA content. Beware that you don't want to have "</" in your
program listing
b) use entities for & and < (& and <)
c) use inlinegraphic with format=linespecific to point to the actual
program text.
/Jerry
>>>>> "g" == girlNextDoor <sujathan@comp.nus.edu.sg> writes:
g> Hi!
g> I am a newbie here. When I put soem code in between
g> <programlisting> </programlisting> tags. But the expression
g> "scanf(&mask);" generates errors. When I say db2html, it says, "no
g> general entity mask".
g> How can I get docbook to leave my code alone without trying to
g> interpret it as some tags?
g> Thanks for any help.
g> regards, --girlNextDoor.
g> ****************************************************************************
g> Sujatha Natraj ComputerEngineering(yr2/sem4) SMTP
g> :sujathan@comp.nus.edu.sg eng71667@leonis.nus.edu.sg PSTN
g> :+65.256.8660 HTTP :http://www.comp.nus.edu.sg/~sujathan ICQ
g> :25942748
g> ****************************************************************************
--
Sapere Aude ! intimidation threshhold