Am 06.05.2011 um 12:00 schrieb R. Ermers:
Dear All,
In my docbook xml document I have fragments that I want to typeset indented. For this I use the tag <blockquote> which I map to startnarrower and stopnarrower.
Some blockquotes in my document have a header:
<blockquote> <title>How a cow catches a rabbit</title> <para>Text Text</para> </blockquote>
I was wondering if the header could be setup just like sections and section headers in the following way:
\startnarrower[title={title}, reference=reference] .... \stopnarrower
Perhaps I need to create a new environment (blockquote) with these qualities?
The title and the reference to the section (and subsections) can now easily be matched to lpath variables (much easier than when \section in fact refers to the section title).
Another question related to this is how to can typeset the text of the blockquote in two columns, while its header is typeset over the full page.
\usemodule[annotation] \define[2]\QuotationCommand {\startnarrower #1\blank \startcolumns#2\stopcolumns \stopnarrower} \defineannotation [myquotation] [alternative=command, left=, right=, command=\QuotationCommand] \starttext \input knuth \startmyquotation{How a cow catches a rabbit} \input knuth \stopmyquotation \input knuth \stoptext Wolfgang