[NTG-context] Streams ignore textwidth

2007-08-27 Thread Aditya Mahajan
Hi,

In streams width=whatever only sets the width of the bounding box, the 
text still goes until \textwidth. Is this a bug or a feature? A work 
around is to use setups:stream:settings, but it is a bit clumsy.

See the differece between the two streams below.

\usemodule[streams]

\definestreamlayer[flash][width=3in]
\definestreamlayer[model][width=3in]

\startsetups streamlayer:flash:settings
\hsize=3in
\stopsetups

\starttext

\startstreamlayer[flash]
\input tufte
\stopstreamlayer

\startstreamlayer[model]
\input tufte
\stopstreamlayer

\framed[sturt=no]{\placestreamlayer[flash]}

\framed[sturt=no]{\placestreamlayer[model]}

\stoptext

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Streams ignore textwidth

2007-08-27 Thread Hans Hagen
Aditya Mahajan wrote:
 Hi,
 
 In streams width=whatever only sets the width of the bounding box, the 
 text still goes until \textwidth. Is this a bug or a feature? A work 
 around is to use setups:stream:settings, but it is a bit clumsy.

i know, but it's needed this way because we intercept the otr and need 
to use the same settings several times

i will make a better stream model in mkiv

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___