From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57607 Path: news.gmane.org!not-for-mail From: Torsten Suhling Newsgroups: gmane.comp.tex.context Subject: Re: Hanging indent in startstoplines for poems Date: Tue, 30 Mar 2010 23:34:38 +0200 Message-ID: <4BB26E6E.8090400@web.de> References: <4BB0C760.5080305@web.de> <4BB0CCF5.3080703@googlemail.com> <4BB0DA79.50509@wxs.nl> <4BB0FE78.1000506@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 1269984887 9508 80.91.229.12 (30 Mar 2010 21:34:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 21:34:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 30 23:34:43 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 1Nwj58-0001eD-Ov for gctc-ntg-context-518@m.gmane.org; Tue, 30 Mar 2010 23:34:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E01A1C9DD0; Tue, 30 Mar 2010 23:34:41 +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 rEESCxm+x40C; Tue, 30 Mar 2010 23:34:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D9304C9DB4; Tue, 30 Mar 2010 23:34:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D2999C9DB4 for ; Tue, 30 Mar 2010 23:34:35 +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 NUBrEX11piHI for ; Tue, 30 Mar 2010 23:34:33 +0200 (CEST) Original-Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by balder.ntg.nl (Postfix) with ESMTP id 67554C9DB3 for ; Tue, 30 Mar 2010 23:34:33 +0200 (CEST) Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id 060251531B2D4 for ; Tue, 30 Mar 2010 23:34:33 +0200 (CEST) Original-Received: from [77.181.228.182] (helo=[192.168.1.29]) by smtp06.web.de with asmtp (WEB.DE 4.110 #4) id 1Nwj4y-0004wc-00 for ntg-context@ntg.nl; Tue, 30 Mar 2010 23:34:32 +0200 User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) In-Reply-To: <4BB0FE78.1000506@googlemail.com> X-Sender: tsuhling@web.de X-Provags-ID: V01U2FsdGVkX18Kz9Kw/Rh87dmHEYKV8V+dKpGev1PydKX0sA2I LD30+gNvJM29jV0aDFXewmuX1ALx1Ugsfqa113abDkGPVRLQWh WD75E5qj0= 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:57607 Archived-At: Hello, thanks for the help, attached snippet seems to work. So I guess my question basicly was caused by misunderstandings in using define/setup commands. Is there a document describing the grammar of context---how to use or to combine \setupsomething, \definesomething ttartstosomethig or \setupanything{something=[]}? > Wolfgang Schuster wrote: > > % style={\setupalign[flushleft,nothyphenated]}, > style={\raggedright\nohyphens}, Sorry for stupid question, but is there a difference between \nohyphens and \nothyphenated ? Thanks Torsten %<----- snip -------------------------------------------------- \setupoutput[dvi] \setupwhitespace[1.2em] \definestartstop[verse] [command={% \setupwhitespace[1.2em]% },style={% \raggedright\nohyphens% },before={% \setuplines[indenting={yes,-2em,first}]% \setupnarrower[left=2em]% \startnarrower[left]% blockindent only left \startlines% },after={% \stoplines% \stopnarrower% \setuplines[indenting={no}]% must be reseted \endgraf% }] \starttext Three lines, first should be broken: \startverse FIRST---this should be one line, please remove linebreaks, made by the mail programms, until HERE. SECOND---next line without carriage return or line feed, THIRD---startstoplines accept linebreaks, so this is a new line. FOURTH---fourth line also do not make much words. \stopverse \stoptext %<----- snip -------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________