From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62579 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: structure sanity checks Date: Wed, 13 Oct 2010 14:39:49 +0200 Message-ID: References: <201010131429.47796.alan.braslau@cea.fr> 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: dough.gmane.org 1286973620 3439 80.91.229.12 (13 Oct 2010 12:40:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 12:40:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 13 14:40:18 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 1P60cz-0005UG-1C for gctc-ntg-context-518@m.gmane.org; Wed, 13 Oct 2010 14:40:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B34AACA733; Wed, 13 Oct 2010 14:40:16 +0200 (CEST) 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 ADGCBfeRlKSO; Wed, 13 Oct 2010 14:40:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1B5E5CA620; Wed, 13 Oct 2010 14:40:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 47167CA620 for ; Wed, 13 Oct 2010 14:40:04 +0200 (CEST) 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 TpsG1CuODJ3Z for ; Wed, 13 Oct 2010 14:39:53 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 285BACA60F for ; Wed, 13 Oct 2010 14:39:53 +0200 (CEST) Original-Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9DCdqfu007441 for ; Wed, 13 Oct 2010 14:39:52 +0200 Original-Received: by qyk29 with SMTP id 29so8020515qyk.14 for ; Wed, 13 Oct 2010 05:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=J05yGLnEaYn0gPGT9ryQyMXYTrM1NEVTe/KQAHZJwCU=; b=J8K+JCWrEBs+Ie3rAidye6y0RLokcOYZH6zN6UWARUdNQ2QJ3B5niDK5pcMXp5OT7z bO4D/hw4PPAiXKor3g8icm9pdZ7qjzSONidJsBh5s+ou2TdHKqfs+RFqntl9y61H6Nra Y+9Z8GyRT9YQf24bjhD70j9WALZl+Hqu1gbgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ulPoV57lDe2dg1HCsitnnaSCit8iLEIc9AQxaZ4Ommsf0+nyT4qleBMlY7G0fCN6U1 tWbdpdrkVUySDxtayIRCLyJ5sDroTD73Haibf/qDugHa4LTWU8a2/xeau/7W3ENPKgUF put929oJQuj1oubjgXBbRGVrsKvt8Z07AAFok= Original-Received: by 10.224.197.197 with SMTP id el5mr6815749qab.104.1286973591374; Wed, 13 Oct 2010 05:39:51 -0700 (PDT) Original-Received: by 10.229.251.193 with HTTP; Wed, 13 Oct 2010 05:39:49 -0700 (PDT) In-Reply-To: <201010131429.47796.alan.braslau@cea.fr> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.176; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cDicDQCw - 08e928a22585 - 20101013 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:62579 Archived-At: On Wed, Oct 13, 2010 at 2:29 PM, Alan BRASLAU wrote: > Using \startchapter\stopchapter or \startitem\stopitem could present > some logical advantage over the use of \chapter or \item, for example. > However, it would be useful to have some sort of sanity check > giving warnings at least if the \start\stop symmetry is violated. > As a minimal example, the following simple case of one logical error > leads to an undesired result. Of course, you get what you asked, > but some sort of warning could be useful. Or, rather, is the general > philosophy to silently pass over such errors so as not to load down > the log in the face of such user errors? > > Indeed, under ConTeXt, unknown or incorrect arguments are simply ignored. > > (in other cases, for example forgetting \stoptext, ConTeXt protests vocally) maybe enable xml export and check it with xmllint \setubackend[export=yes] see back-exp.mkiv -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________