Hi, 

thanks for the tip! It is much better to reference the excerpt by a label 
than by line numbers, as they will change with every include. 

This is what I am doing now, but I am not very happy with this solution:

.Code source
["source","java","numbered","8",args="--line-range=8-11"]
----
include::./Main.java[]
----

["source","java",tab="8",args="--line-range=13-32"]
----
include::./Main.java[]
----

Another disadvantage of the above solution is that the syntax depends on 
which source highlighter is used. 


Jens

-- 
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/-/FR2NF3qXq2IJ.
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.

Reply via email to