ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] Misbehavior in MKIV
@ 2013-09-02  3:34 hwitloc
  2013-09-02 12:53 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: hwitloc @ 2013-09-02  3:34 UTC (permalink / raw)
  To: ntg-context


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
___________________________________________________________________________________


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

* Re: [***SPAM***] Misbehavior in MKIV
  2013-09-02  3:34 [***SPAM***] Misbehavior in MKIV hwitloc
@ 2013-09-02 12:53 ` Wolfgang Schuster
  2013-09-02 15:00   ` hwitloc
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2013-09-02 12:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 02.09.2013 um 05:34 schrieb hwitloc@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
___________________________________________________________________________________


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

* Re: [***SPAM***] Misbehavior in MKIV
  2013-09-02 12:53 ` Wolfgang Schuster
@ 2013-09-02 15:00   ` hwitloc
  2013-09-02 15:12     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: hwitloc @ 2013-09-02 15:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users



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
___________________________________________________________________________________


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

* Re: [***SPAM***] Misbehavior in MKIV
  2013-09-02 15:00   ` hwitloc
@ 2013-09-02 15:12     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2013-09-02 15:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 02.09.2013 um 17:00 schrieb hwitloc@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

[-- Attachment #1.2: Type: text/html, Size: 1247 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] 4+ messages in thread

end of thread, other threads:[~2013-09-02 15:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-02  3:34 [***SPAM***] Misbehavior in MKIV hwitloc
2013-09-02 12:53 ` Wolfgang Schuster
2013-09-02 15:00   ` hwitloc
2013-09-02 15:12     ` Wolfgang Schuster

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).