From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16213 invoked from network); 4 Aug 2023 18:35:29 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 4 Aug 2023 18:35:29 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 05DF4482C00 for ; Fri, 4 Aug 2023 20:33:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 403-N30eGUT1 for ; Fri, 4 Aug 2023 20:33:43 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 23814482C1D for ; Fri, 4 Aug 2023 20:33:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 419D6482A68 for ; Fri, 4 Aug 2023 20:32:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hclFKyagDW0D for ; Fri, 4 Aug 2023 20:32:48 +0200 (CEST) X-Greylist: delayed 2205 seconds by postgrey-1.36 at cgl.ntg.nl; Fri, 04 Aug 2023 20:32:48 CEST Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id EA78F482A66 for ; Fri, 4 Aug 2023 20:32:48 +0200 (CEST) Received: from relay5-d.mail.gandi.net (unknown [217.70.183.197]) by mslow1.mail.gandi.net (Postfix) with ESMTP id AC3FEC1277 for ; Fri, 4 Aug 2023 17:42:28 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 2C7C61C0002 for ; Fri, 4 Aug 2023 17:42:27 +0000 (UTC) Message-ID: <52ddb9e4-af1d-fb6c-91ce-822147bc3df9@stdin.fr> Date: Fri, 4 Aug 2023 19:42:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 To: Alan Braslau via ntg-context Content-Language: fr From: Alex Leray X-GND-Sasl: alexandre@stdin.fr Message-ID-Hash: BWH5L7RRSJU3O6OVUO5LBZKUODZD3VTK X-Message-ID-Hash: BWH5L7RRSJU3O6OVUO5LBZKUODZD3VTK X-MailFrom: alexandre@stdin.fr X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Using List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem ipsum dolor sit amet consectetur. \stoppoem \stoptext ``` I get the following traceback: ``` tex error > tex error on line 6 in file /home/ali/work/being_human/test.tex: ! Undefined control sequence \strc_sectioning_initialize_increment ->\edef \currentheadincrement {\headparameter \c!incrementnumber }\ifcsname \??headincrement \currentheadincrement \endcsname \lastnamedcs \else \settrue \c_strc_sectioning_increment \settrue \c_strc_sectionin... \strc_sectioning_handle ... \currentheadsection }\strc_sectioning_initialize_autolevel \strc_sectioning_initialize_increment \strc_sectioning_initialize_placement \strc_sectioning_initialize_number \the \everybeforesectionheadhandle \let \getheadn... \strc_sectioning_start_named_section ...parameter \c!beforesection \the \everybeforehead \strc_sectioning_handle {#1}{#2}{#3} \headparameter \c!insidesection l.6 \startpoem[title={Glijden}][] 1 \definehead[poem][section] 2 \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] 3 4 \starttext 5 6 >> \startpoem[title={Glijden}][] 7 Lorem ipsum dolor sit amet consectetur. 8 \stoppoem 9 10 \stoptext 11 mtx-context | fatal error: return code: 256 ``` Any idea? thanks a lot! Alex ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________