ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Remove files that are not needed (Metafun)
Date: Tue, 12 Jul 2016 20:41:56 +0200	[thread overview]
Message-ID: <CACyK-ep2H2AEZ3ZXPj=CbK_McnmvWCWP_E3Y9sOQJKdofgrx5A@mail.gmail.com> (raw)
In-Reply-To: <1c7421e4-7228-6538-0ba3-a0f50985d8d6@wxs.nl>


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

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


How filling the number ?


2016-07-12 17:56 GMT+02:00 Hans Hagen <pragma@wxs.nl>:

> 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 <pragma@wxs.nl
>> <mailto:pragma@wxs.nl>>:
>>
>>     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
>>     <http://www.pragma-ade.nl> | www.pragma-pod.nl
>>     <http://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 <mailto: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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 7664 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
___________________________________________________________________________________

  reply	other threads:[~2016-07-12 18:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-12 10:44 Fabrice Couvreur
2016-07-12 12:42 ` Willi Egger
2016-07-12 13:30   ` Fabrice Couvreur
2016-07-12 14:45     ` Hans Hagen
2016-07-12 15:21       ` Fabrice Couvreur
2016-07-12 15:56         ` Hans Hagen
2016-07-12 18:41           ` Fabrice Couvreur [this message]
2016-07-12 19:04             ` Aditya Mahajan
2016-07-12 19:04             ` Wolfgang Schuster
2016-07-12 21:54               ` Fabrice Couvreur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACyK-ep2H2AEZ3ZXPj=CbK_McnmvWCWP_E3Y9sOQJKdofgrx5A@mail.gmail.com' \
    --to=fabrice1.couvreur@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).