From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49935 Path: news.gmane.org!not-for-mail From: "R. Bastian" Newsgroups: gmane.comp.tex.context Subject: Re: What happened with sectionworld? Date: Wed, 29 Apr 2009 23:16:41 +0200 Message-ID: <20090429231641.693c8867@KUBUNTU64> References: <1D0F418D-E66C-4A90-9616-8757CDB08058@fiee.net> <182BA1FD-4C04-43A0-A1F4-B5F225218E19@fiee.net> <49F80EA3.6030408@wxs.nl> <8EF00B6B-6096-4523-9E70-59B6AC034C21@gmail.com> <20090429143544.6abee462@KUBUNTU64> <9BBF59D0-1C94-46ED-96FE-0FD5964F57FC@gmail.com> <20090429174315.3d61cce0@KUBUNTU64> <20090429184654.740d27cf@KUBUNTU64> 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 1241039860 30557 80.91.229.12 (29 Apr 2009 21:17:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 21:17:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 29 23:17:31 2009 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 1LzH9l-0001mT-Lx for gctc-ntg-context-518@m.gmane.org; Wed, 29 Apr 2009 23:17:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 134571FD88; Wed, 29 Apr 2009 23:17: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 12332-09; Wed, 29 Apr 2009 23:16:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D4DA11FD09; Wed, 29 Apr 2009 23:16:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4E90F1FCF6 for ; Wed, 29 Apr 2009 23:16:52 +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 20261-02-4 for ; Wed, 29 Apr 2009 23:16:44 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 1B4161FCE9 for ; Wed, 29 Apr 2009 23:16:44 +0200 (CEST) Original-Received: from smtp21.orange.fr (smtp21.orange.fr [80.12.242.46] (may be forged)) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3TLGg0m011781 for ; Wed, 29 Apr 2009 23:16:42 +0200 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2129.orange.fr (SMTP Server) with ESMTP id 1E16D1C00099 for ; Wed, 29 Apr 2009 23:16:42 +0200 (CEST) Original-Received: from KUBUNTU64 (AStrasbourg-156-1-67-224.w86-204.abo.wanadoo.fr [86.204.126.224]) by mwinf2129.orange.fr (SMTP Server) with ESMTP id C1E8A1C00092 for ; Wed, 29 Apr 2009 23:16:41 +0200 (CEST) X-ME-UUID: 20090429211641794.C1E8A1C00092@mwinf2129.orange.fr In-Reply-To: X-Mailer: Claws Mail 2.10.0 (GTK+ 2.12.0; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.46; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 217363402 - 4fc571dcddb7 - 20090429 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49935 Archived-At: On Wed, 29 Apr 2009 20:00:07 +0200 luigi scarso scribit: > On Wed, Apr 29, 2009 at 6:46 PM, R. Bastian wrote: > > > On Wed, 29 Apr 2009 17:55:05 +0200 > > luigi scarso scribit: > > > > > > > > > > > > > > May be that ConTeXt is not a 'context free language' ;-) > > > > than it will be difficult to express something in a BNF grammar > > > > http://en.wikipedia.org/wiki/Backus-Naur_form. > > > > > > > hmm. > > > Context is a macro package in TeX language which is Turing Complete. > > > > > > > > > > But if (ConTeXt == formal_language), it should be possible to > > > > develop TEXT, NUMBER, DIMENSION, REFERENCE, etc > > > > and also to add examples for "[optional user data]". > > > > > > > hmm > > > I'm not sure that ConTeXt == TeX (but it seems YES) , > > > I'm nor sure that TeX is a context free language too, > > > in the sense that I never see a BNF grammar of TeX . > > (chap.24-26 of the Texbook are embryos of a grammar, but they are not > > usable > > like the grammar of Pascal or Python) > > > I suspect that TeX is not a cfl . > > > > > > Anyway, > > > lpeg can make the thing easier > > > > > > -- > > > luigi > > > > > > > > I think that something user-friendly could be do in a cooperative wiki (in > > the between, i found > > http://texshow.contextgarden.net/) beginning with > > > > CONTEXT_SOURCE ::= PREAMBLE "\starttext" TEXT "\stoptext" | CONTEXT_SOURCE > > TEXT ::= STARTSTOPS | SETUPS | DEFINES | OTHERS [ TEXT > > > > and so on. > > > Consider that one can always make some dirty tricks in PREAMBLE to render > useless > "\starttext" > or "\stoptext" > > To be general, i think > MY_CONTEXT_SOURCE ::= MACRO* END > > For example , let's try > $>context test > where > test.tex ::="\end" > or > test.tex ::="FOO\end" > > Are there any errors ? No > Is test.tex in {CONTEXT_SOURCE } ? No > Is test.tex in {MY_CONTEXT_SOURCE} Yes > so MY_CONTEXT_SOURCE includes CONTEXT_SOURCE > (of course > test.tex ::="\end""\starttext""\stoptext" is also in {CONTEXT_SOURCE } > ) I dont understand the sense of "\end\starttext" (I am simply seeking a layout system which works better than Latex). > > I think that a bnf or lpeg grammar is really useful for a sort of > standard-ConTeXt > or minimal-ConTeXt or light-ConTeXt > ie a ConTeXt to use as "reference" Exactly what I need : standard, minimal and light > but can be a bit hard to define > > -- > luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________