Re: [NTG-context] ntg-context Digest, Vol 145, Issue 61

2016-07-21 Thread Robert Blackstone

On 21 Jul 2016, at 19:21 , : Hans Hagen  wrote>
> 
> On 7/21/2016 3:53 PM, Robert Blackstone wrote:
>> One my project files, that In previous versions of the standalone mkiv 
>> compiled without any problems, doesn't compile in the standalone I installed 
>> recently (version 2016.07.18 16;26).
>> It gives me an error warning hat I don’t understand:
>> +
>> tex error   > tex error on line 191 in file 
>> TD-Ch0-R1-index-UTF8-4CUP.tex: ! Missing number, treated as zero
>> 
>> ..
>> l.191 \stopintro
>> +
>> 
>> The processed file starts with:
>> ++
>> \definehead [intro] [chapter]
>> \setuphead  [intro] [number=no,alternative=middle,style=\tfa \bf]
>> 
>> \startcomponent TD_Ch0-Intro.tex
>> \intro[bookmark=,label=,list={Introduction},marking=,reference=ch:Intro,title={Introduction}]
> 
> shouldn't that be \startintro then?

Yes. 
Problem solved. Thank you.
(It has been nice that the previous versions have been very forgiving for a 
fool like me.)

Best regards,
Robert

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

[NTG-context] Question about headcommand

2016-07-21 Thread Fabrice Couvreur
Hello,
In the code below, why headcommand enough ?
thanks,
Fabrice

\setupbodyfont[pagella,11pt]

 \defineframed
   [ACFRAME]
   [width=0.5cm,
height=0.5cm,
background=color,
backgroundcolor=red,
foregroundcolor=white,
forgroundstyle=bold,
framecolor=red,
]

\defineenumeration
  [ex]
   [text=,
distance=0.3em,
width=fit,
headcommand=\ACFRAME,
%numberconversionset=ACCONVERSION,
alternative=serried,
   ]

%\defineprocessor[ACPROCESSOR][color=white,command=\groupedcommand{}{}]
%\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]

\starttext

\dorecurse {5} {
\startex
  \input knuth
\stopex
 }


\stoptext
___
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] ntg-context Digest, Vol 145, Issue 61

2016-07-21 Thread Hans Hagen

On 7/21/2016 8:01 PM, Robert Blackstone wrote:


On 21 Jul 2016, at 19:21 , : Hans Hagen  wrote>


On 7/21/2016 3:53 PM, Robert Blackstone wrote:

One my project files, that In previous versions of the standalone mkiv compiled 
without any problems, doesn't compile in the standalone I installed recently 
(version 2016.07.18 16;26).
It gives me an error warning hat I don’t understand:
+
tex error   > tex error on line 191 in file TD-Ch0-R1-index-UTF8-4CUP.tex: 
! Missing number, treated as zero

..
l.191 \stopintro
+

The processed file starts with:
++
\definehead [intro] [chapter]
\setuphead  [intro] [number=no,alternative=middle,style=\tfa \bf]

\startcomponent TD_Ch0-Intro.tex
\intro[bookmark=,label=,list={Introduction},marking=,reference=ch:Intro,title={Introduction}]


shouldn't that be \startintro then?


Yes.
Problem solved. Thank you.
(It has been nice that the previous versions have been very forgiving for a 
fool like me.)


being a bit more strict was a wish ... also has to do with slightly more 
robust nesting features


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

Re: [NTG-context] Question about headcommand

2016-07-21 Thread Wolfgang Schuster

Fabrice Couvreur 
22. Juli 2016 um 00:57
Hello,
In the code below, why headcommand enough ?

I’m sorry but I don’t know what you’re asking for.

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] Question about headcommand

2016-07-21 Thread Fabrice Couvreur
Hi Wolfgang,
In fact, I wanted to know why the instructions to create a new style for the 
counter were useless (% in the code) . I think I understand that headnumber 
sends settings (text and number) to the \ACFRAME  command.
Fabrice
Envoyé de mon iPad

> Le 22 juil. 2016 à 01:22, Wolfgang Schuster  a 
> écrit :
> 
>> Fabrice Couvreur 22. Juli 2016 um 00:57
>> Hello,
>> In the code below, why headcommand enough ?
> I’m sorry but I don’t know what you’re asking for.
> 
> 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] What is wrong with \stopintro?

2016-07-21 Thread Hans Hagen

On 7/21/2016 3:53 PM, Robert Blackstone wrote:

Dear all,

One my project files, that In previous versions of the standalone mkiv compiled 
without any problems, doesn't compile in the standalone I installed recently 
(version 2016.07.18 16;26).
It gives me an error warning hat I don’t understand:

+
tex error   > tex error on line 191 in file TD-Ch0-R1-index-UTF8-4CUP.tex: 
! Missing number, treated as zero


\23>>currentnamedsection
\popmacro ...m_syst_helpers_push_macro \endcsname
  \global \advance \lastname...
l.191 \stopintro
+

The processed file starts with:
++
\definehead [intro] [chapter]
\setuphead  [intro] [number=no,alternative=middle,style=\tfa \bf]

\startcomponent TD_Ch0-Intro.tex
\intro[bookmark=,label=,list={Introduction},marking=,reference=ch:Intro,title={Introduction}]


shouldn't that be \startintro then?


+++

and ends on line 191 with the error-causing command:
\stopintro

I should add that this particular file is input in the projectfile that also 
uses many others, like setup-files and .bbl's. It is however this particular 
file, TD-Ch0-R1-index-UTF8-4CUP.tex, that gives me problems.

What can I do about this (other than compiling with an older version of mkiv) ?

Thanks in advance for any help.

Best regards,
Robert Blackstone
___
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
___




--

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

[NTG-context] What is wrong with \stopintro?

2016-07-21 Thread Robert Blackstone
Dear all, 

One my project files, that In previous versions of the standalone mkiv compiled 
without any problems, doesn't compile in the standalone I installed recently 
(version 2016.07.18 16;26).
It gives me an error warning hat I don’t understand:

+
tex error   > tex error on line 191 in file TD-Ch0-R1-index-UTF8-4CUP.tex: 
! Missing number, treated as zero

 
\23>>currentnamedsection 
\popmacro ...m_syst_helpers_push_macro \endcsname 
  \global \advance \lastname...
l.191 \stopintro
+

The processed file starts with:
++
\definehead [intro] [chapter]
\setuphead  [intro] [number=no,alternative=middle,style=\tfa \bf]

\startcomponent TD_Ch0-Intro.tex
\intro[bookmark=,label=,list={Introduction},marking=,reference=ch:Intro,title={Introduction}]
+++

and ends on line 191 with the error-causing command:
\stopintro

I should add that this particular file is input in the projectfile that also 
uses many others, like setup-files and .bbl's. It is however this particular 
file, TD-Ch0-R1-index-UTF8-4CUP.tex, that gives me problems. 

What can I do about this (other than compiling with an older version of mkiv) ?

Thanks in advance for any help.

Best regards,
Robert Blackstone
___
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] Problem with the environment {\quotation}

2016-07-21 Thread Fabrice Couvreur
thanks Aditya
Fabrice

2016-07-21 2:05 GMT+02:00 Aditya Mahajan :

> On Thu, 21 Jul 2016, Fabrice Couvreur wrote:
>
> Hello,
>> With the latest version of Standalone Context, environment {\quotation}
>> causes a compilation error but with texlive 2016, no problem.
>> thanks,
>> Fabrice
>>
>>
>> \mainlanguage[fr]
>>
>> \starttext
>>
>> Seuls les nombres vont servir aux calculs, le gérant peut donc résumer ce
>> tableau à l'aide du seul tableau de nombres suivant, appelé {\quotation la
>> matrice \math{A}}.
>>
>> \stoptext
>>
>
> Use \quotation{} rather than {\quotation ...}
>
> 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  : 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
___

[NTG-context] Bug with the matrix library (TIKZ)

2016-07-21 Thread Fabrice Couvreur
Hello,
Everything is in the title, as this example shows.
Thanks,
Fabrice



\usemodule[tikz]
\usetikzlibrary[matrix]

\setupbodyfont[pagella,11pt]

\starttext

\starttikzpicture
  \matrix [matrix of math nodes,ampersand replacement=\&]
  {
a_8 \& a_1 \& a_6 \\
a_3 \& a_5 \& |[red]| a_7 \\
a_4 \& a_9 \& a_2 \\
  };
\stoptikzpicture

\stoptext


tex error   > tex error on line 14 in file /home/fab/ntg49.tex: !
Argument of \tikz@lib@matrix@with@options has an extra }


\par

}
l.14   }
  ;

 4 \setupbodyfont[pagella,11pt]
 5
 6 \starttext
 7
 8 \starttikzpicture
 9   \matrix [matrix of math nodes,ampersand replacement=\&]
10   {
11 a_8 \& a_1 \& a_6 \\
12 a_3 \& a_5 \& |[red]| a_7 \\
13 a_4 \& a_9 \& a_2 \\
14 >>};
15 \stoptikzpicture
16
17 \stoptext
___
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
___

[NTG-context] Command line tool for macro definitions

2016-07-21 Thread Henri Menke
Dear list,

For TeX/LaTeX users there is the neat command line tool `texdef` with
which you can show the definition of a macro.  Here an example:

$ texdef -t latex section

\section:
\long macro:->\@startsection {section}{1}{\z@ }{-3.5ex \@plus -1ex
\@minus -.2ex}{2.3ex \@plus .2ex}{\normalfont \Large \bfseries }

Is there something similar for ConTeXt?  It is quite tedious to either
grep the full source or setup an extra dummy document to use \show or
\meaning.

Cheers, Henri
___
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
___

[NTG-context] Notes after a chapter

2016-07-21 Thread Ursula Hermann
Hello list, 

 

I would like to have notes after a section. Now I would like to know: in the
command\setupfootnote there is a key called :after, but  the key had a red
color, i don’t know if i could need it, and i don’t know what command i
should give in the key after: maybe after=section? Sorry for the long text
below.

My second question is: When there are notes, which are after all sections,
what there is the right command: 

I have : 

\setuppapersize[A4]

\definelinenote[note]

\setuplinenote[note]

\setupdescription[note]

\starttext

\startchapter

\mainlanguage[de]

DIE INFORMELLE WIRTSCHAFT

Zwischen neuen Entwicklungen und alten Rahmenbedingungen

Das Wachstum einer informellen Wirtschaft in den Großstädten
hochentwickelter Länder wirft neue Fragen über die Beziehung auf, die heute
zwischen der Wirtschaft einerseits und den gesetzlichen Regelungen
andererseits besteht. \note {1}Den Begriff »informelle Wirtschaft« verwende
ich für jene einkommenbringenden Tätigkeiten, die außerhalb der gesetzlichen
Regelungen stattfinden, aber dennoch denen, die sich daran halten, ähneln;
so werden Umfang und Wesen der informellen Wirtschaft dennoch durch diese
Regelungen, denen sie sich eigentlich entziehen, bestimmt. Aus diesem Grund
kann man das Wesen der informellen Wirtschaft, der Schattenwirtschaft, nur
dann erfassen, wenn man sie in Beziehung zur offiziellen Wirtschaft setzt,
also zu den geregelten einkommenbringenden Tätigkeiten.

\stoptext

 

Thank you

 

Uschi

___
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] Bug with the matrix library (TIKZ)

2016-07-21 Thread Hans Hagen

On 7/21/2016 11:25 AM, Fabrice Couvreur wrote:

Hello,
Everything is in the title, as this example shows.


normally it means that you need to wrap in a \vbox{...}


Thanks,
Fabrice



\usemodule[tikz]
\usetikzlibrary[matrix]

\setupbodyfont[pagella,11pt]

\starttext

\starttikzpicture
  \matrix [matrix of math nodes,ampersand replacement=\&]
  {
a_8 \& a_1 \& a_6 \\
a_3 \& a_5 \& |[red]| a_7 \\
a_4 \& a_9 \& a_2 \\
  };
\stoptikzpicture

\stoptext


tex error   > tex error on line 14 in file /home/fab/ntg49.tex: !
Argument of \tikz@lib@matrix@with@options has an extra }


\par

}
l.14   }
  ;

 4 \setupbodyfont[pagella,11pt]
 5
 6 \starttext
 7
 8 \starttikzpicture
 9   \matrix [matrix of math nodes,ampersand replacement=\&]
10   {
11 a_8 \& a_1 \& a_6 \\
12 a_3 \& a_5 \& |[red]| a_7 \\
13 a_4 \& a_9 \& a_2 \\
14 >>};
15 \stoptikzpicture
16
17 \stoptext




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




--

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

Re: [NTG-context] Bug with the matrix library (TIKZ)

2016-07-21 Thread Fabrice Couvreur
Hi Hans,
If I do this, the problem remains the same.

\starttikzpicture
  \vbox{\matrix [matrix of math nodes,ampersand replacement=\&]
  {
a_8 \& a_1 \& a_6 \\
a_3 \& a_5 \& |[red]| a_7 \\
a_4 \& a_9 \& a_2 \\
  };}
\stoptikzpicture

2016-07-21 11:38 GMT+02:00 Hans Hagen :

> On 7/21/2016 11:25 AM, Fabrice Couvreur wrote:
>
>> Hello,
>> Everything is in the title, as this example shows.
>>
>
> normally it means that you need to wrap in a \vbox{...}
>
> Thanks,
>> Fabrice
>>
>>
>> 
>> \usemodule[tikz]
>> \usetikzlibrary[matrix]
>>
>> \setupbodyfont[pagella,11pt]
>>
>> \starttext
>>
>> \starttikzpicture
>>   \matrix [matrix of math nodes,ampersand replacement=\&]
>>   {
>> a_8 \& a_1 \& a_6 \\
>> a_3 \& a_5 \& |[red]| a_7 \\
>> a_4 \& a_9 \& a_2 \\
>>   };
>> \stoptikzpicture
>>
>> \stoptext
>>
>> 
>> tex error   > tex error on line 14 in file /home/fab/ntg49.tex: !
>> Argument of \tikz@lib@matrix@with@options has an extra }
>>
>> 
>> \par
>> 
>> }
>> l.14   }
>>   ;
>>
>>  4 \setupbodyfont[pagella,11pt]
>>  5
>>  6 \starttext
>>  7
>>  8 \starttikzpicture
>>  9   \matrix [matrix of math nodes,ampersand replacement=\&]
>> 10   {
>> 11 a_8 \& a_1 \& a_6 \\
>> 12 a_3 \& a_5 \& |[red]| a_7 \\
>> 13 a_4 \& a_9 \& a_2 \\
>> 14 >>};
>> 15 \stoptikzpicture
>> 16
>> 17 \stoptext
>>
>>
>>
>>
>>
>> ___
>> 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
>>
>> ___
>>
>>
>
> --
>
> -
>   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://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] Bug with the matrix library (TIKZ)

2016-07-21 Thread Hans Hagen

On 7/21/2016 11:50 AM, Fabrice Couvreur wrote:

Hi Hans,
If I do this, the problem remains the same.

\starttikzpicture
  \vbox{\matrix [matrix of math nodes,ampersand replacement=\&]
  {
a_8 \& a_1 \& a_6 \\
a_3 \& a_5 \& |[red]| a_7 \\
a_4 \& a_9 \& a_2 \\
  };}
\stoptikzpicture


I'm not sure why you want to use tikz for matrices but this works

\starttikzpicture
  \matrix [matrix of math nodes,ampersand replacement=\&]
  {
a_8 \& a_1 \& a_6 \\
a_3 \& a_5 \& {\red a_7} \\
a_4 \& a_9 \& a_2 \\
  };
\stoptikzpicture

(forget about | there)

Hans


2016-07-21 11:38 GMT+02:00 Hans Hagen >:

On 7/21/2016 11:25 AM, Fabrice Couvreur wrote:

Hello,
Everything is in the title, as this example shows.


normally it means that you need to wrap in a \vbox{...}

Thanks,
Fabrice



\usemodule[tikz]
\usetikzlibrary[matrix]

\setupbodyfont[pagella,11pt]

\starttext

\starttikzpicture
  \matrix [matrix of math nodes,ampersand replacement=\&]
  {
a_8 \& a_1 \& a_6 \\
a_3 \& a_5 \& |[red]| a_7 \\
a_4 \& a_9 \& a_2 \\
  };
\stoptikzpicture

\stoptext


tex error   > tex error on line 14 in file
/home/fab/ntg49.tex: !
Argument of \tikz@lib@matrix@with@options has an extra }


\par

}
l.14   }
  ;

 4 \setupbodyfont[pagella,11pt]
 5
 6 \starttext
 7
 8 \starttikzpicture
 9   \matrix [matrix of math nodes,ampersand replacement=\&]
10   {
11 a_8 \& a_1 \& a_6 \\
12 a_3 \& a_5 \& |[red]| a_7 \\
13 a_4 \& a_9 \& a_2 \\
14 >>};
15 \stoptikzpicture
16
17 \stoptext





___
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

___



--

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




--

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

Re: [NTG-context] Bug with the matrix library (TIKZ)

2016-07-21 Thread Fabrice Couvreur
Hi Hans,
thanks

I'm not sure why you want to use tikz for matrices but this works


https://drive.google.com/file/d/0B-mkD83s36jbMFE5ZjJvdFJSejg/view?usp=sharing

Fabrice

2016-07-21 14:30 GMT+02:00 Hans Hagen :

> On 7/21/2016 11:50 AM, Fabrice Couvreur wrote:
>
>> Hi Hans,
>> If I do this, the problem remains the same.
>>
>> \starttikzpicture
>>   \vbox{\matrix [matrix of math nodes,ampersand replacement=\&]
>>   {
>> a_8 \& a_1 \& a_6 \\
>> a_3 \& a_5 \& |[red]| a_7 \\
>> a_4 \& a_9 \& a_2 \\
>>   };}
>> \stoptikzpicture
>>
>
> I'm not sure why you want to use tikz for matrices but this works
>
> \starttikzpicture
>   \matrix [matrix of math nodes,ampersand replacement=\&]
>   {
> a_8 \& a_1 \& a_6 \\
> a_3 \& a_5 \& {\red a_7} \\
> a_4 \& a_9 \& a_2 \\
>   };
> \stoptikzpicture
>
> (forget about | there)
>
> Hans
>
> 2016-07-21 11:38 GMT+02:00 Hans Hagen > >:
>>
>>
>> On 7/21/2016 11:25 AM, Fabrice Couvreur wrote:
>>
>> Hello,
>> Everything is in the title, as this example shows.
>>
>>
>> normally it means that you need to wrap in a \vbox{...}
>>
>> Thanks,
>> Fabrice
>>
>>
>>
>> 
>> \usemodule[tikz]
>> \usetikzlibrary[matrix]
>>
>> \setupbodyfont[pagella,11pt]
>>
>> \starttext
>>
>> \starttikzpicture
>>   \matrix [matrix of math nodes,ampersand replacement=\&]
>>   {
>> a_8 \& a_1 \& a_6 \\
>> a_3 \& a_5 \& |[red]| a_7 \\
>> a_4 \& a_9 \& a_2 \\
>>   };
>> \stoptikzpicture
>>
>> \stoptext
>>
>>
>> 
>> tex error   > tex error on line 14 in file
>> /home/fab/ntg49.tex: !
>> Argument of \tikz@lib@matrix@with@options has an extra }
>>
>> 
>> \par
>> 
>> }
>> l.14   }
>>   ;
>>
>>  4 \setupbodyfont[pagella,11pt]
>>  5
>>  6 \starttext
>>  7
>>  8 \starttikzpicture
>>  9   \matrix [matrix of math nodes,ampersand replacement=\&]
>> 10   {
>> 11 a_8 \& a_1 \& a_6 \\
>> 12 a_3 \& a_5 \& |[red]| a_7 \\
>> 13 a_4 \& a_9 \& a_2 \\
>> 14 >>};
>> 15 \stoptikzpicture
>> 16
>> 17 \stoptext
>>
>>
>>
>>
>>
>> ___
>> 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
>>
>> ___
>>
>>
>>
>> --
>>
>> -
>>   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://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
>>
>> ___
>>
>>
>
> --
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>

Re: [NTG-context] Bug with the matrix library (TIKZ)

2016-07-21 Thread Fabrice Couvreur
Hi Hans,
thanks
Fabrice

2016-07-21 14:30 GMT+02:00 Hans Hagen :

> On 7/21/2016 11:50 AM, Fabrice Couvreur wrote:
>
>> Hi Hans,
>> If I do this, the problem remains the same.
>>
>> \starttikzpicture
>>   \vbox{\matrix [matrix of math nodes,ampersand replacement=\&]
>>   {
>> a_8 \& a_1 \& a_6 \\
>> a_3 \& a_5 \& |[red]| a_7 \\
>> a_4 \& a_9 \& a_2 \\
>>   };}
>> \stoptikzpicture
>>
>
> I'm not sure why you want to use tikz for matrices but this works
>
> \starttikzpicture
>   \matrix [matrix of math nodes,ampersand replacement=\&]
>   {
> a_8 \& a_1 \& a_6 \\
> a_3 \& a_5 \& {\red a_7} \\
> a_4 \& a_9 \& a_2 \\
>   };
> \stoptikzpicture
>
> (forget about | there)
>
> Hans
>
> 2016-07-21 11:38 GMT+02:00 Hans Hagen > >:
>>
>>
>> On 7/21/2016 11:25 AM, Fabrice Couvreur wrote:
>>
>> Hello,
>> Everything is in the title, as this example shows.
>>
>>
>> normally it means that you need to wrap in a \vbox{...}
>>
>> Thanks,
>> Fabrice
>>
>>
>>
>> 
>> \usemodule[tikz]
>> \usetikzlibrary[matrix]
>>
>> \setupbodyfont[pagella,11pt]
>>
>> \starttext
>>
>> \starttikzpicture
>>   \matrix [matrix of math nodes,ampersand replacement=\&]
>>   {
>> a_8 \& a_1 \& a_6 \\
>> a_3 \& a_5 \& |[red]| a_7 \\
>> a_4 \& a_9 \& a_2 \\
>>   };
>> \stoptikzpicture
>>
>> \stoptext
>>
>>
>> 
>> tex error   > tex error on line 14 in file
>> /home/fab/ntg49.tex: !
>> Argument of \tikz@lib@matrix@with@options has an extra }
>>
>> 
>> \par
>> 
>> }
>> l.14   }
>>   ;
>>
>>  4 \setupbodyfont[pagella,11pt]
>>  5
>>  6 \starttext
>>  7
>>  8 \starttikzpicture
>>  9   \matrix [matrix of math nodes,ampersand replacement=\&]
>> 10   {
>> 11 a_8 \& a_1 \& a_6 \\
>> 12 a_3 \& a_5 \& |[red]| a_7 \\
>> 13 a_4 \& a_9 \& a_2 \\
>> 14 >>};
>> 15 \stoptikzpicture
>> 16
>> 17 \stoptext
>>
>>
>>
>>
>>
>> ___
>> 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
>>
>> ___
>>
>>
>>
>> --
>>
>> -
>>   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://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
>>
>> ___
>>
>>
>
> --
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> 

Re: [NTG-context] Notes after a chapter

2016-07-21 Thread Wolfgang Schuster

Ursula Hermann 
21. Juli 2016 um 16:04

Hello list,

I would like to have notes after a section. Now I would like to know: 
in the command\setupfootnote there is a key called :after, but  the 
key had a red color, i don't know if i could need it, and i don't know 
what command i should give in the key after: maybe after=section? 
Sorry for the long text below.


I don't know what you mean with the red colorbut you can place notes at 
the end of a chapter with the following setup.


\setupnote[footnote][location=none]

\setuphead[chapter][aftersection={\placenotes[footnote]}]

\starttext

\startchapter[title={Ward}]
\dorecurse{12}{\input ward \footnote{Footnote #1}\par}
\stopchapter

\stoptext

My second question is: When there are notes, which are after all 
sections, what there is the right command:


I have :

\setuppapersize[A4]

\definelinenote[note]

\setuplinenote[note]

\setupdescription[note]

\starttext

\startchapter

\mainlanguage[de]

DIE INFORMELLE WIRTSCHAFT

Zwischen neuen Entwicklungen und alten Rahmenbedingungen

Das Wachstum einer informellen Wirtschaft in den Großstädten 
hochentwickelter Länder wirft neue Fragen über die Beziehung auf, die 
heute zwischen der Wirtschaft einerseits und den gesetzlichen 
Regelungen andererseits besteht. \note {1}Den Begriff »informelle 
Wirtschaft« verwende ich für jene einkommenbringenden Tätigkeiten, die 
außerhalb der gesetzlichen Regelungen stattfinden, aber dennoch denen, 
die sich daran halten, ähneln; so werden Umfang und Wesen der 
informellen Wirtschaft dennoch durch diese Regelungen, denen sie sich 
eigentlich entziehen, bestimmt. Aus diesem Grund kann man das Wesen 
der informellen Wirtschaft, der Schattenwirtschaft, nur dann erfassen, 
wenn man sie in Beziehung zur offiziellen Wirtschaft setzt, also zu 
den geregelten einkommenbringenden Tätigkeiten.


\stoptext



1. \stopchapter is missing in your example

2. The \note command already exists and you redefine it in your example 
which is a bad idea.


3. Where do you have a note *after* a section in your example?

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
___