ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: columnsetspan - alternative needed
       [not found] <a06002004be1aa1cb374b@[62.134.76.66]>
@ 2005-01-24 18:36 ` Hans Hagen
  2005-01-24 19:24   ` ruby in TeX ? luigi scarso
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2005-01-24 18:36 UTC (permalink / raw)


Steffen Wolfrum wrote:
> Thanks for the quick answer - but obviously my example was bad: columnsetareas don't do what I need.
> 
> Maybe this is a better explanation:
> 
> Given you have two articles in a book set in two columns.
> The second article doesn't start on a new page - it just begins where the first one ends.
> 
> But the first article (aaa...) ends with two balanced columns,
> then comes the heading (bbb) for the second article,
> and then comes begins the second article (ccc...).
> 
> 
> That's what I mean by
> 
> aaa  aaa
> aaa  aaa
> 
> bbbb
> 
> ccc  ccc
> ccc  ccc
> 
> Do you have a trick how to do a page like this with columnsets?

well, it involves some manual tweaking (numbers and such) and is not yet 100% ok

the next code shows a  bit of balancing and columnstart/height manipulations


\starttext

\showgrid

\definecolumnset [two]   [n=2,balance=top]
\definecolumnset [three] [n=3,balance=top]

\setupcolumnsetlines[two][1][1][15]
\setupcolumnsetlines[two][1][2][15]

\setupcolumnsetstart[three][1][1][15]
\setupcolumnsetstart[three][1][2][18]
\setupcolumnsetstart[three][1][3][20]

\setupcolumnsetlines[three][1][1][40]
\setupcolumnsetlines[three][1][2][40]
\setupcolumnsetlines[three][1][3][40]

\definecolumnsetspan[two]

% \starttext
%   \startcolumnset [two]   \dorecurse {1}{\input tufte \par} \stopcolumnset
%   \startcolumnset [three] \dorecurse {2}{\input tufte \par} \stopcolumnset
% \stoptext

\starttext
   \startcolumnset [two]   \startcolumnsetspan[two] \input ward 
\stopcolumnsetspan \dorecurse {1}{\input tufte \par} \stopcolumnset
   \startcolumnset [three] \startcolumnsetspan[two] \input ward 
\stopcolumnsetspan \dorecurse {2}{\input tufte \par} \stopcolumnset
\stoptext


\stoptext

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* ruby in TeX ?
  2005-01-24 18:36 ` columnsetspan - alternative needed Hans Hagen
@ 2005-01-24 19:24   ` luigi scarso
  2005-01-25  7:40     ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: luigi scarso @ 2005-01-24 19:24 UTC (permalink / raw)


Almost 1 year ago, Nagy Bence posted  at comp.tex.pdftex a email  with 
subject
"Ruby in TeX" where he wrote

"I made a small and dirty pdfTeX expansion: a new primitive
named \calc, which allows to make calculations using *Ruby*
commands."

email report a broken link.


Is there anyone that can give me any "starting point"  about it ?

luigi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ruby in TeX ?
  2005-01-24 19:24   ` ruby in TeX ? luigi scarso
@ 2005-01-25  7:40     ` Taco Hoekwater
  2005-01-25  7:49       ` ruby in TeX ? Ok luigi scarso
  0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2005-01-25  7:40 UTC (permalink / raw)


luigi scarso wrote:
> Almost 1 year ago, Nagy Bence posted  at comp.tex.pdftex a email  with 
> subject "Ruby in TeX" where he wrote

The pdtex mailing list, yes? I assume you are talking about this
thread:

   http://www.tug.org/pipermail/pdftex/2004-February/004762.html

and it's parent:

   http://www.tug.org/pipermail/pdftex/2004-January/004744.html


> "I made a small and dirty pdfTeX expansion: a new primitive
> named \calc, which allows to make calculations using *Ruby*
> commands."
> 
> email report a broken link.

Have you tried e-maling Nagy?

> Is there anyone that can give me any "starting point"  about it ?

Otherwise. the second thread above might help you. I believe it
contains all of the actual code in between the remarks.


Greetings, Taco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ruby in TeX ? Ok
  2005-01-25  7:40     ` Taco Hoekwater
@ 2005-01-25  7:49       ` luigi scarso
  0 siblings, 0 replies; 4+ messages in thread
From: luigi scarso @ 2005-01-25  7:49 UTC (permalink / raw)


It's seem useful as starting point.
Many thanks, taco

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-25  7:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <a06002004be1aa1cb374b@[62.134.76.66]>
2005-01-24 18:36 ` columnsetspan - alternative needed Hans Hagen
2005-01-24 19:24   ` ruby in TeX ? luigi scarso
2005-01-25  7:40     ` Taco Hoekwater
2005-01-25  7:49       ` ruby in TeX ? Ok luigi scarso

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