On 29/09/10 02:07, Tomek Kaczanowski wrote:
Hello,

I can't figure out how to add a quotation (http://www.methods.co.nz/
asciidoc/userguide.html#_quote_blocks) for part of a book. In docbook
that would go into partintro element (http://www.docbook.org/tdg/en/
html/partintro.html)

How to achieve this effect with Asciidoc?

Put this in a conf file to create a partintro Openblock style:

[blockdef-open]
posattrs=style
partintro-style=template="partintroblock"

[partintroblock]
<partintro>
|
</partintro>


Then you can use this in your book:

The First Part of the Book
==========================

[partintro]
--
[quote, Bertrand Russell, The World of Mathematics (1956)]
____________________________________________________________________
A good notation has subtlety and suggestiveness which at times makes
it almost seem like a live teacher.
____________________________________________________________________

Plus any other intro stuff...
--

The First Chapter
-----------------
Lorum ipsum...


I'll add the partintro Openblock style to the AsciiDoc distribution.


Cheers, Stuart


--
Cheers,
Tomek Kaczanowski
http://kaczanowscy.pl/tomek


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