From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71038 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.comp.tex.context Subject: Re: A description question Date: Tue, 06 Sep 2011 09:31:48 +0200 Message-ID: <1315294308.1655.9.camel@marcin-laptop> References: <1315290718.1655.7.camel@marcin-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1315294333 8198 80.91.229.12 (6 Sep 2011 07:32:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2011 07:32:13 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 06 09:32:08 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 1R0q8e-0001dd-BM for gctc-ntg-context-518@m.gmane.org; Tue, 06 Sep 2011 09:32:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68C27CAF5D; Tue, 6 Sep 2011 09:32: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 6XAsdmJ0nDxy; Tue, 6 Sep 2011 09:32:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9928DCAF57; Tue, 6 Sep 2011 09:32:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 370AFCAF57 for ; Tue, 6 Sep 2011 09:32:02 +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 m-IXKnYMt9A0 for ; Tue, 6 Sep 2011 09:31:50 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 8FC6BCAB80 for ; Tue, 6 Sep 2011 09:31:50 +0200 (CEST) Original-Received: from msg.wmi.amu.edu.pl (msg.wmi.amu.edu.pl [150.254.78.50]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p867Vn5t015557 for ; Tue, 6 Sep 2011 09:31:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 85B4442066 for ; Tue, 6 Sep 2011 09:31:49 +0200 (CEST) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8mA8CdIVm4cQ for ; Tue, 6 Sep 2011 09:31:49 +0200 (CEST) Original-Received: from [150.254.68.35] (c68-35.wmi.amu.edu.pl [150.254.68.35]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 4D55642062 for ; Tue, 6 Sep 2011 09:31:49 +0200 (CEST) In-Reply-To: X-Mailer: Evolution 2.32.2 X-Bayes-Prob: 0.9999 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=150.254.78.50; country=PL; region=73; city=Dobrzejewice; latitude=53.0000; longitude=18.8333; http://maps.google.com/maps?q=53.0000,18.8333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eFtjvNK5 - b1ec6503ecc0 - 20110906 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:71038 Archived-At: Dnia 2011-09-06, wto o godzinie 02:45 -0400, Aditya Mahajan pisze: > On Tue, 6 Sep 2011, Marcin Borkowski wrote: > > > Hi all! > > > > I have something like this: > > > > \definedescription[definition][ > > text=Definition, > > location=hanging, > > width=fit, > > align=flushleft, > > headstyle=bold, > > style=normal, > > ] > > > > \startdefinition{whatever} > > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent arcu > > nisl, interdum nec dignissim sit amet, blandit eu purus. Nulla > > facilisi. Vivamus quis metus mauris. Sed laoreet vulputate rhoncus. > > Suspendisse quis metus nibh, sed ultricies orci. Ut dolor diam, > > convallis vitae mollis a, ultricies vel mi. Integer leo nisl, > > scelerisque vitae gravida bibendum, mollis quis mauris. Maecenas augue > > risus, suscipit id sodales sit amet, sagittis non augue. Praesent > > tellus lorem, vulputate sed porta ut, eleifend ac leo. In et odio > > libero, eget vulputate risus. > > \stopdefinition > > > > And I get something like this (stars mean bold): > > *Definitionwhatever* Lorem ipsum dolor sit amet, consectetur adipiscing > > elit. Praesent arcu nisl, interdum nec dignissim sit amet, blandit eu > > purus. Nulla facilisi. Vivamus quis metus mauris. Sed laoreet > > vulputate rhoncus. Suspendisse quis metus nibh, sed ultricies orci. Ut > > dolor diam, convallis vitae mollis a, ultricies vel mi. Integer leo > > nisl, scelerisque vitae gravida bibendum, mollis quis mauris. Maecenas > > augue risus, suscipit id sodales sit amet, sagittis non augue. > > Praesent tellus lorem, vulputate sed porta ut, eleifend ac leo. In et > > odio libero, eget vulputate risus. > > > > And what I want is: > > > > *Definition* (whatever). Lorem ipsum dolor sit amet, consectetur > > adipiscing elit. Praesent arcu nisl, interdum nec dignissim sit amet, > > blandit eu purus. Nulla facilisi. Vivamus quis metus etc... > > > > That is, I'd like to have the following: > > - no indentation of the second and subsequent lines; > > - whatever should be prefixed with a space and an opening brace and > > suffixed with a closing brace and a period; > > - whatever should not be bold. > > > > Is it possible to accomplish this automatically? > > Untested. Try > > titleleft=(, titleright=), titlestyle=normal, distance=0.5em, > location=serried, Thanks! It almost works - location=serried made the indentation disappear, but the rest of the problems is still unsolved. -- Marcin Borkowski http://mbork.pl ___________________________________________________________________________________ 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 ___________________________________________________________________________________