[...] > So why don't you wrap nested blocks in draw:frames? > > I think I need some real ODF markup examples along the lines: > > from this AsciiDoc source: ... > this is what asciidoc generates naturally: ... > but this is what we need it to generate: ...
Thats a good idea :) Example input: [quote] ____ para 1 para 2 ____ normally asciidoc would generate: <draw etc if needed, this doesn't matter for the current discussion> <text:p>para 1</text:p> <text:p>para 2</text:p> </draw> expecting the inner paras to inherit their style from somewhere else eg, the HTML is <div class="quoteblock"> <div class="content"> <div class="paragraph"><p>para 1</p></div> <div class="paragraph"><p>para 2</p></div> </div> etc and the inner paras inherit from the quoteblock classed div for ODF the output for the two paras would need to be: <draw etc again, this doesn't matter for the current discussion> <text:p text:style-name="quoteblock">para 1</text:p> <text:p text-style-name="quoteblock">para 2</text:p> </draw> Note the encapsulated markup of para 1 and para 2 have both been given a style based on the fact that they are in an example, not manually in the input. In ODF those nested paras will NOT inherit styles from anything outside themselves, they have to be explicitly styled. Your last example applied the note: manually in the input, thats why it worked. Sidebars seem to work because they don't try to change the default style of the nested paras, but as I said last time, if you wanted to, you couldn't change it except manually as you did with the note. At the moment odt.conf doesn't do anything legal or useful for this case because we don't know how to do it. Cheers Lex > > > Cheers, Stuart > >> >> Cheers >> Lex >> >> PS Dag is also worried about outlawing some nesting, but I don't see >> that as a problem. >> > j>> >>> >>> Cheers, Stuart >>> >>> -- >>> 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. >>> >>> >> > > -- > 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. > > -- 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.
