From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11140 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re[2]: Re: Indenting in description Date: Thu, 27 Feb 2003 19:00:44 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030227185855.024314d8@server-1> References: <20030227094642.115ba238.md9per@mdstud.chalmers.se> <20030226195520.20b09278.md9per@mdstud.chalmers.se> <20030227094642.115ba238.md9per@mdstud.chalmers.se> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1046369038 1107 80.91.224.249 (27 Feb 2003 18:03:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2003 18:03:58 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18oSMC-000073-00 for ; Thu, 27 Feb 2003 19:02:08 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id CFE2B10B18; Thu, 27 Feb 2003 19:02:24 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 96FD610ABB for ; Thu, 27 Feb 2003 19:00:49 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h1RI0fOZ028094 for ; Thu, 27 Feb 2003 19:00:41 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.3/8.12.2) with ESMTP id h1RI0kt5003482 for ; Thu, 27 Feb 2003 19:00:46 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <1112018712.20030227101037@iol.it> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11140 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11140 At 10:10 AM 2/27/2003 +0100, Giuseppe Bilotta wrote: >No, I think we should lobby Hans so that he adds an option to >indent subsequent paragraphs of (all) description-like >environments. It's a *very* important feature. at the cost of a few bytes .... .... you'd better test it first in all possible description locations (only when it is ok i will add it; it then also has to go in enumerations) % interface=en \unprotect \steldoordefinierenin [\c!plaats=\v!links, \c!kopletter=\v!vet, \c!letter=\v!normaal, \c!kleur=, \c!kopkleur=, \c!breedte=8em, \c!afstand=0pt, \c!hang=, \c!monster=, \c!uitlijnen=, \c!marge=\v!nee, \c!voor=\blanko, \c!tussen=\blanko, \c!na=\blanko, \c!springvolgendein=\v!ja, \c!inspringen=\v!nooit, \c!commando=] \def\dodoordefinieren[#1][#2]% {\copyparameters[\??dd#1][\??dd] [\c!plaats,\c!kopletter,\c!letter,\c!kleur,\c!kopkleur, \c!breedte,\c!hang,\c!monster,\c!voor,\c!tussen,\c!na,\c!marge, \c!inspringen, \c!springvolgendein,\c!uitlijnen,\c!tekst,\c!afstand,\c!commando]% \getparameters[\??dd#1] [\s!do\c!status=\v!stop, \s!do\c!commando=\normal@@definitiewoord, #2]% \doifvalue{\??dd#1\c!plaats}\v!boven {\doassign[\??dd#1][\c!tussen={\blanko}]}% \setvalue{#1}% {\dodoubleempty\@@definitie[#1]}% \setvalue{\e!start#1}% {\dodoubleempty\@@startdefinitie[#1]}% \setvalue{\e!stop#1}% {\@@stopdefinitie{#1}}}% \def\@@dostartdefinitie#1[#2]#3% {\getvalue{\??dd#1\c!voor}% \begingroup \doadaptleftskip{\getvalue{\??dd#1\c!marge}}% \showcomposition \setbox\@@definitiebox\hbox {\forgetall \mindermeldingen \def\\{\crcr}% \doifelsevalue{\??dd#1\c!plaats}\v!aanelkaar {\@@definitiewoord{#1}[#2]{#3}{#3}} {\@@definitiewoord{#1}[#2]{#3}{\vbox{\halign{\strut##\hss\cr#3\crcr}}}}}% \!!widthb\getvalue{\??dd#1\c!afstand}\relax \ifdim\!!widthb=\zeropoint\relax \doifvalue{\??dd#1\c!breedte}\v!ruim{\!!widthb=1em}% \fi \assignwidth {\!!widtha} {\getvalue{\??dd#1\c!breedte}} {\doifelsevaluenothing{\??dd#1\c!monster} {\unhcopy\@@definitiebox} {\doattributes {\??dd#1}\c!kopletter\c!kopkleur {\getvalue{\??dd#1\c!tekst}\getvalue{\??dd#1\c!monster}}}} {\!!widthb}% % \parindent\zeropoint\relax \doifelsevalue{\??dd#1\c!titeluitlijnen}\v!nee {\edef\@@leftdefinitieskip {\the\leftskip }% \edef\@@rightdefinitieskip{\the\rightskip}} {\ifcase\insidedefinition \edef\@@leftdefinitieskip {\the\leftskip }% \edef\@@rightdefinitieskip{\the\rightskip}% \fi}% \expanded{\inspringen[\getvalue{\??dd#1\c!inspringen}]}% \ifcase\insidedefinition \chardef\insidedefinition1 \or \chardef\insidedefinition2 \fi} % now happens elsewhere : \noindent\ignorespaces \protect \starttext \setupindenting[medium] \indenting[yes] \definedescription[testdesc][% width=broad, location=serried, headstyle=bold, way=bychapter, indenting={yes,next}, text={Testdescription: }] \starttestdesc{A nonlucky one} This is just a test paragraph. I want to se if the next paragraph is indented or not. So, sooner or later we will know. Is this indented? No, but I want it to be. \stoptestdesc \stoptext ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------