ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: nico <nicolas.marsgui@libertysurf.fr>
Subject: Re: Extending the black circled numbers
Date: Wed, 05 Apr 2006 00:13:41 +0200	[thread overview]
Message-ID: <ops7h703e09niby6@localhost> (raw)
In-Reply-To: <4432DC32.7090606@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 1330 bytes --]

On Tue, 04 Apr 2006 22:50:58 +0200, Hans Hagen <pragma@wxs.nl> wrote:

> nico wrote:
>> On Tue, 04 Apr 2006 14:44:28 +0200, Hans Hagen <pragma@wxs.nl> wrote:
>>
>>
>>> nico wrote:
>>>
>>>> Hello,
>>>>
>>>> Typically the numbers are rendered white in black
>>>> circle. I could use the Dingbats numbers, but it is limited to 10, so
>>>> that
>>>> I emulated them with the following code to be able to go up to 99.
>>>>
>>>> The questions I have:
>>>> - Is it the right way to do it in context (do I really need metafont?
>>>> Simpler, smarter method?)
>>>>
>>
>>
>>> \setupcolors[state=start]
>>>
>>> \startuniqueMPgraphic{CoCircle}
>>>    fill fullcircle xysized (OverlayWidth,OverlayHeight) withcolor
>>> OverlayColor ;
>>> \stopuniqueMPgraphic
>>>
>>
>> I see here the Hans touch again: it's better and I don't really  
>> understand
>> how it works :-)
>> But there's something strange: the first circle is greater than the  
>> others
>> (but the numbers have all the same size). Tracing a bit I see that the
>> first circle has a width=16.5333pt, the others 13.19997pt. What's the
>> reason for this?
>>
> what os the exact code that you use?how many mp runs do yuo have?

It's exactly the one you gave. I attach the file I compile. Two mpruns; I  
attach the log too.

Regards,
BG

[-- Attachment #2: cotest.tex --]
[-- Type: application/x-tex, Size: 830 bytes --]

[-- Attachment #3: cotest.log --]
[-- Type: application/octet-stream, Size: 5171 bytes --]

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=cont-en 2006.3.30)  5 APR 2006 00:02
entering extended mode
 (/usr/local/share/texmf-local/web2c/natural.tcx)
**&cont-en cotest.tex
(./cotest.tex

ConTeXt  ver: 2006.03.25 13:21  fmt: 2006.3.30  int: english  mes: english

language        : language en is active
<protectionstate 0>
system          : cont-new loaded
(/usr/local/share/texmf-local/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
color           : palette rollover is available
)
system          : cont-old loaded
(/usr/local/share/texmf-local/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/local/share/texmf-local/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys loaded
(/usr/local/share/texmf-dist/tex/context/user/cont-sys.tex
(/usr/local/share/texmf-local/tex/context/base/type-exa.tex)
(/usr/local/share/texmf-local/tex/context/base/type-syn.tex)
(/usr/local/share/texmf-local/tex/context/base/type-enc.tex)
(/usr/local/share/texmf-local/tex/context/base/type-siz.tex)
(/usr/local/share/texmf-local/tex/context/base/type-map.tex)
(/usr/local/share/texmf-local/tex/context/base/type-spe.tex)
(/usr/local/share/texmf-local/tex/context/base/type-akb.tex))
bodyfont        : 12pt rm is loaded
language        : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr->
texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e
c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna
nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e
c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i
l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 en->ec:ec->21->2:3 uk->ec:ec-
>22->2:3 us->ec:ec->23->2:3 da->ec:ec->24->2:3 sv->ec:ec->25->2:3 af->ec:ec->26
->2:3 no->ec:ec->27->2:3 deo->ec:ec->28->2:3 es->ec:ec->29->2:3 ca->ec:ec->30->
2:3 la->ec:ec->31->2:3 ro->ec:ec->32->2:3 tr->ec:ec->33->2:3 fi->ec:ec->35->2:3
 hu->ec:ec->36->2:3 loaded
specials        : tex,postscript,rokicki loaded
\openout2 = `cotest.tui'.

system          : cotest.top loaded
(./cotest.top
specials        : loading definition file tpd
(/usr/local/share/texmf-local/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(/usr/local/share/texmf-local/tex/context/base/spec-fdf.tex)
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
\openout0 = `cotest-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


color           : system rgb is global activated
(./cotest.tuo) (./cotest.tuo) (./cotest.tuo) (./cotest.tuo) (./cotest.tuo)
(./cotest.tuo) (./cotest.tuo) (./cotest.tuo) (./cotest.tuo) (./cotest.tuo)
(./cotest.tuo) (./cotest.tuo) (./cotest.tuo)
systems         : begin file cotest at line 29
(/usr/local/share/texmf-local/tex/context/base/pdfr-ec.tex)
\openout5 = `cotest-mpgraph.mp'.


systems         : randomizer starts with 8365963
[MP to PDF] (./cotest-mpgraph.4000)
fonts           : resetting map file list
fonts           : using map file: original-base
fonts           : using map file: ec-public-lm
fonts           : using map file: ec-base
fonts           : using map file: 8r-base
fonts           : using map file: t5-base
fonts           : using map file: original-ams-base
fonts           : using map file: original-ams-euler
fonts           : using map file: original-public-lm
(./cotest.tuo) [MP to PDF] (./cotest-mpgraph.3999) [1.1{/usr/local/share/texmf-
local/fonts/map/pdftex/context/original-empty.map}{/usr/local/share/texmf-local
/fonts/map/pdftex/context/original-base.map}{/usr/local/share/texmf-local/fonts
/map/pdftex/context/ec-public-lm.map}{/usr/local/share/texmf-local/fonts/map/pd
ftex/context/ec-base.map}{/usr/local/share/texmf-local/fonts/map/pdftex/context
/8r-base.map}{/usr/local/share/texmf-local/fonts/map/pdftex/context/t5-base.map
}{/usr/local/share/texmf-local/fonts/map/pdftex/context/original-ams-base.map}{
/usr/local/share/texmf-local/fonts/map/pdftex/context/original-ams-euler.map}{/
usr/local/share/texmf-local/fonts/map/pdftex/context/original-public-lm.map}]
systems         : end file cotest at line 31
[flush and process cotest-mpgraph.mp afterwards] ) 
Here is how much of TeX's memory you used:
 1291 strings out of 60376
 22080 string characters out of 604529
 4540797 words of memory out of 5530891
 38203 multiletter control sequences out of 10000+100000
 83670 words of font info for 40 fonts, out of 500000 for 2000
 232 hyphenation exceptions out of 1000
 47i,18n,57p,234b,775s stack positions out of 1500i,500n,5000p,200000b,5000s
PDF statistics:
 15 PDF objects out of 300000
 0 named destinations out of 131072
 17 words of extra memory for PDF output out of 65536
{/usr/local/share/texmf-dist/
fonts/enc/dvips/lm/lm-ec.enc}</usr/local/share/texmf-dist/fonts/type1/public/lm
/lmssbx10.pfb></usr/local/share/texmf-dist/fonts/type1/public/lm/lmr12.pfb>
Output written on cotest.pdf (1 page, 39735 bytes).

[-- Attachment #4: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-04-04 22:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-03 22:52 nico
2006-04-04  9:40 ` Taco Hoekwater
2006-04-04 18:42   ` nico
2006-04-04 12:44 ` Hans Hagen
2006-04-04 18:56   ` nico
2006-04-04 20:50     ` Hans Hagen
2006-04-04 22:13       ` nico [this message]
2006-04-05  7:42         ` Hans Hagen
2006-04-05 19:59           ` nico
2006-04-05 20:42             ` nico
2006-04-05 20:50               ` Hans Hagen
2006-04-05 20:52               ` Hans Hagen
2006-04-05 23:06                 ` nico
2006-04-06  0:20                 ` nico
2006-04-06  8:17                   ` Hans Hagen

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=ops7h703e09niby6@localhost \
    --to=nicolas.marsgui@libertysurf.fr \
    --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).