[NTG-context] twocolumn document has trouble with colors

Zhichu Chen zhichu.chen at gmail.com
Mon Feb 12 13:25:43 CET 2007


Cool! It works.

Thanks, everybody.


On 2/12/07, Hans Hagen <pragma at wxs.nl> wrote:
>
> Peter Rolf wrote:
> > Hi Chen,
> >
> > Zhichu Chen wrote:
> >
> >> Hi everybody,
> >>
> >> Does this only happen to me?
> >>
> >>
> > No, same problem here. The left column is black, the right one has the
> > desired color. But I have no solution for it (so there was no reply from
> > me earlier).
> >
> > Peter
> >
> >
> >>
> >> On 2/9/07, *Zhichu Chen* <zhichu.chen at gmail.com
> >> <mailto:zhichu.chen at gmail.com>> wrote:
> >>
> >>     Hi there,
> >>
> >>     Just a testing code:
> >>     =============================
> >>
> >>     \setupcolors       [state=start]
> >>     \definecolor       [testcolor]   [r=1,g=.62,b=.0625]
> >>
> >>     \starttext
> >>
> >>     \startcolor   [testcolor]
> >>     \startcolumns [direction=left]
> >>       \dorecurse{15}{\input knuth\endgraf}
> >>     \stopcolumns
> >>     \stopcolor
> >>
> >>     \stoptext
> >>
> >>     =============================
> >>
> >>     And I find it's not perfectly what I really want. Is there any
> >>     tricks I can do to treat the color correctly when I start a
> >>     multi-column with the option "_direction=left_?"
> >>
> around line 659 in page-mul:
>
>         \ifreversecolumns
>           \popsplitproperties % else wrong color stack
>           \@EA\dohandlerevcolumns
>         \else
>           \@EA\dohandleallcolumns
>         \fi
>
>
> add popsplitproperties, remake the format and see what happens then
>
> -----------------------------------------------------------------
>                                          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
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>



-- 
Sincerely yours,
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20070212/6f3da1da/attachment.html 


More information about the ntg-context mailing list