[NTG-context] issue splitting tables and horizontal mode

2019-10-18 Thread Pablo Rodriguez
Dear list, I have another issue related to extreme tables. \setupxtable[split=yes] \starttext \startmakeup[standard] \dontleavehmode \startxtable[align={middle,lohi},columndistance=0em] \startxrow \startxcell

Re: [NTG-context] issue with images in frames

2019-10-18 Thread Hans Hagen
On 10/17/2019 11:31 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 17.10.2019 um 21:51: Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option={stretch, width}] \startxrow \startxcell

Re: [NTG-context] issue with images in frames

2019-10-17 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 17.10.2019 um 21:51: Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option={stretch, width}] \startxrow \startxcell \dontleavehmode\dorecurse{100

[NTG-context] issue with images in frames

2019-10-17 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option={stretch, width}] \startxrow \startxcell \dontleavehmode\dorecurse{100}{ \externalfigure[cow.pdf][scale=50

[NTG-context] Size of the font (Metapost + xtable)

2019-09-23 Thread Fabrice Couvreur
.7cm*dir 0) ; \stopMPcode \stopbuffer \starttext \startlinecorrection[blank] \startmidaligned \startxtable[align={middle,lohi},width=2.25cm] \startxrow \startxcell [background=color,backgroundcolor=pal

[NTG-context] Border in xtable

2019-09-01 Thread Fabrice Couvreur
Hello, In the table below, why the border of the first line is not drawn ? Thank you Fabrice \definecolor[ColorA][0.8(white)] \definecolor[ColorB][0.9(white)] \starttext \startxtable [align={lohi,middle}, width=2cm,bodyfont=11pt] \startxrow[background=color,backgroundcolor=ColorA

[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

[NTG-context] Alignment

2019-05-13 Thread Fabrice Couvreur
Hi, Not having too many ideas, I did this: is there not a more elegant way ? Thank you. Fabrice \definemathmatrix [pmatrix][matrix:parentheses][simplecommand=MATRIX] \starttext \startmidaligned \startxtable[align={middle,lohi},frame=off,offset=0.8ex] \startxrow

Re: [NTG-context] Footnotes in xtables

2019-05-01 Thread Otared Kavian
fgang 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] Footnotes in xtables

2019-05-01 Thread Henning Hraban Ramm
Am 2019-04-30 um 09:45 schrieb Otared Kavian : > Hi Clyde, > > In order to use footnotes in tables, you can use localfootnotes as in the > following: > > \startlocalfootnotes > \startxtable > \startxrow > \

Re: [NTG-context] placetable and localfootnotes

2019-05-01 Thread Otared Kavian
startlocalfootnotes > \startplacelegend[location={bottom,middle}] >\startcontent > \startxtable >\startxrow > \startxcell Alpha \stopxcell > \startxcell Beta\footnote{Footnote Here} \stopxcell >\stopxrow >\startxrow >

Re: [NTG-context] placetable and localfootnotes

2019-05-01 Thread Otared Kavian
is placed correctly in the >> middle, while otherwise the table is not centered. >> >> Best regards: OK >> %%% begin localfootnotes-xtable.tex >> \startplacetable >> \startlocalfootnotes >> \startxtable >> \startxrow >>

Re: [NTG-context] placetable and localfootnotes

2019-04-30 Thread Aditya Mahajan
and the output will be okay: \startplacetable \hbox{\startlocalfootnotes \startplacelegend[location={bottom,middle}] \startcontent \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta\footnote{Footnote Here} \stopxcell \stopxrow

Re: [NTG-context] placetable and localfootnotes

2019-04-30 Thread Alan Braslau
ctly in the > middle, while otherwise the table is not centered. > > Best regards: OK > %%% begin localfootnotes-xtable.tex > \startplacetable > \startlocalfootnotes > \startxtable > \startxrow > \startxcell Alpha \stopxcell &

[NTG-context] placetable and localfootnotes

2019-04-30 Thread Otared Kavian
%%% begin localfootnotes-xtable.tex \startplacetable \startlocalfootnotes \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta\footnote{Footnote Here} \stopxcell \stopxrow

Re: [NTG-context] Footnotes in xtables

2019-04-30 Thread Clyde Johnston
, In order to use footnotes in tables, you can use localfootnotes as in the following: \startlocalfootnotes \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta\footnote{Footnote Here} \stopxcell

Re: [NTG-context] Footnotes in xtables

2019-04-30 Thread Otared Kavian
Hi Clyde, In order to use footnotes in tables, you can use localfootnotes as in the following: \startlocalfootnotes \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta\footnote{Footnote Here} \stopxcell

[NTG-context] Footnotes in xtables

2019-04-30 Thread Clyde Johnston
How do you get footnotes to work in xtables? I get the superscript next to the text but the footnote does not appear at the bottom of the page. Thanks, Clyde MWE: \starttext \startxtable \startxrow \startxcell Alpha \stopxcell \startxcell Beta

[NTG-context] Strange behavior with offset key in a xtable

2019-04-22 Thread Fabrice Couvreur
Hi, Why is the height of the cells of the third line different ? Thank you. Fabrice \starttext \startxtable[align={lohi,middle},offset=0.8ex,width=3cm] \startxrow \startxcell \m{x} \stopxcell \startxcell[nx=3] \math{-\infty} \hfill

Re: [NTG-context] xtables rowspan

2019-03-04 Thread Felipe de Jesús Molina Bravo
ó: > Hi!! > > I am begginer in "context" ( and "tex" too). I want to generate the next > table: > > A.1 A.2 A.3 A.4 > B.3 B.4 > C.4 > > > I am using xtables and the code is the next: > > > \starttext > \startxtable[frame=on] > \start

Re: [NTG-context] xtables rowspan

2019-02-27 Thread Otared Kavian
es and the code is the next: > > > \starttext > \startxtable[frame=on] > \startxtablehead > \startxrow >\startxcell[ny=3, nx=1] A.1 \stopxcell >\startxcell[ny=3, nx=1] A.2 \stopxcell >\startxcell[ny=1, nx=1] A.3 \stopxcell >\startxce

[NTG-context] xtables rowspan

2019-02-27 Thread Felipe de Jesús Molina Bravo
Hi!! I am begginer in "context" ( and "tex" too). I want to generate the next table: A.1 A.2 A.3 A.4 B.3 B.4 C.4 I am using xtables and the code is the next: \starttext \startxtable[frame=on] \startxtablehead \startxrow \startxcell[ny=3, nx=1] A.1 \stopxcel

[NTG-context] table cell minimum heights -- help needed

2018-12-13 Thread Taco Hoekwater
eight” becomes the absolute value of the cell height. Did I miss something? I cannot imagine that this problem has not come up before… Best wishes, Taco Example code: \starttext \bTABLE[frame=on] \bTR \bTD[height=20pt] \input tufte \eTD \eTR \eTABLE \blank[10*line] \startxtable[frame=on] \star

Re: [NTG-context] A ConTeXt Guide in Italian

2018-12-02 Thread Wolfgang Schuster
Tommaso Gordini schrieb am 27.11.18 um 08:14: Wolfgang, your code works very fine for me, and the result is very beautiful, but I have noticed that it does not allow the interruption between two pages. I tried to pass the split=yes option to the \startembeddedxtable, \startxrow or\startxcell

Re: [NTG-context] A ConTeXt Guide in Italian

2018-11-22 Thread Wolfgang Schuster
not find anything. You can change the alignment of the text in the table with the align-key, e.g. \startxrow [align=normal]. One last question: could you have space before and after the frames? Something like that before = ... after = ... To get a blank line before and after the table you have

Re: [NTG-context] A ConTeXt Guide in Italian

2018-11-21 Thread Wolfgang Schuster
[example] [alternative=example] \defineuserdataalternative [example] [renderingsetup=userdata:example] \startsetups [userdata:example]   \startembeddedxtable [width=\textwidth,strut=no,offset=1ex,framecolor=red]     \startxrow [corner=03]   \startxcell     \typebuffer [userdata] [option=tex

[NTG-context] xtable in itemize

2018-11-12 Thread Florian Rudt
Dear list, I don’t find how to align xtables in lists. My mwe: \starttext \startitemize \item \input knuth \blank \startxtable[option=stretch] \startxrow \startxcell text \stopxcell \startxcell more text \stopxcell \stopxrow \stopxtable \item \input knuth \stopitemize \stoptext The table has

Re: [NTG-context] Strange behavior with the command \inframed{}

2018-10-23 Thread Fabrice Couvreur
[option={n,packed,fit,intext}, command=\ItemCommand] \setupitemgroup [itemize:2] [lefttext=, righttext=, option={a,text}] \starttext \placerecipe{}{ \startxtable[align={lohi,middle},bodyfont=9pt,offset=0.5ex] \startxrow \startxcell[nx=5,frame=off,align

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

2018-10-10 Thread Wolfgang Schuster
space below the table in your example is a wrong calculation of the cell height for the merged cells. The height is probably wrong because ConTeXt uses the width of the first column (and not of all merged cells) to determine the height. \starttext \startxtable[width=2cm]     \startxrow

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

2018-10-10 Thread Fabrice Couvreur
lo > > > > Thank you. > > Fabrice > > > > \definefloat > > [recipe] > > [figure] > > > > \setupfloat > > [recipe] > > [default={right,none}] > > > > \starttext > > \placerecipe{}{% > > \startxtable

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

2018-10-10 Thread Pablo Rodriguez
cells is 3.5cm. I hope it helps, Pablo > Thank you. > Fabrice > > \definefloat >     [recipe] >     [figure] > >   \setupfloat >     [recipe] >     [default={right,none}] > >   \starttext > \placerecipe{}{% >   \startxtable[align={middle,lohi},width

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

2018-10-10 Thread Fabrice Couvreur
Hello, Why is the text wrapping around the board or far too far ? Thank you. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \placerecipe{}{% \startxtable[align={middle,lohi},width=1.7 cm] \startxrow[background=color

[NTG-context] xtables with lua

2018-09-30 Thread Fabrice Couvreur
Hi, Is it possible to fill columns A, B and C using a loop with lua ? Thank you. Fabrice \starttext \startxtable[align={lohi,middle},bodyfont=8pt,width=0.8cm] \startxrow \startxcell \stopxcell \startxcell A \stopxcell \startxcell

[NTG-context] Adjust the dimensions of a sub-table in an extreme table ?

2018-08-30 Thread Fabrice Couvreur
, bottomspace=10mm, header=10mm, footer=10mm, footerdistance=10mm, headerdistance=10mm] \starttext \startxtable \startxrow \startxcell[width=0.6\textwidth] \stopxcell \startxcell[width=0.4\textwidth] {\darkred Document 2 :} {\bf Ticket de caisse taché du 29/08/2015

Re: [NTG-context] protrusion with opening exclamation and question marks

2018-08-29 Thread Hans Hagen
[right] \hfill¿Cómo? \hfill¡No! \stopbuffer \starttext \startTEXpage[offset=2em] \startembeddedxtable[framecolor=red, align=hanging, foregroundstyle={\ss\bfd}, offset=overlay] \startxrow \startxcell[leftframe=on] \getbuffer[standard

[NTG-context] protrusion with opening exclamation and question marks

2018-08-29 Thread Pablo Rodriguez
\starttext \startTEXpage[offset=2em] \startembeddedxtable[framecolor=red, align=hanging, foregroundstyle={\ss\bfd}, offset=overlay] \startxrow \startxcell[leftframe=on] \getbuffer[standard]\stopxcell \stopxrow \startxrow[toffset=2em

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
starttext \startxtable[bodyfont=10pt] \startxrow \startxcell[width=2cm] Expression\\\m{B'(x)} \stopxcell \startxcell \startItem{a.}\m{B'(x)=-x²+24x-117}\stopItem \stopxcell \startxcell \st

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
=10mm, footer=10mm, height=middle, backspace=20mm, width=middle] \definedescription [Item] [width=1.5em, distance=none] \starttext \startxtable[bodyfont=10pt] \startxrow \startxcell[width=2cm] Expression\\\m{B'(x)} \stopxcell \startxcell

Re: [NTG-context] Some questions about an extreme table

2018-08-25 Thread Mikael P. Sundqvist
idth=middle] > > \starttext > \startxtable[frame=on,bodyfont=10pt] > \startxrow > \startxcell[width=2cm] > Expression \\ \m{B'(x)} > \stopxcell > \startxcell > \startitemize[packed,a] > \starti

[NTG-context] Some questions about an extreme table

2018-08-25 Thread Fabrice Couvreur
}} \setuplayout [topspace=10mm, header=10mm, footer=10mm, height=middle, backspace=20mm, width=middle] \starttext \startxtable[frame=on,bodyfont=10pt] \startxrow \startxcell[width=2cm] Expression \\ \m{B'(x)} \stopxcell \startxcell

[NTG-context] xtables setup

2018-07-29 Thread Henning Hraban Ramm
][bottomframe=on] \starttext \startxtable[headtable] \startxtablehead \startxrow \startxcell Level \stopxcell\startxcell numbered \stopxcell\startxcell unnumbered \stopxcell \stopxrow \stopxtablehead \startxtablebody \startxrow\startxcell 0\stopxcell\startxcell part\stopxcell\startxcell

Re: [NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Pablo Rodriguez
On 07/15/2018 07:54 PM, Rik wrote: > Easier than counters: > > \definelabel [QQ][text=,headcolor=red] > \starttext > \startxtable > \startxrow > \startxcell one \stopxcell > \startxcell two \QQ[there] \stopxcell > \

Re: [NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Rik
with a minimal sample? I don‘t use labels and I don’t know how to use them with counters in xtables. Many thanks for your help, Pablo Easier than counters: \definelabel [QQ][text=,headcolor=red] \starttext \startxtable \startxrow \startxcell one \stopxcell \startxcell two

Re: [NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Hans Hagen
example: \definecounter[mycounter] \def\getmycounter{\incrementcounter[mycounter]\getnumber[mycounter]} \startbuffer[groups]     \startxrow     \startxcell \getmycounter\stopxcell     \startxcell Content of column\stopxcell \stopxrow \stopbuffer \starttext %\setcounter[mycounter][0

[NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Jaroslav Hajtmar
\getmycounter{\incrementcounter[mycounter]\getnumber[mycounter]} \startbuffer[groups] \startxrow \startxcell \getmycounter\stopxcell \startxcell Content of column\stopxcell \stopxrow \stopbuffer \starttext %\setcounter[mycounter][0] % initializing at this point not working (the counter

Re: [NTG-context] Table generator : Issues with borders and rotated cells

2018-06-27 Thread Wolfgang Schuster
p, topframe=mp, bottomframe=mp] \starttext \startxtable[mp] \startxrow[bottomrulethickness=2pt] \startxcell[rightframecolor=blue] A \stopxcell \startxcell[leftframe=off] B \stopxcell \stopxrow \startxrow \startxcell[le

[NTG-context] Table generator : Issues with borders and rotated cells

2018-06-19 Thread Xavier Dionne
\definecolor[BlushPink][r=1,g=0.502,b=1] \placetable[none]{}{ \startxtable[align=lohi,framecolor=Siren,frame=off,leftframe=on,rightframe=on] \startxrow[offset=overlay,location=hanging,topframe=on] \startxcell\stopxcell \startxcell[framecolor=Rose]\stopxcell \stopxrow

[NTG-context] Spacebefore and spaceafter a Float

2018-05-28 Thread John Grasty
] \startxrow \startxcell[align=right] \stopxcell \startxcell[align=right] (\$) \stopxcell \stopxrow \stopxtablehead \startxtablebody[body] \startxrow \startxcell[align=right] Lodging \stopxcell \startxcell[align=right] 150 \stopxcell \stopxrow \startxrow \startxcell[align=right] Fee \stopxcell

Re: [NTG-context] horizontal alignment of table cells when the content is a \framed

2018-05-04 Thread Wolfgang Schuster
h=10cm,height=7cm,align={middle,lohi}] \framed[width=3cm,height=2cm,align={middle,lohi},orientation=35]{hello} \eTD \eTR \eTABLE \blank Extreme tables \startxtable[framecolor=red] \startxrow \startxcell[offset=none,width=10cm,height=7cm,align={middle,lohi}] \framed[width=3cm,height=2cm,align={

[NTG-context] horizontal alignment of table cells when the content is a \framed

2018-05-04 Thread MF
\blank Extreme tables \startxtable[framecolor=red] \startxrow \startxcell[offset=none,width=10cm,height=7cm,align={middle,lohi}] \framed[width=3cm,height=2cm,align={middle,lohi},orientation=35]{hello} \stopxcell \stopxrow \stopxtable \stoptext (the problem arose when i tried to set

Re: [NTG-context] conditional format in xtables

2018-04-11 Thread Pablo Rodriguez
such >> as in: >> >> \setupxtable >> [foregroundcolor={\ifnum\currentxtablecolumn=2 red\else green\fi}] >> \starttext >> \startxtable >> \startxrow >> \startxcell one \stopxcell >> \startxcell two \stopxcell >> \startxcell tree \stopxcell >> \sta

Re: [NTG-context] \ifcase changes default align in xtables

2018-04-10 Thread Wolfgang Schuster
xtable[mytable] [option={stretch, height}, align={\ifcase\currentxtablerow\fi}] \starttext \startxtable[mytable] \startxrow \startxcell 1 \stopxcell \startxcell 2 \stopxcell \stopxrow \startxrow \startxcell 3 \stopxcell \startxcell 4 \stopxcell \stopxrow \stopxtable \startxtable[option={stretch,

Re: [NTG-context] conditional format in xtables

2018-04-10 Thread Wolfgang Schuster
format in xtables, such as in: \setupxtable [foregroundcolor={\ifnum\currentxtablecolumn=2 red\else green\fi}] \starttext \startxtable \startxrow \startxcell one \stopxcell \startxcell two \stopxcell \startxcell tree \stopxcell \startxcell four \stopxcell \stopxrow \stopxtable \stoptext My qu

[NTG-context] \ifcase changes default align in xtables

2018-04-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupxtable[mytable] [option={stretch, height}, align={\ifcase\currentxtablerow\fi}] \starttext \startxtable[mytable] \startxrow \startxcell 1 \stopxcell \startxcell 2 \stopxcell

[NTG-context] conditional format in xtables

2018-04-10 Thread Pablo Rodriguez
Dear list, thanks to Wolfgang, I learnt to set conditional format in xtables, such as in: \setupxtable [foregroundcolor={\ifnum\currentxtablecolumn=2 red\else green\fi}] \starttext \startxtable \startxrow \startxcell one \stopxcell \startxcell

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise opera

2018-01-07 Thread Wolfgang Schuster
ou have use the \setupxtable command to create a named setup. \setupxtable[emphasized][foregroundstyle=italic] \starttext \startxtable[width=4cm,height=4cm,align={middle,lohi}] \startxrow \startxcell Default settings \stopxcell \startxcell[emphasized] Nam

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise opera

2018-01-07 Thread jdh
[last] [bottomframe=on] > > > > >> \startTABLE > > > > >> \NC A \NC A \NC A \NC\NR > > > > >> \NC B \NC B \NC B \NC\NR > > > > >> \NC C \NC C \NC C \NC\NR > > > > >> \NC D \NC D \NC D \NC\NR > > &

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise opera

2018-01-06 Thread Alan Braslau
C D \NC D \NC\NR > > > >> \NC E \NC E \NC E \NC\NR > > > >> \stopTABLE > > > >> \stoptext > > > > > > > > it's also an extremely inefficient method > > > > > > > >> How can I do such a thing

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise opera

2018-01-06 Thread jdh
\NC E \NC\NR > > >> \stopTABLE > > >> \stoptext > > > > > > it's also an extremely inefficient method > > > > > >> How can I do such a thing with Extreme Tables? If it is not yet > > >> possible I'd like to request th

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise operations

2018-01-05 Thread Alan Braslau
to request the inclusion of such a mechanism. > > from the manual, named setups: > > > > \setupxtable[suffix][align=middle,foregroundcolor=red] > > \setupxtable[blabla][foregroundstyle=slanted] > > \setupxtable[crap] [foregroundcolor=blue] > > \se

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise operations

2018-01-05 Thread Floris van Manen
d setups: > > \setupxtable[suffix][align=middle,foregroundcolor=red] > \setupxtable[blabla][foregroundstyle=slanted] > \setupxtable[crap] [foregroundcolor=blue] > \setupxtable[bold] [crap][foregroundstyle=bold] > > \startxtable % [frame=off] >\startxtablehead >

Re: [NTG-context] xtables: rowwise, columnwise, and cellwise operations

2018-01-05 Thread Hans Hagen
[crap] [foregroundcolor=blue] \setupxtable[bold] [crap][foregroundstyle=bold] \startxtable % [frame=off] \startxtablehead \startxrow[bold] \startxcell[suffix] head a \stopxcell \startxcell[blabla] head b \stopxcell \startxcell

Re: [NTG-context] setting row height?

2017-12-29 Thread Floris van Manen
g at the bottom of the mail): > > > \starttext > > \startxtable[height=3cm] % Use it globally... > > \startxrow > \startxcell > first top > \stopxcell > \startxcell > second top > \stopxcell > \stopxrow

Re: [NTG-context] setting row height?

2017-12-29 Thread Lars
Hey there, I suggest you use the *extreme tables* mechanism instead. AFAIK it is the most consistent way to-date. A simple table would look like (also see attached output jpg at the bottom of the mail): \starttext \startxtable[height=3cm] % Use it globally... \startxrow

[NTG-context] Fwd: Spacing issue of xtable with itemize

2017-12-20 Thread Lars
eff...@gmail.com> An: ntg-context@ntg.nl Hi guys, I found a pretty annoying behaviour of xtable spacing (in my case when using an itemization inside the table). I hope you guys can help me out. MWE is: \starttext \startxtable[frame=on] \startxrow \startxcell[wid

[NTG-context] Spacing issue of xtable with itemize

2017-12-13 Thread Lars
Hi guys, I found a pretty annoying behaviour of xtable spacing (in my case when using an itemization inside the table). I hope you guys can help me out. MWE is: \starttext \startxtable[frame=on] \startxrow \startxcell[width=3cm] \startitemize[packed

Re: [NTG-context] \cite not working with notes in xtables

2017-12-12 Thread Alan Braslau
grateinserts > > \setuptexttexts > [margin] > [{{\vbox to\textheight% > {\placenotes[caption]% > \null\vfilll% > \placenotes[footnote]}}}] > [] > > \starttext > > \input tufte > \footnote{\cite[bib::tufte]} > \par > > \startembedd

Re: [NTG-context] \cite not working with notes in xtables

2017-12-05 Thread Alan Braslau
gin] > [{{\vbox to\textheight% > {\placenotes[caption]% > \null\vfilll% > \placenotes[footnote]}}}] > [] > > \starttext > > \input tufte > \footnote{\cite[bib::tufte]} > \par > > \startembeddedxtable[distance=10mm] &

[NTG-context] \cite not working with notes in xtables

2017-12-05 Thread Michael Eidenbenz
\startembeddedxtable[distance=10mm] \startxrow \startxcell[width=55mm] \externalfigure[dummy][factor=fit] \caption[dummy]{caption} \stopxcell \startxcell[width=55mm] \externalfigure[dummy][factor=fit] % \caption[dummy]{caption} %without this note the \cite

[NTG-context] extreme tables cell spanning interference: a bug?

2017-11-25 Thread mf
should span across 2 columns, but it's actually one column large. \startxtable[align={middle,lohi}]   \startxrow \startxcell[ny=3] 3x1 \stopxcell \startxcell   1x1 \stopxcell \startxcell   1x1 \stopxcell   \stopxrow   \startxrow \startxcell   1x1 \stopxcell

[NTG-context] having all lines with \setuptyping

2017-08-15 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuptyping[TEX][lines=no] \definetyping[TEXlines][lines=yes, option=TEX] \starttext \startxtable[frame=off,option=stretch]\startxrow \startxcell\startTEX \starttext Esto es un único párrafo. Y aquí está el

Re: [NTG-context] source code and result side by side

2017-07-29 Thread Pablo Rodriguez
n both sides? Replying to my own question, a fast fix (although far from perfect) would be using xtables: \def\replacesidebyside#1{% \blank\startembeddedxtable[frame=off, option=stretch] \startxrow \startxcell\typebuffer[#1][option=TEX]\stopxcell

[NTG-context] get the dimensions of xcell

2017-05-08 Thread Pablo Rodriguez
Dear list, sorry for bothering you with this minor question, but this information is important for me. I have the following sample: \starttext \startxtable[option=stretch] \startxrow \startxcell \the\lineheight\stopxcell \startxcell how do

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Aditya Mahajan
t less verbose by mapping \startTABLE \NC ... \NR\NR \stopTABLE back to the original macros. The new method for tables, called xtables, is faster and seems to have less problems than Natural Tables. However, the syntax is even more verbose \startxtable \startxrow \startxcell ... \sto

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Alan Braslau
format less verbose by > mapping > > \startTABLE > \NC ... \NR\NR > \stopTABLE > > back to the original macros. > > The new method for tables, called xtables, is faster and seems to > have less problems than Natural Tables. However, the syntax is even > more verbose

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
{\ifconditional\c_tabl_xte_first_nc \setfalse\c_tabl_xte_first_nc \expandafter\startxrow\expandafter\startxcell \else \expandafter\stopxcell\expandafter\startxcell \fi} %D The related structure commands are also available: \let\startXTABLEhead\startxtablehead \let\startXTABLEfoot

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
\expandafter\startxrow\expandafter\startxcell \else \expandafter\stopxcell\expandafter\startxcell \fi} \protect \starttext \startxtable[align={lohi,middle}] \NC OSI-Schicht\NC[nx=6] Umsetzung \NR \NC Anwendungsschicht \NC[nx=2,ny=3] SOME/I \NC[nx=2,ny=3] AVB

Re: [NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
\tabl_xte_start_nc_finish \fi} \def\tabl_xte_start_nc_finish#1\NC {\ifconditional\c_tabl_xte_in_nc \else \settrue\c_tabl_xte_in_nc \startxrow[]% \fi \startxcell#1\stopxcell\NC} \protect \starttext \startxtable[align={lohi,middle}] \NC OSI-Schicht\NC[nx=6] Umsetzung \NC

[NTG-context] Feature Request: xtables extensions

2017-03-08 Thread Henri Menke
for tables, called xtables, is faster and seems to have less problems than Natural Tables. However, the syntax is even more verbose \startxtable \startxrow \startxcell ... \stopxcell \stopxrow \stopxtable Can we have similar abbreviations as for Natural Tables? I am thinking of something

Re: [NTG-context] two framed item lists side by side

2017-03-01 Thread Pablo Rodriguez
ize[each][packed,joinedup,n] [stopper=.~,itemalign=flushright] \starttext \startxtable[split=yes, option=stretch] \startxrow \startxcell \startitemize \item In The Flesh? 3:19 \item The Thin Ice 2:29 \item Another Brick In The Wall (Part 1)3:09 \it

Re: [NTG-context] xtables different frame thickness for one side only

2017-03-01 Thread Pablo Rodriguez
can accomplish it with the following code (recursion only used to show the single thicker bottom frame): \installbottomframerenderer{thicker} {\blackrule[width=\overlaywidth,height=3\linewidth]} \starttext \startxtable[frame=on] \startxrow[bottomframe=thicker] % bottom frame sh

[NTG-context] xtables different frame thickness for one side only

2017-02-24 Thread Csikos Bela
Dear context users: Is it possible to change the rulethickness of one side of a row in xtables? I the example below I'd like the bottom of the first row to be thicker than other sides. \starttext \startxtable[frame=on] \startxrow % bottom frame of this row should be thicker \startxcell AAA

[NTG-context] issue with xtables

2017-02-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupindenting[yes, always, big] \setupfloatcaption[table][location=none] \setupfloat[table][indentnext=no, spacebefore=5em] \starttext \input zapf \placetable{}{ \startembeddedxtable \startxrow \startxcell knuth

Re: [NTG-context] professional looking tables

2016-12-23 Thread Csikos Bela
=off,topframe=on,bottomframe=on,toffset=2pt,boffset=4pt] \startxtablehead \startxrow[bottomframe=off,rulethickness=2pt] \startxcell Head \stopxcell \stopxrow \stopxtablehead \startxtablenext \startxrow[topframe=off] \startxcell Continued from previous page

Re: [NTG-context] professional looking tables

2016-12-22 Thread Csikos Bela
e code below and the corresponding pdf result, xtables example >> 1. >> I use context beta standalone: ConTeXt ver: 2016.10.12 17:26 MKIV beta >> fmt: 2016.10.13 int: english/english. >> >> Code: >> >> \starttext >> >> xtables example 1

Re: [NTG-context] professional looking tables

2016-12-22 Thread Hans Hagen
,topframe=on,bottomframe=on,toffset=0.4cm,boffset=0.6cm] \startxrow \startxcell[width=4cm] First Column \stopxcell \startxcell[width=5cm] Second Column \stopxcell \startxcell[width=2cm] Third Column \stopxcell \stopxrow \startxrow \startxcell Lorem ipsum dolor sit

Re: [NTG-context] professional looking tables

2016-12-22 Thread Csikos Bela
mple 1 \startxtable[frame=off,topframe=on,bottomframe=on,toffset=0.4cm,boffset=0.6cm] \startxrow \startxcell[width=4cm] First Column \stopxcell \startxcell[width=5cm] Second Column \stopxcell \startxcell[width=2cm] Third Column \stopxcell \stopxrow \startxrow

Re: [NTG-context] (another) bug with embeddedxtables

2016-12-02 Thread Wolfgang Schuster
Michael Eidenbenz <mailto:eidenb...@arch.ethz.ch> 2. Dezember 2016 um 12:40 Settings made to \startembeddedxtable or \startxrow they will only work in the first call of the macro. In every further call the settings are ignored. On the other hand, settings made to \startxcell work for

[NTG-context] (another) bug with embeddedxtables

2016-12-02 Thread Michael Eidenbenz
Settings made to \startembeddedxtable or \startxrow they will only work in the first call of the macro. In every further call the settings are ignored. On the other hand, settings made to \startxcell work for every call of the macro. I assume this is a bug. Regards Michael \unexpanded\def

[NTG-context] bug in xtables with spanning and spacing

2016-11-30 Thread Michael Eidenbenz
the spanned cells should be aligned. \startxtable[distance=5mm,spaceinbetween=5mm] \startxrow \startxcell[ny=2] one + alpha\stopxcell \startxcell[nx=2] two + three \stopxcell \stopxrow \startxrow \startxcell beta \stopxcell \startxcell gamma \stopxcell \stopxrow \stopxtable

Re: [NTG-context] error with floats in xtables with defined width

2016-11-29 Thread Michael Eidenbenz
; >>> You can't use `\prevdepth' in restricted horizontal mode >>> >>> Is this a bug? >>> I'm running: 2016.11.24 12:05 MKIV beta >>> >>> thanks Michael >>> >>> >>> \starttext >>> \startxtable >&

Re: [NTG-context] error with floats in xtables with defined width

2016-11-29 Thread Hans Hagen
Hello, this M(not)WE gives me the following error: You can't use `\prevdepth' in restricted horizontal mode Is this a bug? I'm running: 2016.11.24 12:05 MKIV beta thanks Michael \starttext \startxtable \startxrow % \startxcell \startxcell[width=10cm] % this leads to an

Re: [NTG-context] error with floats in xtables with defined width

2016-11-29 Thread Michael Eidenbenz
tal mode > > Is this a bug? > I'm running: 2016.11.24 12:05 MKIV beta > > thanks Michael > > > \starttext > \startxtable >\startxrow > % \startxcell > \startxcell[width=10cm] % this leads to an error >\placefigure[][]{}{\externalfigu

[NTG-context] error with floats in xtables with defined width

2016-11-29 Thread Michael Eidenbenz
Hello, this M(not)WE gives me the following error: You can't use `\prevdepth' in restricted horizontal mode Is this a bug? I'm running: 2016.11.24 12:05 MKIV beta thanks Michael \starttext \startxtable \startxrow % \startxcell \startxcell[width=10cm] % this leads to an error

Re: [NTG-context] startxtable, stopxtable in macro

2016-11-25 Thread Pablo Rodriguez
On 11/25/2016 11:28 PM, Michael Eidenbenz wrote: > hmm. > I still get an error with this (ConTeXt ver: 2016.11.24 12:05 MKIV beta) > > \define\startTable{\startembeddedxtable} > \define\stopTable{\stopembeddedxtable} > > \starttext > \startTable > \startxro

Re: [NTG-context] startxtable, stopxtable in macro

2016-11-25 Thread Hans Hagen
On 11/25/2016 11:28 PM, Michael Eidenbenz wrote: hmm. I still get an error with this (ConTeXt ver: 2016.11.24 12:05 MKIV beta) \define\startTable{\startembeddedxtable} \define\stopTable{\stopembeddedxtable} \starttext \startTable \startxrow \startxcell hallo \stopxcell

Re: [NTG-context] startxtable, stopxtable in macro

2016-11-25 Thread Michael Eidenbenz
hmm. I still get an error with this (ConTeXt ver: 2016.11.24 12:05 MKIV beta) \define\startTable{\startembeddedxtable} \define\stopTable{\stopembeddedxtable} \starttext \startTable \startxrow \startxcell hallo \stopxcell \stopxrow \stopTable \stoptext > On 25 Nov 2016, at

[NTG-context] startxtable, stopxtable in macro

2016-11-25 Thread Michael Eidenbenz
why does this produce an TeX capacity exeeded error? thanks Michael \define\startTable{\startxtable} \define\stopTable{\stopxtable} \starttext \startTable \startxrow \startxcell hello \stopxcell \stopxrow \stopTable \stoptext

[NTG-context] space before and after an xtable

2016-11-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupxtable[option={stretch}] \setupxtable[beforeafter] [before={\blank[big]}, after={\blank[big]}] \starttext \dorecurse{5}{\startembeddedxtable[beforeafter] \startxrow \startxcell first

[NTG-context] floats in xtable flush with frame

2016-11-05 Thread Michael Eidenbenz
\starttext \startxtable \startxrow \startxcell \placefloat{}{\externalfigure[][width=\textwidth/2]} \stopxcell \startxcell \placefloat{}{\externalfigure[][width=\textwidth/2]} \stopxcell \stopxrow \stopxtable \page \setupfloat [offset=-2.5pt] \startxtable

<    1   2   3   4   >