Hi All,
when generating html from asciidoc (asciidoc article.txt) I often got
warnings like:
asciidoc: WARNING: article.txt: line 17: no callouts refer to list
item 1
asciidoc: WARNING: article.txt: line 18: no callouts refer to list
item 2
I investigated this, and found out that it happens only if the
callouts are used without code comments. The simple article.txt below
presents a good callouts (which are rendered without warnings) and bad
ones (which generates fine, however they print warning message):
The Article Title
=================
The First Section
-----------------
.Bad Callouts
[source,java]
----
public class MyClass { <1>
public void someMethod() { <2>
}
}
----
<1> callout 1
<2> callout 2
.Good Callouts
[source,java]
----
public class MyClass { // <1>
public void someMethod() { // <2>
}
}
----
<1> callout 1
<2> callout 2
Why are the warnings printed if I don't use // comments? I searched
the userguide but found no explanation of such behaviour.
--
Cheers,
Tomek Kaczanowski
--
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.