asciidoctor / docbookrx

(An early version of) a DocBook to AsciiDoc converter written in Ruby.
MIT License
22 stars 49 forks source link

Implement <calloutlist> and children. #34

Open jaredmorgs opened 8 years ago

jaredmorgs commented 8 years ago

Implement callouts (i.e, calloutlist)

Tracked from the issues marked with an asterix in https://github.com/opendevise/docbookrx/blob/master/WORKLOG.adoc

mojavelinux commented 8 years ago

We need to implement both callout numbers and the callout list items that correspond to those numbers.

Sample input:

<screen>line <co xml:id="CO1-1"/></screen>
<calloutlist>
<callout arearefs="CO1-1">
<para>explain that line</para>
</callout>
</calloutlist>

Expected output:

----
line <1>
----
<1> explain that line

Actual output:

----
line
----