* columnsets
@ 2016-02-09 19:05 Hans Hagen
2016-02-09 23:58 ` columnsets Alan BRASLAU
0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2016-02-09 19:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I'm currently reimplementing columnsets and I'm wondering how many users
there are of this mechanism. How bad is it if the more obscure features
go away and others show up.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* columnsets
@ 2003-03-18 18:14 Patrick Gundlach
2003-03-19 7:50 ` columnsets Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Patrick Gundlach @ 2003-03-18 18:14 UTC (permalink / raw)
Hello,
I have a question regarding columnsets:
==================================================
\definecolumnset[two][n=2]
%\setupcolumnset[two][1][width=4cm]
%\setupcolumnset[two][2][width=8cm]
\starttext
\startcolumnset[two]
\dorecurse{10}{\input tufte \par}
\stopcolumnset
\stoptext
==================================================
a) I keep getting a blank page after the columnset. How do I get rid
of it?
b) the setupcolumnset has some effect (making columns smaller) but
they are both the same width. Why?
Patrick
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: columnsets
2003-03-18 18:14 columnsets Patrick Gundlach
@ 2003-03-19 7:50 ` Hans Hagen
0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2003-03-19 7:50 UTC (permalink / raw)
At 07:14 PM 3/18/2003 +0100, you wrote:
>Hello,
>
>I have a question regarding columnsets:
>
>==================================================
>\definecolumnset[two][n=2]
>
>%\setupcolumnset[two][1][width=4cm]
>%\setupcolumnset[two][2][width=8cm]
>\starttext
>\startcolumnset[two]
>
>\dorecurse{10}{\input tufte \par}
>
>\stopcolumnset
>\stoptext
>==================================================
>
>a) I keep getting a blank page after the columnset. How do I get rid
> of it?
i ran into that too, it's a bug (for the moment remove the \pagebreak in
the stopcolumnset macro)
>b) the setupcolumnset has some effect (making columns smaller) but
> they are both the same width. Why?
this is work in progress, has to do with synchronization; you cannot change
the width mid-paragraph btw but it's supposed to (going to) work reasonable
[i messed up a few things when trying to handle balancing]
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Screen background in two columns
@ 2003-02-08 16:33 Hans Hagen
2003-02-10 14:38 ` Columnsets Michal Kvasnicka
0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2003-02-08 16:33 UTC (permalink / raw)
Cc: ConTeXt
At 01:25 PM 2/7/2003 +0100, Michal Kvasnicka wrote:
>Good afternoon.
>
>I'm typesetting a document in two columns. I'd like to typeset examples in it
>just in the rest of the text but with a screen background. I tried this:
>
>\setupcolors[state=start]
>\setupscreens[screen=0.8]
>\setupbackground
> [background=screen,
> leftoffset=1em, rightoffset=1em, topoffset=1em, bottomoffset=1em]
>\setupframedtexts
> [frame=off, background=screen, width=fit]
>
>But both \startbackground and \startframedtext does not allow column/page
>break. I want the background to start e.g. on the bottom of the left column
>and to go to the top of the right one. How can I get what I want? (Well,
>maybe a hard task in the TeX. Some time ago I would suppose it to be
>unpossible---but then I've seen such a wizardry in the ConTeXt that made me
>to think that everything is possible---at least for Mr. Hagen.) :-)
I admit that this takes some wizardry to implement, especially if you take
into account that backgrounds should work in tables, tabulate, floats,
inside and outside text areas, obey indentation, left/rightskip, hanging,
nested backgrounds, multiple layers, etc ; this (still somewhat
experimental mechanism will be discussed in details.pdf).
% output=pdftex
\setuplayout
[width=middle,height=middle,
backspace=1cm,topspace=1cm,
header=0pt,footer=0pt,grid=yes]
\setuptolerance[verytolerant,stretch]
\setupindenting[big]
\starttext
\definecolumnset[two][n=3]
\definecolumnsetspan[test]
\definetextbackground[test]
[location=paragraph, % text
background=color,
backgroundcolor=red]
\startcolumnset[two]
\startcolumnsetspan[test]
\input tufte
\stopcolumnsetspan
\starttextbackground[test]
\dorecurse{10}{\input tufte \par}
\stoptextbackground
\stopcolumnset
\stoptext
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Columnsets
2003-02-08 16:33 Screen background in two columns Hans Hagen
@ 2003-02-10 14:38 ` Michal Kvasnicka
2003-02-10 21:37 ` Columnsets Henning Hraban Ramm
0 siblings, 1 reply; 7+ messages in thread
From: Michal Kvasnicka @ 2003-02-10 14:38 UTC (permalink / raw)
Good evening.
Is somewhere any general manual for columnsets? Or some general demo in
english interface? I really like the concept but I don't know how to use it.
(Moreover, I've all examples Mr. Hagen sent me when my harddisk crashed.)
Many thanks and greetings,
M.K.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Columnsets
2003-02-10 14:38 ` Columnsets Michal Kvasnicka
@ 2003-02-10 21:37 ` Henning Hraban Ramm
0 siblings, 0 replies; 7+ messages in thread
From: Henning Hraban Ramm @ 2003-02-10 21:37 UTC (permalink / raw)
> Is somewhere any general manual for columnsets? Or some general demo in
> english interface? I really like the concept but I don't know how to
> use it.
> (Moreover, I've all examples Mr. Hagen sent me when my harddisk
> crashed.)
Here is some crude test file with layers and columnsets.
Perhaps you find out what you're looking for.
I don't really understand it any more... ;-)
\definelayer[test]
\setupcolors[state=start]
%\setupbackgrounds[page][backgroundcolor=yellow,background={color,foregr
ound,test}]
%\setlayer[test][x=10cm,y=0cm]{\externalfigure[koe]}
\setuplayer[test][position=yes]
\tracecolumnsettrue \showgrid
\starttext
\definecolumnset[vier][n=4,distance=6mm]
%\definecolumntextarea [two] [right][x=5,y=45,nx=2,ny=18,state=start]
%\setupcolumntextareatext [two]
[right][{\externalfigure[koe][width=\hsize]}]
\startcolumnset[vier]
\input tufte
\placefigure[tblr]{}{}
\input zapf
\input tufte
\placefigure[btrl:3]{}{\framed{test}}
\input zapf
\input tufte
\input zapf
\input tufte
\placefigure[tblr]{}{}
\input zapf
\input tufte
\input zapf
\stopcolumnset
\stoptext
Grüßlis vom Hraban!
--
www.fiee.net/texnique/
www.ramm.ch/context/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-02-10 6:48 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09 19:05 columnsets Hans Hagen
2016-02-09 23:58 ` columnsets Alan BRASLAU
2016-02-10 6:48 ` columnsets Henning Hraban Ramm
-- strict thread matches above, loose matches on Subject: below --
2003-03-18 18:14 columnsets Patrick Gundlach
2003-03-19 7:50 ` columnsets Hans Hagen
2003-02-08 16:33 Screen background in two columns Hans Hagen
2003-02-10 14:38 ` Columnsets Michal Kvasnicka
2003-02-10 21:37 ` Columnsets Henning Hraban Ramm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).