From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109425 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: Re: page ends with a section title followed by a table Date: Tue, 10 Nov 2020 19:41:40 +0100 Message-ID: References: <35814d97-14af-0aeb-ab21-d49e02fccdfb@gmx.es> <74860844-b1fd-af11-e798-2e25ad88dce3@gmail.com> <13b50999-82a2-607b-cb55-5707ce97227b@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7723920542474364822==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29096"; mail-complaints-to="usenet@ciao.gmane.io" To: Wolfgang Schuster , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 10 19:42:16 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcYau-0007So-C5 for gctc-ntg-context-518@m.gmane-mx.org; Tue, 10 Nov 2020 19:42:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D2AEF1AA3D7; Tue, 10 Nov 2020 19:41:56 +0100 (CET) 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 f3H9SbcI7vF9; Tue, 10 Nov 2020 19:41:54 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BBEAF1AA3D8; Tue, 10 Nov 2020 19:41:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 47EF61AA3D0 for ; Tue, 10 Nov 2020 19:41:54 +0100 (CET) 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 O95L_X-_Lgp7 for ; Tue, 10 Nov 2020 19:41:53 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.177; helo=mail-il1-f177.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8DC0F1AA3CF for ; Tue, 10 Nov 2020 19:41:53 +0100 (CET) Original-Received: by mail-il1-f177.google.com with SMTP id z2so13140304ilh.11 for ; Tue, 10 Nov 2020 10:41:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=dR1VahgUPehmpocjhLIUR5DPqCZq9HQ4Neil8pydH0E=; b=JuzEyG//Q73Y63v5dK3O+MO2vtc5axwx7M+fvSSCORztZICAs8mQhtM8+Ek3RFYgQ4 nJwVKOVQQ3f/+a6TJ8X98cCtwyRL9Mo59eIUv87LtzugcbuMl+9/uQ3Xko1w6mZ6Gvqe 9wzLzps5Sy2+wOo9s6wGum38BJFNGLmT4HMvLZCORqMVMYkHZZ9PKRoGWUAcylamT3Gh pjEW7Zq+BbntdD/LDjhxsNxj/e770aNbOIwjV/mUuokP0tF2kbqZ3ElAONBnt6GyYT9l IC3c6x17d4h1gjvzTSBHA9qaOskpS754sLbxYrOfnkqwcTMki04MD+RoxL3TgW20QBGB xZ8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=dR1VahgUPehmpocjhLIUR5DPqCZq9HQ4Neil8pydH0E=; b=JQgfSME/QPe9kfJt+hdCMUXBZvb65se93xuBhuSHn3L0bfxZIhaGkR3zGfCNbZ9tus x6O5/tUYSndnEltiCWq8dHmMfKkTvAk1q6gi9ZOZS5mMGv85f2NYWpP5AkGtikcX4Y7l bM08JmxFFkc/Un4TunP6nOhqFwN7wNtfxU8ZDjJ+0bjo+fPfYKoIABSJ9qJxYR5YSm4r D2A2gz+/bVLdD8HVQsHFgD2hMN2mcEwu9mAA7rRqb7ZgUqNX2JE72KqsEAgTbPX2SW4U xT9vfyA9Qyw0BVY3MdpWVgjnVkf+BG/ygA0AQ4KYPzq3m8LaaO0UNejV0+QbcKa4mqxv WxRA== X-Gm-Message-State: AOAM530DiqztVST/dLl7gU1F81aq1YROoYw5OYfbD3CMwyiymY7QJlmW Aqi8u7CFBZvMdDxJ+qiaXunTaX99/kg4LUajfgc= X-Google-Smtp-Source: ABdhPJwTu+Ivhg7TuI8qQxGs7ZEXsrtP+fn59OVm79AtJE5J8oLDS1CvnyPhpOwuxrp2ch4mRhmQ9miyL+du+Bcf/Xw= X-Received: by 2002:a05:6e02:1049:: with SMTP id p9mr11079019ilj.102.1605033712136; Tue, 10 Nov 2020 10:41:52 -0800 (PST) In-Reply-To: <13b50999-82a2-607b-cb55-5707ce97227b@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:109425 Archived-At: --===============7723920542474364822== Content-Type: multipart/alternative; boundary="00000000000043b74005b3c508c4" --00000000000043b74005b3c508c4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 10 Nov 2020 at 19:23, Wolfgang Schuster < wolfgang.schuster.lists@gmail.com> wrote: > Sylvain Hubert schrieb am 10.11.2020 um 19:11: > > > Weirdly enough, "\hskip 0pt" solves the problem. > > > > \setuphead[section][after=3D{\blank[samepage]\hskip 0pt}] > > \starttext > > \showframe > > \dorecurse{50}{a } > > \startsection[title=3Dspec] > > \startxtable > > > What happens when you \hskip is that you switch to horizontal > mode and the preferred to do this is to use \dontleavehmode. > > \dontleavehmode > \startxtable > > Wolfgang > Indeed. Thanks for the information! For the record, this is how the problem is finally solved: \setuphead[section][after=3D{\blank[sampage]}] \begingroup\setupindenting[no]\dontleavehmode\startxtable =E2=80=A6 \stopxtable\endgroup Sylvain --00000000000043b74005b3c508c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, 10 Nov 2020 at 19:23, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com&= gt; wrote:
Sylva= in Hubert schrieb am 10.11.2020 um 19:11:

> Weirdly enough, "\hskip 0pt" solves the problem.
>
>=C2=A0 =C2=A0 =C2=A0 \setuphead[section][after=3D{\blank[samepage]\hski= p 0pt}]
>=C2=A0 =C2=A0 =C2=A0 \starttext
>=C2=A0 =C2=A0 =C2=A0 \showframe
>=C2=A0 =C2=A0 =C2=A0 \dorecurse{50}{a }
>=C2=A0 =C2=A0 =C2=A0 \startsection[title=3Dspec]
>=C2=A0 =C2=A0 =C2=A0 \startxtable


What happens when you \hskip is that you switch to horizontal
mode and the preferred to do this is to use \dontleavehmode.

\dontleavehmode
\startxtable

Wolfgang

Indeed. Thanks for the informa= tion!

For the record, this is how the problem is f= inally solved:

=C2=A0=C2=A0=C2=A0 \setuphead[secti= on][after=3D{\blank[sampage]}]
=C2=A0=C2=A0=C2=A0 \begingroup\set= upindenting[no]\dontleavehmode\startxtable =E2=80=A6 \stopxtable\endgroup

Sylvain
--00000000000043b74005b3c508c4-- --===============7723920542474364822== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7723920542474364822==--