From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96024 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Enumeration: chapter in counter, problem next to placefigure, and documentation issues Date: Sun, 04 Sep 2016 22:22:20 +0200 Message-ID: <57CC827C.4040302@gmail.com> References: <753E37B0-7521-4DF5-8FAB-5DA799DCE9C6@posteo.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8267839919643555587==" X-Trace: blaine.gmane.org 1473020593 30762 195.159.176.226 (4 Sep 2016 20:23:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Sep 2016 20:23:13 +0000 (UTC) User-Agent: Postbox 4.0.8 (Macintosh/20151105) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 04 22:23:08 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgdwU-0006oB-RT for gctc-ntg-context-518@m.gmane.org; Sun, 04 Sep 2016 22:23:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E7A4F16F77; Sun, 4 Sep 2016 22:22:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hkpxIMuDwObD; Sun, 4 Sep 2016 22:22:35 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id CAE6A16F74; Sun, 4 Sep 2016 22:22:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2B76116F72 for ; Sun, 4 Sep 2016 22:22:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xvZxFutBMhEc for ; Sun, 4 Sep 2016 22:22:34 +0200 (CEST) Original-Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3BAC316F70 for ; Sun, 4 Sep 2016 22:22:24 +0200 (CEST) Original-Received: by mail-wm0-f52.google.com with SMTP id c133so96525420wmd.1 for ; Sun, 04 Sep 2016 13:22:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=1MSZdc07b6Ck1qnKD0b4PTkuNRWrpgJJYA4ERp1xKCE=; b=wkzTvgnofNKZ3LLtCpNcdajlhHParZTiy/VILVD/XrSv47LcsVcamfP8X8pv0btxz0 RQDwBZ5+G7fW98V41MrkKZ/DvFeqyPtbvA3TociEo4DYaz+M4aqpuU1RpLUl3TaHh8Q6 /aBJw2PhynXWBaYVTLUe09gCiJIMnhutEB/TIFYWIn31P2ZycPWRWaTG/thSTB0/yYDn S9B1hAjaom9P391z0U8ulr43xIiLmLtNJEcNIKhXbzrrEf478Jd9GIW1fC5lXwq5G2bq ikgZXOMWt6aM+pGkp5sjGHkZ+bSHctwcRJANl3KvTPOVnh36f2yJY3UPMHwYEcYRrtoL OXTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=1MSZdc07b6Ck1qnKD0b4PTkuNRWrpgJJYA4ERp1xKCE=; b=j28csckBW7K1f8H0Zpzht2ooTXqCo6TnIpL3IIiLWqFA3AcBbJFvNnxZLfopPt6sGJ kzlLuPVL4/bb4SLMzbPb22lv/dxxbD541NvhyU6tpMonUiw7qmDyxNdEngt3E1iXh9sX XqsrBaXsPoTeusIzvqaftg0/Y97os+ABFHYjJ7G/5wWr17kmGobW/qRB993/T40kgELq qq01v2AtNMYwghra2MauWKEwVq+gpO/lmaSiBc05ozmGfTYwmjp0hXhscUFKifpoO0AG Yt2AsRdW86hJtHTnKUbLl6ZKeZn3FCMqsTMgJ6isAx4y7my0qukbWsoNQgb/AOUAsyxb U6mQ== X-Gm-Message-State: AE9vXwNisYlfhcnDddaDMlTTq+sSP20PHpsEkbuQycmXfJH7cNKM8L3hVoZZKqaM1zolpQ== X-Received: by 10.194.163.138 with SMTP id yi10mr21583458wjb.160.1473020543543; Sun, 04 Sep 2016 13:22:23 -0700 (PDT) Original-Received: from keima.localdomain (x2f24a85.dyn.telefonica.de. [2.242.74.133]) by smtp.gmail.com with ESMTPSA id h7sm23214331wjd.17.2016.09.04.13.22.22 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Sep 2016 13:22:22 -0700 (PDT) In-Reply-To: <753E37B0-7521-4DF5-8FAB-5DA799DCE9C6@posteo.net> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96024 Archived-At: This is a multi-part message in MIME format. --===============8267839919643555587== Content-Type: multipart/alternative; boundary="------------010804060908080003050803" This is a multi-part message in MIME format. --------------010804060908080003050803 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Florian Leupold > 4. September 2016 um 19:37 > Issues with the documentation: > - In “ConTeXt Commands”, it says on page 224 that \setupenumeration > inherits from \setupcounter; but in “ConTEXt reference manual", it > says on page 246 that \setupenumerations inherits from \setupdescriptions. > - In “ConTEXt reference manual”, the key “location” for > \defineenumeration should probably replaced by “alternative”. Right > now, all examples on page 247 are unaffected by this setting and hence > look the same. ConTeXt contains two different interface files, a) a old one (cont-en.xml) which was written for MkII and extended of the time with a few new command introduced by MkIV (e.g. \definefontfeature) and b) a new one (i-context.xml) which was rewritten with MkIV as its base. Most of the existing documents use the old file which contains either wrong keys (e.g. location vs. alternative) or document no longer existing functions (compare counter related settings in both files). The new file takes also into account internal changes for commands, e.g. in MkII note descriptions are based on enumerations which are itself a extension to the description commands. In MkIV notations (new name for note descriptions), enumerations and descriptions all use a internal mechanism called constructions with extra functions for each instance. Wolfgang --------------010804060908080003050803 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
4. September 2016 um 19:37
Issues with the documentation:
- In “ConTeXt Commands”, it says on page 224 that \setupenumeration inherits from \setupcounter; but in “ConTEXt reference manual", it says on page 246 that \setupenumerations inherits from \setupdescriptions.
- In “ConTEXt reference manual”, the key “location” for \defineenumeration should probably replaced by “alternative”. Right now, all examples on page 247 are unaffected by this setting and hence look the same.
ConTeXt contains two different interface files, a) a old one (cont-en.xml) which was written for MkII and extended of the time with a few new command introduced by MkIV (e.g. \definefontfeature) and b) a new one (i-context.xml) which was rewritten with MkIV as its base.

Most of the existing documents use the old file which contains either wrong keys (e.g. location vs. alternative) or document no longer existing functions (compare counter related settings in both files).

The new file takes also into account internal changes for commands, e.g. in MkII note descriptions are based on enumerations which are itself a extension to the description commands. In MkIV notations (new name for note descriptions), enumerations and descriptions all use a internal mechanism called constructions with extra functions for each instance.

Wolfgang
--------------010804060908080003050803-- --===============8267839919643555587== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8267839919643555587==--