[NTG-context] option=tex in setuptyping causes the background to be drawn twice

Aditya Mahajan adityam at umich.edu
Sun Apr 28 17:00:50 CEST 2019


Hi,

The following minimal example:

\definetextbackground
     [EXAMPLE]
     [
           location=paragraph,
      rulethickness=1pt,
         leftoffset=5em,
        rightoffset=0mm,
     ]

\setuptyping[option=tex, before=\startEXAMPLE, after=\stopEXAMPLE]

\starttext
\starttyping
   A = B + C
\stoptyping
\stoptext

gives the attached output where the background is repeated twice. The bug 
is present with both mkiv and ltmx.

Aditya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 7634 bytes
Desc: 
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190428/380729b4/attachment.pdf>


More information about the ntg-context mailing list