Re: [NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-11-04 Thread Pablo Rodriguez
On 10/31/19 11:43 AM, cont...@vivaldi.net wrote:
> Hello Hans,
>
> when do you plan to release next beta for ConTeXt with the fixed issue
> spoken bellow?

Hi Lukas,

I compile your minimal sample using any of these:

  LuaTeX 1.11 7215 + ConTeXt MkIV 2019.10.29 15:00
  LuaTeX 2.00 20190729 + ConTeXt MkIV 2019.10.28 18:57

Does none of them work for you?

Just in case it helps,

Pablo


> On 2019-10-22 23:54, Hans Hagen wrote:
>> On 10/22/2019 2:16 PM, cont...@vivaldi.net wrote:
>>> Hello,
>>>
>>> here is a minimal sample which doesn't compile:
>>>
>>> 
>>> \starttext
>>>    \startitemize
>>>      \item
>>>    A\footnote{%
>>>      B
>>>      \startitemize
>>>    \item C
>>>      \stopitemize
>>>    }\crlf
>>>    D
>>>
>>>      \item E %  This sample compiles when this line is commented
>>> (?!)
>>>    \stopitemize
>>> \stoptext
>>> 
>>>
>>> The error message is:
>>>
>>> "
>>> ...
>>> ...eta/tex/texmf-context/tex/context/base/mkiv/strc-num.lua:465:
>>> attempt to index a nil value (local 'd')
>>>
>>>   2   \startitemize
>>>   3 \item
>>>   4   A\footnote{%
>>>   5 B
>>>   6 \startitemize
>>>   7   \item C
>>>   8 \stopitemize
>>>   9   }\crlf
>>> 10   D
>>> 11
>>> 12 >>  \item E %  This sample compiles when this line is
>>> commented
>>> 13   \stopitemize
>>> 14 \stoptext
>>> 15
>>> "
>>>
>>> When the "\item E" is commented, the sample compiles successfully.
>>>
>>> ConTeXt version: "ConTeXt  ver: 2019.10.11 15:47 MKIV beta  fmt:
>>> 2019.10.16  int: english/english".
>>>
>>> Any idea what's going wrong?
>> side effect of recent attempt to deal with nesting ... fixed in next
>> beta
>>
>> -
>>   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
> ___
>


--
http://www.ousia.tk
___
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
___


Re: [NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-10-31 Thread context

Hello Hans,

when do you plan to release next beta for ConTeXt with the fixed issue 
spoken bellow?


Normally, one can get beta here:

http://www.pragma-ade.nl/download-2.htm

but there is still beta from 2019-10-29.

(I'm still using Lua 5.3 version of ConTeXt.)

Or is it enough to re-run "first-setup.bat" from the ConTeXt 
installation directory, which uses "rsync" (points to 
"rsync://contextgarden.net/minimals/setup/mswin/bin/" and launches 
"mtxrun --script ./bin/mtx-update.lua")?


Best regards,

Lukas


On 2019-10-22 23:54, Hans Hagen wrote:

On 10/22/2019 2:16 PM, cont...@vivaldi.net wrote:

Hello,

here is a minimal sample which doesn't compile:


\starttext
   \startitemize
     \item
   A\footnote{%
     B
     \startitemize
   \item C
     \stopitemize
   }\crlf
   D

     \item E %  This sample compiles when this line is commented 
(?!)

   \stopitemize
\stoptext


The error message is:

"
...
...eta/tex/texmf-context/tex/context/base/mkiv/strc-num.lua:465: 
attempt to index a nil value (local 'd')


  2   \startitemize
  3 \item
  4   A\footnote{%
  5 B
  6 \startitemize
  7   \item C
  8 \stopitemize
  9   }\crlf
10   D
11
12 >>  \item E %  This sample compiles when this line is 
commented

13   \stopitemize
14 \stoptext
15
"

When the "\item E" is commented, the sample compiles successfully.

ConTeXt version: "ConTeXt  ver: 2019.10.11 15:47 MKIV beta  fmt: 
2019.10.16  int: english/english".


Any idea what's going wrong?
side effect of recent attempt to deal with nesting ... fixed in next 
beta


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


Re: [NTG-context] Strange error with combination of itemization, footnote and \crlf

2019-10-22 Thread Hans Hagen

On 10/22/2019 2:16 PM, cont...@vivaldi.net wrote:

Hello,

here is a minimal sample which doesn't compile:


\starttext
   \startitemize
     \item
   A\footnote{%
     B
     \startitemize
   \item C
     \stopitemize
   }\crlf
   D

     \item E %  This sample compiles when this line is commented (?!)
   \stopitemize
\stoptext


The error message is:

"
...
...eta/tex/texmf-context/tex/context/base/mkiv/strc-num.lua:465: attempt 
to index a nil value (local 'd')


  2   \startitemize
  3 \item
  4   A\footnote{%
  5 B
  6 \startitemize
  7   \item C
  8 \stopitemize
  9   }\crlf
10   D
11
12 >>  \item E %  This sample compiles when this line is commented
13   \stopitemize
14 \stoptext
15
"

When the "\item E" is commented, the sample compiles successfully.

ConTeXt version: "ConTeXt  ver: 2019.10.11 15:47 MKIV beta  fmt: 
2019.10.16  int: english/english".


Any idea what's going wrong?

side effect of recent attempt to deal with nesting ... fixed in next beta

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


Re: [NTG-context] Strange error updatng LMTX

2019-07-11 Thread Hans Hagen

On 7/11/2019 4:53 AM, Henri Menke wrote:

\c!compressdistance is defined in strc-lnt.mkvi which is loaded *after*
strc-flt.mkvi (where it is used) in context.mkiv.  This has to be fixed
by Hans.


no, the definitions there are just some leftovers from when that module 
was developed, so these 5 can go there; keywords are defined in 
mult-def.lua


maybe just try to update again (maybe one file was not fetched right)
 (i cannot update lmtx now because alan and i need to test some more or 
less fundamental adaptions in the tex/mp engine first)


Hans


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


Re: [NTG-context] Strange error updatng LMTX

2019-07-10 Thread Henri Menke
\c!compressdistance is defined in strc-lnt.mkvi which is loaded *after*
strc-flt.mkvi (where it is used) in context.mkiv.  This has to be fixed
by Hans.

Cheers, Henri

On 11/07/19 2:45 PM, Andres Conrado wrote:
> When updating my LMTX installation today, I got this:
> 
> tex error   > tex error on line 179 in file
> /home/conrado/Apps/lmtx/tex/texmf-context/tex/context/base/mkiv/strc-flt.mkvi:
> ! Undefined control sequence
> 
>  \c!compressdistance
> =\emwidth
> \mult_interfaces_get_parameters_item ...2->\if ,#1
>   ,\expandafter 
> \mult_interf...
> \mult_interfaces_get_parameters_indeed ...tem #1,]
>   ,
> \setup_float ...es_get_parameters {\??float :}[#1]
>   \the \everysetupfloat \fi 
> ...
>  \syst_helpers_double_empty_two_nop
> \par
> l.179
> 
> 
> 169\c!bottomoffset=\zeropoint,
> 170\c!freeregion=\v!yes,
> 171   %\c!local=,
> 172   %\c!bottombefore=, % e.g. \vfill
> 173   %\c!bottomafter=,
> 174   %\c!default=, % default location
> 175\c!sidethreshold=.5\strutdp, % set to "old" to check with old 
> method
> 176\c!numbering=\v!yes,
> 177\c!compress=\v!yes, % when possible pack floats when flushing
> 178\c!compressdistance=\emwidth]
> 179 >>
> 180 \setupfloatframed
> 181   [\c!frame=\v!off,
> 182\c!offset=\v!overlay,
> 183\c!strut=\v!no]
> 184
> 185 \appendtoks
> 186 
> \doifelse{\floatparameter\c!compress}\v!yes\settrue\setfalse\c_page_floats_pack_flushed
> 187 
> \d_page_floats_compress_distance\floatparameter\c!compressdistance\relax
> 188 \to \everysetupfloat
> 189
> 
> 
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., '\hobx'), type 'I' and the correct
> spelling (e.g., 'I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
> 
> Seems to affect the floats mechanism.
> 
> Andrés Conrado Montoya
> http://chiquitico.org
> 
> 
> ___
> 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
> ___
> 

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


Re: [NTG-context] Strange error with bookmarks

2014-10-14 Thread Hans Hagen

On 10/14/2014 1:41 PM, Michał Goliński wrote:

It does indeed be somehow connected with the specific reader that
I use (okular). Nevertheless, evince gives the same error, and I have found out,
that even jpdfbookmarks_cli has problems as it raises an exception when I try
to dump the bookmarks:

   Exception in thread main java.lang.ClassCastException: 
com.lowagie.text.pdf.PdfNumber cannot be cast to com.lowagie.text.pdf.PdfString

Still, in Acrobat Readers it works perfectly.


better in next beta

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Strange error with bookmarks

2014-08-29 Thread Hans Hagen

On 8/26/2014 1:45 PM, Michał Goliński wrote:

While trying to make a longer document with ConTeXt I stumbled into a
strange error with the latest beta (I spotted it for the first time some
time ago). For the following file:

\setupinteraction[state=start,focus=standard]
\placebookmarks[part,chapter][part,chapter][number=no]
\starttext
\chapter{0}
\startpart[title={A}]
   \chapter{1}
   \chapter{2}
\stoppart
\startpart[title={B}]
   \chapter{3}
   \chapter{4}
   \chapter{5}
   \chapter{6}
   \chapter{7}
   \chapter{8}
   \chapter{9}
   \chapter{10}
\stoppart
\completecontent[criterium=all]
\stoptext


ConTeXt would generate a file in which the link for chapter 6 is not
working. Neither the link in the table of contents works nor the link in
the generated PDF bookmarks. When removing the second line, the link in
the table of contents doesn't work, but everyting is ok if one removes
the table of contents. What seems even more weird for me, the problem
goes away if one removes *any* chapter. It persists for chapter 6 even
if chapters are distributed differently between parts without changing
their order.

Am I doing something wrong? I hope someone might be able to help.


It works here (with summatrapdf) ... can it be a viewer issue? Do you 
run the latest context?


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Strange error message

2012-03-11 Thread Wolfgang Schuster

Am 10.03.2012 um 22:10 schrieb Otared Kavian:

 Hi all,
 
 Has anyone encountered the following situation with the betas from last 
 January until today?
 I have a document some 100 pages (each page being an \input), which is 
 correctly typeset with ConTeXt version 2011.11.29 mkiv, but gives me the 
 following error with the recent mkiv betas: the message is
 
 to be read again 
   }
 inserted text ...onstructionparameter \c!level }
  \setevalue {\??constructio...
 \define_construction ... \everydefineconstruction 
  \let \currentconstruction ...
 inserted text ...r =\v!description ,\c!level =1]
  \else \defineconstruction ...
 \define_description ...he \everydefinedescription 
  \let \currentdescription \...
 to be read again 
   \startpacked 
 …
 
 In order to localize the error I have tried to add little by little my \input 
 files, and everything works when I have about 20 pages… 
 I am reporting this issue just for debugging reasons, since for the real 
 project I still use the 2011.11.29 version.
 Indeed I should apologize since I am not able to submit a minimal example, my 
 project itself being somewhat complex (at least from my perspective… not for 
 a guru!).
 
 Also, I should say that in recent previous betas the error message was 
 different, but I have not anymore those versions to report what the exact 
 message was.

Thats’t to less information to tell what’s the problem but I can say it is 
generated from \definedescription.

Do you use \definedescription somewhere in your document in combination with 
\startpacked, e.g. \definedescription[before=\startpacked] or 
\defindescription[packed] etc.

Wolfgang
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Strange error message

2012-03-11 Thread Otared Kavian
Dear Wolfgang,

Thanks for your attention: indeed in my files I have \definedescription, and I 
thank you for pointing to this, despite the fact that the informations I gave 
was by far too partial and little.
But what is puzzling me is that ConTeXt version 2011.11.29 does not complain 
with the way I use \definedescription: probably this means that something has 
changed in the way one should use them in the new versions.
I'll try to isolate the problem and I will report again later.

Have a nice day, best regards: OK

On 11 mars 2012, at 09:55, Wolfgang Schuster wrote:

 
 Am 10.03.2012 um 22:10 schrieb Otared Kavian:
 
 Hi all,
 
 Has anyone encountered the following situation with the betas from last 
 January until today?
 I have a document some 100 pages (each page being an \input), which is 
 correctly typeset with ConTeXt version 2011.11.29 mkiv, but gives me the 
 following error with the recent mkiv betas: the message is
 
 to be read again 
  }
 inserted text ...onstructionparameter \c!level }
 \setevalue {\??constructio...
 \define_construction ... \everydefineconstruction 
 \let \currentconstruction ...
 inserted text ...r =\v!description ,\c!level =1]
 \else \defineconstruction ...
 \define_description ...he \everydefinedescription 
 \let \currentdescription \...
 to be read again 
  \startpacked 
 …
 
 In order to localize the error I have tried to add little by little my 
 \input files, and everything works when I have about 20 pages… 
 I am reporting this issue just for debugging reasons, since for the real 
 project I still use the 2011.11.29 version.
 Indeed I should apologize since I am not able to submit a minimal example, 
 my project itself being somewhat complex (at least from my perspective… not 
 for a guru!).
 
 Also, I should say that in recent previous betas the error message was 
 different, but I have not anymore those versions to report what the exact 
 message was.
 
 Thats’t to less information to tell what’s the problem but I can say it is 
 generated from \definedescription.
 
 Do you use \definedescription somewhere in your document in combination with 
 \startpacked, e.g. \definedescription[before=\startpacked] or 
 \defindescription[packed] etc.
 
 Wolfgang
 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] strange error on ntgmaps style

2011-04-26 Thread Hans Hagen

On 26-4-2011 4:23, Hans van der Meer wrote:

I get a strange error when using the dutch NTG-MAPS style I acquired from Taco, 
quite some time ago taking into account the fast pace of development in ConTeXt 
;-)
The error location in the log seems to be not directly related to the culprit, 
because deleting some lines shifts the given linenumber that number of lines 
down.

If I comment out the maps style and its macros:
\usemodule[map-se]\enablemode[nosubsub]
\startArticle[.]
\startAbstract ... \stopAbstract
\startKeywords ... \stopKeywords
\stopArticle
then typesetting does not give the error.
The error message is:
122 \placefigure[][fig:cdtypes]{Cover types for CD}{%
inserted text  ...ttwo ] \par \usemathcollection


no math collections in mkiv

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] strange error

2010-05-10 Thread Taco Hoekwater

Marius wrote:

Hello,

I am confronted with difficulties to understand why do I get this
strage error then compile the attached document? And how to fix it?

! String contains an invalid utf-8 sequence.
l.1 \setuppublicationlist[samplesize={
  ─A},totalnumber=1]


Bibtex doesn't support utf-8 at all, which is why it breaks
breaks up the Č into two bytes, and then only uses the leading
byte in the samplesize.

A working workaround is tu use {\Ccaron} in the bib file instead
of the literal character.

Best wishes,
Taco
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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
___