Re: [NTG-context] underscore added by xtable

2016-09-08 Thread Peter Münster
lus 0.2ex] \setupxtable[frame=off, boffset=0pt, toffset=0pt, rulethickness=0pt] \starttext Good\crlf \startxtable \startxrow \startxcell spacing \stopxcell \stopxrow \startxrow \startxcell here. \stopxcell \stopxrow \stopxtable Unwanted\blank[depth] \startxtable \startxrow \startxcell

Re: [NTG-context] underscore added by xtable

2016-09-08 Thread Wolfgang Schuster
Peter Münster <mailto:pmli...@free.fr> 8. September 2016 um 15:34 Sorry, but the result is still not the same: --8<---cut here---start->8--- \setupwhitespace[1ex] \starttext bla bla:\crlf \startxtable \startxrow \startxcell bla \stopxce

Re: [NTG-context] underscore added by xtable

2016-09-08 Thread Peter Münster
On Thu, Sep 08 2016, Wolfgang Schuster wrote: > bla bla\blank[nowhite] > bla bla Sorry, but the result is still not the same: --8<---cut here---start->8--- \setupwhitespace[1ex] \starttext bla bla:\crlf \startxtable \startxrow \startxcell bl

Re: [NTG-context] underscore added by xtable

2016-09-08 Thread Wolfgang Schuster
\startxtable[split=yes] \startxrow \startxcell bla \stopxcell \stopxrow \stopxtable \stoptext --8<---cut here---end--->8--- How could I avoid that please? Wolfgang __

[NTG-context] underscore added by xtable

2016-09-08 Thread Peter Münster
Hi, Just after the table, there is an unwanted underscore: --8<---cut here---start->8--- \starttext bla bla:\crlf \startxtable[split=yes] \startxrow \startxcell bla \stopxcell \stopxrow \stopxtable \stoptext --8<---cut here-

[NTG-context] xtable align

2016-07-18 Thread John Kitzmiller
] \starttext \showframe \startxtable[frame=on,height=7cm,option=stretch,align={lohi,middle}] \startxrow \startxcell \externalfigure[dummy][width=5cm,height=5cm] \stopxcell \startxcell \externalfigure[dummy][width=3cm,height=3cm] \stopxcell \stopxrow \stopxtable \startxtable [frame=on,height=7cm,option=stretch

Re: [NTG-context] Skipped figure numbers

2016-04-01 Thread Hans Hagen
various options. The most flexible one seems to be using tables e.g. \setupexternalfigures[location={default}] \starttext \placefigure[]{}{\externalfigure[hacker][height=1in]} \startxtable[frame=off,align=low] \startxrow \startxcell[ny=2] \placefigure[force][]{left twoup}{\externalfigure[mill

Re: [NTG-context] Skipped figure numbers

2016-04-01 Thread Hans Hagen
various options. The most flexible one seems to be using tables e.g. \setupexternalfigures[location={default}] \starttext \placefigure[]{}{\externalfigure[hacker][height=1in]} \startxtable[frame=off,align=low] \startxrow \startxcell[ny=2] \placefigure[force][]{left twoup}{\externalfigure[mill

Re: [NTG-context] Skipped figure numbers

2016-03-31 Thread Aditya Mahajan
to be using tables e.g. \setupexternalfigures[location={default}] \starttext \placefigure[]{}{\externalfigure[hacker][height=1in]} \startxtable[frame=off,align=low] \startxrow \startxcell[ny=2] \placefigure[force][]{left twoup}{\externalfigure[mill][height=4in]} \stopxcell \startxcell

Re: [NTG-context] Skipped figure numbers

2016-03-31 Thread Aidan Nichol
ous options. The most flexible one seems to be using >> tables e.g. >> >> \setupexternalfigures[location={default}] >> >> \starttext >> >> \placefigure[]{}{\externalfigure[hacker][height=1in]} >> >> \startxtable[frame=off,align=low] >>

Re: [NTG-context] Skipped figure numbers

2016-03-30 Thread Aditya Mahajan
[location={default}] \starttext \placefigure[]{}{\externalfigure[hacker][height=1in]} \startxtable[frame=off,align=low] \startxrow \startxcell[ny=2] \placefigure[force][]{left twoup}{\externalfigure[mill][height=4in]} \stopxcell \startxcell \placefigure[force][]{the first

[NTG-context] Skipped figure numbers

2016-03-30 Thread Aidan Nichol
\placefigure[]{}{\externalfigure[hacker][height=1in]} \startxtable[frame=off,align=low] \startxrow \startxcell[ny=2] \placefigure[force][]{left twoup}{\externalfigure[mill][height=4in]} \stopxcell \startxcell \placefigure[force][]{the first}{\externalfigure[spider][height=1.5in

Re: [NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 17. Februar 2016 um 16:12 Sorry, Wolfgang. You’re right, I forgot to tell- I want to avoid tagging each cell to get this: \starttext \startxtable[option=stretch] \startxrow \startxcell[align=left] one \stopxcell \startxcell[align=center] two \sto

Re: [NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Pablo Rodriguez
avoid tagging each cell to get this: \starttext \startxtable[option=stretch] \startxrow \startxcell[align=left] one \stopxcell \startxcell[align=center] two \stopxcell \stopxrow \startxrow \startxcell[align=left] alpha \stopxcell

Re: [NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 17. Februar 2016 um 15:48 Dear list, having this basic xtable (adapted from xtables-mkiv.pdf): \starttext \startxtable[option=stretch] \startxrow \startxcell one \stopxcell \startxcell two \stopxcell \stopxrow \startxrow \startxcell alpha \sto

[NTG-context] applying properties to columns / rows in xtables

2016-02-17 Thread Pablo Rodriguez
Dear list, having this basic xtable (adapted from xtables-mkiv.pdf): \starttext \startxtable[option=stretch] \startxrow \startxcell one \stopxcell \startxcell two \stopxcell \stopxrow \startxrow \startxcell alpha \stopxcell

Re: [NTG-context] two issues with xtables

2016-02-16 Thread Pablo Rodriguez
unknown to me. How would it be with this minimal sample? \starttext \startxtable[bottomframe=on, topframe=on, rulethickness=2em] \startxrow \startxcell test \stopxcell \stopxrow \stopxtable \stoptext Many thanks for your help, Pablo -- http://www.ousia.tk ___

Re: [NTG-context] two issues with xtables

2016-02-16 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 16. Februar 2016 um 20:11 Dear list, I have the following table: \starttext \startalign[center] \startxtable[location=middle, frame=off, bottomframe=on, topframe=on, rulethickness=2em, %~ before={\startalign[center]}, after={\stopalign} ] \sta

[NTG-context] two issues with xtables

2016-02-16 Thread Pablo Rodriguez
Dear list, I have the following table: \starttext \startalign[center] \startxtable[location=middle, frame=off, bottomframe=on, topframe=on, rulethickness=2em, %~ before={\startalign[center]}, after={\stopalign} ] \startxrow \startxcell test \stopxcell

[NTG-context] rowdistance in xtables

2016-02-13 Thread Pablo Rodriguez
Dear list, I have the following xtable: \starttext \startxtable[frame=off] \startxtablehead[foregroundstyle=\bf, topframe=on, bottomframe=on] \startxrow \startxcell one \stopxcell \stopxrow

Re: [NTG-context] rowdistance in xtables

2016-02-13 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 13. Februar 2016 um 11:28 Dear list, I have the following xtable: \starttext \startxtable[frame=off] \startxtablehead[foregroundstyle=\bf, topframe=on, bottomframe=on] \startxrow \startxcell one \stopxcell \stopxrow \stopxtablehead \startxtab

Re: [NTG-context] rowdistance in xtables

2016-02-13 Thread Pablo Rodriguez
table header (of before the table body, if you prefer). \starttext \startxtable[frame=off, spaceinbetween=2em] \startxtablehead[foregroundstyle=\bf, topframe=on, bottomframe=on] \startxrow \startxcell one \st

Re: [NTG-context] rowdistance in xtables

2016-02-13 Thread Wolfgang Schuster
crease the height of the cells in the header. \starttext \startxtable%[frame=off] \startxtablehead \startxrow[boffset=1ex] \startxcell Head \stopxcell \stopxrow \stopxtablehead \startxtablebody \startxrow \star

Re: [NTG-context] rowdistance in xtables

2016-02-13 Thread Pablo Rodriguez
r the table header (of before the >> table body, if you prefer). > You can increase the height of the cells in the header. > [...] > \startxrow[boffset=1ex] Many thanks for your reply, Wolfgang. This is exactly what I needed. But sorry for asking again, I don’t kn

[NTG-context] Bug in table ?

2015-12-20 Thread Christian Prim
] \startxrow \startxcell[width=5cm] \m{\displaystyle \gamma=\frac{1}{\sqrt{1-\left (\frac{v}{c}\right )^2}}}\stopxcell \startxcell[width=4cm] Reaktionsprinzip\stopxcell \stopxrow \stopxtable \stoptext \gamma isn't aligned with the text "Reaktionsprinzip". Please tell me what I have

[NTG-context] setting lineheight in embedded xtables

2015-10-19 Thread Thomas A. Schmitz
} \startxmlsetups xml:text \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:bilingual \startembeddedxtable [Bilingual] \xmlflush{#1} \stopembeddedxtable \stopxmlsetups \startxmlsetups xml:bilingualrow \startxrow [height=\the\baselineskip,background=color,backgroundcolor=gray

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
h >> a recent context version): >> >> >> >> starttext >> >> startsetups[s:footer] > insidesplitfloatfalse > >> startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] >> startxrow >> start

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
\startsetups[s:footer] \startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups \setupheader[style=\tx

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Wolfgang Schuster
footer] \insidesplitfloatfalse \startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups Wo

[NTG-context] Splitting natural table fails with xtable in footer

2015-10-01 Thread Andreas Schneider
=stretch] \startxrow \startxcell Filename: \stopxcell \startxcell[distance=1cm] \outputfilename.pdf \stopxcell \stopxrow \stopembeddedxtable \stopsetups \setupheader[style=\tx] \setupfooter[style=\tx] \setupfootertexts[\setups{s:footer}][][][\setups{s:footer}] \startchapter

Re: [NTG-context] issues with typeface selection

2015-08-09 Thread Pablo Rodriguez
On 08/08/2015 04:18 PM, Wolfgang Schuster wrote: [...] All I can tell at the moment is that the problem is related to the “x” font size. \starttext \startxtable \startxrow \startxcell[foregroundstyle=\txx] % this fails: foregroundstyle=\tx \CONTEXT

Re: [NTG-context] issues with typeface selection

2015-08-09 Thread Hans Hagen
On 8/9/2015 4:06 PM, Pablo Rodriguez wrote: On 08/08/2015 04:18 PM, Wolfgang Schuster wrote: [...] All I can tell at the moment is that the problem is related to the “x” font size. \starttext \startxtable \startxrow \startxcell[foregroundstyle=\txx] % this fails: foregroundstyle

Re: [NTG-context] issues with typeface selection

2015-08-08 Thread Wolfgang Schuster
\ttfx} in each cell, but \type{foregroundstyle} doesn’t seem to work (compilation crashes). \startxtable \blank \startxrow \startxcell \ConTeXt\ is awesome!\stopxcell \startxcell \ConTeXt\ is awesome!\stopxcell \stopxrow \stopxtable \blank Typeface selection doesn’t seem to work even with paragraphs

Re: [NTG-context] issues with typeface selection

2015-08-08 Thread Pablo Rodriguez
][FreeSerif] \definefontfamily[droidserif][serif][Droid Serif] \setupbodyfont[palatino, 12pt] \setuphead[section][style=\newtimes\tfx] \starttext \section{Comparision} \startxtable \startxrow \startxcell[foregroundstyle=\newtimes\tfx] \ConTeXt\stopxcell \startxcell

Re: [NTG-context] issues with typeface selection

2015-08-08 Thread Wolfgang Schuster
][serif][Droid Serif] \setupbodyfont[palatino, 12pt] \setuphead[section][style=\newtimes\tfx] \starttext \section{Comparision} \startxtable \startxrow \startxcell[foregroundstyle=\newtimes\tfx] \ConTeXt\stopxcell \startxcell[foregroundstyle=\droidserif\tfx] \ConTeXt\stopxcell \stopxrow \stopxtable

[NTG-context] issues with typeface selection

2015-08-07 Thread Pablo Rodriguez
{foregroundstyle} doesn’t seem to work (compilation crashes). \startxtable \blank \startxrow \startxcell \ConTeXt\ is awesome!\stopxcell \startxcell \ConTeXt\ is awesome!\stopxcell \stopxrow \stopxtable \blank Typeface selection doesn’t seem to work even

[NTG-context] issues with xtable

2015-07-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupxtable[frame=on, option=stretch] \setupxtable[name][foregroundstyle=\bfc, ny=3, align=lohi] \setupxtable[cv][foregroundstyle=\em, ny=2, align=bottom] \setupxtable[contact][foregroundstyle=\em, align=flushright] \starttext \startxtable \startxrow

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
\xmlflush{#1} \stopembeddedxtable % \ignorespaces \stopxmlsetups \startxmlsetups xmlcommon:tr % \removeunwantedspaces \startxrow \xmlflush{#1} \stopxrow % \ignorespaces \stopxmlsetups \startxmlsetups xmlcommon:td

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Wolfgang Schuster
} \stopembeddedxtable \ignorespaces \stopxmlsetups \startxmlsetups xmlcommon:tbody % \removeunwantedspaces \startxtablebody \xmlflush{#1} \stopxtablebody \ignorespaces \stopxmlsetups \startxmlsetups xmlcommon:tr % \removeunwantedspaces \startxrow

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
\stopembeddedxtable \stoplocationbox \egroup \ignorespaces \stopxmlsetups \startxmlsetups xmlcommon:tr \bgroup \setupxtableparameters{#1} \removeunwantedspaces \startxrow \xmlflush{#1} \stopxrow \egroup \stopxmlsetups xtablespace.pdf Description: xtablespace.pdf

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
}{.} \bgroup \setupxtableparameters{#1} \startxrow X\xmlflush{#1} \stopxrow \egroup \stopxmlsetups Hans van der Meer [cid:723DA497-86EF-4142-A951-D70FD92D5104] On 24 May 2015, at 13:49, Meer, H. van der h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote: Further experimenting with different

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
xmlcommon:tr \unskip \xmlstripanywhere{#1}{.} \unskip \bgroup \unskip \setupxtableparameters{#1} \unskip \startxrow \unskip\xmlflush{#1} \stopxrow \egroup \unskip \stopxmlsetups \startxmlsetups xmlcommon:td \unskip \xmlstrip{#1}{.} \bgroup \setupxtableparameters{#1} \startxcell[nc=\xmlattdef{#1

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
\setupxtableparameters{#1} \startxtablebody \xmlflush{#1} \stopxtablebody \egroup \stopxmlsetups \startxmlsetups xmlcommon:tr \unskip \xmlstripanywhere{#1}{.} \unskip \bgroup \unskip \setupxtableparameters{#1} \unskip \startxrow \unskip =\xmlflush{#1} \stopxrow \egroup \unskip \stopxmlsetups \startxmlsetups

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Meer, H. van der
have to change something in my code? \startxmlsetups xmlcommon:tr \unskip \xmlstripanywhere{#1}{.} \unskip \bgroup \unskip \setupxtableparameters{#1} \unskip \startxrow \unskip\xmlflush{#1} \stopxrow \egroup \unskip \stopxmlsetups \startxmlsetups xmlcommon:td \unskip \xmlstrip{#1}{.} \bgroup

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Wolfgang Schuster
the ConText code. Or do I have to change something in my code? \startxmlsetups xmlcommon:tr \unskip \xmlstripanywhere{#1}{.} \unskip \bgroup \unskip \setupxtableparameters{#1} \unskip \startxrow \unskip\xmlflush{#1} \stopxrow \egroup \unskip \stopxmlsetups \startxmlsetups xmlcommon:td

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Wolfgang Schuster
\stopxmlsetups \startxmlsetups xmlcommon:tr % \removeunwantedspaces \startxrow \xmlflush{#1} \stopxrow % \ignorespaces \stopxmlsetups \startxmlsetups xmlcommon:td % \removeunwantedspaces \startxcell \xmlflush{#1} \stopxcell

Re: [NTG-context] Splitting a combination of figures (also a philosophical question)

2015-05-21 Thread Mojca Miklavec
=middle] \startxrow \startxcell \dontleavehmode\externalfigure[cow] \stopxcell \stopxrow \startxrow \startxcell

Re: [NTG-context] Splitting a combination of figures (also a philosophical question)

2015-05-21 Thread Hans Hagen
] \startxtable[frame=off,align=middle] \startxrow \startxcell \dontleavehmode\externalfigure[cow] \stopxcell \stopxrow \startxrow \startxcell

Re: [NTG-context] Splitting a combination of figures (also a philosophical question)

2015-05-20 Thread Wolfgang Schuster
] \startxrow \startxcell \dontleavehmode\externalfigure[cow] \stopxcell \stopxrow \startxrow \startxcell \dontleavehmode\externalfigure

[NTG-context] issue with xtable in latest beta

2015-05-13 Thread Pablo Rodriguez
Hans, I have the following sample: \setupindenting[yes, always, big] \starttext This is the first pagraph. \startbuffer[somextable] \startxtable[option=stretch, align=center] \startxrow \startxcell[width=.3\textwidth] a \stopxcell \startxcell

Re: [NTG-context] issue with xtable in latest beta

2015-05-13 Thread Wolfgang Schuster
Am 13.05.2015 um 17:34 schrieb Pablo Rodriguez oi...@gmx.es: Hans, I have the following sample: \setupindenting[yes, always, big] \starttext This is the first pagraph. \startbuffer[somextable] \startxtable[option=stretch, align=center] \startxrow

Re: [NTG-context] issue with xtable in latest beta

2015-05-13 Thread Pablo Rodriguez
discovered another issue with split=yes. There is less blank space after the table than when the table isn’t splitted. \setupindenting[yes, always, big] \starttext This is the first pagraph. \startxtable[option=stretch, split=yes, align=center] \startxrow

Re: [NTG-context] issue with xtable in latest beta

2015-05-13 Thread Hans Hagen
, align=center] \startxrow \startxcell[width=.3\textwidth] a \stopxcell \startxcell[width=.2\textwidth] b \stopxcell \startxcell[width=.2\textwidth] c \stopxcell \startxcell[width=.3\textwidth] d \stopxcell \stopxrow \stopxtable

[NTG-context] bug in xtables?

2015-05-09 Thread Pablo Rodriguez
Dear list, the following sample shows a weird issue: \starttext \startbuffer[somextable] \startxtable[option=stretch, align=center] \startxrow \startxcell[width=.2\textwidth] a \stopxcell \startxcell b \stopxcell \startxcell c \stopxcell

Re: [NTG-context] issue with image in an xtable

2015-04-21 Thread Hans Hagen
\startxtable[option=stretch] \startxrow \startxcell Second line left\stopxcell \startxcell b\stopxcell \startxcell Second line right\stopxcell \stopxrow \startxrow \startxcell Third Line left\stopxcell \startxcell

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
. Here you have an otherwise buggy sample (location is wrong) with the image placed over the next rows and beyond: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell Second line left\stopxcell \startxcell

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Hans Hagen
On 4/20/2015 5:34 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox{}\stopxcell

[NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox{}\stopxcell \startxcell First line right\stopxcell

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pierre Bovet
. 2015 à 17:34, Pablo Rodriguez oi...@gmx.es a écrit : Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Hans Hagen
On 4/20/2015 5:34 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox{}\stopxcell

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
to me (we either have a \strut or nothing but not some funny zero box) Hans, replacing this with single letters (a, b, c, d, e) gives the same results (modified sample below). Pablo \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow

Re: [NTG-context] issue with image in an xtable

2015-04-20 Thread Pablo Rodriguez
: Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell First line left\stopxcell \startxcell\mbox{}\stopxcell \startxcell First line right\stopxcell

[NTG-context] bug in xtables?

2015-04-15 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startxtable \startxrow \startxcell a\stopxcell \startxcell b \stopxcell \stopxrow \startxrow \startxcell c\stopxcell \startxcell[width=.65\textwidth] \input zapf

Re: [NTG-context] bug in xtables?

2015-04-15 Thread Hans Hagen
On 4/15/2015 5:45 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \startxtable \startxrow \startxcell a\stopxcell \startxcell b \stopxcell \stopxrow \startxrow \startxcell c\stopxcell

Re: [NTG-context] Center two frames

2015-01-14 Thread Pablo Rodriguez
\overlayheight ; draw p withcolor \MPcolor{Border} dashed evenly withpen pencircle scaled 1.2pt ; \stopuniqueMPgraphic \defineoverlay[borderline][\uniqueMPgraphic{borderline}] \startxtable[frame=off] \startxrow \startxcell[align=normal] Compléter chacun des algorithmes ci-dessous afin qu'ils

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Pablo Rodriguez
] \starttext \startxtable \startxrow \startxcell \start \switchtobodyfont[small] \startMPpage[instance=graph] drawoptions(withpen pencircle scaled 1pt); w := 10cm; h := 8cm; ahlength := .25cm; draw begingraph (w,h) numeric xmin, xmax, ymin, ymax; xmin := 0; xmax :=100

[NTG-context] xtables in setups

2014-12-15 Thread Andreas Schneider
): ~~ \starttext \startsetups test \startxtable \startxrow \startxcell Foo \stopxcell \startxcell Bar \stopxcell \stopxrow \stopxtable \stopsetups \setups[test] \stoptext ~~ Causes: * tex errorerror

Re: [NTG-context] xtables in setups

2014-12-15 Thread Wolfgang Schuster
. Small example (without XML, for the sake of simplicity): ~~ \starttext \startsetups test \startxtable \startxrow \startxcell Foo \stopxcell \startxcell Bar \stopxcell \stopxrow \stopxtable \stopsetups \setups[test

Re: [NTG-context] aligning \placetable with bidi

2014-11-17 Thread Hans Hagen
\starttext \startalignment[middle] \ALM \placetable[middle,none]{} {\startxtable \startxrow \startxcell Text 1 \stopxcell \startxcell[align=r2l] النص ١ \stopxcell \stopxrow \stopxtable} \placetable[middle,none]{} {\righttoleft \startxtable \startxrow \startxcell[align=r2l] النص ١

Re: [NTG-context] Macros in \start-stopTABLE

2014-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
\ALM \placetable[right,none]{} {\startxtable \startxrow \startxcell Text 2 \NCD النص 2 \stopxcell \stopxrow \stopxtable} \stoptext Just in case it helps, Very helpful, I'm switching to xtables. I hope we can get bidi-paragraph options

[NTG-context] aligning \placetable with bidi

2014-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
]{} {\startxtable \startxrow \startxcell Text 1 \stopxcell \startxcell[align=r2l] النص ١ \stopxcell \stopxrow \stopxtable} \placetable[middle,none]{} {\righttoleft \startxtable \startxrow \startxcell[align=r2l] النص ١ \stopxcell \startxcell Text 1 \stopxcell \stopxrow \stopxtable

Re: [NTG-context] Macros in \start-stopTABLE

2014-11-15 Thread Pablo Rodriguez
\startxrow \startxcell Text 2 \NCD النص 2 \stopxcell \stopxrow \stopxtable} \stoptext Just in case it helps, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well

[NTG-context] Height fitting cell contents while using row spanning in other columns of a table

2014-07-09 Thread Maggyero
How can I stretch the height of the x cell (in my example) to fit the x cell content? I have tried with extreme tables and natural tables but without success. \starttext With extreme tables (y cell content fitted by default):\crlf \startxtable \startxrow \startxcell[nr=2]\input knuth

[NTG-context] first xcell dimension to large in xtable with external figure.

2014-05-06 Thread DesdeChaves
] \startembeddedxtable[align={middle,lohi},strut=no] \startxrow \startxcell[width=0.20\paperwidth,ny=4] \externalfigure[cow.pdf][height=3cm] \stopxcell \startxcell[width=0.40\paperwidth,ny=4] Document title \stopxcell \startxcellgroup[height=1cm,foregroundstyle=small] \startxcell[width=0.10

[NTG-context] linebreaks and cell width in xtables

2014-05-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startxtable[option=stretch] \startxrow \startxcell One line And another \stopxcell \startxcell This breaks the following cell

Re: [NTG-context] linebreaks and cell width in xtables

2014-05-04 Thread Rik Kabel
On 2014-05-04 12:30, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \startxtable[option=stretch] \startxrow \startxcell One line And another \stopxcell \startxcell

Re: [NTG-context] linebreaks and cell width in xtables

2014-05-04 Thread Pablo Rodriguez
, Rik. I’m afraid none of them works. Here is my sample: \starttext \startxtable[option=stretch] \startxrow \startxcell aaa\blank[none]aaa \stopxcell \startxcell \ConTeXt\ \contextversion \stopxcell

Re: [NTG-context] linebreaks and cell width in xtables

2014-05-04 Thread Rik
.\blank[none] Many thanks for your reply, Rik. I’m afraid none of them works. Here is my sample: \starttext \startxtable[option=stretch] \startxrow \startxcell aaa\blank[none]aaa \stopxcell \startxcell \ConTeXt

Re: [NTG-context] linebreaks and cell width in xtables

2014-05-04 Thread Rik Kabel
.\blank[none] Many thanks for your reply, Rik. I’m afraid none of them works. Here is my sample: \starttext \startxtable[option=stretch] \startxrow \startxcell aaa\blank[none]aaa \stopxcell \startxcell \ConTeXt

[NTG-context] Vertically stretched split table

2014-04-07 Thread Joshua Krämer
\startxtable [option=height, split=yes] \startxrow \startxcell \input knuth \stopxcell \startxcell \input ward \stopxcell \stopxrow \startxrow \startxcell \input zapf \stopxcell \startxcell \input ward \stopxcell \stopxrow \startxrow \startxcell \input knuth \stopxcell

Re: [NTG-context] Vertically stretched split table

2014-04-07 Thread Hans Hagen
be stretched, but isn't: \showframe \starttext \startxtable [option=height, split=yes] \startxrow \startxcell \input knuth \stopxcell \startxcell \input ward \stopxcell \stopxrow \startxrow \startxcell \input zapf \stopxcell \startxcell \input ward \stopxcell \stopxrow

[NTG-context] vertical alignment of margindata

2014-03-19 Thread Thomas A. Schmitz
[A5] \setupbodyfont [times,12pt] \definemargindata [SYM] [left] [hoffset=1.5em,style=bold] \starttext \SYM{1} test \blank[line] \SYM{2} \dontleavehmode \startxtable \startxrow \startxcell Hello \stopxcell

Re: [NTG-context] vertical alignment of margindata

2014-03-19 Thread Hans Hagen
). Thanks and all best Thomas \setuppapersize [A5] \setupbodyfont [times,12pt] \definemargindata [SYM] [left] [hoffset=1.5em,style=bold] method=top \starttext \SYM{1} test \blank[line] \SYM{2} \dontleavehmode \startxtable \startxrow \startxcell Hello

[NTG-context] Multipage xtables starts at the wrong page

2014-01-07 Thread Marco Pallante
\chapter{Introduction} \startxtable [externaldocs] \startxtablehead \startxrow [externaldocsheader] \startxcell AD No. \stopxcell \startxcell Title \stopxcell \startxcell Doc No. \stopxcell \startxcell Issue \stopxcell \startxcell Date \stopxcell

Re: [NTG-context] Table in header, or multicolumn header

2013-12-16 Thread Marco Pallante
but there is a possibility for problems when you use xtables in your document which are split across pages. \startsetups[header:table] \startembeddedxtable[align={middle,lohi},strut=no] \startxrow \startxcell[width=0.25\paperwidth,nr=4

Re: [NTG-context] Table in header, or multicolumn header

2013-12-15 Thread Wolfgang Schuster
but there is a possibility for problems when you use xtables in your document which are split across pages. \startsetups[header:table] \startembeddedxtable[align={middle,lohi},strut=no] \startxrow \startxcell[width=0.25\paperwidth,nr=4

[NTG-context] Understanding the basics of \define

2013-12-10 Thread Pavel Stupin
compile: \define[1]\mytable{ \startxtable \startxrow \startxcell #1 \stopxcell \stopxrow \stopxtable} \mytable{abc} I would appreciate your help and maybe some references to read (if any) in order to educate myself. Kind regards, Pavel

Re: [NTG-context] Understanding the basics of \define

2013-12-10 Thread Wolfgang Schuster
of understanding of the very basics, but e.g. the following code just doesn't compile: \define[1]\mytable{ \startxtable \startxrow \startxcell #1 \stopxcell \stopxrow \stopxtable} \mytable{abc} I would appreciate your help and maybe some references to read (if any) in order to educate

Re: [NTG-context] Understanding the basics of \define

2013-12-10 Thread Pavel Stupin
. the following code just doesn't compile: \define[1]\mytable{ \startxtable \startxrow \startxcell #1 \stopxcell \stopxrow \stopxtable} \mytable{abc} I would appreciate your help and maybe some references to read (if any) in order to educate myself. The problem in your example isn’t define

Re: [NTG-context] Understanding the basics of \define

2013-12-10 Thread Pavel Stupin
: \define[1]\mytable{ \startxtable \startxrow \startxcell #1 \stopxcell \stopxrow \stopxtable} \mytable{abc} I would appreciate your help and maybe some references to read (if any) in order to educate myself. The problem in your example isn’t define but the stable which uses a buffer

Re: [NTG-context] Understanding the basics of \define

2013-12-10 Thread Pavel Stupin
: \define[1]\mytable{ \startxtable \startxrow \startxcell #1 \stopxcell \stopxrow \stopxtable} \mytable{abc} I would appreciate your help and maybe some references to read (if any) in order to educate myself. The problem in your example isn’t define but the stable which uses a buffer

Re: [NTG-context] Understanding the basics of \define

2013-12-10 Thread Alan Braslau
{ \startxtable \startxrow \startxcell #1 \stopxcell \stopxrow \stopxtable} \mytable{abc} I would appreciate your help and maybe some references to read (if any) in order to educate myself. The problem in your example isn’t define but the stable which uses a buffer to collect

[NTG-context] image vertical positioning in xtable

2013-10-06 Thread Pablo Rodríguez
Dear list, I have the following sample that places the image below the text in the same cell: \starttext \startxtable \startxrow \startxcell This is an \stopxcell \startxcell image \externalfigure[cow.pdf][height=.5em] \stopxcell \stopxrow

Re: [NTG-context] Error using xtable

2013-07-19 Thread Hans Hagen
On 7/17/2013 9:22 AM, Dmitriy Tokarev wrote: Hello all, I experimented with xtables and found the following effect: This code is ok: \starttext \startxtable \startxrow \startxcell \input ward \stopxcell \stopxrow \stopxtable \stoptext But this compiled with an error: \starttext

[NTG-context] Error using xtable

2013-07-17 Thread Dmitriy Tokarev
Hello all, I experimented with xtables and found the following effect: This code is ok: \starttext \startxtable \startxrow \startxcell \input ward \stopxcell \stopxrow \stopxtable \stoptext But this compiled with an error: \starttext \startxtable %\startxtablebody \startxrow \startxcell

Re: [NTG-context] placing an xtable

2013-06-18 Thread Wolfgang Schuster
to affect to the placement of the table itself. Many thanks for your help, You can use a page float to place table: \starttext \input ward \startplacetable[location={page,none}] \startxtable \startxrow \startxcell Table content!\stopxcell \stopxrow \stopxtable

Re: [NTG-context] embedding ConTeXt code in an xtable

2013-06-17 Thread Sander Maijers
\startxmlsetups xml:TR \startxrow \xmlflush{#1} \stopxrow \stopxmlsetups \startxmlsetups xml:TD \startxcell \xmlflush{#1} \stopxcell \stopxmlsetups \startxmlsetups xml:TH \startxcell[background=color,backgroundcolor=gray

[NTG-context] Broken header=repeat in extreme tables

2013-01-08 Thread Jannik Voges
] \startxtablehead \startxrow \startxcell head one \stopxcell \startxcell head two \stopxcell \stopxrow \stopxtablehead \startxtablebody \dorecurse{100}{\startxrow

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Pablo Rodríguez
when adding such an xtable: \startxtable[option={stretch,width},frame=off,split=yes] \dorecurse{100}{ \startxrow \startxcell right \stopxcell \startxcell left \stopxcell \stopxrow} \stopxtable The xtable itself won't be aligned when I set split=yes and won't be split in pages. BTW

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Wolfgang Schuster
. I mean something like that, but I have problems when adding such an xtable: \startxtable[option={stretch,width},frame=off,split=yes] \dorecurse{100}{ \startxrow \startxcell right \stopxcell \startxcell left \stopxcell \stopxrow} \stopxtable The xtable itself won't

<    1   2   3   4   >