Hi Dan,

On Saturday, July 11, 2015 at 12:03:29 AM UTC-5, Dan Allen wrote:
>
>
>
> Something like:
>
> * shared item
> * [if-windows]#do for Windows#
> * shared item
>
> or
>
> * shared item
> * {empty}
> +
> [.if-windows]
> --
> do for Windows
> --
> * shared item
>

that kind of works, but not really in the way i was wanting. I was wanting 
the role to be set for the listitem element. This sets it for the phrase 
within the  simpara element:

<listitem>
<simpara><phrase role="windows">Windows only item</phrase></simpara>
</listitem>


I was wanting to do something like the following be generated:

<listitem role="windows">
<simpara>Windows only item</simpara>
</listitem>

I also looked at the .slim files for the docbook generation, is it because 
certain items have a role attribute explicitly checked and used that 
determines whether an element or not can have a role value set for it?

 
>
>> as well as setting a role for a given row of a table?
>
>
> You cannot apply attributes to rows in AsciiDoc. This is a harder problem 
> to solve. You'll likely need to use an AsciiDoc table cell and apply a role 
> to the block-level content in that cell. Again, another solution is to 
> simply repeat the whole table for each condition just like with lists.
>

For simple tables this is ok. However, in some of our documents it is not 
uncommon for a table to go across tens to a hundred pages in length. 
Repeating the table would probably not be good solution. 

Thanks again!


Russ 

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to