Re: [NTG-context] \defineparagraphs

2016-07-09 Thread Wolfgang Schuster
d make a \setupcombination[mycombination] similar to \defineparagraph[Mypar] to reduce typing. \definecombination[john][nx=2,ny=1,width=.5\textwidth] \startcombination[john] {...}{} {...}{} \stopcombination \tbox is new to me. Is that a ConTeXt macro of TEX \vtop{\hbox}? The command c

[NTG-context] combinations

2013-04-15 Thread Hans Hagen
Hi, As follow up on the combinations tread I made this: \useMPlibrary[dum] \starttext \definecombination[mycombi][alternative=label] \setuplabel[combination:mycombi][text={Item },numberconversion=character,stopper=!] \startcombination[mycombi][2*2] {\externalfigure[dummy][width=4cm

Re: [NTG-context] combinations

2013-04-15 Thread Sietse Brouwer
Hi Hans, Is the following correct? (1) [alternative=...] is a new key for \definecombination (2) \definecombination[mycombiA][alternative=text] means you specify the combination's contents as item, caption, item, caption, etc. \startcombination[mycombiA][nx=2,ny=1] {item}{caption

Re: [NTG-context] combinations

2013-04-15 Thread Wolfgang Schuster
Am 15.04.2013 um 15:40 schrieb Sietse Brouwer sbbrou...@gmail.com: Hi Hans, Is the following correct? (1) [alternative=...] is a new key for \definecombination Yes but you can also change the alternative with \startcombination. (2) \definecombination[mycombiA][alternative=text] means you

Re: [NTG-context] combinations

2013-04-15 Thread Wolfgang Schuster
. \definelabel[\v!combination] and \definecombination is changed to \appendtoks \edef\p_pack_combinations_alternative{\combinationparameter\c!alternative}% \setfalse\c_str_define_commands_label % no helper commands \ifx\currentcombinationparent\empty - \normalexpanded{\definelabel[\v

Re: [NTG-context] combinations

2013-04-15 Thread Hans Hagen
a unnamed “combination” label, i.e. \definelabel[\v!combination] and \definecombination is changed to \appendtoks \edef\p_pack_combinations_alternative{\combinationparameter\c!alternative}% \setfalse\c_str_define_commands_label % no helper commands \ifx

[NTG-context] Combinations without any vertical space

2011-11-23 Thread Aditya Mahajan
How do I create combinations without any vertical space? The following test file \definecombination [overviewpage] [distance=\zeropoint, inbetween=, ] \starttext \startcombination[overviewpage][2*2] {\framed{Hello}}{}% {\framed{Hello}}{}% {\framed{Hello}}{}% {\framed

Re: [NTG-context] Combinations without any vertical space

2011-11-23 Thread Wolfgang Schuster
Am 24.11.2011 um 00:29 schrieb Aditya Mahajan: How do I create combinations without any vertical space? The following test file \definecombination [overviewpage] [distance=\zeropoint, inbetween=, ] \starttext \startcombination[overviewpage][2*2] {\framed{Hello

Re: [NTG-context] Combinations without any vertical space

2011-11-23 Thread Aditya Mahajan
On Thu, 24 Nov 2011, Wolfgang Schuster wrote: Am 24.11.2011 um 00:29 schrieb Aditya Mahajan: How do I create combinations without any vertical space? The following test file \definecombination [overviewpage] [distance=\zeropoint, inbetween=, ] \starttext \startcombination

Re: [NTG-context] Combinations without any vertical space

2011-11-23 Thread Jaroslav Hajtmar
Hello ConTeXist. The thing I'm interested. It is possible to achieve that arose at the bottom of an emptyspace and was fully utilized the entire page? Here is an minimal example: \definecombination [overviewpage] [distance=\zeropoint, inbetween=, ] \setuplayout[page

Re: [NTG-context] Side-by-Side tables

2011-08-24 Thread Aditya Mahajan
[dummy][one] \useexternalfigure[dummy][two] \stopexternalfigurecollection \definemeasure [sidebyside] [\the\dimexpr\hsize/2 - \externalfigurecollectionmaxwidth{tables}/2 - \externalfigurecollectionminwidth{tables}/2] \definecombination[sidebyside] [distance=\measure

Re: [NTG-context] floatrow

2010-02-09 Thread Hans Hagen
feature i.e. not only for images, we more end up with something \definecombination [whatever] [width=.8\textwidth, height=equal, distance=1em] \startcombination[whatever][3*2] {\externalfigure...} {} {\externalfigure...} {} {\externalfigure...} {} ... \startcombination where equal

Re: [NTG-context] floatrow

2010-02-08 Thread Hans Hagen
a bit more to it, like distances and so we always end up with a bit more code) also, this does not really fit into the user interface ... (mixed keywords and key/values) as it should be a generic feature i.e. not only for images, we more end up with something \definecombination [whatever

Re: [NTG-context] Adjusting the size of a figure when using placefigure

2009-11-24 Thread luigi scarso
] \definecombination[both][distance=\measure{textgap}] \showframe \starttext \startuseMPgraphic{firstFig} numeric u; u:=1in; draw (0,0)--(4u,0) withpen pencircle scaled 2pt withcolor red; \stopuseMPgraphic \startuseMPgraphic{secondFig

Re: [NTG-context] Adjusting the size of a figure when using placefigure

2009-11-24 Thread Curiouslearn
,rightedge=0in,leftedgedistance=0in,rightedgedistance=0in,topspace=0.5in,width=6.5in,height=10in] \setupcolors[state=start] \definemeasure[textgap]  [\dimexpr 1em\relax] \definecombination[both][distance=\measure{textgap}] \showframe \starttext       \startuseMPgraphic{firstFig

Re: [NTG-context] math align

2006-01-16 Thread Hans Hagen
approach so it doesn't scale? wikiable: \definecombination[twoformulas][location=top,align=middle] \startalignment[middle] \dontleavehmode \startcombination[twoformulas][2*1] {\getbuffer[1]} {} {\getbuffer[2]} {} \stopcombination \stopalignment \def\StartTwo{\startalignment[middle

Re: [NTG-context] math align

2006-01-16 Thread David Arnold
Hans, This is pretty good! But yes, I know that I can get some separation with: \definecombination[twoformulas][location=top,align=middle,distance=1cm] But, as you noted in another post, is there a way to use the full spread of the page where each of these maths are centered