From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68214 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: header for indented text / blockquote Date: Fri, 6 May 2011 12:10:09 +0200 Message-ID: References: <4EDBAA76-3C08-4F04-A1FD-C2825313B754@hccnet.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1304676628 13041 80.91.229.12 (6 May 2011 10:10:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 May 2011 10:10:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 06 12:10:23 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QIHzK-00049j-UC for gctc-ntg-context-518@m.gmane.org; Fri, 06 May 2011 12:10:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA072CACA5; Fri, 6 May 2011 12:10:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1Xe7EQosvcBr; Fri, 6 May 2011 12:10:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 65C74CACA0; Fri, 6 May 2011 12:10:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 25848CACA0 for ; Fri, 6 May 2011 12:10:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id w+Uz2FvBmU6p for ; Fri, 6 May 2011 12:10:15 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 36B6ECAC9E for ; Fri, 6 May 2011 12:10:15 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p46AAEKW032163 for ; Fri, 6 May 2011 12:10:14 +0200 Original-Received: by fxm18 with SMTP id 18so3099745fxm.14 for ; Fri, 06 May 2011 03:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=PUJEgFsodvnPyu5RJm1byH29lDqoBmos6MjQua94NXs=; b=TOueTlNuFUv7nj0+yTHa3x34dgg2KYFr1nfzikFUYqb+X3x6OAYK/ey5yGDj4hPodO rBtV9q1SaG6n4Dn6d7NGhsXdN57AMJZus83yZwlcWWT1gGTQYDzJgjMXjO1hV+wMwtqJ LCM/f8o9s0oQ/6tEnvrCvbDCQlbqTkzhIwt6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=WR5Rq4nP6xZlOtUdAJ4FtwuOJmsGv2gwo7rOFkEOhSqfcHxSOs72NFTFY2SSj8JpDU MYjJpwZW9u6tL71bb0+ohpEUBxIcrhu7FYodw8nGwUVc7tAPACTWdTQ4XhWijHIL1Kre zFciT3XDLg9Ia5kh5uKP74l+S/h1VpBWeKoGA= Original-Received: by 10.223.6.198 with SMTP id a6mr867805faa.128.1304676613915; Fri, 06 May 2011 03:10:13 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B293D06.dip.t-dialin.net [91.41.61.6]) by mx.google.com with ESMTPS id e17sm1037566fak.0.2011.05.06.03.10.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 May 2011 03:10:13 -0700 (PDT) In-Reply-To: <4EDBAA76-3C08-4F04-A1FD-C2825313B754@hccnet.nl> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04EEaaeDS - 84bb3aa6f83c - 20110506 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68214 Archived-At: 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
which I map to startnarrower and stopnarrower. > > Some blockquotes in my document have a header: > >
> How a cow catches a rabbit > Text Text >
> > 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________