Am 08.08.2012 11:42, schrieb Lex Trotman:
On 8 August 2012 19:09, Wilhelm <[email protected]> wrote:
Hi all,

if one uses the asciidoc column style for tables, the callout numbering gets
wrong (testcase see below).

The problem is the nested calling of asciidoc for the cell contents: the
nested asciidoc run processes the cell content without knowing the state
(e.g. the actual callout numbering) of the calling asciidoc process. So all
callouts start using CO1-1.

Is there any chance of fixing this in the near future?


Any suggestions?

Well, I could imagine a state-file written by the primary asciidoc and a slave-mode for asciidoc to use an existing state-file ...


Callouts were not designed to be used this way, there would have to be
a protocol for passing some unique thing to each sub-asciidoc to be
added to the coids in a way that it adds little overhead for the
majority of uses which don't need it.

Cheers
Lex


error processing the xml-file:

xsltproc --nonet ../xsl/fo-simple.xsl test.xml > test.fo
test.xml:64: element co: validity error : ID CO1-1 already defined
ring="unnumbered">public void add(Comparable&lt;T&gt; value) { // <co
id="CO1-1"


test case follows:

[cols="<95%asciidoc,>.<5%",frame="none",grid="none",options="header",role="code"]
|====
|Überschrift |
|["source","java",role="codeintable"]
----
public void add(Comparable<T> value) { // <1>
}
----
<1> Bla
  | randomtext
|====


[cols="<95%asciidoc,>.<5%",frame="none",grid="none",options="header",role="code"]
|====
|Überschrift |
|["source","java",role="codeintable"]
----
public void add(Comparable<T> value) { // <1>
}
----
<1> Bla
  | randomtext
|====

--
Wilhelm

--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
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.




--
Wilhelm

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
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