[NTG-context] Letter module broken?

2024-06-25 Thread Kip Warner
ge [nl] [date={year, –, mm, –, dd}] % ISO 8601 date 5 6 \setupbodyfont[rm, 10pt] 7 \setupinterlinespace[3.0ex] % default: 2.8ex 8 \setbreakpoints[compound] % break at / and - 9 10 >> \setupletteroptions 11 [language=netherlands, 12

[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 specif

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

2023-08-21 Thread Hans Hagen
f 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[inner=\setups{nopenalties}

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

2023-08-21 Thread denis.maier
f 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[setup

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

2023-08-18 Thread Hans Hagen
\NC 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 \setuptab

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

2023-02-27 Thread jbf via ntg-context
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), but

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
liar 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 >> [recipe] >> [ >> bodyfont=small, >> distance=medium, >&

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Hans Hagen via ntg-context
: \definetabulate[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 &quo

Re: [NTG-context] Title for tabulate

2021-12-14 Thread Benjamin Buchmuller via ntg-context
ot;recipe". 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|] \setu

[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 \setuptab

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
nd while RIH with drill 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\

[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 (with

[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
h 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 dif

Re: [NTG-context] Modes in tables

2018-09-10 Thread Jan Willem Flamma
arger 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 als

Re: [NTG-context] Modes in tables

2018-09-07 Thread Wolfgang Schuster
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 ادريس سماوي حامد
om work, 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=verytoler

[NTG-context] The best command for parallel texts

2018-07-01 Thread Martin Hasoň
I use 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[fram

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

[NTG-context] 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
dy. Would 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={\

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

2016-05-30 Thread Nicola
ith a flat 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 thi

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

2016-05-30 Thread Wolfgang Schuster
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] \starttabulate[|k{0.25}cm|] \HL \NC \bf R \NC\NR \NC A \NC\NR \HL \NC \bot \NC\

[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 \se

[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

[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] \setuptab

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

[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

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

2014-05-28 Thread Robert Zydenbos
On May 28, 2014, at 22:10 , Hans Hagen wrote: > On 5/28/2014 8:25 PM, Robert Zydenbos wrote: >> On May 28, 2014, at 13:51 , Hans Hagen 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 Indi

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 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 combinati

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

2014-05-28 Thread Robert Zydenbos
On May 28, 2014, at 13:51 , Hans Hagen 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 beautiful r

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

2014-05-28 Thread Wolfgang Schuster
e a mistake somewhere. > > Any suggestions? > > Robert > > Test source: > > \starttext > > \input knuth > > \setuptabulate[split=yes] > > \midaligned { %%% <-- THIS DOES NOT WORK -- it does not center the entire > table > \starttabulate [|p(.5\t

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

2014-05-28 Thread Hans Hagen
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 tabel

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-27 Thread Wolfgang Schuster
Am 27.05.2014 um 10:57 schrieb Robert Zydenbos : > Is there also an equivalent of \placetable for use with Natural Tables? You can use \placetable for all table environments. Wolfgang ___ If your question is of inte

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 wrote: > Am 23.05.2014 um 04:17 schrieb Robert Zydenbos : > > You have you use the “split” keyword when you want your tables to be broken > across pages, i.e. > > \sta

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

2014-05-22 Thread Wolfgang Schuster
Am 23.05.2014 um 04:17 schrieb Robert Zydenbos : > 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' parameter). > > I'm enc

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

2014-05-22 Thread Robert Zydenbos
RZ ---start 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 tab

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 : > On Tue, May 13, 2014 at 9:22 AM, Procházka Lukáš Ing. - Pontex s. r. > o. wrote: >> ... Wikified: >> http://wiki.contextgarden.net/Tabulate#Horizontal_centering_table_on_the_page >> >> Lukas > > I realized that the second none is not neede

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 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 seems to w

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 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 > > \placetable[force]{This is a

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

2014-05-13 Thread Otared Kavian
On 13 mai 2014, at 08:30, Mikael P. Sundqvist wrote: > On Tue, May 13, 2014 at 9:22 AM, Procházka Lukáš Ing. - Pontex s. r. > o. wrote: >> ... Wikified: >> http://wiki.contextgarden.net/Tabulate#Horizontal_centering_table_on_the_page >> >> Lukas > > I realized that the second none is not need

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. 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 any text).

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 wrote: I'd do such things with \starttext \input knuth\par \placetable[force,none]{none}{% \starttabulate[|r|l|] \HL \NC I want this ta

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 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] >[alig

[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 in the

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

2014-04-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .
ka Lukáš Ing. - Pontex s. r. o. 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

[NTG-context] tabulate: header not repeated

2014-04-23 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

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

2013-08-30 Thread Christian Prim
ce >> 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 \se

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

2013-08-30 Thread Christian Prim
retch] \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/toleranc

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

2013-08-30 Thread Christian Prim
ant” and > “stretch” as keyword which 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

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

2013-08-30 Thread Wolfgang Schuster
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 only “left”, “middle”, “right” and “normal” as arguments. There is also no way to change the format of the

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

2013-08-30 Thread Wolfgang Schuster
lues, 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] PDF-Toc text is wrong for new \start? commands

2013-07-16 Thread Andres Conrado
on] \ss \tfx The University of > Massachusetts is an Affirmative Action/Equal Opportunity Institution. > \stopcolor} >\setupletterlayer[foot][ > align=centerbottom, > alternative=example] > > \setupletter[ > name={Michael Ash}, > dept={Department of Econ

[NTG-context] Some questions about the letter module

2013-07-15 Thread Michael Ash
cks 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\textwidth)

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

2013-07-12 Thread Michael Ash
Massachusetts is an Affirmative Action/Equal Opportunity Institution. > \stopcolor} >\setupletterlayer[foot][ > align=centerbottom, > alternative=example] > > \setupletter[ > name={Michael Ash}, > dept={Department of Economics}, > building=

[NTG-context] Some questions about the letter module

2013-07-12 Thread Michael Ash
ttom, alternative=example] \setupletter[ name={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][locati

Re: [NTG-context] Table

2013-05-03 Thread Wolfgang Schuster
I’m sorry but the keys accept only a number which uses the values of \setuptabulate[unit=] \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 Left column \V

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

2013-05-01 Thread lance.c.lar...@gmail.com
#x27;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 \N

[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 \

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] Split \starttabulates

2013-02-10 Thread Malte Stien
I am 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

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

2012-10-16 Thread Malte Stien
15 October 2012 17:03:42 >> To: ntg-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 f

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

2012-10-16 Thread Hans Hagen
: use \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][form

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

2012-10-16 Thread Wolfgang Schuster
Am 16.10.2012 um 13:08 schrieb 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 >>

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 synt

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 requi

[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 environm

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

2012-10-14 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 woul

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

2012-10-07 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|] \s

[NTG-context] Need help with \definetabulate

2012-10-07 Thread Malte Stien
Hi, I am trying to define two tabulate styles as follows: - \setuptabulate[split=yes, bodyfont=small] - \setuptabulate[split=yes] ...such that I can just refer to them when I \starttabulate...\stoptabulate somewhere. I thought, the command \definetabulate would come in handy here, but I can&#

Re: [NTG-context] Split \starttabulates

2012-10-03 Thread Marco Patzer
of lazy\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] > > How

[NTG-context] Split \starttabulates

2012-10-02 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 with the

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

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

Re: [NTG-context] ntg-style error

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

[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-20 Thread Wolfgang Schuster
Am 20.04.2012 um 17:52 schrieb Marco: > On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o. wrote: > >> is it possible to specify \(start)tabulate or \setuptabulate to fit >> \textwidth? > > How about linetables? > > \setuplinetable [width=.5\textwidth

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

2012-04-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
ssible 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 \NC\

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. 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

[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

[NTG-context] Two columns type problem

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

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

2012-01-12 Thread luigi scarso
2 in file fico.tex: Illegal > unit 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, g

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

2012-01-12 Thread Mari Voipio
ecification 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 21

[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 be

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

2011-07-04 Thread Wolfgang Schuster
ge that the behavior is different before and after a \content? No because i had been wrong and \\ isn’t a valid command to end the line in tabulate, it’s used to write tabulate in a different form, e.g. look at \startlegend in the manual or at the following example: \starttext \definetabulate[

[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 \stoptab

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 >>>> he

  1   2   >