From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44317 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Descriptions ... I wish I understood them Date: Thu, 25 Sep 2008 21:37:09 +0200 Message-ID: <1EE6F778-214B-4AD4-BA94-D10AABDBEBA6@gmail.com> References: <6faad9f00809241145x27453f17uc2d87461c3ae2c4b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222373388 16562 80.91.229.12 (25 Sep 2008 20:09:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 20:09:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 25 22:10:45 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KixAg-0001M3-9t for gctc-ntg-context-518@m.gmane.org; Thu, 25 Sep 2008 22:10:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A4D81FE0C; Thu, 25 Sep 2008 22:09:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11945-02-5; Thu, 25 Sep 2008 22:08:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E01CE1FD08; Thu, 25 Sep 2008 22:08:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DCD421FD08 for ; Thu, 25 Sep 2008 22:08:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11795-05-2 for ; Thu, 25 Sep 2008 22:07:44 +0200 (CEST) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by ronja.ntg.nl (Postfix) with ESMTP id 4401A1FE1D for ; Thu, 25 Sep 2008 21:37:11 +0200 (CEST) Original-Received: by fk-out-0910.google.com with SMTP id 18so579209fks.2 for ; Thu, 25 Sep 2008 12:37:11 -0700 (PDT) Original-Received: by 10.181.2.10 with SMTP id e10mr200651bki.107.1222371431476; Thu, 25 Sep 2008 12:37:11 -0700 (PDT) Original-Received: from ?192.168.2.23? ( [91.41.92.59]) by mx.google.com with ESMTPS id b17sm1531856fka.7.2008.09.25.12.37.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Sep 2008 12:37:10 -0700 (PDT) In-Reply-To: <6faad9f00809241145x27453f17uc2d87461c3ae2c4b@mail.gmail.com> X-Mailer: Apple Mail (2.926) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44317 Archived-At: Am 24.09.2008 um 20:45 schrieb Mojca Miklavec: > Hello, > > I have some weird problems with descriptions, but let's start at the > beginning. (I have more problems with understanding how they work, but > more about the rest later.) > > 1.) How do I get some space between "title" and "abc"? (I currently > put the space there manually.) If I set distance=1em, weird things > start happening. width=broad See my second example (thanks to your example I was able to solve the first). http://archive.contextgarden.net/message/20080130.152108.77e74a14.en.html > 2.) What exactly does "hang=1" do? I have no idea what it does there, > but that was the only way to get the desired result, else everything > gets indented. width=fit makes problems. With width=5cm everything is > OK. http://www.ruhr-uni-bochum.de/www-rz/schwanbs/TeX/ -> page 39 > \definedescription > [ma] > [headstyle=bold, > style=italic, > align=left, > location=left, > width=fit, > distance=0pt, > margin=0pt, > hang=1, > indenting=never, > ] \definedescription [pa] [headstyle=bold, style=italic, location=left, width=broad, hang=1] > \starttext > > \input tufte > > \startma{title} abc. \input tufte > \stopma \pa{title} abc. \input tufte\par > \input tufte > > \stoptext Regards, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________