Re: [NTG-context] Strange error in using backgrounds with enumerations

2008-07-13 Thread Thomas A. Schmitz

On Jul 13, 2008, at 10:17 PM, Aditya Mahajan wrote:

 I do not know if it is an error in my setup, or some bug in context.  
 I cannot check it on garden, since live is broken at the moment.

Hi Aditya,

do you think you could make your test more minimal? This doesn't  
compile at all, e.g.

! Undefined control sequence.
recently read \definemathset

l.41 \definemathset
[EXP] [text={E}]

Thomas

___
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] Strange error in using backgrounds with enumerations

2008-07-13 Thread Hans Hagen
Aditya Mahajan wrote:
 Hi,
 
 I am getting the following error while using backgrounds with enumeration.
 (Context ver: 2008.07.10 09:58 MKIV,  LuaTeX, Version 
 snapshot-0.28.0-2008070423)
 
 The error depends on the frame occuring at a particular location on the 
 page, so the example is not so minimal. The error is
 
 ! Missing = inserted for \ifdim.
 to be read again
p
 \textbackgroundskip --4.5255pt p
  lus -1.13136pt minus -1.13136pt
 \dodostoptextbackground ...im \textbackgroundskip
   \zeropoint \kern 
 \scratch...
 \stoptextbackground -\dodostoptextbackground
   \carryoverpar \egroup
 \@@stopdescription ...scriptionparameter \c!after
   \egroup \def 
 \currentdescr...
 l.352 \stopcorollary
 
 ?
 ! Illegal unit of measure (pt inserted).
 to be read again
p
 to be read again p
 l
 \textbackgroundskip --4.5255pt pl
   us -1.13136pt minus -1.13136pt
 \dodostoptextbackground ...im \textbackgroundskip
   \zeropoint \kern 
 \scratch...
 \stoptextbackground -\dodostoptextbackground
   \carryoverpar \egroup
 \@@stopdescription ...scriptionparameter \c!after
   \egroup \def 
 \currentdescr...
 l.352 \stopcorollary

also in mkii, i'll check it

 I do not know if it is an error in my setup, or some bug in context. I 
 cannot check it on garden, since live is broken at the moment.

btw, you can omit the {} in $Δ_T$

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
___


Re: [NTG-context] Strange error in using backgrounds with enumerations

2008-07-13 Thread Aditya Mahajan

On Sun, 13 Jul 2008, Hans Hagen wrote:


Aditya Mahajan wrote:

Hi,

I am getting the following error while using backgrounds with enumeration.
(Context ver: 2008.07.10 09:58 MKIV,  LuaTeX, Version
snapshot-0.28.0-2008070423)

The error depends on the frame occuring at a particular location on the
page, so the example is not so minimal. The error is

! Missing = inserted for \ifdim.
to be read again
   p
\textbackgroundskip --4.5255pt p
 lus -1.13136pt minus -1.13136pt
\dodostoptextbackground ...im \textbackgroundskip
 \zeropoint \kern
\scratch...
\stoptextbackground -\dodostoptextbackground
  \carryoverpar \egroup
\@@stopdescription ...scriptionparameter \c!after
  \egroup \def
\currentdescr...
l.352 \stopcorollary

?
! Illegal unit of measure (pt inserted).
to be read again
   p
to be read again p
l
\textbackgroundskip --4.5255pt pl
  us -1.13136pt minus -1.13136pt
\dodostoptextbackground ...im \textbackgroundskip
 \zeropoint \kern
\scratch...
\stoptextbackground -\dodostoptextbackground
  \carryoverpar \egroup
\@@stopdescription ...scriptionparameter \c!after
  \egroup \def
\currentdescr...
l.352 \stopcorollary


also in mkii, i'll check it


I do not know if it is an error in my setup, or some bug in context. I
cannot check it on garden, since live is broken at the moment.


btw, you can omit the {} in $Δ_T$


The text is a mixture of old writeup (with mkii) and new writeup. I am 
getting into the habit of not adding {} before utf chars.


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] Strange error in using backgrounds with enumerations

2008-07-13 Thread Aditya Mahajan
On Sun, 13 Jul 2008, Thomas A. Schmitz wrote:


 On Jul 13, 2008, at 10:17 PM, Aditya Mahajan wrote:

 I do not know if it is an error in my setup, or some bug in context.
 I cannot check it on garden, since live is broken at the moment.

 Hi Aditya,

 do you think you could make your test more minimal? This doesn't
 compile at all, e.g.

 ! Undefined control sequence.
 recently read \definemathset

 l.41 \definemathset
[EXP] [text={E}]


You need the mathset module :)
http://modules.contextgarden.net/mathsets

I should have removed that. You can replace \definemathset by

\def\EXP{E}
\def\PR{\Pr}


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
___