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.7 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30275 invoked from network); 22 Aug 2023 18:08:13 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 22 Aug 2023 18:08:13 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 01DF6482DE7 for ; Tue, 22 Aug 2023 20:07:33 +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 j8rj5iM4BbG2 for ; Tue, 22 Aug 2023 20:07:32 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0563E482CBC for ; Tue, 22 Aug 2023 20:07:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 521624829A0 for ; Tue, 22 Aug 2023 20:06:55 +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 zObH7T31lY7Z for ; Tue, 22 Aug 2023 20:06:55 +0200 (CEST) Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 0A869482857 for ; Tue, 22 Aug 2023 20:06:55 +0200 (CEST) Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-99357737980so630558166b.2 for ; Tue, 22 Aug 2023 11:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692727614; x=1693332414; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:cc:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=Kh6V2pzPJUFAJcS4ot9VOKzoPoXsYKyJgV/PizhDG0U=; b=JrSEd24j8P2YYzauB2+tQR3ZNL6igiHs5zU1JjXR+Uu28hnn9flu6Flh1bFywH60Yn OQRD5KROW1rFZQhrITgKxy603r6mxD90U9k+0JEH67Q0b6LuhYi37ItuZPzgPQYwBBVJ 0/Kxfw2Rn1oq37YQUACTOSIH1jWvENAlvK9uK2r44uUj9BKnycWiDzSEx+H+QhIox6DO 6pX8Ffu4jreVhMpHAanFBdqj0eniRovdKN1s/SYlIPOE3Dhqs1eGXHEEFARTfcil1mKW JaXKkB7QEYmmQ9Kz6a8JWDnYS9hcAnFQkBTwdpRWWOjw2ZInD755S+38FmSfCKfAT3cm 3uSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692727614; x=1693332414; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:cc:references:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Kh6V2pzPJUFAJcS4ot9VOKzoPoXsYKyJgV/PizhDG0U=; b=Bt+3mKd57s9qaCqR3nIpl3PChpENNKRjgNkoyKLlgAfV7HRn7MxcyQ2dcfDRbqbbau gA4tsPlU6u0t5f1CCRUvCi4rf9+Tgpw5wQzip7vs/iY0Oy1NCtyk/sYMqEu+RmAez7t3 Gqn82Ou715FIxC8UpCawYglWqjUw86CdzdqtMw8QLEKB+WNnw1JAhXY+KkWcjVgAXlzU UDNGbA6Ea/qRIDnWxLsiTcda0g78UvRY59Q1aA9JKqfGydbKUqYu1sgNvm356MV4sXp4 jWl45+MKqN/zis823QBJXnAcGsxQPH9JcW9ccpJQwSYvNmDQ1ByRb43o/Jx7gG7hw3tH x6tg== X-Gm-Message-State: AOJu0Yzd2hzzdDT0v4pVDmWZdknljPb2UfKUwD6p8q6FVJ3wyhXxJMvo 6FIK7fXgf2/XUjyU3Fcv15M= X-Google-Smtp-Source: AGHT+IE3F3jpTZ+qRWWMFFevWBPGITvtSag8HSK2kO1uurFBxqIBIdSwF9482nHyatIhlbk0ve8uLQ== X-Received: by 2002:a17:906:31d4:b0:9a1:b33a:e468 with SMTP id f20-20020a17090631d400b009a1b33ae468mr2615181ejf.49.1692727614343; Tue, 22 Aug 2023 11:06:54 -0700 (PDT) Received: from ?IPv6:2a02:810d:a8bf:fe08:4960:c8ea:16be:b83f? ([2a02:810d:a8bf:fe08:4960:c8ea:16be:b83f]) by smtp.gmail.com with ESMTPSA id u7-20020a1709067d0700b0099ce188be7fsm8594169ejo.3.2023.08.22.11.06.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Aug 2023 11:06:53 -0700 (PDT) To: mailing list for ConTeXt users References: <20230822193244.c1099812b7f4e0cc9c6802ac@posteo.net> From: Wolfgang Schuster Message-ID: <781e1658-1b72-e0e1-90d8-5634542918a8@gmail.com> Date: Tue, 22 Aug 2023 20:06:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 MIME-Version: 1.0 In-Reply-To: <20230822193244.c1099812b7f4e0cc9c6802ac@posteo.net> Content-Language: en-US Message-ID-Hash: ZKGRQEP2WG6QOKDXMVPZV4ZPHDIOI5TS X-Message-ID-Hash: ZKGRQEP2WG6QOKDXMVPZV4ZPHDIOI5TS X-MailFrom: wolfgang.schuster.lists@gmail.com 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 CC: "Xavier B." X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: An strange error with section and page 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 Xavier B. schrieb am 22.08.2023 um 19:32: > Hi, > > I have a long document [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-exercicis.conTeXt.pdf] which I migrated from MKIV to LMTX version of ConTeXt. As Wolfgang recommened. I migrated old syntax to new one and replace \page[yes] before each section to > > \setupheads[section][style={\bf \ssc}, alternative=margin, page=yes] > > but now after each section there is a new page. > > Why? I don't know. > Can someone help me to see what happens? > > The source code is here [https://repo.or.cz/apunts-espa-matematiques.git] You're using the structure for section of the following example in your document. This is a problem because subjects are the same level as section or to be precise, subjects are unnumbered versions of sections and inherit all settings from them unless configured otherwise. While the solution here is to convert all subject headings to subsubject (be sure to also take care of even lower section) a quick way to fix the page break is to disable the page-value for subject, look at the commented line in the example how this can be done. %%%% begin example \setuphead[section][page=yes] %\setuphead[subject][page=no] \starttext \startsection[title=Section] \startsubject [title=Subject] \stopsubject \stopsection \stoptext %%%% end example Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________