ext:pygmentize-available
ext:pygmentize-available — Returns true if pygmentize is available.
Function:
{http://docbook.org/extensions/xslt}pygmentize-available#0
Synopsis
| ext:pygmentize-available( | ) as xs:boolean |
Description
In order to run Pygments on listings,
the ext:pygmentize() extension function must be available
and the pygmentize command must be available
on the host system.
This function returns true if it successfully finds the
pygmentize command on the system path.