ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: twocolumn document has trouble with colors
Date: Mon, 12 Feb 2007 11:37:36 +0100	[thread overview]
Message-ID: <45D04370.6020403@wxs.nl> (raw)
In-Reply-To: <45CF1136.9050707@gmx.net>

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

  parent reply	other threads:[~2007-02-12 10:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 12:52 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 [this message]
2007-02-12 12:25       ` Zhichu Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D04370.6020403@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).