Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
XP is just a number
 
PerlMonks  

Perl to DocBook

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

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 16: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 yourname@perl.me.uk? Just ask!!!
Re: Perl to DocBook
by planetscape (Chancellor) on Jul 08, 2006 at 17:04 UTC

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

    HTH,

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://559927]
Approved by Corion
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.