From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57572 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Hanging indent in startstoplines for poems Date: Mon, 29 Mar 2010 18:51:05 +0200 Message-ID: <4BB0DA79.50509@wxs.nl> References: <4BB0C760.5080305@web.de> <4BB0CCF5.3080703@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269881479 5335 80.91.229.12 (29 Mar 2010 16:51:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Mar 2010 16:51:19 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 29 18:51:15 2010 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 1NwIBE-0000Ba-VM for gctc-ntg-context-518@m.gmane.org; Mon, 29 Mar 2010 18:51:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75ED2C9D5A; Mon, 29 Mar 2010 18:51:12 +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 r9GLcFoDhP9T; Mon, 29 Mar 2010 18:51:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFF09C9BC2; Mon, 29 Mar 2010 18:51:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AB95EC9BC2 for ; Mon, 29 Mar 2010 18:51:07 +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 54iKCaJHfPlv for ; Mon, 29 Mar 2010 18:51:05 +0200 (CEST) Original-Received: from mail.solcon.nl (unknown [217.121.8.199]) by balder.ntg.nl (Postfix) with ESMTP id A596CC9BA5 for ; Mon, 29 Mar 2010 18:51:05 +0200 (CEST) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2d2) with ESMTP id 7454-1713362 for multiple; Mon, 29 Mar 2010 18:50:01 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 In-Reply-To: <4BB0CCF5.3080703@googlemail.com> X-Authenticated-User: hagen@controller-9 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:57572 Archived-At: On 29-3-2010 17:53, Wolfgang Schuster wrote: > Am 29.03.10 17:29, schrieb Torsten Suhling: >> >> Hello, >> >> I have a question regarding hanging indentation in >> startstoplines-environment. >> >> So I try to use ConTeXt to typeset poems. In some texts/poems >> ar long lines, which have to be broken. They should be broken >> into hanging indentations. >> >> Any idea how to do that? > \definelines > [verse] > [indenting={yes,-2em,first}, > before={\startnarrower[2em]}, > after=\stopnarrower, > % style={\setupalign[flushleft,nothyphenated]}, > style={\raggedright\nohyphens}, > ] > > @Hans, can you change \setupalign to > > \unexpanded\def\setupalign > {\dosingleargument\dosetupalign} > > else it can't be used in the style key. sure, but i'd expected you to implement a proper align=... then -) i made a few more in that module unexpanded i'll upload a beta in a couple of minutes so you were just in time Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________