On 27 July 2012 18:43, Martin Rode <[email protected]> wrote: > Hi Lex, > > thanks for the awesome respone time. > > Unfortunately, its not over yet ;-) > > I am trying to output a table with a custom class set (its ok to have it set > in the surrounding DIV) and no "width" attribute. > > I have put > > [attributes] > autowidth-option=""
Thats how you set attributes in conf files, not in the document input where the line: :autowidth-option: defines the attribute, please read the user guide. [...] Which version of asciidoc are you using? For 8.6.8 input: [role="abcd", options="autowidth"] |==== |a |b |c |d |==== gives: <div class="tableblock abcd"> <table rules="all" frame="border" cellspacing="0" cellpadding="4"> <col /> <col /> <tbody> <tr> <td align="left" valign="top"><p class="table">a</p></td> <td align="left" valign="top"><p class="table">b</p></td> </tr> <tr> <td align="left" valign="top"><p class="table">c</p></td> <td align="left" valign="top"><p class="table">d</p></td> </tr> </tbody> </table> </div> Note the abcd class and no width. Cheers Lex >> >> Cheers >> Lex >> > -- > 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/-/Vsb3k02m6h0J. > > 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. -- 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.
