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[

[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] question concerning \setupalign \setuptolerance

2013-08-30 Thread Wolfgang Schuster
own tabulation environment with the \definetabulate command. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

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

2013-08-30 Thread Christian Prim
/tolerance working \NC \input knuth \NC\NR \stoptabulate When you want a different default alignment you have to create your own tabulation environment with the \definetabulate command. Wolfgang ___ If your

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

2013-08-30 Thread Christian Prim
environment with the \definetabulate command. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg

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

Re: [NTG-context] making tables with lua

2012-10-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
to convey a number from ConTeXt to the variable in Lua code. I write this email because I saw a hope in recent discussion Re: Fwd: Need help with \definetabulate which has a method to vary the column setting. \definetabulate [whatever] [|l|r|] \definetabulate [whatever][else] [|l|c|r|] It may

Re: [NTG-context] making tables with lua

2012-10-17 Thread Jeong Dal
and call it to generate tables of various number of columns given at each time. I also don't know whether it is possible to convey a number from ConTeXt to the variable in Lua code. I write this email because I saw a hope in recent discussion Re: Fwd: Need help with \definetabulate which has

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

2012-10-16 Thread Malte Stien
Any pointers anyone? I need to get this working and am running out of ideas. Thank you, Malte. Begin forwarded message: From: Malte Stien ma...@stien.de Date: 15 October 2012 17:03:42 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Need help with \definetabulate Marco

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

2012-10-16 Thread Wolfgang Schuster
Am 16.10.2012 um 11:21 schrieb Malte Stien ma...@stien.de: Any pointers anyone? I need to get this working and am running out of ideas. \def\startalpha {\dosingleempty\dostartalpha} \def\dostartalpha[#1]#2\stopalpha {\iffirstargument \starttabulate [#1]#2\stoptabulate \else

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

2012-10-16 Thread Sietse Brouwer
definitions at all. Full example below. Cheers, Sietse \definetabulate[alpha][|l|] % dummy format \setuptabulate[alpha][style=bold] \setuptabulate[alpha][format={|r|r|r|}] \startalpha \NC r \NC r \NC r \NC \NR \NC test \NC test \NC test \NC \NR \stopalpha \setuptabulate[alpha][format={|c|c|}] \startalpha

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

2012-10-16 Thread Hans Hagen
, 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][format={|r|r|r|}] \startalpha \NC r \NC r \NC r \NC \NR \NC test \NC test \NC test \NC \NR \stopalpha

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

2012-10-16 Thread Wolfgang Schuster
={}] 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][format={|r|r|r|}] \startalpha

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

[NTG-context] making tables with lua

2012-10-16 Thread Jeong Dal
to the variable in Lua code. I write this email because I saw a hope in recent discussion Re: Fwd: Need help with \definetabulate which has a method to vary the column setting. \definetabulate [whatever] [|l|r|] \definetabulate [whatever][else] [|l|c|r|] It may be a lazy man's question

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

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

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

2011-07-04 Thread Wolfgang Schuster
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[test][|l|p

[NTG-context] Tabulate

2011-04-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .
kind of tabulate? I'd like to have a special \definetabulate which would contain header=repeat specification as well as a special tabulehead (my code affects all following \tabulates). How to rewrite it better? TIA. Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s

[NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
{\hsize=6cm #3}\hbox{\vbox to \ht\scratchbox{\hbox to 1cm{\bf #2}\vfill}\vbox{\hsize=6cm #3\par}\vbox to \ht\scratchbox{\vfill\hbox to 1cm{\hfill #1 \getbuffer \definetabulate[ELine][|Blw(0.65cm)|p(5.8cm)|rw(0.8cm)|] \def\MyLine#1#2#3% {\startELine \NC #2 \NC #3 \NC #1 \NR

Re: [NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
\vbox{\hsize=6cm #3}\hbox{\vbox to \ht\scratchbox{\hbox to 1cm{\bf #2}\vfill}\vbox{\hsize=6cm #3\par}\vbox to \ht\scratchbox{\vfill\hbox to 1cm{\hfill #1 \getbuffer \definetabulate[ELine][|Blw(0.65cm)|p(5.8cm)|rw(0.8cm)|] \def\MyLine#1#2#3% {\startELine \NC #2 \NC #3 \NC #1 \NR

[NTG-context] Thicker row separator in a table

2010-10-22 Thread Procházka Lukáš
Hello, I'm trying to get a thicker [transparent] row separator in a table. I have the following code: --- \definetabulate[TabA][|c|] \def\XROW{\vrule height 2.5ex depth 1.ex} \starttext \startTabA A \NR % Next Row B \NR C \SR % Separate Row D \MR % Mid Row E \AR

Re: [NTG-context] paragraphs in columns query

2008-08-27 Thread Wolfgang Schuster
. How do I prevent the two columns from starting a new page? Right now there is a large whitespace on the preceding page. (This problem has been raised before, but I have not yet found the answer.) Any suggestions will be gratefully received. Use tabulate. \definetabulate[twocolumns][|p|p

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
][command] \definestartstop[name][commands] \definesubfield[name][name][names] \definesymbol[name][text] \definesynonyms[singular][plural][command][command] \definetabletemplate[name][text][text][text] \definetabulate[name][name][text] \definetext[name][position][text][text][text] # \definetextbackground

Re: [NTG-context] Escaping tabulate

2005-07-17 Thread Hans Hagen
to \hsize\bgroup\hss\vbox \bgroup\starttable} \def\stopMyMidAlignedTable{\stoptable\egroup\hss\egroup} ere is actually a \definetabulate (see end of core-mis) Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] \definestartstop and \starttabulate

2004-05-07 Thread Hans Hagen
\starttext \definetabulate[test][|l|p|l|] \starttest \NC test \NC test \NC test \NC \NR \NC tst \NC tst \NC tst \NC \NR \stoptest \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context