Re: [NTG-context] \currentheadnumber does not work

2016-07-11 Thread Fabrice Couvreur
Hello Wolfgang, When compiling the file with the macro, there is a lot of files that can be deleted (mpgraph.mpy, mpgraph.pdf ...) How to do ? thank you, Fabrice 2016-07-10 10:56 GMT+02:00 Fabrice Couvreur : > Hi Wolfgang, > Thank you for the code and still as clear

Re: [NTG-context] \currentheadnumber does not work

2016-07-10 Thread Fabrice Couvreur
Hi Wolfgang, Thank you for the code and still as clear explanations. Fabrice 2016-07-09 12:45 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 9. Juli 2016 um 12:17 > Hi Wolfgang, > > In the first example, so I do not need the command

Re: [NTG-context] \currentheadnumber does not work

2016-07-09 Thread Wolfgang Schuster
Fabrice Couvreur 9. Juli 2016 um 12:17 Hi Wolfgang, In the first example, so I do not need the command \currentheadnumber but just do: \setuphead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\Headed] ConTeXt passes the section

Re: [NTG-context] \currentheadnumber does not work

2016-07-09 Thread Fabrice Couvreur
Hi Wolfgang, In the first example, so I do not need the command \currentheadnumber but just do : \setuphead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\Headed] But in this second example, using the command \determineheadnumber[chapter], the chapter number is

Re: [NTG-context] \currentheadnumber does not work

2016-07-09 Thread Wolfgang Schuster
Fabrice Couvreur 9. Juli 2016 um 11:12 Hello, In this command, I have two problems: - \currentheadnumber does not work You need \determineheadnumber[chapter] before you can access the value with \currentheadnumber - the chapter number appears in

[NTG-context] \currentheadnumber does not work

2016-07-09 Thread Fabrice Couvreur
Hello, In this command, I have two problems : - \currentheadnumber does not work - the chapter number appears in black thank you, Fabrice \setuppagenumbering[location=footer] \startuseMPgraphic{head} pickup pencircle scaled 1mm ; drawoptions(withcolor lightgray) ; fill unitsquare scaled