Hi,

The current refresh of the Rexx Parser includes a new hldoc2HTML.rex tool
in bin/docbook/. Together with hldocprep.rex, hldoc2pdf.rex and
hldoc2fo.rex, they allow to transform properly tagged docbook .xml files
into nicely highlighter PDF and HTML files. Tagging is as simple as
substituting

<programlisting>

by

<programlisting language="rexx">

in all listings *that contain a valid ooRexx fragment* (the parser cannot
highlight an invalid program for obvious reasons).

You can browse a highlighted PDF version of rexxref at
https://rexx.epbcn.com/rexxref/rexxref.pdf; the HTML version can be found
at https://rexx.epbcn.com/rexxref/. You can choose your highlighting
palette by using the upper-right dropdown menu labeled "Coding style"; your
choice is sticky, and will accompany you while you're in the same web. You
can also add ?style=<style-name> as a query string, as in
https://rexx.epbcn.com/rexxref/keyReply.html?style=tokio-night; in this
case, the palette choice is not sticky, as this allows the sharing of pages
with a particular palette.

You will find the usage notes here:
https://rexx.epbcn.com/rexx-parser/bin/docbook/

  Josep Maria
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to