From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95700 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: How to reset a new processor ? Date: Mon, 08 Aug 2016 13:27:31 +0200 Message-ID: <57A86CA3.3080208@gmail.com> References: <57A85F59.3090009@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7018383443313128938==" X-Trace: blaine.gmane.org 1470655683 13007 195.159.176.226 (8 Aug 2016 11:28:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 11:28:03 +0000 (UTC) User-Agent: Postbox 4.0.8 (Macintosh/20151105) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 08 13:27:59 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 1bWiin-0001t4-53 for gctc-ntg-context-518@m.gmane.org; Mon, 08 Aug 2016 13:27:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1BD3714818; Mon, 8 Aug 2016 13:27:48 +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 rwAOJc4ef74r; Mon, 8 Aug 2016 13:27:47 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5554F14819; Mon, 8 Aug 2016 13:27:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 470EA14817 for ; Mon, 8 Aug 2016 13:27:46 +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 5BatgAaS20j2 for ; Mon, 8 Aug 2016 13:27:45 +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 DD12F14811 for ; Mon, 8 Aug 2016 13:27:35 +0200 (CEST) Original-Received: by mail-wm0-f52.google.com with SMTP id q128so112936533wma.1 for ; Mon, 08 Aug 2016 04:27:35 -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=WQOVx3htxeXaEdiDttznrZ0tO5eZ5Ma6Kh8J/eCXB2g=; b=JYrzfDYknIoKxN7TAJKU5q/3j7Usd0bpcZZc8NjYfHZxMSCCtlmXVdYSj2TbvKPXuC UYwqlRxPuNRLumhBUPHtJE3KQ+beByAgyMDU4lULGavU4Q09c/kLbbGr0VDOH/FgkulO fw9RZD11HxIcq+QpGMrACfwLwZQgtf/7Y4+zbmY5N9lpTzw1s1rf+khKUBjPYop9ivyV /mqhKJAmr1GF2qDVvEHH+I2xoHf7nOI6enSV0i2oKVQ4oJ+/uQfYjD10/gj0Qq8HibW2 QQwp10qS7nPHIfJCZYcXJJnXQoVLHsrCLF2ZcNSIVQ6Lhzeh1/2f2LjpOWvZ+L/8DU2N DcZg== 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=WQOVx3htxeXaEdiDttznrZ0tO5eZ5Ma6Kh8J/eCXB2g=; b=Enoa0/gJSiZZ1cAKheB2wBC2x7hKmpLmJH5Vfo3WGHf8nBw4pQppYSrVlW3TdPxx/3 DAwEUyhuFRMXY1j0zfgX1UgwBYI+9gNRYGsTRH9g8XlHE12/uLOHWMWdXuFRjY54WHTj qKmaOV7KsVICZNgpEMR1j/m2+20VO5w7Lhpu2yOf0ATPSE2q9BB5u396XU/xW0k1OCBA tNiRFSySVPToPq7MIJhOAkKNdLw8vqCcGwd4h1k7VX1UOYvFvhBt1ihckvwhaDb6eCWG 8dTpVzgM+4dN4G/efGqf+00xYyi4MuQjHH+BrzwrErsNWMo0jpujXQtdUdcRi56fHKoK V32w== X-Gm-Message-State: AEkooutxGnPga70HfNrcp3ndy++t7vb2Bwr8AlUoRgagBfCwLM2R0Nvc93DcfsiRDi1wOg== X-Received: by 10.194.144.161 with SMTP id sn1mr94889003wjb.29.1470655654065; Mon, 08 Aug 2016 04:27:34 -0700 (PDT) Original-Received: from keima.localdomain (x2f2c309.dyn.telefonica.de. [2.242.195.9]) by smtp.gmail.com with ESMTPSA id 207sm23217195wmb.7.2016.08.08.04.27.33 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Aug 2016 04:27:33 -0700 (PDT) In-Reply-To: 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:95700 Archived-At: This is a multi-part message in MIME format. --===============7018383443313128938== Content-Type: multipart/alternative; boundary="------------090306050000020108020202" This is a multi-part message in MIME format. --------------090306050000020108020202 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Fabrice Couvreur > 8. August 2016 um 13:11 > Hi Wolfgang, > In fact, I have a project "Lesson" with components chapter 1, chapter > 2, ... > If I add \setupenumeration [] [way=bysubsection] to each component > that does not work. \defineenumeration[exercise][text=Exercise ] \setupenumeration [exercise][way=bysection] \starttext \dorecurse{5} {\expanded{\chapter{Chapter \recurselevel}} \dorecurse{3} {\expanded{\section{Section \recurselevel}} \dorecurse{3} {\startexercise \input ward \stopexercise}}} \stoptext Wolfgang --------------090306050000020108020202 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
8. August 2016 um 13:11
Hi Wolfgang,
In fact, I have a project "Lesson" with components chapter 1, chapter 2, ...
If I add \setupenumeration [] [way=bysubsection] to each component that does not work.
\defineenumeration[exercise][text=Exercise ]
\setupenumeration [exercise][way=bysection]

\starttext

\dorecurse{5}
{\expanded{\chapter{Chapter \recurselevel}}
 \dorecurse{3}
   {\expanded{\section{Section \recurselevel}}
    \dorecurse{3}
      {\startexercise
       \input ward
       \stopexercise}}}

\stoptext

Wolfgang
--------------090306050000020108020202-- --===============7018383443313128938== 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= --===============7018383443313128938==--