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

ottoh
Posts: 5
Joined: Thu Nov 19, 2015 11:31 pm

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

Post by ottoh » Sat Aug 11, 2018 4:34 pm

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

Radu
Posts: 6343
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu » Mon Aug 13, 2018 8:01 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply