Dear Lex,

Thanks for writing.

The reason I want my <abstract> to appear in the <articleinfo> is because,
when as such, the DocBook XSL stylesheets will render the abstract
*above*the table of contents in the resultant HTML.

(Through research I've come to realize that DocBook 4.5 allows <abstract>
to have many parent elements.)

After posting my original message I continued iterating among the AsciiDOC
user guide and the docbook45.conf file -- something finally ``clicked''
inside my head and I realized the proper use of the `docinfo' facility. So,
what I've done is place my book's abstract into the -docinfo.xml file,
which (post-XSLT) is rendered above the TOC as originally desired.

Thanks for looking over my post. I was over-complicating things. But I've
learned a couple things about AsciiDoc and DocBook, so it was worth it.

What a great tool AsciiDoc is.

Respectfully,

Jason

On Wed, Feb 29, 2012 at 2:15 AM, Lex Trotman <[email protected]> wrote:

> On 29 February 2012 14:09, Jason Massey <[email protected]> wrote:
> > Hey gang,
> >
> > New to AsciiDoc -- in love with it.
> >
> > Is there a way via a user configuration file to have the abstract
> > appear in the <articleinfo>?
> >
> > In my asciidoc file, the very first block I have after the header is
> >
> > [abstract]
> > --
> > blah blah blah
> > --
> >
>
> Hi Jason,
>
> The abstract block is not part of the header, so the header processing
> including the article info is finished before asciidoc encounters your
> abstract block.
>
> So the standard asciidoc abstract processing generates the abstract
> element at the top level of the article element, not in articleinfo.
>
> Is there a reason you want it in the articleinfo instead?
>
> Cheers
> Lex
>
> --
> 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.
>
>


-- 
*Please update your address books:* set my email address to *
[email protected]* as I will be migrating away from all other accounts.

-- 
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.

Reply via email to