From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id B7B0521430 for ; Wed, 20 Nov 2024 22:06:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 628E7485643 for ; Wed, 20 Nov 2024 22:04:58 +0100 (CET) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:mime-version:references :in-reply-to:message-id:from:from:date:date:received:received :received:received:received:received:received:received; s=cgl; t=1732136697; x=1734728698; bh=8gNxen/FqQnlAONCUth5UL1GN8Iu/svS yyewAoL/Tdk=; b=Y12z3VLn6azPJEx15OP1wgqsx40U1YFccQTCOZXs9LEHUXL+ qzopEgcqxygR6we+pvJyDjZvDoFjyZNzrG6cChBsxZ9xrgqRlZ/vwHtyGn1LZGiX 65ZLmpTiLAxTw1iIuzC1LjZdgaIl/Ol7OeCQrB+55dSSZx2jcSMbr/WH8Cs= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=vonhirschfeld.eu 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 BOONFK7G1pvw for ; Wed, 20 Nov 2024 22:04:57 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D29354856E0 for ; Wed, 20 Nov 2024 22:02:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2873F4854A4 for ; Wed, 20 Nov 2024 22:01:55 +0100 (CET) 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 v1hxk0OMQBqt for ; Wed, 20 Nov 2024 22:01:54 +0100 (CET) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=185.26.156.114; helo=mailgate02.uberspace.is; envelope-from=niklas@vonhirschfeld.eu; receiver= Received: from mailgate02.uberspace.is (mailgate02.uberspace.is [185.26.156.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 93E374854A3 for ; Wed, 20 Nov 2024 22:01:54 +0100 (CET) Received: from aegaeon.uberspace.de (aegaeon.uberspace.de [185.26.156.140]) by mailgate02.uberspace.is (Postfix) with ESMTPS id 2DD681803B2 for ; Wed, 20 Nov 2024 22:01:24 +0100 (CET) Received: (qmail 15141 invoked by uid 990); 20 Nov 2024 21:01:24 -0000 Authentication-Results: aegaeon.uberspace.de; auth=pass (login) Received: from unknown (HELO unkown) (::1) by aegaeon.uberspace.de (Haraka/3.0.1) with ESMTPSA; Wed, 20 Nov 2024 22:01:23 +0100 Date: Wed, 20 Nov 2024 22:01:22 +0100 (GMT+01:00) From: Niklas von Hirschfeld To: mailing list for ConTeXt users Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Correlation-ID: X-Rspamd-Bar: --- X-Rspamd-Report: BAYES_HAM(-2.955745) MIME_GOOD(-0.1) X-Rspamd-Score: -3.055745 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=vonhirschfeld.eu; s=uberspace; h=from:to:subject:date; bh=cQZTMR777+mSv+LAaJAkLavJo409dJYUOmUyTxeo3rg=; b=y4P25QZe96HI0iWEukq69z8EclmGUUYMEwk1t4woNhhro0XYYP/EkCNMsSF1e8x8iR8GsTxRyy dynz9Rmj2Q0/D6voSSMStklzoehnuOnpV1qXTL7ty2tgIyO4ZgAZ5E5adJsLVO23IqIEn0Fc4a3h 3EaCeRv2nvMuc+VmM8oSSrCj5LMmNoxuBXt4OLWXYeenLFInCywv2tfG+eQmf20Ff9DCSprQrTdq LXTXXuHMaXucW5NQ0dtQXb3g3ItbVN7zQRlUpUBNqZBJxo9oocNdsumKArTn6jvqrqpLSL4gKNo1 1kjil4FdLc6+oIGrhxosRNi8+5jL7Aeh6NeDmunxK2PjqDI8G2BTg29SvH5chOYF9auxi0iIR7Cm NAa1NTdYhqEOZRdO8K2NEd3sIAiQO7mQhVAdGxrdTAIJ7g1kGMhxzeadEPjbTYFWo2R35malf0Zr DC+7A4L+B/+IkYDF/AsG+peej96D95Wwu6Ip2sWTwBaBSaDR1tVTzzHKBKRRn4qbOUc84AaWUHif IbmHUKKYUPTtEkyDQHhRt9DW1/cQG5naKkho/H/9jYqJBrrI+kD/Gvu8NtMfN1IzLBDKYeVIgR4S HROXqYweEg3XYSCu9/hl+S2Z9WTQjVoJelXsW1Y9gwjvzuaiZ+NUjsFRDm8+bxXE+By42U0n1TTB Q= Message-ID-Hash: VMDWIDD4D44OC5MMQUT7YZY54BBOZOIJ X-Message-ID-Hash: VMDWIDD4D44OC5MMQUT7YZY54BBOZOIJ X-MailFrom: niklas@vonhirschfeld.eu 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.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Position of overflowing TABLE after split List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============5034873869305370571==" --===============5034873869305370571== Content-Type: multipart/alternative; boundary="----=_Part_8_232974440.1732136482412" ------=_Part_8_232974440.1732136482412 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I don't think that is the case. I first stumbled across this in a single-sided document and after giving it= another look, it does not seems like it's overlowing in the left margin, t= he same way it does to the right margin before the split, but rather being = centered, overvflowing the same amount on both sides. You can see this on live.contextgarden.net with the following example: ``` \showframe \startplacetable[align=3Dleft,location=3D{split},title=3D{test}] \bTABLE[option=3Dstretch,split=3Dyes,textwidth=3D\dimexpr\textwidth+\rightm= arginwidth+\rightmargindistance\relax] \dorecurse{100}{ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTR =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTD Cell 1 \eTD =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTD Cell 2 \eTD =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTD Cell 3 \eTD =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \eTR =C2=A0=C2=A0=C2=A0 } \eTABLE \stopplacetable ``` Niklas 19.11.2024 18:05:00 Duncan Hothersall : > If your document is set up as double-sided (\setuplayout[alternative=3Ddo= ublesided] or similar) then I think this is the expected behaviour, since t= he margins flip on odd and even pages. You could set up as single-sided to = prevent this but you may be relying on the double-sided setup for other thi= ngs (page numbers, headers and footers for example). >=20 > Duncan >=20 > On Tue, 19 Nov 2024 at 15:11, Niklas von Hirschfeld wrote: >> Hi there, >>=20 >> when having an overflowing TABLE in width (e.g. with the TABLE option >> 'textwidth=3D\dimexpr\textwidth+\rightmarginwidth\relax') the position >> (horizontal) changes after a split. >>=20 >> Before the first split the table overflows into the right margin. After >> that the position changes and it's overflowing into the left margin. >>=20 >> Here is a minimal example: >>=20 >> \startplacetable[location=3D{split}] >> \bTABLE[option=3Dstretch,split=3Dyes,textwidth=3D\dimexpr\textwidth+\rig= htmarginwidth+\rightmargindistance\relax] >>=20 >> =C2=A0=C2=A0\dorecurse{100}{ >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTR >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTD Cell 1 \eTD >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTD Cell 2 \eTD >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \bTD Cell 3 \eTD >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \eTR >> =C2=A0=C2=A0=C2=A0=C2=A0 } >> \eTABLE >> \stopplacetable >>=20 >> Is this behavior expected? >>=20 >> I would like the position to be the same as before the split, >> overflowing into the right margin, how could I achieve this. >>=20 >>=20 >> Thank you and best regards >>=20 >> Niklas von Hirschfeld >>=20 >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o the Wiki! >>=20 >> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/nt= g-context.ntg.nl >> webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhet.net (= mirror) >> archive=C2=A0 : https://github.com/contextgarden/context >> wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net >> ________________________________________________________________________= ___________ ------=_Part_8_232974440.1732136482412 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit I don't think that is the case.
I first stumbled across this in a single-sided document and after giving it another look, it does not seems like it's overlowing in the left margin, the same way it does to the right margin before the split, but rather being centered, overvflowing the same amount on both sides.

You can see this on live.contextgarden.net with the following example:

```
\showframe

\startplacetable[align=left,location={split},title={test}]
\bTABLE[option=stretch,split=yes,textwidth=\dimexpr\textwidth+\rightmarginwidth+\rightmargindistance\relax]
\dorecurse{100}{
      \bTR
        \bTD Cell 1 \eTD
        \bTD Cell 2 \eTD
        \bTD Cell 3 \eTD
      \eTR
    }
\eTABLE
\stopplacetable
```

Niklas

19.11.2024 18:05:00 Duncan Hothersall <dh@capdm.com>:

If your document is set up as double-sided (\setuplayout[alternative=doublesided] or similar) then I think this is the expected behaviour, since the margins flip on odd and even pages. You could set up as single-sided to prevent this but you may be relying on the double-sided setup for other things (page numbers, headers and footers for example).

Duncan

On Tue, 19 Nov 2024 at 15:11, Niklas von Hirschfeld <niklas@vonhirschfeld.eu> wrote:
Hi there,

when having an overflowing TABLE in width (e.g. with the TABLE option
'textwidth=\dimexpr\textwidth+\rightmarginwidth\relax') the position
(horizontal) changes after a split.

Before the first split the table overflows into the right margin. After
that the position changes and it's overflowing into the left margin.

Here is a minimal example:

\startplacetable[location={split}]
\bTABLE[option=stretch,split=yes,textwidth=\dimexpr\textwidth+\rightmarginwidth+\rightmargindistance\relax]

  \dorecurse{100}{
       \bTR
         \bTD Cell 1 \eTD
         \bTD Cell 2 \eTD
         \bTD Cell 3 \eTD
       \eTR
     }
\eTABLE
\stopplacetable

Is this behavior expected?

I would like the position to be the same as before the split,
overflowing into the right margin, how could I achieve this.


Thank you and best regards

Niklas von Hirschfeld

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________
------=_Part_8_232974440.1732136482412-- --===============5034873869305370571== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============5034873869305370571==--