Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
Thanks Wolfgang and Aditya
Fabrice

2016-07-12 21:04 GMT+02:00 Wolfgang Schuster :

> Fabrice Couvreur 
> 12. Juli 2016 um 20:41
>
> How filling the number ?
>
> \startusableMPgraphic{NumberHead}
> draw outlinetext.b
> ("\bf\namedheadnumber{chapter}")
> (withcolor "lightgray")
> (withpen pencircle scaled .1)
> ysized 60pt ;
> \stopusableMPgraphic
>
> 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] Remove files that are not needed (Metafun)

2016-07-12 Thread Wolfgang Schuster

Fabrice Couvreur 
12. Juli 2016 um 20:41

How filling the number ?

\startusableMPgraphic{NumberHead}
draw outlinetext.b
("\bf\namedheadnumber{chapter}")
(withcolor "lightgray")
(withpen pencircle scaled .1)
ysized 60pt ;
\stopusableMPgraphic

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] Remove files that are not needed (Metafun)

2016-07-12 Thread Aditya Mahajan

On Tue, 12 Jul 2016, Fabrice Couvreur wrote:



this is more modern (the method, not the font):



How filling the number ?


\starttext
\startMPpage
   draw outlinetext.d
 ("Hello")
 (withpen pencircle scaled 0.1bp withcolor red)
 ysized 60pt ;
\stopMPpage
\startMPpage
   draw outlinetext.f
 ("Hello")
 (withcolor 0.8*blue)
 ysized 60pt ;
\stopMPpage
\startMPpage
   draw outlinetext.b
 ("Hello")
 (withcolor 0.8*blue)
 (withpen pencircle scaled 0.1bp withcolor red)
 ysized 60pt ;
\stopMPpage
\startMPpage
   draw outlinetext.r
 ("Hello")
 (withcolor 0.8*blue)
 (withpen pencircle scaled 0.1bp withcolor red)
 ysized 60pt ;
\stopMPpage
\stoptext

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
___

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
>
> this is more modern (the method, not the font):


How filling the number ?


2016-07-12 17:56 GMT+02:00 Hans Hagen :

> On 7/12/2016 5:21 PM, Fabrice Couvreur wrote:
>
>> Compiling this file returns files ntg46-mpgraph.log ntg46-mpgraph.tex
>> ntg46-mpgraph.mpy ntg46-mpgraph.pdf  ntg46-mpgraph.tuc
>>
>
> this is more modern (the method, not the font):
>
> \startusableMPgraphic{NumberHead}
>   draw outlinetext.d
> ("\bf\namedheadnumber{chapter}")
> (withpen pencircle scaled .1)
> ysized 60pt ;
> \stopusableMPgraphic
>
>
>
> % macros=mkvi
>>
>> \setuppagenumbering[location=footer]
>>
>> \startusableMPgraphic{NumberHead}
>>   picture r ;
>>   r := image ( graphictext
>> "\bf\namedheadnumber{chapter}"
>> scaled 5pt
>> withfillcolor \MPcolor{lightgray}
>> withpen pencircle scaled 1pt ; ) ;
>>   draw r ;
>> \stopusableMPgraphic
>>
>> \def\processMPheadnumber#1%
>>   {\useMPgraphic{NumberHead}}
>>
>> \setuphead
>>[chapter]
>>[command=\HeadTitle,
>> headstyle=\ss,
>> numbercommand=\processMPheadnumber]
>>
>>
>> \unexpanded\def\HeadTitle#1#2%
>>   {\framed
>> [frame=off,
>> bottomframe=on,
>> width=broad,
>> align={broad,nothyphenated,left}]
>> {#1\blank[nowhite]#2}}
>>
>> \starttext
>>
>> \startchapter
>>   [title={Fist chapter}]
>>
>> \input knuth
>>
>> \stopchapter
>>
>> \stoptext
>>
>> 2016-07-12 16:45 GMT+02:00 Hans Hagen > >:
>>
>> On 7/12/2016 3:30 PM, Fabrice Couvreur wrote:
>>
>> Thank youfor the information, but it remains to delete the files
>> ...
>> mpgraph.log
>>
>>
>> fwiw, mkiv normally doesn't have such files
>>
>> Hans
>>
>>
>> -
>>   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
>
> ___
>
___
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] Remove files that are not needed (Metafun)

2016-07-12 Thread Hans Hagen

On 7/12/2016 5:21 PM, Fabrice Couvreur wrote:

Compiling this file returns files ntg46-mpgraph.log ntg46-mpgraph.tex
ntg46-mpgraph.mpy ntg46-mpgraph.pdf  ntg46-mpgraph.tuc


this is more modern (the method, not the font):

\startusableMPgraphic{NumberHead}
  draw outlinetext.d
("\bf\namedheadnumber{chapter}")
(withpen pencircle scaled .1)
ysized 60pt ;
\stopusableMPgraphic




% macros=mkvi

\setuppagenumbering[location=footer]

\startusableMPgraphic{NumberHead}
  picture r ;
  r := image ( graphictext
"\bf\namedheadnumber{chapter}"
scaled 5pt
withfillcolor \MPcolor{lightgray}
withpen pencircle scaled 1pt ; ) ;
  draw r ;
\stopusableMPgraphic

\def\processMPheadnumber#1%
  {\useMPgraphic{NumberHead}}

\setuphead
   [chapter]
   [command=\HeadTitle,
headstyle=\ss,
numbercommand=\processMPheadnumber]


\unexpanded\def\HeadTitle#1#2%
  {\framed
[frame=off,
bottomframe=on,
width=broad,
align={broad,nothyphenated,left}]
{#1\blank[nowhite]#2}}

\starttext

\startchapter
  [title={Fist chapter}]

\input knuth

\stopchapter

\stoptext

2016-07-12 16:45 GMT+02:00 Hans Hagen >:

On 7/12/2016 3:30 PM, Fabrice Couvreur wrote:

Thank youfor the information, but it remains to delete the files ...
mpgraph.log


fwiw, mkiv normally doesn't have such files

Hans


-
  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] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
Compiling this file returns files ntg46-mpgraph.log ntg46-mpgraph.tex
ntg46-mpgraph.mpy ntg46-mpgraph.pdf  ntg46-mpgraph.tuc

% macros=mkvi

\setuppagenumbering[location=footer]

\startusableMPgraphic{NumberHead}
  picture r ;
  r := image ( graphictext
"\bf\namedheadnumber{chapter}"
scaled 5pt
withfillcolor \MPcolor{lightgray}
withpen pencircle scaled 1pt ; ) ;
  draw r ;
\stopusableMPgraphic

\def\processMPheadnumber#1%
  {\useMPgraphic{NumberHead}}

\setuphead
   [chapter]
   [command=\HeadTitle,
headstyle=\ss,
numbercommand=\processMPheadnumber]


\unexpanded\def\HeadTitle#1#2%
  {\framed
[frame=off,
bottomframe=on,
width=broad,
align={broad,nothyphenated,left}]
{#1\blank[nowhite]#2}}

\starttext

\startchapter
  [title={Fist chapter}]

\input knuth

\stopchapter

\stoptext

2016-07-12 16:45 GMT+02:00 Hans Hagen :

> On 7/12/2016 3:30 PM, Fabrice Couvreur wrote:
>
>> Thank youfor the information, but it remains to delete the files ...
>> mpgraph.log
>>
>
> fwiw, mkiv normally doesn't have such files
>
> Hans
>
>
> -
>   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] Remove files that are not needed (Metafun)

2016-07-12 Thread Hans Hagen

On 7/12/2016 3:30 PM, Fabrice Couvreur wrote:

Thank youfor the information, but it remains to delete the files ...
mpgraph.log


fwiw, mkiv normally doesn't have such files

Hans


-
  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] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
Thank you for the information, but it remains to delete the files ...
mpgraph.log
It takes maybe write a script.
Fabrice

2016-07-12 14:42 GMT+02:00 Willi Egger :

> context —purgeall is your friend. The pdfs you will have to delete
> manually.
>
> Willi
> > On 12 jul. 2016, at 12:44, Fabrice Couvreur 
> wrote:
> >
> >
> > Hello,
> > One of my command uses a macro build from Metafun. The compilation
> generates many files.
> > How to delete files in the formats mpgraph.log, mpgraph.mpy,
> mpgraph.pdf, mpgraph.tex and mpgraph.tuc ?
> > thank you,
> > Fabrice
> >
> ___
> > 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
>
> ___
___
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] Remove files that are not needed (Metafun)

2016-07-12 Thread Willi Egger
context —purgeall is your friend. The pdfs you will have to delete manually.

Willi
> On 12 jul. 2016, at 12:44, Fabrice Couvreur  
> wrote:
> 
> 
> Hello,
> One of my command uses a macro build from Metafun. The compilation generates 
> many files.
> How to delete files in the formats mpgraph.log, mpgraph.mpy, mpgraph.pdf, 
> mpgraph.tex and mpgraph.tuc ?
> thank you,
> Fabrice
> ___
> 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] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
Hello,
One of my command uses a macro build from Metafun. The compilation
generates many
files.
How to delete files in the formats mpgraph.log, mpgraph.mpy, mpgraph.pdf,
mpgraph.tex and mpgraph.tuc ?
thank you,
Fabrice
___
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
___