Page 1 of 1

programlisting... numbered... Error: "No numberLines function available"

Posted: Sat Aug 11, 2018 4:34 pm
by ottoh
Greetings,

Using OxygenXML 20, docbook, programlisting...

Attempt to use linenumbering, however get a message:
No numberLines function available
This is from fo/verbatim.xsl.

Is there an external java function that is required to number lines?

I do not need to highlight syntax, just want to have the auto-numbering of lines, along with specifying the starting number.

Best regards,

..Otto

Re: programlisting... numbered... Error: "No numberLines function available"

Posted: Mon Aug 13, 2018 8:01 am
by Radu
Hi Otto,

if you open the Oxygen transformation scenario you are using, there is an "Extensions" button.
Click that and add in the extensions list a reference to ${frameworks}/docbook/xsl/extensions/saxon65.jar.
I think that extra JAR library contains the numbering function you are after.

Regards,
Radu