From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88743 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: \definedescription question Date: Mon, 22 Sep 2014 22:33:52 +0200 Message-ID: <039B068D-622F-4587-A1E7-6704C44680F4@rna.nl> 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="===============0894158962==" X-Trace: ger.gmane.org 1411418066 25451 80.91.229.3 (22 Sep 2014 20:34:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2014 20:34:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 22 22:34:21 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 1XWAJP-0001F3-W5 for gctc-ntg-context-518@m.gmane.org; Mon, 22 Sep 2014 22:34:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4ED8910225 for ; Mon, 22 Sep 2014 22:34:19 +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 G0o+oou7WQUX for ; Mon, 22 Sep 2014 22:34:19 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 11E2D10226 for ; Mon, 22 Sep 2014 22:34:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9F0D101E7 for ; Mon, 22 Sep 2014 22:34:05 +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 OGweD03hOwQc for ; Mon, 22 Sep 2014 22:34:00 +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 11DC7101E1 for ; Mon, 22 Sep 2014 22:33:59 +0200 (CEST) Original-Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s8MKXxfb018339 for ; Mon, 22 Sep 2014 22:33:59 +0200 Original-Received: from [212.54.42.135] (helo=smtp4.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.76) (envelope-from ) id 1XWAJ4-00016n-VU for ntg-context@ntg.nl; Mon, 22 Sep 2014 22:33:58 +0200 Original-Received: from d57d7632.static.ziggozakelijk.nl ([213.125.118.50] helo=mail.rna.nl) by smtp4.tb.mail.iss.as9143.net with esmtp (Exim 4.76) (envelope-from ) id 1XWAJ4-0003Rr-ER for ntg-context@ntg.nl; Mon, 22 Sep 2014 22:33:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id 323AE121B7E7 for ; Mon, 22 Sep 2014 22:33:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from mail.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6HhtXEF1BM25 for ; Mon, 22 Sep 2014 22:33:55 +0200 (CEST) Original-Received: from luna-wifi.rna.nl (luna-wifi.rna.nl [192.168.2.89]) by mail.rna.nl (Postfix) with ESMTPSA id 7CF42121B7CD for ; Mon, 22 Sep 2014 22:33:55 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-Ziggo-spambar: -- X-Ziggo-spamscore: -2.9 X-Ziggo-spamreport: ALL_TRUSTED=-1, BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Ziggo-Spam-Status: No X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.54.42.164; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06MSkxXvf - d07256e77267 - 20140922 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:88743 Archived-At: --===============0894158962== Content-Type: multipart/alternative; boundary="Apple-Mail=_780F6EF6-61F0-4DB6-AD56-AAC46421A5A9" --Apple-Mail=_780F6EF6-61F0-4DB6-AD56-AAC46421A5A9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Thanks. Can I do the same with \endnotes? G On 21 Sep 2014, at 21:33, Wolfgang Schuster = wrote: >=20 > Am 21.09.2014 um 20:32 schrieb Gerben Wierda : >=20 >> 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. >=20 > You can enable the paragraph indent for your descriptions with the = indenting key. >=20 > \definedescription > [Member] > [headstyle=3Dbold, > location=3Dhanging, > indenting=3D{yes,medium}, > width=3Dfit] >=20 > Wolfgang >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_780F6EF6-61F0-4DB6-AD56-AAC46421A5A9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Thanks. Can I do the same with = \endnotes?

G

On 21 = Sep 2014, at 21:33, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:


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

= __________________________________________________________________________= _________
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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail=_780F6EF6-61F0-4DB6-AD56-AAC46421A5A9-- --===============0894158962== 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 ___________________________________________________________________________________ --===============0894158962==--