[NTG-context] Re: How to scale a TABLE to \textwidth?

2025-05-19 Thread Wolfgang Schuster
} \eTR} \eTABLE \startplacetable[location=nonumber] \bTABLE[option=stretch] \dorecurse{9}{\bTR \dorecurse{36}{\bTD ##1 \eTD} \eTR} \eTABLE \stopplacetable \stoptext end example Wolfgang ___ If your question is of intere

[NTG-context] Re: Lua question - table.save, table.load

2025-01-11 Thread Jeong Dal via ntg-context
return (not q) and (p or r) end document.truthTable({ "x", "y", "z","f(x,y,x)"},document.logicF) \stopluacode \stopbuffer \startbuffer[Kmap_xyzR] lua("MP = { } MP.data = table.load('tempList.lua')") ; numeric n,k ; Km

[NTG-context] Re: You can't use '\prevdepth' in restricted horizontal mode

2025-01-06 Thread Jeong Dal via ntg-context
=0 end >> context(val) >> context.NC() >> if #a == 3 then >> break >> end >> if u then val=1 else val=0 end >> context(val) >> context.NC() >> con=document.logicFa(s,t,u) >> context(con) >> context.NC() >> context.AR() >>

[NTG-context] Re: You can't use '\prevdepth' in restricted horizontal mode

2025-01-05 Thread Hans Hagen via ntg-context
logicF2(s,t) context(con) context.NC() context.AR() end end end context.HL() context.stoptabulate() end \stopluacode In the text call the functions as following: \startplacetable[location=here,reference=tbl:Fxyz] \startluacode function document.logicFa(p,q,r) if ((not p or not q) and r) or (p an

[NTG-context] Re: You can't use '\prevdepth' in restricted horizontal mode

2025-01-03 Thread Jeong Dal via ntg-context
d end context.HL() context.stoptabulate() end \stopluacode In the text call the functions as following: \startplacetable[location=here,reference=tbl:Fxyz] \startluacode function document.logicFa(p,q,r) if ((not p or not q) and r) or (p and (q or not r)) then return "1"

[NTG-context] Re: Position of overflowing TABLE after split

2024-11-20 Thread Niklas von Hirschfeld
ame 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}{

[NTG-context] Re: Position of overflowing TABLE after split

2024-11-19 Thread Duncan Hothersall
> (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

[NTG-context] Position of overflowing TABLE after split

2024-11-19 Thread Niklas von Hirschfeld
s 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     \

[NTG-context] Position of wide tables after split

2024-11-09 Thread Niklas von Hirschfeld
ctly how I want it to be,  overflowing into the right margin. But on the following pages it overflows into the left margin. Here is a minimal example: \startplacetable[location={split}] \bTABLE[option=stretch,split=yes,textwidth=\dimexpr\textwidth+\rightmarginwidth+\rightmargindistance\relax]  

[NTG-context] Re: table float split behavior

2024-07-10 Thread Henning Hraban Ramm
three. Can I influence this anyhow? Hans explained in today’s online meeting: The float location "split" cannot be combined with other locations (here, top, bottom, page). "split" alone is like "here"; for "page", use \startpostponing \startplaceta

[NTG-context] Re: table float split behavior

2024-07-07 Thread Henning Hraban Ramm
] \starttext \samplefile{tufte} \startplacetable[location={top,split},title=table split test] \bTABLE%[setups=twoparamstable] \bTABLEhead \bTR\bTH One \eTH\bTH Two\eTH\bTH Three \eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{60}{% \bTR\bTD #1\eTD\bTD \fakewords{1}{10}\eTD\bTD \fakewords{1}{10}\eTD\eTR

[NTG-context] table float split behavior

2024-06-17 Thread Henning Hraban Ramm
\usemodule[visual] \starttext \samplefile{tufte} \startplacetable[location={top,split},title=table split test] \bTABLE%[setups=twoparamstable] \bTABLEhead \bTR\bTH One \eTH\bTH Two\eTH\bTH Three \eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{60}{% \bTR\bTD #1\eTD\bTD \fakewords{1}{10}\eTD\bTD \fakewords{1

[NTG-context] Errors with 2024-05-11 LMTX

2024-05-12 Thread Rik Kabel
I have come across an error that halts processing with the latest release. The following demonstrates this: \setuppagenumbering [location=] \starttext  \dorecurse{36}{\dorecurse{19}{abc }}  \startplacetable[location=split,title={Table}]     \starttabulate[|p|p|]     \HL

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
l in a row.     \startplacetable[mode=columns,reference=demo-1]     \externalfigure[cow][width=\textwidth]     \stopplacetable     \samplefile{tufte} \stoptext so basically we have an "at the spot" placement or a float Is "mode" in floats something new? How is

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
: 2024.04.01 08:59. >>> >>> Could some one confirm this? >> It fails for me as well, when "mode=columns" is used. > compare with and without mode columns: > > \starttext > >\enablemode[columns] > >As we see \doifelsemode {columns} {i

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Hans Hagen
, when "mode=columns" is used. compare with and without mode columns: \starttext \enablemode[columns] As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have more than one cell in a row. \startplacetable[mode=columns,refere

[NTG-context] Re: Text in Margin

2024-02-19 Thread Wolfgang Schuster
dth] \stopplacefigure \samplefile{lorem} \startplacetable \bTABLE \bTR \bTD one \eTD \bTD two \eTD \bTD three \eTD \eTR \eTABLE \stopplacetable \samplefile{lorem} \startplacetable \bTABLE[textwidth=\dimexpr\textwidth+\rightmarginwidth+\rightmargindistance\relax,opt

[NTG-context] Converting XHTML captions to ConTeXt captions

2023-11-26 Thread Thangalin
xmlsetups \startxmlsetups xml:table \blank \doifelsetext{\CaptionText}{% \startplacetable[ title={\ignorespaces\CaptionText{}\removeunwantedspaces.}, reference={\AnchorXref} ] \define\CaptionText{} \define\AnchorXref{} }{ \startplacetable } \startembeddedxtab

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
t; > \startexercici[reference=...,title=...] > >     - \placetable[][]{}{...} -->  > \startplacetable[reference=...,location=...,title=...] ... \stopplacetable > >     - Llimones \hfill

[NTG-context] Re: Very strange error:

2023-08-14 Thread Wolfgang Schuster
i[reference=...,title=...]     - \placetable[][]{}{...} -->  \startplacetable[reference=...,location=...,title=...] ... \stopplacetable     - Llimones \hfill 6  -->  Llimones \filler[symbol] 6     - \bigskip 

[NTG-context] Re: upload

2023-08-09 Thread Rik Kabel
displayed. \setuppagenumbering [alternative=doublesided,location=] \setupcaption[style=sans,headstyle=sans] \starttext \startchapter[title={Page Numbering Test}] \startplacetable[location={here,spit,force},title={Title?}] \starttabulate[|rp|lp|] \HL \NC tufte \NC \input tufte

Re: [NTG-context] xtable - what might prevent splitting?

2023-03-28 Thread Wolfgang Schuster via ntg-context
version of that. Anyway, I now understand what I need to do, so thank you. Julian On 28/3/23 19:37, Wolfgang Schuster wrote: \startplacetable [location={here,split}] When you use the old \place... commands you have to write \placetable [here,split} {...} {...} BTW: \placetable expects either

Re: [NTG-context] xtable - what might prevent splitting?

2023-03-28 Thread jbf via ntg-context
understand what I need to do, so thank you. Julian On 28/3/23 19:37, Wolfgang Schuster wrote: \startplacetable [location={here,split}]___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] xtable - what might prevent splitting?

2023-03-28 Thread Wolfgang Schuster via ntg-context
rows, but certainly enough to require a second page \stopxtable \stoptext You have to pass the "split" keyword to the float command, e.g. \startplacetable [location={here,split}]     \startxtable     ...     \stopxtable \stopplacetable

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
Hello Hraban, thank you! indeed the trick is to use \startplacetable[location=90] Cheers Willi > On 25 Mar 2023, at 21:55, Henning Hraban Ramm via ntg-context > wrote: > > Am 25.03.23 um 21:39 schrieb Willi Egger via ntg-context: >> Hello everybody, >> in my proje

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Henning Hraban Ramm via ntg-context
and place it on the right side? My attempt: \setupcaption[table][location=right,orientation=90] \startplacetable [location=middle, reference=tab:papierformaten, title={Standaardformaten}] \rotate[rotation=90]{\externalfigure[Table1][type=buffer

[NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
Description: Adobe PDF document \setupcaption[table][location=right,orientation=90] \startplacetable [location=middle, reference=tab:papierformaten, title={Standaardformaten}] \rotate[rotation=90]{\externalfigure[Table1][type=buffer]} \stopplacetable Thank you for

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
/td/command(xml:table:tr:td)}\NC\NR \stopxmlsetups \startxmlsetups xml:table:tr:td \NC \xmlflush{#1} \stopxmlsetups \starttext \xmlprocessbuffer{test}{test}{} \startplacetable \starttabulate[|p|p|] \NC a\footnote{3}\NC b\NC\NR \stoptabulate \stopplacetable \startplacetable \b

[NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
\stopxmlsetups \startxmlsetups xml:table:tr \xmlfilter{#1}{/td/command(xml:table:tr:td)}\NC\NR \stopxmlsetups \startxmlsetups xml:table:tr:td \NC \xmlflush{#1} \stopxmlsetups \starttext \xmlprocessbuffer{test}{test}{} \startplacetable \starttabulate[|p|p|] \NC a\f

Re: [NTG-context] \xmlmap errors when returning key-value

2023-02-22 Thread Denis Maier via ntg-context
righttoleft} > \xmlmapvalue{colgroupalignvar}{dir: ltr}{lefttoright} > > \startxmlsetups xml:table:colgroup > \xmlfilter {#1} {/col/command(xml:table:colgroup:col)} % gives errors > %\xmlfilter {#1} {/col/command(xml:table:colgroup:colvar)} % works > \stopxmlset

[NTG-context] \xmlmap errors when returning key-value

2023-02-20 Thread Denis Maier via ntg-context
\setupTABLE[c][\xmlmatch {#1}][align=\xmlvalue{colgroupalignvar}{\xmlatt{#1}{style}}{lefttoright}] \stopxmlsetups \startxmlsetups xml:table:colgroup:col \setupTABLE[c][\xmlmatch {#1}][\xmlvalue{colgroupalign}{\xmlatt{#1}{style}}{align=lefttoright}] \stopxmlsetups \startxmlsetups xml:docu

[NTG-context] Unexpected results with \xmlpos

2023-02-16 Thread Denis Maier via ntg-context
s xml:test \xmlsetsetup{\xmldocument}{document}{xml:*} \xmlsetsetup{#1}{table-wrap}{xml:table-wrap} \xmlsetsetup{#1}{table}{xml:table} \stopxmlsetups \xmlregistersetup{xml:test} \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:table-wrap \start

Re: [NTG-context] local footnotes and captions

2022-06-16 Thread Denis Maier via ntg-context
I'm not quite I understand: Are you saying I should leave the caption in "global scope"? Regarding the second version: Shouldn't that be: \startlocalfootnotes \footnotetext[asdf]{asdf} % this %\footnotetext[asdf]{\footnote{asdf}} % instead of this \startplacetable[title={A b

Re: [NTG-context] local footnotes and captions

2022-06-16 Thread Hans Hagen via ntg-context
footnote in the caption is not included in the local footnotes. Why is that? \starttext \startplacetable[title={A breakfast table.\footnote{asdf}}] \startlocalfootnotes \placelegend {\starttable[|l|r|] \HL \VL Spam \footnote {lovely}\VL Bacon \footnote

Re: [NTG-context] xmlpos values doubled

2022-04-20 Thread Ben Moon via ntg-context
etups xml:tabletestsetups > \xmlsetsetup{#1}{*}{-} > % tables > \xmlsetsetup{#1}{table-wrap|table}{xml:*} > \xmlsetsetup{#1}{thead|tbody|tr|th|td}{xml:table:*} > \xmlsetsetup{#1}{colgroup|col}{xml:*} > \stopxmlsetups > > \xmlregistersetup{xml:tabletestsetups}

[NTG-context] xmlpos values doubled

2022-03-28 Thread Ben Moon via ntg-context
}{xml:*} \stopxmlsetups \xmlregistersetup{xml:tabletestsetups} \startxmlsetups xml:table-wrap \startplacetable % \contextversion \par \xmlflush{#1} \stopplacetable \stopxmlsetups \startxmlsetups xml:table \bTABLE \xmlflush{#1} \eTABLE \stopxmlsetups \startxmls

Re: [NTG-context] Parameter order in float location matters

2021-11-30 Thread Marco Patzer via ntg-context
%% fails, messes up the placement \startplacefigure [location={top, none}] %% works \externalfigure \stopplacefigure %% Goal here: turn off the caption, not influence the default placement %% needs to be adapted when the global style is changed to “top” \startplacetable [location=

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Richard Mahoney via ntg-context
: Richard Mahoney , mailing list for ConTeXt users Subject: Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures Date: Wed, 25 Aug 2021 08:48:24 +0200 Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Score: 0.0 Hi, There is \startplacefigure / \startplacetable

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Taco Hoekwater via ntg-context
Hi, There is \startplacefigure / \startplacetable , which has a ‘list’ key https://wiki.contextgarden.net/Command/_startplacefloat Best wishes, Taco > On 25 Aug 2021, at 05:20, Richard Mahoney via ntg-context > wrote: > > List, > > I've been wondering if there is s

Re: [NTG-context] (no subject)

2021-07-18 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 17.07.2021 um 08:38: I have the following file: \setupfloat[table][default=nonumber] \starttext \section[title={Tables without force}] Here is a table without a caption, unforced. \startplacetable[location=none]   \bTABLE   \bTR\bTD r1c1

Re: [NTG-context] (no subject)

2021-07-18 Thread Pablo Rodriguez
On 7/17/21 8:38 AM, T. Kurt Bond wrote: > I have the following file: > > \setupfloat[table][default=nonumber] > > \starttext > \startplacetable[title={Table With A Caption},location=force] > \bTABLE > \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR > \e

Re: [NTG-context] \startplacetable[location=none] doesn't have a "Table X" label, but \startplacetable[location=force] does

2021-06-15 Thread T. Kurt Bond
That did it! Thanks! On Mon, Jun 14, 2021 at 5:52 AM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > T. Kurt Bond schrieb am Mo., 14. Juni 2021, 09:23: > >> I've got three questions: >> >>1. >> >>I've got a documen

Re: [NTG-context] \startplacetable[location=none] doesn't have a "Table X" label, but \startplacetable[location=force] does

2021-06-14 Thread Wolfgang Schuster
T. Kurt Bond schrieb am Mo., 14. Juni 2021, 09:23: > I've got three questions: > >1. > >I've got a document with some xtables. If I use >\startplacetable[location=none] the tables *don't* have a "Table X" >label, but they float and e

[NTG-context] \startplacetable[location=none] doesn't have a "Table X" label, but \startplacetable[location=force] does

2021-06-14 Thread T. Kurt Bond
I've got three questions: 1. I've got a document with some xtables. If I use \startplacetable[location=none] the tables *don't* have a "Table X" label, but they float and end up in locations where I don't want them. If I use \startplacetable[location

Re: [NTG-context] Table disappears in floatcombination

2021-03-28 Thread Christoph Reller
> \setupcaptions[ >> > >number=no, %<- comment and table appears >> > >align=flushright] >> > > \starttext >> > > \startplacecombination[title=Combination] >> > >\startfloatcombination >> >

[NTG-context] 3 questions about xtables after reading manuals

2021-01-18 Thread Andres Conrado Montoya
] sometimes columns are narrowed so much as to break a line of 4 or 5 words. MWE: % \startplacetable[location=none] %\startxtable[align={middle,lohi},option=tight] % This makes the first column too narrow. Lines are not that long \startxtable[align={middle,lohi}] \startxtablehead

Re: [NTG-context] Table disappears in floatcombination

2020-12-26 Thread Christoph Reller
appears > >align=flushright] > > \starttext > > \startplacecombination[title=Combination] > >\startfloatcombination > > \startplacetable%[title=Table] %<- uncomment and table appears > >\bTABLE \bTR \bTD Cell \eTD \eTR \eTABLE > &

Re: [NTG-context] Table disappears in floatcombination

2020-12-26 Thread Hans Hagen
On 12/25/2020 9:47 PM, Christoph Reller wrote: Hi, Consider the following MWE: \definefloat[combination][figure] \setupcaptions[   number=no, %<- comment and table appears   align=flushright] \starttext \startplacecombination[title=Combination]   \startfloatcombination     \startplaceta

[NTG-context] Table disappears in floatcombination

2020-12-25 Thread Christoph Reller
Hi, Consider the following MWE: \definefloat[combination][figure] \setupcaptions[ number=no, %<- comment and table appears align=flushright] \starttext \startplacecombination[title=Combination] \startfloatcombination \startplacetable%[title=Table] %<- uncomment and table a

Re: [NTG-context] How can I make "natural table" be exactly as wide as the textwidth?

2020-12-08 Thread T. Kurt Bond
ation={footer,middle}] \setupwhitespace[quarterline] \setupbodyfont[pagella,9pt] \definepapersize[digest][width=5.5in,height=8.5in] \setuppapersize[digest] \starttext \startplacetable[location=force,title={Stun Levels}] \definecolor[back-3][r=.8,g=.8,b=.8] \setupTABLE[background=color,frame=off,frame

Re: [NTG-context] Can I caption a table without using something that makes it float?

2020-12-05 Thread T. Kurt Bond
Oh, after looking at some examples I found that \startplacetable[location=force,title={Caption Text}] places the table without the extra vertical space, as long as there wasn't a \setupalign[line] ! On Sat, Dec 5, 2020 at 11:01 PM T. Kurt Bond wrote: > If I use \placetable or startpl

[NTG-context] Can I caption a table without using something that makes it float?

2020-12-05 Thread T. Kurt Bond
If I use \placetable or startplacetable with location=force it shows up but there is lots of space before and after it, I assume it is because it is a float. Is there a way I can caption the table without using something that makes it float, or remove the space otherwise? -- T. Kurt Bond

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Sylvain Hubert
tyle=sans] > \setupxtable[head][topframe=on,bottomframe=on,foregroundstyle=sansbold] > \setupxtable[body][bottomframe=on] > \setupxtable[foot][bottomframe=on] > > \define[1]\fuentent{\start\switchtobodyfont[sans,small]#1\par\stop} > > \define[1]\fuente{\start\switchtobodyfont[sa

[NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
:}~#1\par\stop} \starttext \reference[tbl:t03]{}% \startplacetable[title={Composición química y valor energético de recursos forrajeros de corte en el área de influencia del Subproyecto Carne Bovina (trópico de altura).}] \startxtable[option=tight,bodyfont=7pt] \startxtablehead[head] \star

Re: [NTG-context] Split Table, don't repeat caption

2020-10-08 Thread Denis Maier
le of times, but I couldn't find an answer. If this doesn't help you have to provide a example. [...] Ok: = \setupcaption[table]     [location=top] \starttext \startplacetable[location=split,title={Title\footnote{footnote}}]     \bTABLE[split=yes]

Re: [NTG-context] Split Table, don't repeat caption

2020-10-07 Thread Denis Maier
swer. If this doesn't help you have to provide a example. [...] Ok: = \setupcaption[table]     [location=top] \starttext \startplacetable[location=split,title={Title\footnote{footnote}}]     \bTABLE[split=yes]     \bTABLEhead     \bTR \bTD Header 1 \eTD \bTD Hea

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
lem he can put the table in a float environment and disable the caption and counter. \startplacetable[location={force,none}]   \startembeddedxtable   ...   \stopembeddedxtable \stopplacetable Many thanks for your reply, Wolfgang. These are my defaults for tables in the document: \setupxtable

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Pablo Rodriguez
> environment and disable the caption and counter. > > \startplacetable[location={force,none}] >   \startembeddedxtable >   ... >   \stopembeddedxtable > \stopplacetable Many thanks for your reply, Wolfgang. These are my defaults for tables in the document: \setupxta

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Wolfgang Schuster
vironment and disable the caption and counter. \startplacetable[location={force,none}]   \startembeddedxtable   ...   \stopembeddedxtable \stopplacetable Wolfgang ___ If your question is of interest to others as well, plea

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Fabrice Couvreur
Hi Otared, Thanks, it works perfectly. Best regards. fabrice Le mar. 14 juil. 2020 à 12:23, Otared Kavian a écrit : > Hi Fabrice, > > You should enclose the table into \startplacetable... \stopplacetable as > in: > > \startplacetable[number=no] > % here put your xta

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Otared Kavian
Hi Fabrice, You should enclose the table into \startplacetable... \stopplacetable as in: \startplacetable[number=no] % here put your xtable \stopplacetable Best regards: Otared > On 14 Jul 2020, at 11:28, Fabrice Couvreur > wrote: > > Hello, >

Re: [NTG-context] mkiv digits/units zero padding not working

2020-05-07 Thread Benjamin Buchmuller
ntext, > where it is embedded in a \startplacetable[…]{}{}. I’m still learning to get > the gist of the \doifs, the curly and square bracketed arguments and so on. > Thanks for the hint! > > Seems like I’m going to make three cells and span the header column for now, > though I g

Re: [NTG-context] mkiv digits/units zero padding not working

2020-05-07 Thread Benjamin Buchmuller
Hi Wolfgang, you are (of course) right again. I realised that I wouldn’t get the expected behaviour after checking the snippet isolated from my document’s context, where it is embedded in a \startplacetable[…]{}{}. I’m still learning to get the gist of the \doifs, the curly and square

Re: [NTG-context] \placetable[location=split] reference ??

2020-05-07 Thread Benjamin Buchmuller
different as soon as xtable tries to place them … Cheers \startplacetable[reference=tab1,title={A table},location=split] \startxtable[split=repeat] \startxrow \startxcell hi \stopxcell \stopxrow \stopxtable \stopplacetable > On 22 Apr 2020, at 21:10, Benjamin Buchmuller > wrote: > >

[NTG-context] \placetable[location=split] reference ??

2020-04-22 Thread Benjamin Buchmuller
Hi, I would like to reference a table of the following structure. \starttext \startplacetable[reference=tab1,title={A table},location=split] \startxtable \startxrow \startxcell hi \stopxcell \stopxrow \stopxtable \stopplacetable In Table \in[tab1] \stoptext It has [location=split], which I

Re: [NTG-context] splitted xtable with repeating headers and placetable

2020-04-05 Thread Wolfgang Schuster
e without float environment} \samplefile{ward} \getbuffer[table] \title{Table with float environment} \samplefile{ward} \startplacetable[location={none,split}] \getbuffer[table] \stopplacetable \stoptext Wolfgang

Re: [NTG-context] splitted xtable with repeating headers and placetable

2020-04-04 Thread Geert Dobbels
tartxcell first \stopxcell \startxcell second \stopxcell \startxcell third \stopxcell \startxcell fourth \stopxcell \startxcell fifth \stopxcell \startxcell sixth \stopxcell \stopxrow} %\startplacetable \startxtable \startxtablehead[head] \onerow \stopxtablehead \startxtablebody \

[NTG-context] splitted xtable with repeating headers and placetable

2020-04-04 Thread Geert Dobbels
d{cI}{\startxcell \cI \stopxcell} \doifdefined{cJ}{\startxcell \cJ \stopxcell} \doifdefined{cK}{\startxcell [left] \cK \stopxcell} \stopxrow \stopbuffer %\startplacetable[] \startxtable \startxtablehead[head] \doloopif{\lineno}{<}{2}{\getbuffer[loop]} \stopxtablehead \startxtablebody \doloo

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-24 Thread Christoph Hintermüller
Hi Wolfgang On Mon, 2020-03-23 at 17:56 +0100, Wolfgang Schuster wrote: > > > Did my first tabulate/itemize example work for you? > > I have no problem including your graphic in a table although the > size > isn't perfect. > > \starttext > > \startpla

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-24 Thread Christoph Hintermüller
Hi Wolfgang > Did my first tabulate/itemize example work for you? > > I have no problem including your graphic in a table although the > size > isn't perfect. > > \starttext > > \startplacetable[title={some caption},reference={fig:somefig}]

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-23 Thread Wolfgang Schuster
owing dummy graphic works. \starttext \startplacetable[title={some caption},reference={fig:somefig}]     \startuseMPgraphic{heap_add_start_with_3}     draw fullcircle scaled 4cm ;     \stopuseMPgraphic     \startitemize[a][stopper=)]     \starttabulate     \NI \useMPgraphic{heap_add_

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-21 Thread nicolas mondon
width=15cm,edge=14cm] > > \showframe > > \setupfloat >[default=leftedge, > minwidth=14cm] > > \starttext > > \input ward > > \startplacefigure > \externalfigure[dummy] > \stopplacefigure > > \input knuth > > \startplacetable >

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-19 Thread Wolfgang Schuster
14cm] \starttext \input ward \startplacefigure \externalfigure[dummy] \stopplacefigure \input knuth \startplacetable   \starttabulate[|c|c|c|]   \FL   \NC A \NC B \NC C \NC\NR   \ML   \NC X \NC Y \NC Z \NC\NR   \LL   \stoptabulate \stopplacetable \input zapf \stoptext Step 2: Split each page int

[NTG-context] Split extreme tables across tables

2019-07-10 Thread Thangalin
The following document does not split across tables, which is a little surprising: \starttext \startplacetable[title={Average Annual Temperatures}] \startxtable \startxtablehead[head] \startxrow \startxcell[align=middle,width={0.10\textwidth}] Year \stopxcell \startxcell[align=middle,width={0.14

Re: [NTG-context] Footnotes in xtables

2019-05-01 Thread Otared Kavian
g for pointing to \startpostponingnotes…). %%% begin footnote-global-xtable.tex \starttext A silly one here\footnote{Here is a silly footnote.} \startpostponingnotes \startplacetable[location=middle,reference={tab:1}] \startxtable \startxrow \startxcel

Re: [NTG-context] placetable and localfootnotes

2019-05-01 Thread Otared Kavian
will let you know. Best regards: OK > On 1 May 2019, at 01:12, Aditya Mahajan wrote: > > On Tue, 30 Apr 2019, Otared Kavian wrote: > >> Hi Hans, >> >> It seems that there is a conflict between \startplacetable and >> \startlocalfootnotes: in the following

Re: [NTG-context] placetable and localfootnotes

2019-05-01 Thread Otared Kavian
;> On 30Apr19, at 02:54, Otared Kavian wrote: >> >> Hi Hans, >> >> It seems that there is a conflict between \startplacetable and >> \startlocalfootnotes: in the following example when the latter command (and >> its \stop counterpart) is commented out the t

Re: [NTG-context] placetable and localfootnotes

2019-04-30 Thread Aditya Mahajan
On Tue, 30 Apr 2019, Otared Kavian wrote: Hi Hans, It seems that there is a conflict between \startplacetable and \startlocalfootnotes: in the following example when the latter command (and its \stop counterpart) is commented out the table is placed correctly in the middle, while otherwise

Re: [NTG-context] placetable and localfootnotes

2019-04-30 Thread Alan Braslau
> On 30Apr19, at 02:54, Otared Kavian wrote: > > Hi Hans, > > It seems that there is a conflict between \startplacetable and > \startlocalfootnotes: in the following example when the latter command (and > its \stop counterpart) is commented out the table is placed corre

[NTG-context] placetable and localfootnotes

2019-04-30 Thread Otared Kavian
Hi Hans, It seems that there is a conflict between \startplacetable and \startlocalfootnotes: in the following example when the latter command (and its \stop counterpart) is commented out the table is placed correctly in the middle, while otherwise the table is not centered. Best regards: OK

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Wolfgang Schuster
a caption for the table you can use the “nonumber” keyword for placetable to get rid of the label and counter of the float. \starttext \startplacetable[location={nonumber,right},title={A long title for this short table}]     \startxtable[width=2cm]         \startxrow             \startxcell

Re: [NTG-context] xtables with lua

2018-09-30 Thread Otared Kavian
of the addition table of your examples. I think the following modification might be necessary (here for the multiplication table): %%% \startplacetable \startluacode context.bTABLE() context.bTR() context.bTD() context("($\\times$)") c

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-13 Thread Alan Braslau
=right, do get the text background color, so there is a *kludge* possible there: \startplacetable [location=right] ... \stopplacetable \flushsidefloats ... (incomplete example) Alan P.S. Hans: maybe location=force ought to work similarly with respect to text backgrounds as location=left or

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Wolfgang Schuster
lemented, but will be" or "splitted TABLE cannot be centered on pages - use xtable instead with [key=value]" or "use \setupTABLE[something=here] - it will center splitted TABLE on each page"? Best regards, Lukas Wolfgang Schuster <mailto:schuster.wolfg...@gmail.com>

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Procházka Lukáš Ing .
Hello, thanks, it works: \startalignment[middle] \startplacetable[location={split,force,none}] \bTABLE[split=repeat] \bTABLEhead \bTR\bTH A\eTH\bTH B\eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{60}{ \bTR \bTD

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-19 Thread Wolfgang Schuster
ABLE cannot be centered on pages - the alg is not implemented, but will be" or "splitted TABLE cannot be centered on pages - use xtable instead with [key=value]" or "use \setupTABLE[something=here] - it will center splitted TABLE on each page"? Place the table as fl

[NTG-context] Spacebefore and spaceafter a Float

2018-05-28 Thread John Grasty
wrong? Sincerely, John Grasty \setupfloat[table][before={\blank[2*big]}] \setupxtable[frame=off] \setupxtable[head][topframe=on,bottomframe=on] \setupxtable[body][] \setupxtable[foot][bottomframe=on] \starttext \input douglas \startplacetable[title={Cost Overview}] \startxtable \startxtablehead

Re: [NTG-context] table and tabulate "negative" extra spacing

2018-05-21 Thread Alan Braslau
ut is without effect in my real use case. I'll have to investigate... Alan \starttext \startplacetable \starttable [|c|c|] \NC 1 \VL first row \AR \TB[-1cm] \NC 2 \VL second row \AR \stoptable \stopplacetable \blank [5cm] \startplacetable \starttabulate [|c|c|] \NC 1 \VL fi

Re: [NTG-context] \startplacetable in \startcolumnset

2018-04-19 Thread Wolfgang Schuster
Hi Dalyoung, setup-en.pdf lists only the options for the new columnset code but it uses the internal pagegrid commands. I’m going to change this to have the commands with the columnset names in the next version. Wolfgang Jeong Dal 19. April 2018 um 17:05 Hi, I found

[NTG-context] \startplacetable in \startcolumnset

2018-04-19 Thread Jeong Dal
Hi, I found \definecolumnset in the wiki not in the setup-en.pdf. I’ll test it again. Thank you for reading. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] \startplacetable in \startcolumnset

2018-04-19 Thread Jeong Dal
Hi, I used the following exam format well which was set by the help of Wolfgang long time ago. Recently I got a strange output when I used \startplacetable or \placetable in the \startcolumnset … \stopcolumnset. There is a strange number first and table in the next column. The output is OK if

Re: [NTG-context] next beta

2018-04-17 Thread Otared Kavian
\NR = New Row \NL = New Line ? \ND = ?? Also it seems that when one encloses the tabulated lines into a \startplacetable...\stopplacetable pair, the coloring of the background does not work. Please see below an example. Best regards: OK %%% begin row-background.tex \setuptabulate[backgroundcolor

[NTG-context] splitting a landscape table with local footnotes

2017-06-08 Thread Alan Bowen
. \starttext \dorecurse{5}{\input knuth} \setupnotation[footnote][numberconversion=characters] \startlocalfootnotes \setupTABLE[frame=off,split=yes] \setupTABLE[c][1,2,3,4,5,6][roffset=.3pc] \setupTABLE[c][2,3,4,5,6,7][loffset=.3pc] \startplacetable[title={Hellenistic calendars}, location={page,header,high

Re: [NTG-context] aligning a table alignment with local footnotes

2017-05-30 Thread Alan Bowen
local footnotes? >> >> I currently have: >> >> \starttext >> >> \startbuffer[Tab01] >> \startlocalfootnotes >> \bTABLE >> \bTR\bTD So\eTD\bTD what% >> \footnote{\input knuth} % <= >> \eTD\eTR >> \eTABLE >> {\placel

Re: [NTG-context] aligning a table alignment with local footnotes

2017-05-30 Thread Alan Bowen
>> the local footnotes? >> >> I currently have: >> >> \starttext >> >> \startbuffer[Tab01] >> \startlocalfootnotes >> \bTABLE >> \bTR\bTD So\eTD\bTD what% >> \footnote{\input knuth} % <= >> \eTD\eTR >> \eTABLE >> {\pla

Re: [NTG-context] aligning a table alignment with local footnotes

2017-05-29 Thread Aditya Mahajan
BLE {\placelocalfootnotes} \stoplocalfootnotes \stopbuffer \startplacetable[title=Test, align=middle] {\getbuffer[Tab01]} \stopplacetable \stoptext I usually use: \startplacetable \hbox{\startplacelegend[location=bottom] \startcontent TABLE \stopcontent \startcapt

[NTG-context] Fwd: Re: aligning a table alignment with local footnotes

2017-05-29 Thread Hans Hagen
of the local footnotes? I currently have: \starttext \startbuffer[Tab01] \startlocalfootnotes \bTABLE \bTR\bTD So\eTD\bTD what% \footnote{\input knuth} % <= \eTD\eTR \eTABLE {\placelocalfootnotes} \stoplocalfootnotes \stopbuffer \startplacetable[title=Test, align=mid

[NTG-context] aligning a table alignment with local footnotes

2017-05-29 Thread Alan Bowen
tes \stopbuffer \startplacetable[title=Test, align=middle] {\getbuffer[Tab01]} \stopplacetable \stoptext If the footnote is commented out, the table is centered (as I want it). With the footnote, the table is flushleft. I have managed to get what I need by defining the \hsize of

Re: [NTG-context] problem with align in natural tables

2017-05-15 Thread Alan Bowen
Aries\eTD\eTR > \eTABLE > \stopmiddlealigned > > \startplacetable[location=none] > \bTABLE > \bTR\bTD Sun \eTD\bTD Aries\eTD\eTR > \eTABLE > \stopplacetable > > \stoptext > > Wolfgang > > Alan Bowen > 15. Mai 2017 um 18:44 > I am having trouble centeri

Re: [NTG-context] problem with align in natural tables

2017-05-15 Thread Wolfgang Schuster
Put the table in a float or use \midaligned. \starttext \startmiddlealigned \bTABLE \bTR\bTD Sun \eTD\bTD Aries\eTD\eTR \eTABLE \stopmiddlealigned \startplacetable[location=none] \bTABLE \bTR\bTD Sun \eTD\bTD Aries\eTD\eTR \eTABLE \stopplacetable \stoptext Wolfgang

  1   2   >