On 3/24/2019 5:46 PM, Aditya Mahajan wrote:
Hi,

With the latest beta, the following example:

\definetextbackground
   [test]
   [
     location=paragraph,
   ]

\starttext
\startTEXpage[offset=5cm]
   \starttest
   \input knuth
   \stoptest
\stopTEXpage
\stoptext

gives the attached output.

Note that in the output the left and right offsets are zero. Any ideas why this is happening and how to fix that.
such backgrounda are normally operating in a (vertical) text flow while a texpage is basically a framed

\definetextbackground
  [test]
  [topoffset=1cm,
   bottomoffset=1cm,
   leftoffset=1cm,
   rightoffset=3cm,
   location=paragraph]

\starttext
\startTEXpage[offset=overlay]
  \vskip-\strutdepth
  \starttest
    \input knuth
  \stoptest
\stopTEXpage
\stoptext



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to