[NTG-context] Bug(?) in https://wiki.contextgarden.net/Tabulate#Spanning_Multiple_Pages

2023-09-11 Thread Jim
Hi, In https://wiki.contextgarden.net/Tabulate#Spanning_Multiple_Pages the wiki has "internal error: convert failed". Removing \color[red] from \setuptabulate in that example gives a working example (at least in a separate file on my machine). I tried changing the title spe

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread Hans Hagen
asdf asdf asdf asdf asdf asdf asdf ashjkdf askldf askdlfjöaslkdfjaösdlf \NC \NR \stoptabulate \stoptext \startsetups[nopenalties] \setdefaultpenalties \stopsetups % \setuptabulate[setups=nopenalties] % in next version \setuptabulate[inner=\setups{nopenalties

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread denis.maier
f asdf asdf asdf asdf sdf asdf asdf asdf > > asdf asdf > asdf asdf ashjkdf askldf askdlfjöaslkdfjaösdlf > > \NC \NR > > \stoptabulate > > > > \stoptext > \startsetups[nopenalties] > \setdefaultpenalties > \stopsetups > > > % \setuptabulate[setups

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
asdf \NC a asdf asdf asdf asdf asdf asdf sdf asdf asdf asdf asdf asdf asdf asdf ashjkdf askldf askdlfjöaslkdfjaösdlf \NC \NR \stoptabulate \stoptext \startsetups[nopenalties] \setdefaultpenalties \stopsetups % \setuptabulate[setups=nopenalties] % in next version \setuptabulate

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread jbf via ntg-context
that. That was satisfactory in this case. Tabulate might have to be the solution for a different set of circumstances. Julian On 27/2/23 23:26, mf via ntg-context wrote: I would try \setuptabulate, \starttabulate ... \stoptabulate. It has some limitations (though Hans added some features recently

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread mf via ntg-context
I would try \setuptabulate, \starttabulate ... \stoptabulate. It has some limitations (though Hans added some features recently), but it should work. Massi Il 24/02/23 06:41, jbf via ntg-context ha scritto: I have the following setup for side-by-side paras. \defineparagraphs[Two][n=2

Re: [NTG-context] split TABLE cells

2022-05-19 Thread Steffen Wolfrum via ntg-context
t >> \eTD >> \bTD >> Test >> \eTD >> \bTD >> Test >> \eTD >> \eTR >> \eTABLE >> \stoptext > not possible, use tabulate instead do you have a MWE? the example from https://wiki.contextgarden.net/Tabulate gives an empty page: \set

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Benjamin Buchmuller via ntg-context
gt;> So, in one file I can define all styles (which the end-user would not need >> to see): >> \definetabulate[recipe][|l|l|p|l|] >> \setuptabulate >> [recipe] >> [ >> bodyfont=small, >> distance=medium, >> before={\bl

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Hans Hagen via ntg-context
ate[recipe][|l|l|p|l|] \setuptabulate [recipe] [ bodyfont=small, distance=medium, before={\blank[back, small]}, header=text, headstyle=\bi, % this formats the "\BC" cells headcolor=red, % this formats the "\BC"

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Benjamin Buchmuller via ntg-context
ecipe". The advantage is that all information is held together and it's easy to use for people who are not (too) familiar with ConTeXt. So, in one file I can define all styles (which the end-user would not need to see): \definetabulate[recipe][|l|l|p|l|] \setuptabulate

[NTG-context] Title for tabulate

2021-11-28 Thread Denis Maier via ntg-context
Hi, when trying out different options for my last question regarding column spans I've tried out the the option regarding titles for the tabulate environment. Consider this example (adapted from the wiki): %% \setuppapersize[A6] \starttext \setuptabulate

Re: [NTG-context] Lua code and table

2021-02-17 Thread Tomas Hala
; # \stopuseMPgraphic # #\defineoverlay #  [DiagonalRule] #  [\useMPgraphic{DiagonalRule}] # #\define[2]\DiagonalLabel{% #  \setuptabulate [after={\blank[\frameddimension{offset}]}] #  \starttabulate [|p|r|] #    \NC    \NC \bf #2 \NC\NR #    \NC \bf #1 \NC

[NTG-context] Lua code and table

2021-02-17 Thread Fabrice Couvreur
); draw leftcorner -- rightcorner; draw Leftcorner -- Rightcorner; \stopuseMPgraphic \defineoverlay [DiagonalRule] [\useMPgraphic{DiagonalRule}] \define[2]\DiagonalLabel{% \setuptabulate [after={\blank[\frameddimension{offset}]}] \starttabulate [|p|r|] \NC\NC \bf #2 \NC\NR

[NTG-context] keeping content chunks on same page

2020-08-24 Thread Mike Cooper
pipe, what should he instruct the driller to do? \setuptabulate[header=none] \starttabulate[|c|c|c|] \NC Stands \NC Increments required vs. actual \NC Trend \NC \NR \NC 0-5 \NC 3.57 vs. 3.57 \NC ~0 \NC \NR \NC 6-10\NC 3.57 vs. 2.57 \NC -1 \NC \NR \NC 11-15\NC 3.57 vs. 1.57 \NC -2 \

[NTG-context] vertical align in tabulate paragraphs

2020-08-23 Thread Henning Hraban Ramm
Here’s another problem that I can’t reproduce in a MWE: In a tabulation that is set up like the example, in some cases the right column cell doesn’t top-align with the left one (see screenshot). In most cases it works. There’s no \setuptabulate in my environment; don’t know what else could

Re: [NTG-context] Code lua in a table

2020-07-21 Thread Fabrice Couvreur
, \overlayheight-rulethickness); rightcorner := (\overlaywidth-rulethickness, rulethickness); draw leftcorner -- rightcorner; \stopuseMPgraphic \defineoverlay [DiagonalRule] [\useMPgraphic{DiagonalRule}] \define[2]\DiagonalLabel{% \setuptabulate [after={\blank[\frameddimension{offset

Re: [NTG-context] Tabulate & repeating header

2018-11-13 Thread Wolfgang Schuster
Procházka Lukáš Ing. schrieb am 12.11.18 um 13:17: Hello, the following code: \starttext   \bgroup     \setuptabulate[split=yes,header=repeat]     \starttabulatehead   \FL   \NC {\bf format char} \NC {\bf meaning} \NC \AR   \LL     \stoptabulatehead For the moment use

[NTG-context] Tabulate & repeating header

2018-11-12 Thread Procházka Lukáš Ing .
Hello, the following code: \starttext \bgroup \setuptabulate[split=yes,header=repeat] \starttabulatehead \FL \NC {\bf format char} \NC {\bf meaning} \NC \AR \LL \stoptabulatehead \starttabulate[|r|l|] \NC c \NC centered \NC \AR \NC l

Re: [NTG-context] Modes in tables

2018-09-10 Thread Wolfgang Schuster
can be disabled. \starttabulate [...] [before=,after=] or \setuptabulate [before=,after=] 4. The vertical space between the lines in the table text also varies. It is larger when using TABLE. Setting offset to 0pt reduces the vertical space in natural table but there will always be differen

Re: [NTG-context] Modes in tables

2018-09-10 Thread Jan Willem Flamma
when using tabulate. > > Tabulate add by default a \blank before and after the table which can be > disabled. > > \starttabulate [...] [before=,after=] > > or > > \setuptabulate [before=,after=] > >> 4. The vertical space between the lines in the table text also var

Re: [NTG-context] Modes in tables

2018-09-07 Thread Wolfgang Schuster
. The vertical space between the regular text and the start of the table varies. It is larger when using tabulate. Tabulate add by default a \blank before and after the table which can be disabled. \starttabulate [...] [before=,after=] or \setuptabulate [before=,after=] 4. The vertical space between

Re: [NTG-context] The best command for parallel texts

2018-07-03 Thread Idris Samawi Hamid ادريس سماوي حامد
rk, so for fun and for learning something new: == \setuppapersize[A4][A4] \defineparagraphs[TwoLang][n=2] \setuptabulate[split=yes] \setupalign[verytolerant,stretch] \starttext \showframe \startoutputstream[one] \setupalign[flushleft] \framedtext[width=17.4em,align=verytolerant,s

[NTG-context] The best command for parallel texts

2018-07-01 Thread Martin Hasoň
and set up? \setuppapersize[A6][A6] \defineparagraphs[TwoLang][n=2] \setuptabulate[split=yes] \setupalign[verytolerant,stretch] \starttext \startTwoLang \input lorem \nextTwoLang \input davis \stopTwoLang \starttabulate[|p|p|] \NC\input lorem \NC\input davis \NC\NR \stoptabulate \bTABLE[frame=off

Re: [NTG-context] Invoice Forms

2018-06-14 Thread Henning Hraban Ramm
Am 2018-06-14 um 16:17 schrieb Floris van Manen : > almost… > what is \fieevis ? > > > \670>:letter:layer:location:fiee ... 5em \fieevis > \setuptabulate [bodyfont=s... > l.4 } > Sorry, missed that. It’s a macro th

Re: [NTG-context] Invoice Forms

2018-06-14 Thread Floris van Manen
almost… what is \fieevis ? \670>:letter:layer:location:fiee ... 5em \fieevis \setuptabulate [bodyfont=s... l.4 } > On 14 Jun 2018, at 16:00, Henning Hraban Ramm wrote: > > Am 2018-06-14 um 12:48 schrieb Henning Hraban Ramm : &

[NTG-context] beta

2018-04-19 Thread Hans Hagen
Also in upcoming: The auto variants \NA \BA will loop over colors: \setuptabulate[foregroundcolor=white] \setuptabulate[backgroundcolor:1=darkred] \setuptabulate[backgroundcolor:2=darkgreen] \setuptabulate[backgroundcolor:3=darkblue] \starttabulate[|||] \BA foo foo foo \BC bar bar bar bar

Re: [NTG-context] next beta

2018-04-18 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] next beta

2018-04-14 Thread Hans Hagen
Hi, The next beta will have: % row backgrounds: \setuptabulate[backgroundcolor=darkred] \starttext \starttabulate[|||] \NC foo \NC bar \NC \NR \ND foo \NC bar \NC \NR \NC foo \NC bar \NC \NR \NC foo \NC bar \NC \NR \ND foo \NC bar \NC \NR \stoptabulate \starttabulate

[NTG-context] Repeating Headers for Tabulate not Working

2017-12-22 Thread Michael Guravage
Though this issue has appeared periodically over the years, this minimal example still does not work. Compiled with ConTeXt version: 2017.12.20 10:48. Any suggestions? Cheers, Michael \starttext \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC {\bf format char} \NC {\bf

[NTG-context] Repeating Headers for Tabulate not Working

2017-12-22 Thread Michael Guravage
Though this issue has appeared periodically over the years, this minimal example still does not work. Compiled with ConTeXt version: 2017.12.20 10:48. Any constructive suggestions? \starttext \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC {\bf format char} \NC {\bf

Re: [NTG-context] Orphans and widows for specific paragraph groups

2016-06-17 Thread Wolfgang Schuster
anyone have any suggestions on how to accomplish this? You can put everything in a framedtext to keep it together. \setupbodyfont[9pt] \setupindenting[yes,medium,next] \setupwhitespace[small] \definetabulate[subjectpar][|f{\ssc}w(.3\textwidth)|f{\ssc}p|] \setuptabulate [subjectpar][after={\blackrule[

Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
color. The table environment does not support backgrounds but you can use the tabulate environment. \starttext \defineframedcontent[nicola][frame=off,background=color,backgroundcolor=yellow] \setuptabulate[frame=nicola] Thanks, it works! And it does with tables, too. From there, I think I know

Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Wolfgang Schuster
table environment does not support backgrounds but you can use the tabulate environment. \starttext \defineframedcontent[nicola][frame=off,background=color,backgroundcolor=yellow] \setuptabulate[frame=nicola] \starttabulate[|k{0.25}cm|] \HL \NC \bf R \NC\NR \NC A \NC\NR \HL \NC \bot \NC\NR \NC 1

[NTG-context] parallel texts, setuptabulate and widows-orphans control

2016-04-19 Thread massifr
Hello list, I've found that \start ... \stoptabulate can be used to format parallel texts, with paragraphs that are synchronized and split well on different pages. I also found that they don't play well with widow-orphan penalties. Try this: \setuptabulate[split=yes] \starttext \setpenalties

[NTG-context] Tabulate: lines bellow header

2015-07-11 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, Let's have the following code: \starttext \setuptabulate[header=repeat,split=yes] \starttabulatehead \HL \NC H \NC H \NC\NR \LL % \LL[8] causes error \stoptabulatehead \starttabulate[|l|l|] \dorecurse{50}{ \NC A \NC A \NC\NR \HL[8

[NTG-context] tabulate and header=repeat

2015-03-21 Thread Alan BRASLAU
Hello, I have a simple problem with headers and tabulate spread over multiple pages. In the following MWE, the header's \HL gets rendered twice on its first instance (the first page). My error must be something simple (and obvious)? Thanks Alan \setupbodyfont [dejavu,12pt] \setuptabulate

Re: [NTG-context] g parameter in tabulate stopped working

2014-12-31 Thread Hans Hagen
On 12/31/2014 5:16 AM, Henning Hraban Ramm wrote: Hi a happy new year! When preparing my last invoices for 2014, I stumpled upon an error in tabulation: \starttext \setuptabulate[distance=0pt] \starttabulate[|lw(7.75cm)|rg(,)w(2cm)|rg(,)w(2cm)|cg(,)w(3cm)|] \NC Text \NC

[NTG-context] g parameter in tabulate stopped working

2014-12-30 Thread Henning Hraban Ramm
Hi a happy new year! When preparing my last invoices for 2014, I stumpled upon an error in tabulation: \starttext \setuptabulate[distance=0pt] \starttabulate[|lw(7.75cm)|rg(,)w(2cm)|rg(,)w(2cm)|cg(,)w(3cm)|] \NC Text \NC1,00\NC 222,22\NC 3,33\NC\NR \NC

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-28 Thread Robert Zydenbos
not use the full width of the paper (b) it is a long table, crossing a page end (c) the whole table should be centered I tried the source below and obviously made a mistake somewhere. Any suggestions? Robert Test source: \starttext \input knuth \setuptabulate[split=yes] \midaligned

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-28 Thread Hans Hagen
width ... pretty hard to do otherwise Robert Test source: \starttext \input knuth \setuptabulate[split=yes] \midaligned { %%% -- THIS DOES NOT WORK -- it does not center the entire table \starttabulate [|p(.5\textwidth)|p(.2\textwidth)|] \dorecurse{4}{ \NC Nu laat ik je iets zien in een

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-28 Thread Wolfgang Schuster
Test source: \starttext \input knuth \setuptabulate[split=yes] \midaligned { %%% -- THIS DOES NOT WORK -- it does not center the entire table \starttabulate [|p(.5\textwidth)|p(.2\textwidth)|] \dorecurse{4}{ \NC Nu laat ik je iets zien in een tabel, die met tabulate gemaakt

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-28 Thread Robert Zydenbos
On May 28, 2014, at 13:51 , Hans Hagen pra...@wxs.nl wrote: On 5/28/2014 10:46 AM, Robert Zydenbos wrote: [...] why xetex ... mkii is frozen Sorry, Hans, but I need to use odd fonts for Indian languages that are not (yet?) supported by mkiv. But the combination ConTeXt mkii+XeTeX gives me

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-28 Thread Hans Hagen
On 5/28/2014 8:25 PM, Robert Zydenbos wrote: On May 28, 2014, at 13:51 , Hans Hagen pra...@wxs.nl wrote: On 5/28/2014 10:46 AM, Robert Zydenbos wrote: [...] why xetex ... mkii is frozen Sorry, Hans, but I need to use odd fonts for Indian languages that are not (yet?) supported by mkiv. But

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-28 Thread Robert Zydenbos
On May 28, 2014, at 22:10 , Hans Hagen pra...@wxs.nl wrote: On 5/28/2014 8:25 PM, Robert Zydenbos wrote: On May 28, 2014, at 13:51 , Hans Hagen pra...@wxs.nl wrote: On 5/28/2014 10:46 AM, Robert Zydenbos wrote: [...] why xetex ... mkii is frozen Sorry, Hans, but I need to use odd fonts

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-27 Thread Robert Zydenbos
Is there also an equivalent of \placetable for use with Natural Tables? Robert On May 23, 2014, at 5:05 , Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 23.05.2014 um 04:17 schrieb Robert Zydenbos cont...@zydenbos.net: You have you use the “split” keyword when you want your tables

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-27 Thread Wolfgang Schuster
Am 27.05.2014 um 10:57 schrieb Robert Zydenbos cont...@zydenbos.net: Is there also an equivalent of \placetable for use with Natural Tables? You can use \placetable for all table environments. Wolfgang ___ If your

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-22 Thread Robert Zydenbos
of test source--- % !TEX TS-program = ConTeXt (XeTeX) \starttext \input knuth \setuptabulate[split=yes] % --- *** I WANT THIS TABLE TO BE CENTERED *** --- \starttabulate [|p(.5\textwidth)|p(.2\textwidth)|] \dorecurse{4}{ \NC Nu laat ik je iets zien in een tabel, die met tabulate gemaakt is. \NC

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-22 Thread Wolfgang Schuster
Am 23.05.2014 um 04:17 schrieb Robert Zydenbos cont...@zydenbos.net: This is a topic that is of great interest to me. I have been trying to make tables in mkii (because I need XeTeX for my Indic fonts) that span across pages and in which cells are more than one line (so I use the 'p'

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Wikified: http://wiki.contextgarden.net/Tabulate#Horizontal_centering_table_on_the_page Lukas On Tue, 13 May 2014 07:03:58 +0200, Mikael P. Sundqvist mic...@gmail.com wrote: I'd do such things with \starttext \input knuth\par \placetable[force,none]{none}{% \starttabulate[|r|l|] \HL

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Mikael P. Sundqvist
On Tue, May 13, 2014 at 9:22 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: ... Wikified: http://wiki.contextgarden.net/Tabulate#Horizontal_centering_table_on_the_page Lukas I realized that the second none is not needed. It is sufficient with empty {} (or they could include

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Otared Kavian
On 13 mai 2014, at 08:30, Mikael P. Sundqvist mic...@gmail.com wrote: On Tue, May 13, 2014 at 9:22 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: ... Wikified: http://wiki.contextgarden.net/Tabulate#Horizontal_centering_table_on_the_page Lukas I realized that the

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Mikael P. Sundqvist
On Tue, May 13, 2014 at 10:36 AM, Otared Kavian ota...@gmail.com wrote: Actually the « none » in \placetable[force,none] means you don’t want a caption and the first braces enclose the caption, while the second braces enclose what is going to be « placed »: compare

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Mikael P. Sundqvist
On Tue, May 13, 2014 at 10:49 AM, Mikael P. Sundqvist mic...@gmail.com wrote: \startplacetable%[force,none] \starttabulate[|r|l|] \HL \NC I want this table \NC aligned in the center.\NR \HL \stoptabulate \stopplacetable Sorry for the spamming, according to older examples on the list, this

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-13 Thread Wolfgang Schuster
Am 13.05.2014 um 09:30 schrieb Mikael P. Sundqvist mic...@gmail.com: On Tue, May 13, 2014 at 9:22 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: ... Wikified: http://wiki.contextgarden.net/Tabulate#Horizontal_centering_table_on_the_page Lukas I realized that the

[NTG-context] Centering tabulate env. using \setuptabulate

2014-05-12 Thread Devendra Ghate
I expect follow MWE to produce a centered table. But it does not. Am I making any obvious mistake. --- \definetabulate[centeredTable][|r|l|] \setuptabulate [centeredTable] [align={middle}] \starttext \startcenteredTable \HL \NC I want this table \NC aligned

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-12 Thread Mikael P. Sundqvist
On Tue, May 13, 2014 at 5:28 AM, Devendra Ghate devendra.gh...@gmail.com wrote: I expect follow MWE to produce a centered table. But it does not. Am I making any obvious mistake. --- \definetabulate[centeredTable][|r|l|] \setuptabulate [centeredTable] [align={middle

Re: [NTG-context] tabulate: header not repeated

2014-04-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
...@pontex.cz wrote: Hello, 'tabulate' header is not repeated across pages, the header appears only at the begin of the 'tabulate'. The code is based on http://wiki.contextgarden.net/Tabulate#Headers \starttext \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL

[NTG-context] tabulate: header not repeated

2014-04-24 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, 'tabulate' header is not repeated across pages, the header appears only at the begin of the 'tabulate'. The code is based on http://wiki.contextgarden.net/Tabulate#Headers \starttext \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC A \NC B \NC\NR

Re: [NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Wolfgang Schuster
values, to enable protrusion and font expansion for these environment you have to change their align values. \setupframedtext [align={normal,hanging,hz}] \setuptabulate [align={normal,hanging,hz}] Wolfgang ___ If your

Re: [NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Wolfgang Schuster
to the \setupalign command. - What about tabulate-environment? I’m sorry but I was wrong about the setting for the tabulate environment, the align value of \setuptabulate accepts only “left”, “middle”, “right” and “normal” as arguments. There is also no way to change the format of the default tabulation

Re: [NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Christian Prim
means you don’t need the \setuptolerance command. This is important because the value of the align key is passed to the \setupalign command. - What about tabulate-environment? I’m sorry but I was wrong about the setting for the tabulate environment, the align value of \setuptabulate accepts

Re: [NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Christian Prim
] \setupframedtext[align={normal,hanging,hz}] %NEW \setuptabulate[align={normal,hanging,hz}] %NEW \showframe %NEW, for better seeing \starttext \subject{Normal Text} align working, tolerance working. \input knuth \subject{Table} Table resets align/tolerance: \starttabulate \NC align/tolerance

Re: [NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Christian Prim
about tabulate-environment? I’m sorry but I was wrong about the setting for the tabulate environment, the align value of \setuptabulate accepts only “left”, “middle”, “right” and “normal” as arguments. There is also no way to change the format of the default tabulation environment, only local

Re: [NTG-context] PDF-Toc text is wrong for new \start? commands

2013-07-16 Thread Andres Conrado
={m...@econs.umass.edu} ] \defineletterelement[layer][location][example]% {\setuptabulate[bodyfont=normal] \startcolor[maroon] \starttabulate[|lw(.4\textwidth)|rw(.55\textwidth)|] \NC \tfa \sc University of Massachusetts \NC \NR \NC

[NTG-context] Some questions about the letter module

2013-07-15 Thread Michael Ash
-2590}, fax={+1-413-545-2921}, email={m...@econs.umass.edu} ] \defineletterelement[layer][location][example]% {\setuptabulate[bodyfont=normal] \startcolor[maroon] \starttabulate[|lw(.4\textwidth)|rw(.55\textwidth)|] \NC \tfa \sc University of Massachusetts \NC

[NTG-context] Some questions about the letter module

2013-07-12 Thread Michael Ash
={Michael Ash}, dept={Department of Economics}, building={Thompson Hall}, street={200 Hicks Way}, city={Amherst, MA 01003-9277}, phone={+1-413-545-2590}, fax={+1-413-545-2921}, email={m...@econs.umass.edu} ] \defineletterelement[layer][location][example]% {\setuptabulate[bodyfont=normal

Re: [NTG-context] Some questions about the letter module

2013-07-12 Thread Michael Ash
Way}, city={Amherst, MA 01003-9277}, phone={+1-413-545-2590}, fax={+1-413-545-2921}, email={m...@econs.umass.edu} ] \defineletterelement[layer][location][example]% {\setuptabulate[bodyfont=normal] \startcolor[maroon] \starttabulate[|lw(.4\textwidth)|rw(.55

Re: [NTG-context] Table

2013-05-03 Thread Wolfgang Schuster
column I’m sorry but the keys accept only a number which uses the values of \setuptabulate[unit=dimension] \starttext \starttabulate[|l|l|] \VL Left column \VL Right Column \VL\NR \stoptabulate \starttabulate[|i1l|l|] \VL Left column \VL Right Column \VL\NR \stoptabulate \starttabulate[|j1l|l|] \VL

Re: [NTG-context] Header not repeating for tabulate

2013-05-01 Thread lance.c.lar...@gmail.com
, but the header doesn't repeat. Any idea why the header doesn't repeat? \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC \bf Variable \NC \bf Value \NC\bf Reference\NR \HL \HL \stoptabulatehead \starttabulate[|lw(1in)|lw(1in)|l|] \dorecurse{100}{\NC Column 1 value \NC

[NTG-context] Header not repeating for tabulate

2013-04-30 Thread Lance Larsen
I created a table using tabulate. I want the header to repeat, and used the following code. The table splits correctly, but the header doesn't repeat. Any idea why the header doesn't repeat? \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC \bf Variable \NC \bf

Re: [NTG-context] Split \starttabulates

2013-02-10 Thread Malte Stien
using TABULATE, right? The split function in \setuptabulate works as well, but only if the table is not inserted using \placetable, that is as a float. So, \placetable knows how to split a TABLE but not a TABULATE although \starttabulate… \stoptabulate knows how to split itself. Is that right

Re: [NTG-context] Repeating Headers for Tabulate not Working

2013-02-10 Thread Malte Stien
Oops. Copy/pasted the wrong snippet. The minimal example looks like this: \starttext \setuptabulate[split=yes,header=repeat] \starttabulatehead \HL \NC {\bf format char} \NC {\bf meaning} \NC \AR \HL \stoptabulatehead \starttabulate[|r|l|] \dorecurse{50} {\NC c \NC centered

Re: [NTG-context] Need help with \definetabulate

2012-10-17 Thread Malte Stien
-context@ntg.nl Subject: Re: [NTG-context] Need help with \definetabulate Marco, \definetabulate [alpha] [|l|l|l|] \setuptabulate [alpha] [bodyfont=small] This does not work for me quite the way I need it to. I am really just after defining the font-size, but I would like to leave

[NTG-context] Fwd: Need help with \definetabulate

2012-10-16 Thread Malte Stien
, \definetabulate [alpha] [|l|l|l|] \setuptabulate [alpha] [bodyfont=small] This does not work for me quite the way I need it to. I am really just after defining the font-size, but I would like to leave the column setup to the user (I am building an environment and that I would like everyone in my team

Re: [NTG-context] Fwd: Need help with \definetabulate

2012-10-16 Thread Sietse Brouwer
The problem is that \starttabulate does not accept a format parameter. Cheap solution (only figured it out now, or I'd have replied before): use \setuptabulate[alpha][format={}] before every \startalpha call. It's not very contexty syntax, but on the other hand it requires no new

Re: [NTG-context] Fwd: Need help with \definetabulate

2012-10-16 Thread Hans Hagen
On 16-10-2012 12:52, Sietse Brouwer wrote: The problem is that \starttabulate does not accept a format parameter. Cheap solution (only figured it out now, or I'd have replied before): use \setuptabulate[alpha][format={}] before every \startalpha call. It's not very contexty syntax

Re: [NTG-context] Fwd: Need help with \definetabulate

2012-10-16 Thread Wolfgang Schuster
Am 16.10.2012 um 13:08 schrieb Hans Hagen pra...@wxs.nl: On 16-10-2012 12:52, Sietse Brouwer wrote: The problem is that \starttabulate does not accept a format parameter. Cheap solution (only figured it out now, or I'd have replied before): use \setuptabulate[alpha][format

Re: [NTG-context] Fwd: Need help with \definetabulate

2012-10-16 Thread Hans Hagen
\setuptabulate[alpha][format={}] before every \startalpha call. It's not very contexty syntax, but on the other hand it requires no new definitions at all. Full example below. Cheers, Sietse \definetabulate[alpha][|l|] % dummy format \setuptabulate[alpha][style=bold] \setuptabulate[alpha

Re: [NTG-context] Need help with \definetabulate

2012-10-15 Thread Malte Stien
Marco, \definetabulate [alpha] [|l|l|l|] \setuptabulate [alpha] [bodyfont=small] This does not work for me quite the way I need it to. I am really just after defining the font-size, but I would like to leave the column setup to the user (I am building an environment and that I would like

Re: [NTG-context] Need help with \definetabulate

2012-10-08 Thread Marco Patzer
2012-10-08 Malte Stien: Hi Malte I am trying to define two tabulate styles as follows: - \setuptabulate[split=yes, bodyfont=small] - \setuptabulate[split=yes] \definetabulate [alpha] [|l|l|l|] \setuptabulate [alpha] [bodyfont=small] \definetabulate [beta] [|l|l|] \setuptabulate [beta

[NTG-context] Split \starttabulates

2012-10-03 Thread Malte Stien
\NC\MR \NC Sheep \NC Always hungry \NC\MR \HL \stoptabulate However, I need one of these tables to split over adjacent pages, which according to the documentation should be achievable with \setuptabulate[split=yes] However, that does not seem to work in connection

Re: [NTG-context] Split \starttabulates

2012-10-03 Thread Marco Patzer
\NC\MR \NC Sheep\NC Always hungry \NC\MR \HL \stoptabulate However, I need one of these tables to split over adjacent pages, which according to the documentation should be achievable with \setuptabulate[split=yes] However, that does not seem to work in connection

Re: [NTG-context] Diagonal rule in table (was: Divided cells and bullet points in tables)

2012-08-31 Thread Marco Patzer
); draw leftcorner -- rightcorner; \stopuseMPgraphic \defineoverlay [DiagonalRule] [\useMPgraphic{DiagonalRule}] \define[2]\DiagonalLabel{% \setuptabulate [after={\blank[\frameddimension{offset}]}] \starttabulate [|p|r|] \NC\NC #2 \NC\NR \NC #1 \NC\NC\NR \stoptabulate

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
}, numbercommand=, command=\footnum] \setupfootnotedefinition [location=serried, before=, after=, distance=0.5em] \setuptabulate [before=\blank, inner=\ss, after=\blank] \def\startIntroEntry#1% {\startlinecorrection \bgroup \setupalign[right] \setuptolerance

[NTG-context] Split \startalign content on more pages

2012-05-13 Thread elgo...@libero.it
centro \setupbodyfont[11pt]% altezza carattere 11pt \setupcolors[state=start, rgb=yes]% per usare colori \setupcolor[rgb]% carico colori di default \setuptabulate[split=yes]% consente di spezzare le liste di tabualte su più pagine %\setupindenting[medium, yes]% indentazione prima linea di paragrafi

Re: [NTG-context] tabulate to full text width?

2012-04-21 Thread Wolfgang Schuster
Am 20.04.2012 um 17:52 schrieb Marco: On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: is it possible to specify \(start)tabulate or \setuptabulate to fit \textwidth? How about linetables? \setuplinetable [width=.5\textwidth] \starttext \showboxes

[NTG-context] tabulate to full text width?

2012-04-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible to specify \(start)tabulate or \setuptabulate to fit \textwidth? - I mean all columns to have the same width so in total to occupy the whole \textwidth... Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz

Re: [NTG-context] tabulate to full text width?

2012-04-20 Thread Marco
On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: is it possible to specify \(start)tabulate or \setuptabulate to fit \textwidth? How about linetables? \setuplinetable [width=.5\textwidth] \starttext \showboxes \starttabulate \NC Foo \NC Bar

Re: [NTG-context] tabulate to full text width?

2012-04-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
: is it possible to specify \(start)tabulate or \setuptabulate to fit \textwidth? How about linetables? \setuplinetable [width=.5\textwidth] \starttext \showboxes \starttabulate \NC Foo \NC Bar \NC\NR \stoptabulate \startlinetable \NC Foo \NC Bar

[NTG-context] Two columns type problem

2012-02-13 Thread Martin Bruchanov
, headerdistance=10mm, footer=11mm, %10mm bottomspace=5mm, bottom=0mm, ] % Pouziti barev \setupcolors[state=start] \setupcolor[rgb] \setupinterlinespace[medium] \setupwhitespace[medium] \setuptabulate[header=repeat] \setupbodyfontenvironment[default][em=italic

Re: [NTG-context] Surprising changes in vers. 2012.01.11

2012-01-12 Thread Mari Voipio
for the specification itself 203 \definetabulate[specstable][|il|p|] 204 \setuptabulate[bodyfont=8pt] 205 206 207 208 % -- COVERS, generic settings - 209 210 211 \definelayer[etukansi] 212 [x=0mm,y=0mm,width=\paperwidth,height=\paperheight] 213 214

Re: [NTG-context] Surprising changes in vers. 2012.01.11

2012-01-12 Thread luigi scarso
of measure (pt inserted) ... 202 % paragraph formatted right for the specification itself 203 \definetabulate[specstable][|il|p|] 204 \setuptabulate[bodyfont=8pt] 205 206 207 208 % -- COVERS, generic settings - 209 210 211 \definelayer

[NTG-context] Preserve line height with TABLE

2011-12-21 Thread Andreas Harder
Hi, is there a way to mimic the tabulate behavior with TABLE (or xtable)? \starttext \def\HtTest#1% {\setbox\scratchbox\vbox{#1}hight=\the\ht\scratchbox\par\vbox{#1}\blank} \HtTest{\strut (Äg) first line\par second line\par (Äg) third line} \setuptabulate[before=,after=,] \HtTest

Re: [NTG-context] Split option toggles caption font size

2011-11-12 Thread Hans Hagen
On 11-11-2011 21:13, Andreas Harder wrote: Hello Hans, it seems that with the split option the body font setting from tabulate is also applied to the float caption. \starttext \startbuffer \setuptabulate[bodyfont=small] \starttabulate \NC test \NC test \NC\NR

[NTG-context] Split option toggles caption font size

2011-11-11 Thread Andreas Harder
Hello Hans, it seems that with the split option the body font setting from tabulate is also applied to the float caption. \starttext \startbuffer \setuptabulate[bodyfont=small] \starttabulate \NC test \NC test \NC\NR \stoptabulate \stopbuffer \placetable[split]{Should

Re: [NTG-context] Fwd: Newlines in a table cel

2011-07-04 Thread Wolfgang Schuster
|] \setuptabulate [test][inner=\setquicktabulate\test] \starttest \test 1 \\ 2 \\ \test 3 \\ 4 \\ \stoptest \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Tabulate

2011-04-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, several questions about tabulate. Let's have: --- \starttext \setuptabulate[header=repeat] \starttabulatehead \HL \NC T \NC U \NC\AR % [1] \SR? \NR?... \HL \stoptabulatehead \starttabulate[|c|c|] \NC a \NC b \NC\NR \NC A \NC B \NC\NR \stoptabulate

[NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
Hi, how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Thanks, Florian

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Philipp Gesang
On 2011-03-10 11:08:22, Florian Wobbe wrote: Hi, how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Hi Florian, wrapping

Re: [NTG-context] extra line in tabulate headers

2011-03-10 Thread Florian Wobbe
how can I suppress the extra line in the header of the example on contextgarden (http://wiki.contextgarden.net/Tabulate#Headers)? Removing header=repeat from \setuptabulate helps but I'd like to keep header repetition. Hi Florian, wrapping it into a “\placetable”-float seems to get rid

  1   2   >