ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* column sets / preliminary manual
@ 2003-04-22 11:19 Hans Hagen
  2003-04-22 13:24 ` Willi Egger
  2003-04-22 17:48 ` Adam Lindsay
  0 siblings, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2003-04-22 11:19 UTC (permalink / raw)


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

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

* Re: column sets / preliminary manual
  2003-04-22 11:19 column sets / preliminary manual Hans Hagen
@ 2003-04-22 13:24 ` Willi Egger
  2003-04-22 17:48 ` Adam Lindsay
  1 sibling, 0 replies; 7+ messages in thread
From: Willi Egger @ 2003-04-22 13:24 UTC (permalink / raw)


Hans,

Wow!

that is great!

Willi
----- Original Message -----
From: "Hans Hagen" <pragma@wxs.nl>
To: <ntg-context@ntg.nl>
Sent: Tuesday, April 22, 2003 1:19 PM
Subject: [NTG-context] 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
> -------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

* Re: column sets / preliminary manual
  2003-04-22 11:19 column sets / preliminary manual Hans Hagen
  2003-04-22 13:24 ` Willi Egger
@ 2003-04-22 17:48 ` Adam Lindsay
  2003-04-22 19:43   ` Willi Egger
  1 sibling, 1 reply; 7+ messages in thread
From: Adam Lindsay @ 2003-04-22 17:48 UTC (permalink / raw)


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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: column sets / preliminary manual
  2003-04-22 17:48 ` Adam Lindsay
@ 2003-04-22 19:43   ` Willi Egger
  2003-04-22 20:20     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Willi Egger @ 2003-04-22 19:43 UTC (permalink / raw)


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

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

* Re: column sets / preliminary manual
  2003-04-22 19:43   ` Willi Egger
@ 2003-04-22 20:20     ` Hans Hagen
  2003-04-22 20:51       ` Adam Lindsay
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2003-04-22 20:20 UTC (permalink / raw)


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

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

* Re: column sets / preliminary manual
  2003-04-22 20:20     ` Hans Hagen
@ 2003-04-22 20:51       ` Adam Lindsay
  2003-04-23  9:21         ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Lindsay @ 2003-04-22 20:51 UTC (permalink / raw)


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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: column sets / preliminary manual
  2003-04-22 20:51       ` Adam Lindsay
@ 2003-04-23  9:21         ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2003-04-23  9:21 UTC (permalink / raw)


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

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

end of thread, other threads:[~2003-04-23  9:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-22 11:19 column sets / preliminary manual Hans Hagen
2003-04-22 13:24 ` Willi Egger
2003-04-22 17:48 ` Adam Lindsay
2003-04-22 19:43   ` Willi Egger
2003-04-22 20:20     ` Hans Hagen
2003-04-22 20:51       ` Adam Lindsay
2003-04-23  9:21         ` Hans Hagen

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