From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43778 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: sometxt in mkiv Date: Mon, 08 Sep 2008 10:16:48 +0200 Message-ID: <48C4DF70.4000604@wxs.nl> References: <6faad9f00809071242n452c61c2l95e1f1949e244696@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220861984 21620 80.91.229.12 (8 Sep 2008 08:19:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 08:19:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 08 10:20:38 2008 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 1KcbzC-0001ED-S6 for gctc-ntg-context-518@m.gmane.org; Mon, 08 Sep 2008 10:20:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BB2AD1FF33; Mon, 8 Sep 2008 10:19:29 +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 24440-06-26; Mon, 8 Sep 2008 10:18:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 214051FEA4; Mon, 8 Sep 2008 10:17:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1E07C1FEE3 for ; Mon, 8 Sep 2008 10:17:41 +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 19088-02-41 for ; Mon, 8 Sep 2008 10:16:47 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id 925931FF1D for ; Mon, 8 Sep 2008 10:16:45 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 17494-1840426 for ; Mon, 08 Sep 2008 10:16:45 +0200 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <6faad9f00809071242n452c61c2l95e1f1949e244696@mail.gmail.com> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 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:43778 Archived-At: Mojca Miklavec wrote: > On Sat, Sep 6, 2008 at 1:15 PM, Thomas A. Schmitz wrote: >> Hi all, >> >> I was just wondering if this is a bug or if it's something that still >> needs to be implemented: the example on p. 10 of Mojca's sometxt MyWay >> works in mkii, yet in mkiv, it doesn't: >> >> \starttext >> \startTeXtexts >> \dorecurse{12}{\TeXtext{\recurselevel}{\recurselevel}} >> \stopTeXtexts >> >> \startMPcode >> numeric r; r = 1.5cm; >> draw fullcircle scaled 2r; >> for i=1 upto 12: >> draw (origin--down) scaled 4pt shifted (0,r) rotated -30i; >> label(sometxt(i), up scaled .75r rotated -30i); >> endfor; >> \stopMPcode >> \stoptext >> >> in mkiv, I get no labels and the somewhat cryptic sentence "[do we >> need TeXtexts in MkIV]" on my pdf. Anybody able to answer this or my >> question? > > Honestly, I don't think that we need this exact functionality. In mkiv > textext works perfectly well to achieve the same goal, you don't > really need \sometxt or \TeXtext. The only question is: do we care > about backward compatibility? I can also remove the example from MyWay > or write that it's a bit obscure. It really is an obscure application. > > OK, I just neglected the fact that I do use that in the gnuplot module > (which is not mkiv ready for two tiny and obscure reasons that could > be fixed long ago). In case that I won't be drawing the graphs for > thesis in excell, I'll try to fix the module. I don't think that any > other sane person uses \TeXtext. (I don't, and module should be fixed > anyway.) i didn't implement TeXtext in mkiv because it was an kind of hack needed to deal with many labels (either or not in loops) in a fast and efficient way (as needed by gnuplot); as mojca mentioned, this is no longer an issue, so i'd rather avoid introducing this hack again ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________