Hi, I have encountered a really strange bug in textbackground. Occasionally, textbackground colors the whole page instead of just the text between \starttextbackground and \stoptextbackground. This happens only when I am using module mag-01 and have \setuptyping[style=\ttx\setupinterlinespace] set. Attached is the minimal example that I could make. Tested with beta ConTeXt ver: 2006.04.18 22:36 fmt: 2006.4.23 int: english mes: english For this test, ConTeXt ver: 2006.04.10 20:04 fmt: 2006.4.23 does not give any problem, but similar problem occurs at some other place. If it is important, I can try to make a minimal file to reproduce the problem with latest stable release. Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008
Hi,
I have encountered a really strange bug in textbackground. Occasionally, textbackground colors the whole page instead of just the text between \starttextbackground and \stoptextbackground. This happens only when I am using module mag-01 and have \setuptyping[style=\ttx\setupinterlinespace] set. Attached is the minimal example that I could make.
Tested with beta ConTeXt ver: 2006.04.18 22:36 fmt: 2006.4.23 int: english mes: english
For this test, ConTeXt ver: 2006.04.10 20:04 fmt: 2006.4.23 does not give any problem, but similar problem occurs at some other place. If it is important, I can try to make a minimal file to reproduce the problem with latest stable release.
Aditya Mahajan wrote: there is a dangling line of the background due to a break \def\ShowExample {\startexample \nobreak \typebuffer \stopexample \getbuffer} ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Sun, 23 Apr 2006, Hans Hagen wrote:
Hi,
I have encountered a really strange bug in textbackground. Occasionally, textbackground colors the whole page instead of just the text between \starttextbackground and \stoptextbackground. This happens only when I am using module mag-01 and have \setuptyping[style=\ttx\setupinterlinespace] set. Attached is the minimal example that I could make.
Tested with beta ConTeXt ver: 2006.04.18 22:36 fmt: 2006.4.23 int: english mes: english
For this test, ConTeXt ver: 2006.04.10 20:04 fmt: 2006.4.23 does not give any problem, but similar problem occurs at some other place. If it is important, I can try to make a minimal file to reproduce the problem with latest stable release.
Aditya Mahajan wrote: there is a dangling line of the background due to a break
\def\ShowExample {\startexample \nobreak \typebuffer \stopexample \getbuffer}
Thank you. This takes care of it. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008
Aditya Mahajan wrote:
Thank you. This takes care of it.
i adapted the textbackground macros as well as the mp code to catch the border case (this whole background stuff is rather tricky code) 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 -----------------------------------------------------------------
On Sun, 23 Apr 2006, Hans Hagen wrote:
Aditya Mahajan wrote:
Thank you. This takes care of it.
i adapted the textbackground macros as well as the mp code to catch the border case
Is this included in the latest release (ConTeXt ver: 2006.04.22 10:41)? The previous test case does not run correctly. See results at http://www.eecs.umich.edu/~adityam/context/pagebreak.tar.gz
(this whole background stuff is rather tricky code)
A manual \nobreak in the definition makes sure that everything works, so this is not really important. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008
On Tue, 25 Apr 2006, Taco Hoekwater wrote:
Hi Aditya , Aditya Mahajan wrote:
i adapted the textbackground macros as well as the mp code to catch the border case
Is this included in the latest release
Yes, but
(ConTeXt ver: 2006.04.22 10:41)?
is no longer the latest release. :-)
hmm... need to wait till texsync starts syncing with the new release. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Taco Hoekwater