From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88740 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \definedescription question Date: Sun, 21 Sep 2014 21:33:08 +0200 Message-ID: References: <2BA97135-6482-41BF-9314-25E5EF95B9B0@rna.nl> <77A83553-2CCB-48FD-B26D-20B4FE53373C@rna.nl> <88298D75-342C-422F-8A39-A058E38F9EB5@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============0696807374==" X-Trace: ger.gmane.org 1411328019 13489 80.91.229.3 (21 Sep 2014 19:33:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Sep 2014 19:33:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 21 21:33:31 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XVmt0-0000dZ-Uj for gctc-ntg-context-518@m.gmane.org; Sun, 21 Sep 2014 21:33:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4542810221 for ; Sun, 21 Sep 2014 21:33:30 +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 aIBxKSG94KqG for ; Sun, 21 Sep 2014 21:33:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1F7E510224 for ; Sun, 21 Sep 2014 21:33:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0B670101E6 for ; Sun, 21 Sep 2014 21:33: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 Dk140aFjdxAz for ; Sun, 21 Sep 2014 21:33:12 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id E1DCB101E1 for ; Sun, 21 Sep 2014 21:33:12 +0200 (CEST) Original-Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s8LJXCFi026262 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 21 Sep 2014 21:33:12 +0200 Original-Received: by mail-wi0-f177.google.com with SMTP id q5so1847953wiv.10 for ; Sun, 21 Sep 2014 12:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=xnSn4c2ITkx6MTXcljqVg5+N7mVYVwKSWZ4Szkg+te8=; b=XmVlKp9RbACkfpSc0I3J9O7Kn8DfTNJA4zOypG+jJH+fPgkNYYAzmgAgZzkX5dQKii H8qmQqVoX+BECYbsZ4mRzhf8KaCgDVmf8yArI3m4vwvBg98YOeIqLIdZ7lgrrsc0RIte F+a8oyq2GHL3XNKYt6Obz+HoVvK9IOnLq3bbuN27dwozH3L5LDxEi9oFwxnpWLliIJOK 5YjlDlFG8W2z59W7gM7RhYRJ7FyuB6wYBBfaVw0nMW3vsSR9ttgmKomz2tu7kYvf7d+T mJD3DIN1zpeqnZJ8L3Urvg9rR79URqJkPBAkOcs3Jo6s1jOetA4RhZ5WxCGvLp6n475J WPxw== X-Received: by 10.194.78.101 with SMTP id a5mr274199wjx.118.1411327991924; Sun, 21 Sep 2014 12:33:11 -0700 (PDT) Original-Received: from keima.localdomain (x2f259a6.dyn.telefonica.de. [2.242.89.166]) by mx.google.com with ESMTPSA id ua8sm9882116wjc.7.2014.09.21.12.33.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Sep 2014 12:33:11 -0700 (PDT) In-Reply-To: <88298D75-342C-422F-8A39-A058E38F9EB5@rna.nl> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::231; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01MRTxcwT - 5c5bdb4808d4 - 20140921 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88740 Archived-At: --===============0696807374== Content-Type: multipart/alternative; boundary="Apple-Mail=_69B4282E-1319-4A5F-A025-F0E0BE421B96" --Apple-Mail=_69B4282E-1319-4A5F-A025-F0E0BE421B96 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 21.09.2014 um 20:32 schrieb Gerben Wierda : > Better still. I found the solution: >=20 > \definedescription[Member][headstyle=3Dbold, > location=3Dhanging,width=3Dfit] > \definemeasure[CAindent][12pt] > \setupindenting[yes,\measure{CAindent}] > \starttext > \input knuth > \par > \input knuth > \par > \startMember{Foo Foo Foo} \indenting[yes] \input knuth > \par \input knuth > \stopMember > \stoptext >=20 > \indenting[yes] after \startMember does the trick. You can enable the paragraph indent for your descriptions with the = indenting key. \definedescription [Member] [headstyle=3Dbold, location=3Dhanging, indenting=3D{yes,medium}, width=3Dfit] Wolfgang --Apple-Mail=_69B4282E-1319-4A5F-A025-F0E0BE421B96 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Am 21.09.2014 um 20:32 schrieb Gerben = Wierda <gerben.wierda@rna.nl>:
Better still. I found the = solution:

\definedescription[Member][headstyle=3Dbold,
  =       location=3Dhanging,width=3Dfit]
\definemeasure[CAindent][12pt]
\setupindenting[yes,\measure{CAindent}]
\starttext
\input knuth
\par
\input knuth
\par
\startMember{Foo Foo Foo} \indenting[yes] \input = knuth
\par \input knuth
\stopMember
\stoptext

\indenting[yes] after = \startMember does the = trick.

You can enable = the paragraph indent for your descriptions with the indenting = key.

\definedescription
  = [Member]
  [headstyle=3Dbold,
  =  location=3Dhanging,
  =  indenting=3D{yes,medium},
  =  width=3Dfit]

Wolfgang

= --Apple-Mail=_69B4282E-1319-4A5F-A025-F0E0BE421B96-- --===============0696807374== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0696807374==--