twocolumn document has trouble with colors
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 ----------------------------------------------------------------
Hi everybody,
Does this only happen to me?
On 2/9/07, Zhichu Chen
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 ----------------------------------------------------------------
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*
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
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
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*
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 ----------------------------------------------------------------
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 ----------------------------------------------------------------
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*
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 -----------------------------------------------------------------
Cool! It works.
Thanks, everybody.
On 2/12/07, Hans Hagen
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*
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 ----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Peter Rolf
-
Zhichu Chen