Re: [NTG-context] Page breaks with \defineparagraphs possible?

2023-06-04 Thread Berend de Boer via ntg-context
Hi Wolfgang, \definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{normal,verytolerant,stretch}|] One more on this actually: how can I influence the white space between the columns? I tried to set distance, but that didn't do anything. Setting p(4cm) or so, made the parag

Re: [NTG-context] Page breaks with \defineparagraphs possible?

2023-06-04 Thread Wolfgang Schuster via ntg-context
\vtop{#1}\hfil\vtop{#2}} but obviously that doesn't break, so went for more ConTeXt style, but couldn't see a good mechanism. You can use the tabulate environment to create parallel paragraphs. \setuppapersize[A5] \definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{norm

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Hans Hagen via ntg-context
e nice, from an aesthetic point of view, to have start & stop 'paired' commands in the source. Presumably some sort of deep ConTeXt fu is going on - can anyone explain it please? \definetabulate[MyExample][|r|c|l|p|] \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \N

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
s argument for an easy specification of, well, a title for a "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)

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

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

2013-08-30 Thread Christian Prim
tolerance not working \NC \input knuth \NC\NR >> \NC align/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.

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

2013-08-30 Thread Christian Prim
hanging,hz,stretch}|] > \NC align/tolerance not working \NC \input knuth \NC\NR > \NC align/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 co

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

2013-08-30 Thread Wolfgang Schuster
ment you have to create your 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:/

Re: [NTG-context] making tables with lua

2012-10-17 Thread Jeong Dal
ay put similar codes which are different only in the number >> of columns and column settings when I need a table. >> But I have many similar tables whose number of columns are different only. >> If such a method is possible, I'd like to put such a code in >> \startbuf

Re: [NTG-context] making tables with lua

2012-10-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
ll 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"

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

[NTG-context] making tables with lua

2012-10-16 Thread Jeong Dal
r 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 a method to vary the column setting. \definetabulate [whatever] [|l|r|] \definetabulate [whatever]

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

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

2012-10-16 Thread Hans Hagen
ax, 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

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

2012-10-16 Thread Sietse Brouwer
res 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 \setuptabulate[alpha][format={|c|c|}] \

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

2012-10-16 Thread Wolfgang Schuster
Am 16.10.2012 um 11:21 schrieb Malte Stien : > 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 \starttabulat

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

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

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

2010-11-09 Thread Thomas A. Schmitz
} > > \MyLine{20}{Me.}{Another longer line that will be broken into > two lines in the output.} > > \MyLine{25}{Fa.}{And the last line.} > \stopbuffer > \starttext > > \def\MyLine#1#2#3% > {\setbox\scratchbox\vbox{\hsize=6cm #3}\hbox{\vbox to \ht\scratchbox{\hbox

[NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
scratchbox\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 \N

[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

Re: [NTG-context] paragraphs in columns query

2008-08-27 Thread Wolfgang Schuster
he columns is the length of the page. 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

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
e][settings] \definesection[name] \definesectionblock[name][settings] \definesorting[singular][plural][command] \definestartstop[name][commands] \definesubfield[name][name][names] \definesymbol[name][text] \definesynonyms[singular][plural][command][command] \definetabletemplate[n

Re: [NTG-context] "Escaping" tabulate

2005-07-17 Thread Hans Hagen
ox 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 | PRAGM

Re: [NTG-context] synopsis / column(set)s?

2004-06-29 Thread Hans Hagen
several pages, on a grid), and then the one in the middle and then the one on the right. Is there an easy way to do this using column(set)s? maybe tabulations are more convenient: \starttext \definetabulate[ThreeOfThem][|p|p|p|] \startThreeOfThem \NC \input ward \NC \input zapf \NC \input bryson \NC

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

2004-05-07 Thread Peter Münster
On Fri, 7 May 2004, Hans Hagen wrote: > \definetabulate[test][|l|p|l|] Thank you, Hans! Here you see, how I use it: \define[3]\FLine{\NC#1\NC#2\NC#3\NC\AR}% First line \define[2]\Line{\NC\NC#1\NC#2\NC\AR} % normal line \define[3]\SLine{\Line{\hbox{\hbox to 0pt{\hskip-3em #1}#2}}

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