Re: [NTG-context] Broken textbackground

2011-12-19 Thread Otared Kavian
Hi Hans,

If this can be of any help for you to localize the origin of the bug with the 
latest beta (ConTeXt  ver: 2011.12.18 15:57 MKIV), I would like to report that 
when a \framedtext is used by its own, the result is as expected, while when it 
follows \startbackground …. \stopbackground, no \framedtext appears (thee rsult 
is the same when \framedtext is before textbackground).
The example is:
\starttext

\definetextbackground[test][backgroundcolor=lightgray]

\starttextbackground[test]
\input ward 
\input ward 
\stoptextbackground

\startframedtext

\input knuth

\stopframedtext

\stoptext 

Best regards: OK

On 18 déc. 2011, at 23:49, Otared Kavian wrote:

 Dear Hans,
 
 For your information it seems that in the latest beta, textbackground is 
 broken: minimal example below, and the output can be found here:
   http://dl.dropbox.com/u/4316076/textbackground-bug.pdf
 Best regards: OK
 
 %%% begin textbackground-bug.tex
 \starttext
 
 \definetextbackground[test][backgroundcolor=lightgray]
 
 \starttextbackground[test]
 \input ward 
 \input ward 
 \stoptextbackground
 
 \stoptext 
 %%% begin textbackground-bug.tex


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Broken textbackground

2011-12-19 Thread Hans Hagen

On 19-12-2011 09:14, Otared Kavian wrote:

Hi Hans,

If this can be of any help for you to localize the origin of the bug with the 
latest beta (ConTeXt  ver: 2011.12.18 15:57 MKIV), I would like to report that 
when a \framedtext is used by its own, the result is as expected, while when it 
follows \startbackground …. \stopbackground, no \framedtext appears (thee rsult 
is the same when \framedtext is before textbackground).
The example is:
\starttext

\definetextbackground[test][backgroundcolor=lightgray]

\starttextbackground[test]
\input ward
\input ward
\stoptextbackground

\startframedtext

\input knuth

\stopframedtext

\stoptext


These two mechanisms are unrelated. The reported problem had to do with 
reorganizing and cleaning up some low level helper. Actually, most 
recently reported bugs relate to this effort.


There is already a fix uploaded.

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Broken textbackground

2011-12-18 Thread Otared Kavian
Dear Hans,

For your information it seems that in the latest beta, textbackground is 
broken: minimal example below, and the output can be found here:
http://dl.dropbox.com/u/4316076/textbackground-bug.pdf
Best regards: OK

%%% begin textbackground-bug.tex
\starttext

\definetextbackground[test][backgroundcolor=lightgray]

\starttextbackground[test]
\input ward 
\input ward 
\stoptextbackground

\stoptext 
%%% begin textbackground-bug.tex
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___