[NTG-context] [***SPAM***] Misbehavior in MKIV

2013-09-02 Thread hwitloc

Using the texlive 2013 version

;
; minimal example from context wiki

\starttext
\starttabulate[|CR{red}c|CC{yellow}c|CM{green}c|CL{blue}c|] 
\NC test \NC test \NC test \NC test \NC \NR 
\NC test \NC test \NC test \NC test \NC \NR 
\NC test \NC test \NC test \NC test \NC \NR 
\NC test \NC test \NC test \NC test \NC \NR 
\stoptabulate
\stoptext

Problem:  The second column does not display with a yellow background.
  The word yellow is displayed just before the table.

How can this be fixed?
___
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] [***SPAM***] Misbehavior in MKIV

2013-09-02 Thread Wolfgang Schuster

Am 02.09.2013 um 05:34 schrieb hwit...@gmail.com:

 
 Using the texlive 2013 version
 
 ;
 ; minimal example from context wiki
 
 \starttext
 \starttabulate[|CR{red}c|CC{yellow}c|CM{green}c|CL{blue}c|] 
\NC test \NC test \NC test \NC test \NC \NR 
\NC test \NC test \NC test \NC test \NC \NR 
\NC test \NC test \NC test \NC test \NC \NR 
\NC test \NC test \NC test \NC test \NC \NR 
 \stoptabulate
 \stoptext
 
 Problem:  The second column does not display with a yellow background.
  The word yellow is displayed just before the table.
 
 How can this be fixed?

The following line is missing in tabl-tbl.mkiv:

\setvalue{\??tabulatecolorspec C}#1{\xdef\m_tabl_tabulate_color 
{#1}\global\c_tabl_tabulate_colorspan\zerocount}

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] [***SPAM***] Misbehavior in MKIV

2013-09-02 Thread hwitloc


I found the file, tabl-tbl.mkiv, here:

   /usr/local/texlive/2013/texmf-dist/tex/context/base/tabl-tbl.mkiv

I insert the line you said that was missing at line #721.

But, it did not change anything.  Does this file need to be compiled or 
anything?
I am not familiar with the deeper workings of ConTeXt code yet.

The below is show for context

---
LINE #721 is the next line:
\setvalue{\??tabulatecolorspec C}#1{\xdef\m_tabl_tabulate_color 
{#1}\global\c_tabl_tabulate_colorspan\zerocount}
\setvalue{\??tabulatecolorspec L}#1{\xdef\m_tabl_tabulate_color 
{#1}\global\c_tabl_tabulate_colorspan\plusone  }
\setvalue{\??tabulatecolorspec M}#1{\xdef\m_tabl_tabulate_color 
{#1}\global\c_tabl_tabulate_colorspan\plustwo  }
\setvalue{\??tabulatecolorspec R}#1{\xdef\m_tabl_tabulate_color 
{#1}\global\c_tabl_tabulate_colorspan\plusthree}
  

Wolfgang Schuster wrote:
 
 Am 02.09.2013 um 05:34 schrieb hwitloc
 
  
  Using the texlive 2013 version
  
  ;
  ; minimal example from context wiki
  
  \starttext
  \starttabulate[|CR{red}c|CC{yellow}c|CM{green}c|CL{blue}c|] 
 \NC test \NC test \NC test \NC test \NC \NR 
 \NC test \NC test \NC test \NC test \NC \NR 
 \NC test \NC test \NC test \NC test \NC \NR 
 \NC test \NC test \NC test \NC test \NC \NR 
  \stoptabulate
  \stoptext
  
  Problem:  The second column does not display with a yellow background.
   The word yellow is displayed just before the table.
  
  How can this be fixed?
 
 The following line is missing in tabl-tbl.mkiv:
 
 \setvalue{\??tabulatecolorspec C}#1{\xdef\m_tabl_tabulate_color 
 {#1}\global\c_tabl_tabulate_colorspan\zerocount}
 
 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] [***SPAM***] Misbehavior in MKIV

2013-09-02 Thread Wolfgang Schuster

Am 02.09.2013 um 17:00 schrieb hwit...@gmail.com:

 I found the file, tabl-tbl.mkiv, here:
 
   /usr/local/texlive/2013/texmf-dist/tex/context/base/tabl-tbl.mkiv
 
 I insert the line you said that was missing at line #721.
 
 But, it did not change anything.  Does this file need to be compiled or 
 anything?
 I am not familiar with the deeper workings of ConTeXt code yet.

You have generate a new format file where all source files are stored in a 
single file.

When you type context --touch --expert on the command lines context
generates a new format file when you process your document the next time.

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
___