An anonymous reader writes: I'm looking for advice on software to typeset technical documents containing lots of program listings and related material. I have an opportunity involving publishing various technical articles and possibly a book or two, and would need to produce suitably professional-looking documents output as bureau-ready PDFs. The content of the documents is not a problem, and I have enough budget to buy any of the major DTP or typesetting packages if necessary, but I've never found a good solution to typesetting program listings. Are there any Slashdotters with prior experience of this, who could recommend suitable software?
LaTeX has some useful packages available, but isn't my first choice because of other limitations, particularly the lack of support for professional-grade OpenType fonts and the general unreliability of mixing several complex packages together. The big name DTP packages don't raise these concerns, but I've never found a good way to automate the typesetting of the source code with formatting such as syntax highlighting and line numbering, and the ability to import the code directly from a file on disk so I can use the real, tested code. Perhaps there's some variant in the TeX family I haven't found that is better at this, or a plug-in for one of the major DTP packages? Any advice would be very welcome. Someone must have done this before!