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) Alan \starttext \startitemize [n] \startitem first \startitem \startitem second \stopitem \stopitemize \stoptext
On Wed, Oct 13, 2010 at 2:29 PM, Alan BRASLAU
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
On 13-10-2010 2:29, Alan BRASLAU wrote:
Indeed, under ConTeXt, unknown or incorrect arguments are simply ignored.
maybe some day ... ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (3)
-
Alan BRASLAU
-
Hans Hagen
-
luigi scarso