Re: [NTG-context] Curious blank page

2006-04-12 Thread Taco Hoekwater


Aditya Mahajan wrote:
 
 
 framedtext does not break across pages :( Can startbackground be 
 persuaded to become sane?
 

We already have a feature request to make startextbackground do 
everything startbackground can do. After that, startbackground
can be flagged a deprecated command.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-04-12 Thread Aditya Mahajan
On Wed, 12 Apr 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 On Mon, 10 Apr 2006, Hans Hagen wrote:
 Aditya Mahajan wrote:
 On Sun, 9 Apr 2006, Hans Hagen wrote:
 Aditya Mahajan wrote:
 On Sun, 19 Mar 2006, David Arnold wrote:
 Why is it that the rest of the page after Answers on page 4 of the
 compiled pdf is blank?

 I have a similar problem. Attached is the (not so) minimal example
 that I could prepare. (This is part of my way on mathalignment). See
 the page break on page 2, while all the page is empty. Adding
 \kern\zeropoint prevents the page break. But I find such an page break
 very confusing.

 btw, you need to patch core-mat.tex :

 \doif = \doifsomething

   \doifsomething{\formulaparameter\c!margin}% so we test first
 {\dosetleftskipadaption{\formulaparameter\c!margin}%
  \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded

 it seems that this was never encountered

 This doesn't seem to work. Changing line 303 of core-mat.tex \doif =
 \doifsomething and regenerating formats, does not change the output of
 the test file. I still get the incorrect page breaking.

 no, this patch is not related to the pagebreak but needed anyway (you're
 just lucky for not running into that bug) ; the pagebreak is just the
 result of background going crazy (well, not being able to determine if
 there is enough space left)

 framedtext does not break across pages :( Can startbackground be
 persuaded to become sane?

 not today, best try \definetextbackground which is the successor

\definetextbackground works :). The following works correctly (breaks 
across pages, and does not give false blank pages)


\definetextbackground
   [example]
   [width=\textwidth,
background=color,
backgroundcolor=lightgray,
frame=off,
leftoffset=1em,
rightoffset=1em,
location=paragraph,
after={\blank[small]},
before={\blank[small]}]


Thanks,
Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-04-11 Thread Aditya Mahajan
On Mon, 10 Apr 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 On Sun, 9 Apr 2006, Hans Hagen wrote:


 Aditya Mahajan wrote:

 On Sun, 19 Mar 2006, David Arnold wrote:


 Why is it that the rest of the page after Answers on page 4 of the
 compiled pdf is blank?

 I have a similar problem. Attached is the (not so) minimal example
 that I could prepare. (This is part of my way on mathalignment). See
 the page break on page 2, while all the page is empty. Adding
 \kern\zeropoint prevents the page break. But I find such an page break
 very confusing.


 btw, you need to patch core-mat.tex :

 \doif = \doifsomething

   \doifsomething{\formulaparameter\c!margin}% so we test first
 {\dosetleftskipadaption{\formulaparameter\c!margin}%
  \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded

 it seems that this was never encountered


 This doesn't seem to work. Changing line 303 of core-mat.tex \doif =
 \doifsomething and regenerating formats, does not change the output of
 the test file. I still get the incorrect page breaking.

 no, this patch is not related to the pagebreak but needed anyway (you're
 just lucky for not running into that bug) ; the pagebreak is just the
 result of background going crazy (well, not being able to determine if
 there is enough space left)

framedtext does not break across pages :( Can startbackground be 
persuaded to become sane?

Thanks,
Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-04-10 Thread Hans Hagen
Aditya Mahajan wrote:
 On Sun, 9 Apr 2006, Hans Hagen wrote:

   
 Aditya Mahajan wrote:
 
 On Sun, 19 Mar 2006, David Arnold wrote:

   
 Why is it that the rest of the page after Answers on page 4 of the
 compiled pdf is blank?
 
 I have a similar problem. Attached is the (not so) minimal example
 that I could prepare. (This is part of my way on mathalignment). See
 the page break on page 2, while all the page is empty. Adding
 \kern\zeropoint prevents the page break. But I find such an page break
 very confusing.

   
 btw, you need to patch core-mat.tex :

 \doif = \doifsomething

   \doifsomething{\formulaparameter\c!margin}% so we test first
 {\dosetleftskipadaption{\formulaparameter\c!margin}%
  \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded

 it seems that this was never encountered
 

 This doesn't seem to work. Changing line 303 of core-mat.tex \doif = 
 \doifsomething and regenerating formats, does not change the output of 
 the test file. I still get the incorrect page breaking.
   
no, this patch is not related to the pagebreak but needed anyway (you're 
just lucky for not running into that bug) ; the pagebreak is just the 
result of background going crazy (well, not being able to determine if 
there is enough space left)

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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-04-09 Thread Aditya Mahajan

On Sun, 19 Mar 2006, David Arnold wrote:


Why is it that the rest of the page after Answers on page 4 of the
compiled pdf is blank?


I have a similar problem. Attached is the (not so) minimal example 
that I could prepare. (This is part of my way on mathalignment). See 
the page break on page 2, while all the page is empty. Adding
\kern\zeropoint prevents the page break. But I find such an page break 
very confusing.



This is context version.
 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 
1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 
1992-2004

   tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
   context : ver: 2006.04.07 11:24
   cont-en : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: 
english
   cont-nl : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: 
dutch


total run time : 5 seconds


By the way, texmfstart newtexexec --version just gives
TeXExec | version 6.1.2 - 1997-2006 - PRAGMA ADE/POD

No version information of context is given!! What is the correct way 
to get complete version information from newtexexec.


Thanks,
Aditya

--
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

test.tex
Description: Binary data
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-04-09 Thread Hans Hagen
Aditya Mahajan wrote:
 On Sun, 19 Mar 2006, David Arnold wrote:

 Why is it that the rest of the page after Answers on page 4 of the
 compiled pdf is blank?

 I have a similar problem. Attached is the (not so) minimal example 
 that I could prepare. (This is part of my way on mathalignment). See 
 the page break on page 2, while all the page is empty. Adding
 \kern\zeropoint prevents the page break. But I find such an page break 
 very confusing.


 This is context version.
  TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
context : ver: 2006.04.07 11:24
cont-en : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: 
 english
cont-nl : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: dutch

 total run time : 5 seconds


 By the way, texmfstart newtexexec --version just gives
 TeXExec | version 6.1.2 - 1997-2006 - PRAGMA ADE/POD

 No version information of context is given!! What is the correct way 
 to get complete version information from newtexexec.
better use (for th emoment): 

\defineframedtext
  [example]
  [width=\textwidth,
   background=screen,
   backgroundscreen=.85,
   frame=off,
   after={\blank[small]},
   before={\blank[small]}]

\def\ShowExample
  {\blank[small]
   \startexample
 \typebuffer
   \stopexample
   \getbuffer
   \blank[small]}


-
  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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-04-09 Thread Hans Hagen
Aditya Mahajan wrote:
 On Sun, 19 Mar 2006, David Arnold wrote:

 Why is it that the rest of the page after Answers on page 4 of the
 compiled pdf is blank?

 I have a similar problem. Attached is the (not so) minimal example 
 that I could prepare. (This is part of my way on mathalignment). See 
 the page break on page 2, while all the page is empty. Adding
 \kern\zeropoint prevents the page break. But I find such an page break 
 very confusing.


 This is context version.
  TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
context : ver: 2006.04.07 11:24
cont-en : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: 
 english
cont-nl : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: dutch

 total run time : 5 seconds


 By the way, texmfstart newtexexec --version just gives
 TeXExec | version 6.1.2 - 1997-2006 - PRAGMA ADE/POD

 No version information of context is given!! What is the correct way 
 to get complete version information from newtexexec.
btw, you need to patch core-mat.tex :

\doif = \doifsomething

   \doifsomething{\formulaparameter\c!margin}% so we test first
 {\dosetleftskipadaption{\formulaparameter\c!margin}%
  \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded

it seems that this was never encountered

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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-04-09 Thread Aditya Mahajan
On Sun, 9 Apr 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 On Sun, 19 Mar 2006, David Arnold wrote:

 Why is it that the rest of the page after Answers on page 4 of the
 compiled pdf is blank?

 I have a similar problem. Attached is the (not so) minimal example
 that I could prepare. (This is part of my way on mathalignment). See
 the page break on page 2, while all the page is empty. Adding
 \kern\zeropoint prevents the page break. But I find such an page break
 very confusing.

 btw, you need to patch core-mat.tex :

 \doif = \doifsomething

   \doifsomething{\formulaparameter\c!margin}% so we test first
 {\dosetleftskipadaption{\formulaparameter\c!margin}%
  \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded

 it seems that this was never encountered

This doesn't seem to work. Changing line 303 of core-mat.tex \doif = 
\doifsomething and regenerating formats, does not change the output of 
the test file. I still get the incorrect page breaking.

If I use the framedtext, then everything works fine. Something seems 
to be going wrong with \startbackground \stopbackground.

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-03-20 Thread Taco Hoekwater

Hi David,

This is a bug that I do not have a real fix for, but
I have a workaround for you instead.

David Arnold wrote:
 
 \section{Answers}
 

Add this, here:

   \kern0pt

Cheers, taco
 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-03-20 Thread Hans Hagen
Taco Hoekwater wrote:
 Hi David,

 This is a bug that I do not have a real fix for, but
 I have a workaround for you instead.

 David Arnold wrote:
   
 \section{Answers}
 
  

 Add this, here:

\kern0pt
   
can you check the version i uploaded a moment ago? i see no blank page here but 
i did some fixes to the multi column mechanism last week 

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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-03-20 Thread David Arnold
Hans,I have to wait until Gerben's Context Updated catches up to your update. But I will do it then.On Mar 20, 2006, at 2:42 AM, Hans Hagen wrote:  Taco Hoekwater wrote:  Hi David,   This is a bug that I do not have a real fix for, but  I have a workaround for you instead.   David Arnold wrote:      \section{Answers}    Add this, here:      \kern0pt     can you check the version i uploaded a moment ago? i see no blank page here but i did some fixes to the multi column mechanism last week 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context   ___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context