Login  Register

ordered list in a table cell and image align - Asciidoctor to Docbook

Posted by rogerpt on Feb 14, 2014; 12:01pm
URL: https://discuss.asciidoctor.org/ordered-list-in-a-table-cell-and-image-align-Asciidoctor-to-Docbook-tp1473.html

Hi,

There is any possibility to include an ordered list inside a table cell? As an example i have the following text in asciidoctor:

[cols="2*" options="header"]
[grid="none"]
|===
|Col1
|Col2

|Col1
|Col2
[loweralpha]
. Item1
. Item2

I would expect to get something like:

<row>
<entry>col1</entry>
<entry><orderedlist numeration="loweralpha">
<listitem>
<simpara>Item1</simpara>
</listitem>
<listitem>
<simpara>Item2</simpara>
</listitem>
</orderedlist>
</entry>
 </row>

But what I get is something like this:

<row>
<entry align="left" valign="top"><simpara>Col1</simpara></entry>
<entry align="left" valign="top"><simpara>. Item1 . Item2</simpara></entry>
</row>

Regarding the image align, I have tried like it is described in the user's guide, however I didn't manage to have an image with align="center" property in docbook. There is any trick for this?