ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in layers
@ 2004-06-30  7:01 Hans Hagen
  2004-07-01  9:48 ` dr. Hans van der Meer
  0 siblings, 1 reply; 2+ messages in thread
From: Hans Hagen @ 2004-06-30  7:01 UTC (permalink / raw)


Hi,

If you think that in the current version layers are using too many 
resources, you're right and may patch:

\def\checkproperty[#1]%
  {\bgroup
   \def\currentproperty{#1}%
   \csname\??py\s!check\currentproperty\endcsname
   \egroup}

Hans

-----------------------------------------------------------------
                                          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] 2+ messages in thread

* Re: bug in layers
  2004-06-30  7:01 bug in layers Hans Hagen
@ 2004-07-01  9:48 ` dr. Hans van der Meer
  0 siblings, 0 replies; 2+ messages in thread
From: dr. Hans van der Meer @ 2004-07-01  9:48 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 495 bytes --]


On 30-jun-04, at 09:01, Hans Hagen wrote:

> Hi,
>
> If you think that in the current version layers are using too many 
> resources, you're right and may patch:
>
> \def\checkproperty[#1]%
>  {\bgroup
>   \def\currentproperty{#1}%
>   \csname\??py\s!check\currentproperty\endcsname
>   \egroup}
>
> Hans
>

Hans,

I tested this patch, but see no difference. For your convenience I 
include both source and output's, as much documented as I could. The 
pdf's show the macro in question used.
  

[-- Attachment #2: testing.tgz --]
[-- Type: application/x-gzip, Size: 30086 bytes --]

[-- Attachment #3: Type: text/plain, Size: 334 bytes --]



Although the effect wanted (alternating backgrounds) can be reached 
with the alternating sequence of textbackground calls (apart from 
adding a \nowhitespace occasionally), I suppose you are a bit like me: 
perfection dictates that everything should behave well and as expected!

Good luck with the debugging!

Hans van der Meer



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-01  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-30  7:01 bug in layers Hans Hagen
2004-07-01  9:48 ` dr. Hans van der Meer

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