From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63951 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: new beta Date: Fri, 26 Nov 2010 22:03:55 +0100 Message-ID: References: <4CF01D58.4080105@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1290805460 4484 80.91.229.12 (26 Nov 2010 21:04:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Nov 2010 21:04:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 26 22:04:16 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PM5Sp-0002Lr-RT for gctc-ntg-context-518@m.gmane.org; Fri, 26 Nov 2010 22:04:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91C74CA892; Fri, 26 Nov 2010 22:04:14 +0100 (CET) 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 OdSyoUaiLJsE; Fri, 26 Nov 2010 22:04:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 816D8CA88A; Fri, 26 Nov 2010 22:04:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B4FACA88A for ; Fri, 26 Nov 2010 22:04:10 +0100 (CET) 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 EKgkaHFkY5l8 for ; Fri, 26 Nov 2010 22:03:58 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 1FA1FCA889 for ; Fri, 26 Nov 2010 22:03:58 +0100 (CET) Original-Received: from mars.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAQL3vdu027742 for ; Fri, 26 Nov 2010 22:03:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mars.digitpaint.nl (Postfix) with ESMTP id 0929216DF2 for ; Fri, 26 Nov 2010 22:03:56 +0100 (CET) Original-Received: from mars.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UzQiuJpP6LKg for ; Fri, 26 Nov 2010 22:03:55 +0100 (CET) Original-Received: from [192.168.1.198] (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) by mars.digitpaint.nl (Postfix) with ESMTPA id BAB1716A8F5 for ; Fri, 26 Nov 2010 22:03:55 +0100 (CET) In-Reply-To: <4CF01D58.4080105@wxs.nl> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.98.197.63; 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: 0bDzV3VRp - a0663ec1eec0 - 20101126 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63951 Archived-At: Hi Hans, just was busy to update Context.... There is a missing file error during updating: v-mp Willi On 26 Nov 2010, at 21:49, Hans Hagen wrote: > Hi, > > I uploaded a new beta. The most important issues are the following: > > (1) Table > > I fixed a few things and there is limit color support > > \VL[10] rule ten times wider than normal > \VL[red] red rule > \VL[red,10] both > > The same applies to \HL and \DL, but with \DL the first argument hs the number of spans, so we can have: \DL[2,red,10]. > > (2) Buffers and typing > > This whole bunch has been cleaned up and pretty printing has been redone. The \type command accepts an optional argument with settings. as does \starttyping, \typebuffer and \typefile (and the defined variants). > > The interface for defining visualizers might change a bit but I'm getting there. There is a chapter on it in the cld manual. In principle one can provide arbitrary manipulators, think of: > > \startluacode > local function parser(s) > local s = string.gsub(s,"show","demonstrate") > local s = string.gsub(s,"'re"," are") > context(s) > end > > visualizers.register("MyThing", { parser = parser }) > \stopluacode > > \starttyping[option=MyThing,color=darkred,style=] > This is just some text to show what we can do with this mechanism. In > spite of what you might think we're not bound to verbose text. > \stoptyping > > \startbuffer[demo] > This is just some text to show what we can do with this mechanism. In > spite of what you might think we're not bound to verbose text. > \stopbuffer > > \processbuffer[demo][option=MyThing] > > There are only a few visualizers built in: TEX, MP, LUA, XML and PARSED-XML. There is also PARSED-LUA but that's for Luigi and me to play with first. > > Colors and fonts might change and are set up differently now, see v-*.mkiv files. > > (3) MkVI (or: moving on) > > Say that you have a file test.mkvi that has the following code: > > \def\TestOne[#1]% > {this is: #1} > > \def\TestTwo#some% > {this is: #some} > > \def\TestThree[#whatever][#more]% > {this is: #more and #whatever} > > \def\TestFour[#one]#two% > {\def\TestFive[#alpha][#one]% > {#one, #two, #alpha}} > > \starttexdefinition TestSix #oeps > > here: #oeps > > \stoptexdefinition > > \starttext > > \startlines > \TestOne [one] > \TestTwo {one} > \TestThree[one][two] > \TestFour [one]{two} > \TestFive [one][two] > \TestSix {one} > \stoplines > > \stoptext > > This will work out ok, in spite of the not so texy hash usage. This is an experimental feature and only meant for developers to play with. > > % macros=mkvi > > as top line also works. Files like that are preprocessed before they are passed to tex. (I'm considering permitting spaces before and after #whatever in the definition line.) More preprocessor features might show up. Of course the limitation of 9 arguments still applies. > > Hans > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________