Re: [NTG-context] xtable as list item (again)
On 6/16/21 9:56 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 15.06.2021 um 19:57: >>[...] >>\showframe\showstruts >>\starttext >>\startitemize[n][margin=yes] >>\item a >>\item >> \startembeddedxtable[option={stretch, width}] >> \dorecurse{25}{\startxrow >>\startxcell \Characters{\recurselevel}\stopxcell >>\startxcell \characters{\recurselevel}\stopxcell >> \stopxrow} >>\stopembeddedxtable > > \item >\startfixed > % put your table here >\stopfixed Many thanks for your help, Wolfgang. This worked like a charm. First time I’m aware of this command. Many thanks for your help again, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] xtable as list item (again)
Pablo Rodriguez schrieb am 15.06.2021 um 19:57: Dear list, I already posted a similar question some time ago (https://mailman.ntg.nl/pipermail/ntg-context/2021/101021.html), but I got no reply. I have the following sample: \showframe\showstruts \starttext \startitemize[n][margin=yes] \item a \item \startembeddedxtable[option={stretch, width}] \dorecurse{25}{\startxrow \startxcell \Characters{\recurselevel}\stopxcell \startxcell \characters{\recurselevel}\stopxcell \stopxrow} \stopembeddedxtable \item \startfixed % put your table here \stopfixed Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] xtable as list item (again)
Dear list, I already posted a similar question some time ago (https://mailman.ntg.nl/pipermail/ntg-context/2021/101021.html), but I got no reply. I have the following sample: \showframe\showstruts \starttext \startitemize[n][margin=yes] \item a \item \startembeddedxtable[option={stretch, width}] \dorecurse{25}{\startxrow \startxcell \Characters{\recurselevel}\stopxcell \startxcell \characters{\recurselevel}\stopxcell \stopxrow} \stopembeddedxtable \item b \stopitemize \stoptext And I get two issues: 1. Item number in 2 is placed on the bottom of the xtable. I need it on the top of the xtable. 2. There is an extra horizontal space before the xtable. How can I get rid of it? (In my real-world document, the space before is huge. In any case, it misplaces the xtable.) Maybe my approach is wrong, but I need the xtable as part of a list (and I need it to strecht it horizontally). Does anyone know how to achieve this? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___