column sets / preliminary manual
Hi, I uploaded a not yet complete manual on column sets: http://www.pragma-ade.com/general/manuals/columns.pdf there is also an accompanying new beta 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 -------------------------------------------------------------------------
Hans,
Wow!
that is great!
Willi
----- Original Message -----
From: "Hans Hagen"
Hi,
I uploaded a not yet complete manual on column sets:
http://www.pragma-ade.com/general/manuals/columns.pdf
there is also an accompanying new beta
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 -------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hans Hagen said this at Tue, 22 Apr 2003 13:19:10 +0200:
I uploaded a not yet complete manual on column sets:
This is indeed amazing. And I'm ashamed, because I recognise that it's "give users a finger, and they'll want the whole hand." But... This seems relevant to a problem I've been considering the past couple of days. I'd like to typeset side-by-side translations of an extended work. I imagine one language in an inner column, and another in an outer column, with chapter headings spanning the two columns, acting as a synchronisation point. I played with the old "paragraphs in columns" mechanism, and noticed that it doesn't seem to support page breaking, which is probably the big barrier to this application--TeX has to juggle two places to break pages. Am I taking the wrong approach? Is this design too ambitious? Has anyone else tried this sort of thing? Cheers, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Hi Adam, Although my experience is limited I could imagine, that a setup wit a \starttabulate \stoptabulate environment could work for you: \starttext \definetabulate[Mystyle][|p|p|] \section[]{First paragraph} \startMystyle \NC a bunch of text \NC a bunch of text \NC\NR \NC \dorecurse{5}{\input tufte \blank[small]} \NC \dorecurse{3}{\input knuth \blank[small]} \NC\NR \stopMystyle \section[]{Second paragraaf} \startMystyle \NC a bunch of text \NC a bunch of text \NC\NR \NC \dorecurse{7}{\input tufte \blank[small]} \NC \dorecurse{9}{\input knuth \blank[small]} \NC\NR \stopMystyle \stoptext Humble, this is a very simple(minded) approach. Of course Hans's columnset possibilities give you many more hooks to insert blocks, backgrounds etc. Willi
At 21:43 22/04/2003 +0200, Willi Egger wrote:
Hi Adam,
Although my experience is limited I could imagine, that a setup wit a \starttabulate \stoptabulate environment could work for you:
\starttext \definetabulate[Mystyle][|p|p|]
\section[]{First paragraph}
\startMystyle \NC a bunch of text \NC a bunch of text \NC\NR \NC \dorecurse{5}{\input tufte \blank[small]} \NC \dorecurse{3}{\input knuth \blank[small]} \NC\NR \stopMystyle
\section[]{Second paragraaf}
\startMystyle \NC a bunch of text \NC a bunch of text \NC\NR \NC \dorecurse{7}{\input tufte \blank[small]} \NC \dorecurse{9}{\input knuth \blank[small]} \NC\NR \stopMystyle \stoptext
Humble, this is a very simple(minded) approach.
well, that makes me simple minded too, because it was the first one that came into my mind -) but ... you can make it a bit nicer (see core-mis.tex for how legends are defined)
Of course Hans's columnset possibilities give you many more hooks to insert blocks, backgrounds etc.
well, you can have backgrounds in tabulations; i can put it on my todo list to see if column sets can have a sync mechanism 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 -------------------------------------------------------------------------
Hans, Willi, thank you. Hans Hagen said this at Tue, 22 Apr 2003 22:20:12 +0200:
Humble, this is a very simple(minded) approach.
well, that makes me simple minded too, because it was the first one that came into my mind -)
I suspected that, presented with a new hammer, my problem looked too much like a nail.
but ... you can make it a bit nicer (see core-mis.tex for how legends are defined)
Will investigate.
Of course Hans's columnset possibilities give you many more hooks to insert blocks, backgrounds etc.
well, you can have backgrounds in tabulations; i can put it on my todo list to see if column sets can have a sync mechanism
Hmm. I'm wondering what you're interpreting as "sync" in this case. Ragged bottoms between columns at the end of chapter weren't going to bother me. The weird bit that I doubt I'll be able to handle given ConTeXt as it is today is doing an inner column/outer column alternation. Consider the following 2-page spread: ----------------- ----------------- | | | | | EN EN NL NL | | NL NL EN EN | | ENEN NLNL | | Chapter 3 N | |N ENEN NL NL | | NLNL ENEN o | |o ... ... | | ... ... t | |t ... ... | | ... ... e | |e ... ... | | ... ... | ----------------- ----------------- The english translation is on the outer column, with margin notes also hanging around. I can imagine this use is pretty unique, though. I'll look at the "Misc" macros and see if I can be creative with the "simple- minded" stuff. Adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
At 21:51 22/04/2003 +0100, you wrote:
The weird bit that I doubt I'll be able to handle given ConTeXt as it is today is doing an inner column/outer column alternation. Consider the following 2-page spread:
----------------- ----------------- | | | | | EN EN NL NL | | NL NL EN EN | | ENEN NLNL | | Chapter 3 N | |N ENEN NL NL | | NLNL ENEN o | |o ... ... | | ... ... t | |t ... ... | | ... ... e | |e ... ... | | ... ... | ----------------- -----------------
The english translation is on the outer column, with margin notes also hanging around. I can imagine this use is pretty unique, though. I'll look at the "Misc" macros and see if I can be creative with the "simple- minded" stuff.
\starttext \setuppagenumbering[alternative=doublesided] \long\def\StartSideBySide#1\OtherSide#2\StopSideBySide {\doifrightpageelse {\starttabulate[|p|p|] \NC #1 \NC #2 \NC \NR \stoptabulate} {\starttabulate[|p|p|] \NC #2 \NC #1 \NC \NR \stoptabulate}} \StartSideBySide \input tufte \OtherSide \input knuth \StopSideBySide \page \StartSideBySide \input tufte \OtherSide \input knuth \StopSideBySide \stoptext (you need to manipulate the pages yourself, as said: more clever things are possible, but currently i lack the time ... ask again in a few months) 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 -------------------------------------------------------------------------
participants (3)
-
Adam Lindsay
-
Hans Hagen
-
Willi Egger