[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Tools for generating Docbook programlisting fragments?
>>>>> "TN" == Tommy Nordgren writes:
TN> Do anyone know of a library for generating DocBook
TN> programlisting fragments from source code listings marked up
TN> with special comments.
Well, they have been calling that kind of thing "literate programming",
and at <http://www.google.com/Top/Computers/Programming/Methodologies/Literate_Programming/?il=1>
you can find a few interesting articles
including one by Normal Walsh titled "Literate Programming in XML"
at <http://nwalsh.com/docs/articles/xml2002/lp/paper.html> .
You might have come across Norman in the context of DocBook,
and you will find, that his article is quite DocBook related.
TN> The purpose is to generate the Docbook source and program
TN> language source, from a common specification.
TN> I've tested filtering a xml file containing a programlisting
TN> DocBook element through a custom stylesheet, but so far I've
TN> been unable to avoid getting extra whitespace, when doing it
TN> this way.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]