From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/370 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Bug in \defineenumeration Date: Thu, 01 Apr 1999 17:41:46 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <370393BA.325EBB36@wxs.nl> References: <000901be7c43$0ca44da0$0c01a8c1@worf.login-bv.com> <14083.39512.709590.260550@localhost> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------54884D1CB283DC40146573BF" X-Trace: main.gmane.org 1035391235 23546 80.91.224.250 (23 Oct 2002 16:40:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:40:35 +0000 (UTC) Original-To: Taco Hoekwater Xref: main.gmane.org gmane.comp.tex.context:370 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:370 This is a multi-part message in MIME format. --------------54884D1CB283DC40146573BF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Taco Hoekwater wrote: > At least my version of context exhibits a rather nasty bug in Big chance that we have the same version! > Try this little document (sorry, nl version): > > \doornummeren[rommel][kopletter=kap] > \starttekst > > \startrommel [-] > Wat tekst > \stoprommel > > How can I fix this? Can you try the attached cont-new.tex? I didn't check out the other options, but it looks like a double attributes handling takes place. The attached version removes the outer attribute handler. These macros need a bit cleaning up, I admit. Can you check if things still work ok? (There is a \def\kap##1{##1} still somewhere; has to do with complicated interactive stuff; can probably be removed.) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl ----------------------------------------------------------------- --------------54884D1CB283DC40146573BF Content-Type: application/x-tex; name="cont-new.tex" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="cont-new.tex" %D \module %D [ file=3Dcont-new, %D version=3D1995.10.10, %D title=3D\CONTEXT\ Miscellaneous Macros, %D subtitle=3DNew Macros, %D author=3DHans Hagen, %D date=3D\currentdate, %D copyright=3D{PRAGMA / Hans Hagen \& Ton Otten}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See licen-en.pdf for = %C details. = %D This file is loaded at runtime, thereby providing an = %D excelent place for hacks and new features. \unprotect % \writestatus{\m!systems}{BEWARE: SOMETHING NEW INSERTED!} % \readfile{syst-eet}{}{} % temporary here = \def\@@dostartdefinitie#1[#2]#3% {\getvalue{\??dd#1\c!voor}% \begingroup \doadaptleftskip{\getvalue{\??dd#1\c!marge}}% \showcomposition \setbox\@@definitiebox=3D\hbox {\forgetall \mindermeldingen \def\\{\crcr}% % \doattributes % {\??dd#1}\c!kopletter\c!kopkleur % {\doifelsevalue{\??dd#1\c!plaats}{\v!aanelkaar} % {\@@definitiewoord{#1}[#2]{#3}{#3}} % {\@@definitiewoord{#1}[#2]{#3}{\vbox{\halign{\strut##\hss\cr#= 3\crcr}}}}}}% \doifelsevalue{\??dd#1\c!plaats}{\v!aanelkaar} {\@@definitiewoord{#1}[#2]{#3}{#3}} {\@@definitiewoord{#1}[#2]{#3}{\vbox{\halign{\strut##\hss\cr#3\cr= cr}}}}}% \!!widthb=3D\getvalue{\??dd#1\c!afstand}\relax \ifdim\!!widthb=3D\!!zeropoint\relax \doifvalue{\??dd#1\c!breedte}{\v!ruim}{\!!widthb=3D1em}% \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}% %\getvalue{\??dd#1\s!do\c!lokaal}% \parindent=3D\!!zeropoint\relax \noindent \ignorespaces} \protect \endinput =1A --------------54884D1CB283DC40146573BF--