ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange bug in the latest version of ConTeXt
@ 2016-04-26 14:02 Jaroslav Hajtmar
  2016-04-27 10:22 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Hajtmar @ 2016-04-26 14:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello ConTeXist.

I have just installed the latest version of ConTeXt standalone. When I 
compiled an my old source code, I received an error:


! You can't use `\Ustopmath' in restricted horizontal mode! You can't 
use `\Ustopmath' in restricted horizontal mode! You can't use 
`\Ustartmath' in restricted horizontal mode! Inline math should end with 
\Ustopmath


This strange error is caused something in my extensive library for 
handling CSV files. I'm not sure why, because in library I am not use 
with any mathematical mode.

I am sorry, but at this moment I am not able to reveal the mistake to be 
able make a minimal example. Some of the older versions (not necessarily 
penultimate) worked without problems. Is there someone who help me start 
look from which point look for a mistake in my code library? Thanks for 
the information.

Jaroslav Hajtmar


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange bug in the latest version of ConTeXt
  2016-04-26 14:02 Strange bug in the latest version of ConTeXt Jaroslav Hajtmar
@ 2016-04-27 10:22 ` Wolfgang Schuster
  2016-05-01  5:52   ` Strange bug in the latest version of ConTeXt - start-stop table problem Jaroslav Hajtmar
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2016-04-27 10:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1187 bytes --]

> Jaroslav Hajtmar <mailto:hajtmar@gyza.cz>
> 26. April 2016 um 16:02
> Hello ConTeXist.
>
> I have just installed the latest version of ConTeXt standalone. When I 
> compiled an my old source code, I received an error:
>
>
> ! You can't use `\Ustopmath' in restricted horizontal mode! You can't 
> use `\Ustopmath' in restricted horizontal mode! You can't use 
> `\Ustartmath' in restricted horizontal mode! Inline math should end 
> with \Ustopmath
>
>
> This strange error is caused something in my extensive library for 
> handling CSV files. I'm not sure why, because in library I am not use 
> with any mathematical mode.
>
> I am sorry, but at this moment I am not able to reveal the mistake to 
> be able make a minimal example. Some of the older versions (not 
> necessarily penultimate) worked without problems. Is there someone who 
> help me start look from which point look for a mistake in my code 
> library? Thanks for the information.
It’s possible you’re using a math command without enabling math mode or 
you use
the a wrong catcode regime (where _ and ^ work only in math) but without 
a example
there is not much to say.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2182 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange bug in the latest version of ConTeXt - start-stop table problem
  2016-04-27 10:22 ` Wolfgang Schuster
@ 2016-05-01  5:52   ` Jaroslav Hajtmar
  2016-05-01  7:50     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Hajtmar @ 2016-05-01  5:52 UTC (permalink / raw)
  To: ntg-context

Thanx Wolfgang for reply.
I looked for possible mistakes in my library, and finally I find out 
that described error that bug is reflecting when I use \starttable --- 
\stoptable environment. I am sending now an minimal example that 
illustrates the problem. I am aware that work with tables of this type 
is not recommended, however, I was surprised that in a previous version 
of standalone ConTeXt the bug did not show. Is there any changes in 
code, which is related with tables typing?

Thanks Jaroslav Hajtmar

Here is minimal example:



\starttext

\starttable[|l w50mm|c|]
\NC     \NC {\bf ZZZZ} \MR
\NC     \NC XXX \MR
\stoptable


\stoptext




Dne 27.04.16 v 12:22 Wolfgang Schuster napsal(a):
>> Jaroslav Hajtmar <mailto:hajtmar@gyza.cz>
>> 26. April 2016 um 16:02
>> Hello ConTeXist.
>>
>> I have just installed the latest version of ConTeXt standalone. When 
>> I compiled an my old source code, I received an error:
>>
>>
>> ! You can't use `\Ustopmath' in restricted horizontal mode! You can't 
>> use `\Ustopmath' in restricted horizontal mode! You can't use 
>> `\Ustartmath' in restricted horizontal mode! Inline math should end 
>> with \Ustopmath
>>
>>
>> This strange error is caused something in my extensive library for 
>> handling CSV files. I'm not sure why, because in library I am not use 
>> with any mathematical mode.
>>
>> I am sorry, but at this moment I am not able to reveal the mistake to 
>> be able make a minimal example. Some of the older versions (not 
>> necessarily penultimate) worked without problems. Is there someone 
>> who help me start look from which point look for a mistake in my code 
>> library? Thanks for the information.
> It’s possible you’re using a math command without enabling math mode 
> or you use
> the a wrong catcode regime (where _ and ^ work only in math) but 
> without a example
> there is not much to say.
>
> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange bug in the latest version of ConTeXt - start-stop table problem
  2016-05-01  5:52   ` Strange bug in the latest version of ConTeXt - start-stop table problem Jaroslav Hajtmar
@ 2016-05-01  7:50     ` Wolfgang Schuster
  2016-05-01  9:14       ` Jaroslav Hajtmar
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2016-05-01  7:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 997 bytes --]

> Jaroslav Hajtmar <mailto:hajtmar@gyza.cz>
> 1. Mai 2016 um 07:52
> Thanx Wolfgang for reply.
> I looked for possible mistakes in my library, and finally I find out 
> that described error that bug is reflecting when I use \starttable --- 
> \stoptable environment. I am sending now an minimal example that 
> illustrates the problem. I am aware that work with tables of this type 
> is not recommended, however, I was surprised that in a previous 
> version of standalone ConTeXt the bug did not show. Is there any 
> changes in code, which is related with tables typing?
>
> Thanks Jaroslav Hajtmar
>
> Here is minimal example:
>
>
>
> \starttext
>
> \starttable[|l w50mm|c|]
You forgot the braces around the cell width:

\starttable[|lw(50mm)|c|]
> \NC     \NC {\bf ZZZZ} \MR
1. You forgot the \NC after the last cell.

2. You don’t need the braces for the font switch because font changes 
are always local to a cell.

     \NC \NC \bf ZZZZ \NC\MR

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2255 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange bug in the latest version of ConTeXt - start-stop table problem
  2016-05-01  7:50     ` Wolfgang Schuster
@ 2016-05-01  9:14       ` Jaroslav Hajtmar
  0 siblings, 0 replies; 5+ messages in thread
From: Jaroslav Hajtmar @ 2016-05-01  9:14 UTC (permalink / raw)
  To: ntg-context

Thanx Wolfgang for the correction of my code. This error is probably 
more than 8 years old (inside predefined macros in any old library 
code). ConTeXt was all existing time generously tolerant for my bug :-).

One more thanx for their fix.

Jaroslav Hajtmar



Dne 01.05.16 v 9:50 Wolfgang Schuster napsal(a):
>> Jaroslav Hajtmar <mailto:hajtmar@gyza.cz>
>> 1. Mai 2016 um 07:52
>> Thanx Wolfgang for reply.
>> I looked for possible mistakes in my library, and finally I find out 
>> that described error that bug is reflecting when I use \starttable 
>> --- \stoptable environment. I am sending now an minimal example that 
>> illustrates the problem. I am aware that work with tables of this 
>> type is not recommended, however, I was surprised that in a previous 
>> version of standalone ConTeXt the bug did not show. Is there any 
>> changes in code, which is related with tables typing?
>>
>> Thanks Jaroslav Hajtmar
>>
>> Here is minimal example:
>>
>>
>>
>> \starttext
>>
>> \starttable[|l w50mm|c|]
> You forgot the braces around the cell width:
>
> \starttable[|lw(50mm)|c|]
>> \NC     \NC {\bf ZZZZ} \MR
> 1. You forgot the \NC after the last cell.
>
> 2. You don’t need the braces for the font switch because font changes 
> are always local to a cell.
>
>     \NC \NC \bf ZZZZ \NC\MR
>
> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-01  9:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-26 14:02 Strange bug in the latest version of ConTeXt Jaroslav Hajtmar
2016-04-27 10:22 ` Wolfgang Schuster
2016-05-01  5:52   ` Strange bug in the latest version of ConTeXt - start-stop table problem Jaroslav Hajtmar
2016-05-01  7:50     ` Wolfgang Schuster
2016-05-01  9:14       ` Jaroslav Hajtmar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).