I found the solution and probably a bug:
Consider the following asciidoc code:
.Code source
["source","java","numbered","8",args="--line-range=1-4"]
----
include::./Main-extrait.java[]
----
["source","java","unnumbered","8",args="--line-range=4-"]
----
include::./Main-extrait.java[]
----
The second listing with the unnumbered argument should be printed
without line numbers. It is always printed with line numbers.
Solution :
replace all
src_numbered?
with
src_numbered@numbered:
in the following files:
/etc/asciidoc/filters/source/source-highlight-filter.conf
/etc/asciidoc/backends/odt/odt.conf
/etc/asciidoc/backends/odp/odp.conf
And a question: In the doc you see always [source,phyton].
Apparently it should be ["source","phyton"]. Is this right?
If yes it should be changed in documentation.
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/asciidoc/-/fVwk8_qwUmQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.