Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Jaroslav Hajtmar
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 
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 } \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  \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
___

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Wolfgang Schuster

Jaroslav Hajtmar 
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 } \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  \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
___

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-04-30 Thread Jaroslav Hajtmar

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 } \MR
\NC \NC XXX \MR
\stoptable


\stoptext




Dne 27.04.16 v 12:22 Wolfgang Schuster napsal(a):

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