RE: [NTG-context] Marginal notes in two-column setup

2003-07-24 Thread Héctor M. Monacci
It was excesive for me!

Héctor

 -Mensaje original-
 De: Willi Egger [mailto:[EMAIL PROTECTED]
 Enviado el: martes 22 de julio de 2003 14:28
 Para: [EMAIL PROTECTED]
 Asunto: Re: [NTG-context] Marginal notes in
 two-column setup


 Hi Gerben,

 Hm, was looking for the file at the pragma site.
 -- May be it was a
 preliminar release, which was then placed in a
 temporary directrory.

 I hop you will not find it excessive the file is 2.5MByte

 regards Willi


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Marginal notes in two-column setup

2003-07-20 Thread Willi Egger
Hi Gerben,

 Have a two column text with the marginal notes from the left column
 appear on the left and the ones from the right column on the right.
 When I use 2-columns and I use \inmargin, I get them on the right where
 the marginal notes from the left column are on top of the right column
 (not good)

 Is there a way to do this? Probably yes with something \if-like?

After sttudying the sources and a bunch of trial and errors I can come up
with the following solution which works for a two solumns set!

\definecolumnset[example][n=2]

\define[1]\MargText{%
\ifodd\mofcolumns{%
  \inleft{#1}}
\else
  {\inright{#1}}\fi}

\starttext
\startcolumnset[example]

\MargText{Here left of column}

\input tufte

\column[local]

\input tufte

\MargText{\ifodd\mofcolumns{Hello!, still left of column}\else {Hello, now
right of column}\fi}

\stopcolumnset
\stoptext

I believe that Hans will make a generic solution...

Kind regards Willi


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Marginal notes in two-column setup

2003-07-20 Thread Gerben Wierda
After sttudying the sources and a bunch of trial and errors I can come 
up
with the following solution which works for a two solumns set!
Great. This works. Now for something different. While learning ConTeXt, 
I find that often the syntax escapes me. Take for instance:

\definecolumnset[example][n=2]

\define[1]\MargText{%
\ifodd\mofcolumns{%
  \inleft{#1}}
\else
  {\inright{#1}}\fi}
\starttext
\startcolumnset[example]
\MargText{Here left of column}

\input tufte

\column[local]
What does [local] mean here? According the the manual one should say 
\column and I can't find the explanation of what local means or what 
you are doing here.

\input tufte

\MargText{\ifodd\mofcolumns{Hello!, still left of column}\else {Hello, 
now
right of column}\fi}

\stopcolumnset
\stoptext
I believe that Hans will make a generic solution...


G
--
To be or not to be, that is the question -- Parmenides
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context