* [NTG-context] Position of overflowing TABLE after split @ 2024-11-19 15:02 Niklas von Hirschfeld 2024-11-19 17:02 ` [NTG-context] " Duncan Hothersall 0 siblings, 1 reply; 3+ messages in thread From: Niklas von Hirschfeld @ 2024-11-19 15:02 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Position of overflowing TABLE after split 2024-11-19 15:02 [NTG-context] Position of overflowing TABLE after split Niklas von Hirschfeld @ 2024-11-19 17:02 ` Duncan Hothersall 2024-11-20 21:01 ` Niklas von Hirschfeld 0 siblings, 1 reply; 3+ messages in thread From: Duncan Hothersall @ 2024-11-19 17:02 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1897 bytes --] 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 > > ___________________________________________________________________________________ > [-- Attachment #1.2: Type: text/html, Size: 2919 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Position of overflowing TABLE after split 2024-11-19 17:02 ` [NTG-context] " Duncan Hothersall @ 2024-11-20 21:01 ` Niklas von Hirschfeld 0 siblings, 0 replies; 3+ messages in thread From: Niklas von Hirschfeld @ 2024-11-20 21:01 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2880 bytes --] 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 >> ___________________________________________________________________________________ [-- Attachment #1.2: Type: text/html, Size: 6211 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-20 21:06 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-11-19 15:02 [NTG-context] Position of overflowing TABLE after split Niklas von Hirschfeld 2024-11-19 17:02 ` [NTG-context] " Duncan Hothersall 2024-11-20 21:01 ` Niklas von Hirschfeld
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).