On 10 December 2013 04:08, Bill Turner <[email protected]> wrote:
> I am trying to start a section (part). I have tried several variations of > the following. Note that if I leave the quote block out, it is generates > fine. So, it looks like DocBook 4.5 does not support blockquotes within > partintro. So, how do I achieve my goal? > > Here is the AsciiDoc: > > Part 1: Fundamental Grooviness > > ============================== > > [partintro] > > [quote, Ken Kesey] > There's something about taking a plow and breaking new ground. It gives > you energy. > > -- > Some other text > -- > > Xmllint shows the following failure: > > :validate./build/work/GroovifyingJava.xml:1719: element part: validity > error : Element part content does not follow the DTD, expecting (beginpage? > , partinfo? , (title , subtitle? , titleabbrev?) , partintro? , (appendix | > chapter | toc | lot | index | glossary | bibliography | article | preface | > refentry | reference)+), got (title blockquote simpara chapter chapter > chapter chapter chapter chapter chapter chapter chapter chapter chapter > chapter chapter chapter chapter chapter chapter chapter chapter chapter > chapter chapter chapter chapter chapter chapter chapter chapter chapter > chapter chapter chapter chapter chapter chapter chapter ) > </part> > ^ > FAILED > > FAILURE: Build failed with an exception. > It appears the partintro has not applied to any content. See User Guide 16.10 for how to apply it to an open block so you can group the quote and paragraph as content of the partintro. Cheers Lex > > The generated xml looks like: > > <blockquote> > <attribution> > Ken Kesey > </attribution> > <simpara>There’s something about taking a plow and breaking new > ground. It gives you energy.</simpara> > </blockquote> > <simpara>Some other text</simpara> > > > > > > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
