* twocolumn document has trouble with colors
@ 2007-02-09 12:52 Zhichu Chen
2007-02-11 8:18 ` Zhichu Chen
0 siblings, 1 reply; 7+ messages in thread
From: Zhichu Chen @ 2007-02-09 12:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 914 bytes --]
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*?"
--
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
----------------------------------------------------------------
[-- Attachment #1.2: Type: text/html, Size: 1793 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
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: twocolumn document has trouble with colors
2007-02-09 12:52 twocolumn document has trouble with colors Zhichu Chen
@ 2007-02-11 8:18 ` Zhichu Chen
2007-02-11 12:51 ` Peter Rolf
0 siblings, 1 reply; 7+ messages in thread
From: Zhichu Chen @ 2007-02-11 8:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1495 bytes --]
Hi everybody,
Does this only happen to me?
On 2/9/07, Zhichu Chen <zhichu.chen@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*?"
>
> --
> 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
> ----------------------------------------------------------------
>
--
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
----------------------------------------------------------------
[-- Attachment #1.2: Type: text/html, Size: 3280 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
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: twocolumn document has trouble with colors
2007-02-11 8:18 ` Zhichu Chen
@ 2007-02-11 12:51 ` Peter Rolf
2007-02-11 14:43 ` Zhichu Chen
2007-02-12 10:37 ` Hans Hagen
0 siblings, 2 replies; 7+ messages in thread
From: Peter Rolf @ 2007-02-11 12:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
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@gmail.com
> <mailto:zhichu.chen@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_?"
>
> --
> 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
> <http://zhichu.chen.googlepages.com/>
> | www.sinap.ac.cn
> <http://www.sinap.ac.cn/>
> ----------------------------------------------------------------
>
>
>
>
> --
> 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
> <http://zhichu.chen.googlepages.com>
> | www.sinap.ac.cn
> <http://www.sinap.ac.cn>
> ----------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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: twocolumn document has trouble with colors
2007-02-11 12:51 ` Peter Rolf
@ 2007-02-11 14:43 ` Zhichu Chen
2007-02-11 15:17 ` Zhichu Chen
2007-02-12 10:37 ` Hans Hagen
1 sibling, 1 reply; 7+ messages in thread
From: Zhichu Chen @ 2007-02-11 14:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 3129 bytes --]
Thank you Rolf,
Since there is no official patch to the problem, I'll use my dirty way and
just wait Hans and Taco to solve it.
On 2/11/07, Peter Rolf <indiego@gmx.net> 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@gmail.com
> > <mailto:zhichu.chen@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_?"
> >
> > --
> > 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
> > <http://zhichu.chen.googlepages.com/>
> > | www.sinap.ac.cn
> > <http://www.sinap.ac.cn/>
> > ----------------------------------------------------------------
> >
> >
> >
> >
> > --
> > 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
> > <http://zhichu.chen.googlepages.com>
> > | www.sinap.ac.cn
> > <http://www.sinap.ac.cn>
> > ----------------------------------------------------------------
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > ntg-context mailing list
> > ntg-context@ntg.nl
> > http://www.ntg.nl/mailman/listinfo/ntg-context
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@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
----------------------------------------------------------------
[-- Attachment #1.2: Type: text/html, Size: 6382 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
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: twocolumn document has trouble with colors
2007-02-11 14:43 ` Zhichu Chen
@ 2007-02-11 15:17 ` Zhichu Chen
0 siblings, 0 replies; 7+ messages in thread
From: Zhichu Chen @ 2007-02-11 15:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 621 bytes --]
Anyway, if I put some one-columned texts at the top of the first page, only
the first page acts correctly. So I'm thinking can we put some
one-columned empty boxes into the \output routine or something?
--
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
----------------------------------------------------------------
[-- Attachment #1.2: Type: text/html, Size: 1165 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
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: twocolumn document has trouble with colors
2007-02-11 12:51 ` Peter Rolf
2007-02-11 14:43 ` Zhichu Chen
@ 2007-02-12 10:37 ` Hans Hagen
2007-02-12 12:25 ` Zhichu Chen
1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2007-02-12 10:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
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@gmail.com
>> <mailto:zhichu.chen@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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: twocolumn document has trouble with colors
2007-02-12 10:37 ` Hans Hagen
@ 2007-02-12 12:25 ` Zhichu Chen
0 siblings, 0 replies; 7+ messages in thread
From: Zhichu Chen @ 2007-02-12 12:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2460 bytes --]
Cool! It works.
Thanks, everybody.
On 2/12/07, Hans Hagen <pragma@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@gmail.com
> >> <mailto:zhichu.chen@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@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
----------------------------------------------------------------
[-- Attachment #1.2: Type: text/html, Size: 5055 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
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
end of thread, other threads:[~2007-02-12 12:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-09 12:52 twocolumn document has trouble with colors Zhichu Chen
2007-02-11 8:18 ` Zhichu Chen
2007-02-11 12:51 ` Peter Rolf
2007-02-11 14:43 ` Zhichu Chen
2007-02-11 15:17 ` Zhichu Chen
2007-02-12 10:37 ` Hans Hagen
2007-02-12 12:25 ` Zhichu Chen
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).