Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Perl to DocBook

by jmerelo (Sexton)
on Jul 08, 2006 at 12:57 UTC ( #559927=perlquestion: print w/replies, xml ) Need Help??

jmerelo has asked for the wisdom of the Perl Monks concerning the following question:

I have used the example that comes with Syntax::Highlight::Engine::Kate and changed it so that it transforms Perl code into Docbook; however, it's not too exhaustive, and probably not ideal. What I want to do is to convert Perl code to something that can be included into a DocBook article or tutorial. żAny other idea?

Replies are listed 'Best First'.
Re: Perl to DocBook
by ghenry (Vicar) on Jul 08, 2006 at 20:45 UTC
      Yep, that's what I'm using, but I would like the Perl code to be automatically DocBook-tagged, if possible. I've done a bit towards it, but not enough!

        I don't understand. Where is this code?

        What more do you need other than <programlisting>?

        Walking the road to enlightenment... I found a penguin and a camel on the way.....
        Fancy a Just ask!!!
Re: Perl to DocBook
by planetscape (Chancellor) on Jul 08, 2006 at 21:04 UTC

    Something else that might help is Super Searching for "syntax highlighting", or have a look at code2html.


      Yep, code2html might be a good option, but I rather would like something like code2docbook

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://559927]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2020-05-28 08:05 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (165 votes). Check out past polls.