I have a manual for a system that is written in Texinfo. You may see it (compiled to HTML) here. My problem is that the manual (which was translated from an original in an ancient version of Microsoft Word) contains a pseudocode presentation of the underlying algorithm. See here. The presentation of the algorithms looks terrible because there's no obvious way to format pseudo-code in Texinfo.
Does anyone know how to do this? For example:
- should I just (ugh) use preformatted text?
- is there a library like Latex's
listings
that I could use? Heck, are there any add-on libraries for Texinfo, and if so, where are they kept? - something else? Maybe format the pseudo-code in Latex, generate images of the formatted pseudo-code and include them?