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

ottoh
Posts: 5

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

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: 5690

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

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

Return to “DocBook”

Who is online

Users browsing this forum: No registered users and 0 guests