Re: [NTG-context] Loop and graphictext (Metafun)
On 10/5/2015 6:28 PM, Fabrice Couvreur wrote: Hi, I tried to write a loop to display the title, but it does not. How to do ? Thank you, Fabrice \setuppagenumbering[location=] \setupcolors [state=start] \definecolor[pagecolor][s=.6] \definecolor[textcolor][r=.6] \startMPinclusions color pagecolor ; pagecolor := \MPcolor{pagecolor} ; color textcolor ; textcolor := \MPcolor{textcolor} ; \stopMPinclusions \setMPtext{title}{Serie statistiques à deux variables} \startuseMPgraphic{Title} path p ; p := OverlayBox ; fill OverlayBox withcolor pagecolor ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic \defineoverlay[Title][\useMPgraphic{Title}] \defineframedtext [MyTitle] [before={\blank[line,halfline]}, after={\blank}, frame=off, background=Title, width=\textwidth, height=fit, ] \starttext \startMyTitle \startMPcode numeric k ; k :=0 ; string s ; s := \MPstring{title} ; picture r ; r := image (graphictext substring (k,k+1) of s randomized .5pt scaled 5pt withfillcolor textcolor withpen pencircle scaled 1pt ; ) ; draw r ; \stopMPcode \stopMyTitle \stoptext i see no loop, why not just r := image (graphictext s - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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] Setups for images in publication framework
On 10/5/2015 8:19 PM, Eidenbenz Michael wrote: Ok I got it, we need: \usebtxdefinitions [duane] So I guess "specification=duane" in \definebtxrendering is obsolete? I realy like the possibilities the new bibliograpy code offers. Is there already an updated documentation available? it will soon be in the distribution Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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] Loop and graphictext (Metafun)
Hi Hans, In fact, as the loop does not work, I have not added to the code. It's true that your solution is simple ! Thank you, Fabrice 2015-10-05 19:48 GMT+02:00 Hans Hagen: > On 10/5/2015 6:28 PM, Fabrice Couvreur wrote: > >> Hi, >> I tried to write a loop to display the title, but it does not. How to do ? >> Thank you, >> Fabrice >> >> \setuppagenumbering[location=] >> >> \setupcolors >>[state=start] >> >> \definecolor[pagecolor][s=.6] >> \definecolor[textcolor][r=.6] >> >> >> \startMPinclusions >>color pagecolor ; pagecolor := \MPcolor{pagecolor} ; >>color textcolor ; textcolor := \MPcolor{textcolor} ; >> \stopMPinclusions >> >> \setMPtext{title}{Serie statistiques à deux variables} >> >> \startuseMPgraphic{Title} >> >>path p ; p := OverlayBox ; >>fill OverlayBox withcolor pagecolor ; >>setbounds currentpicture to OverlayBox ; >> >> \stopuseMPgraphic >> >> \defineoverlay[Title][\useMPgraphic{Title}] >> >> \defineframedtext >>[MyTitle] >>[before={\blank[line,halfline]}, >> after={\blank}, >> frame=off, >> background=Title, >> width=\textwidth, >> height=fit, >> ] >> >> \starttext >> >> \startMyTitle >> >> \startMPcode >> >> numeric k ; k :=0 ; >> string s ; s := \MPstring{title} ; >> picture r ; >> r := image (graphictext >> substring (k,k+1) of s >> randomized .5pt >> scaled 5pt >> withfillcolor textcolor >> withpen pencircle scaled 1pt ; ) ; >>draw r ; >> >> \stopMPcode >> >> \stopMyTitle >> >> \stoptext >> > > i see no loop, why not just > > r := image (graphictext > s > > > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | 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] Loop and graphictext (Metafun)
\startmidaligned \startMPcode ... \stopMPcode \stopmidaligned 2015-10-05 20:31 GMT+02:00 Fabrice Couvreur: > How to center the title ? > > 2015-10-05 20:11 GMT+02:00 Fabrice Couvreur : > >> Hi Hans, >> In fact, as the loop does not work, I have not added to the code. >> It's true that your solution is simple ! >> Thank you, >> Fabrice >> >> 2015-10-05 19:48 GMT+02:00 Hans Hagen : >> >>> On 10/5/2015 6:28 PM, Fabrice Couvreur wrote: >>> Hi, I tried to write a loop to display the title, but it does not. How to do ? Thank you, Fabrice \setuppagenumbering[location=] \setupcolors [state=start] \definecolor[pagecolor][s=.6] \definecolor[textcolor][r=.6] \startMPinclusions color pagecolor ; pagecolor := \MPcolor{pagecolor} ; color textcolor ; textcolor := \MPcolor{textcolor} ; \stopMPinclusions \setMPtext{title}{Serie statistiques à deux variables} \startuseMPgraphic{Title} path p ; p := OverlayBox ; fill OverlayBox withcolor pagecolor ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic \defineoverlay[Title][\useMPgraphic{Title}] \defineframedtext [MyTitle] [before={\blank[line,halfline]}, after={\blank}, frame=off, background=Title, width=\textwidth, height=fit, ] \starttext \startMyTitle \startMPcode numeric k ; k :=0 ; string s ; s := \MPstring{title} ; picture r ; r := image (graphictext substring (k,k+1) of s randomized .5pt scaled 5pt withfillcolor textcolor withpen pencircle scaled 1pt ; ) ; draw r ; \stopMPcode \stopMyTitle \stoptext >>> >>> i see no loop, why not just >>> >>> r := image (graphictext >>> s >>> >>> >>> >>> - >>> Hans Hagen | PRAGMA ADE >>> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >>> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com >>> | 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] Setups for images in publication framework
Ok I got it, we need: \usebtxdefinitions [duane] So I guess "specification=duane" in \definebtxrendering is obsolete? I realy like the possibilities the new bibliograpy code offers. Is there already an updated documentation available? Thanks and best regards Michael On 03.10.2015, at 13:20, Eidenbenz Michaelwrote: > Dear list, > > I try to process the following example from the testsuite > (publications/basics-002.tex) but it seems to be broken with current context > and beta. > > "publications> no data definition file 'publ-imp-duane.lua' for 'duane'" > > how can i fix this? > > > best regards > Michael > > > -- > > \startbuffer[duane] > >@image {tug2014, >title = "TUG 2014", >url = "http://tug.org/tug2014/;, >url_image = "http://tug.org/art/tug2014-color.jpg;, >url_thumb = "http://tug.org/tug2014/t2014-thumb.jpg;, >description = "Official drawing of the TUG 2014 conference", >author = "Duane Bibby", >year= 2014, >} > >@image {tug2013, >title = "TUG 2013", >url = "http://tug.org/tug2013/;, >url_image = "http://tug.org/tug2013/tug2013-color-300.jpg;, >url_thumb = "http://tug.org/tug2013/t2013-thumb.jpg;, >description = "Official drawing of the TUG 2013 conference", >author = "Duane Bibby", >year= 2013, >} > >@image {tug2012, >title = "TUG 2012", >url = "http://tug.org/tug2012/;, >url_image = "http://www.tug.org/art/tug2012-color.jpg;, >url_thumb = "http://www.tug.org/tug2012/t2012-thumb.jpg;, >description = "Official drawing of the TUG 2012 conference", >author = "Duane Bibby", >year= 2012, >} > > \stopbuffer > > % A quick and dirty layout: > > \usemodule > [article] > > \setupinteraction > [state=start] > > % We will use a dedicated dataset: > > \definebtxdataset > [duane] > > % That we will fill with some records: > > \usebtxdataset > [duane] > [duane.buffer] > > % And a rendering: > > \definebtxrendering > [duane] > [dataset=duane, > method=dataset, > specification=duane] > > % We also set up the associated list (a description): > > \setupbtxlist > [duane] > [number=no] > > % This is the image renderer: > > \startsetups btx:duane:list:image >\bgroup >\bTABLE[offset=1ex] >\bTR >\bTD[ny=4] >\dontleavehmode > \externalfigure[\btxfield{url_thumb}][width=4cm] >\eTD >\bTD >\bold{\btxfield{title}}\blank >\btxfield{Words -> description}\blank >\goto{high res variant}[url(\btxfield{url_image})] >\eTD >\eTR >\eTABLE >\egroup > \stopsetups > > \starttext > >\placebtxrendering >[duane] > >\page > >\showbtxdatasetcompleteness > [specification=duane, > dataset=duane] > >\page > >\enabletrackers > [publications.setups] > >\placebtxrendering >[duane] >[repeat=yes] > > \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] Loop and graphictext (Metafun)
How to center the title ? 2015-10-05 20:11 GMT+02:00 Fabrice Couvreur: > Hi Hans, > In fact, as the loop does not work, I have not added to the code. > It's true that your solution is simple ! > Thank you, > Fabrice > > 2015-10-05 19:48 GMT+02:00 Hans Hagen : > >> On 10/5/2015 6:28 PM, Fabrice Couvreur wrote: >> >>> Hi, >>> I tried to write a loop to display the title, but it does not. How to do >>> ? >>> Thank you, >>> Fabrice >>> >>> \setuppagenumbering[location=] >>> >>> \setupcolors >>>[state=start] >>> >>> \definecolor[pagecolor][s=.6] >>> \definecolor[textcolor][r=.6] >>> >>> >>> \startMPinclusions >>>color pagecolor ; pagecolor := \MPcolor{pagecolor} ; >>>color textcolor ; textcolor := \MPcolor{textcolor} ; >>> \stopMPinclusions >>> >>> \setMPtext{title}{Serie statistiques à deux variables} >>> >>> \startuseMPgraphic{Title} >>> >>>path p ; p := OverlayBox ; >>>fill OverlayBox withcolor pagecolor ; >>>setbounds currentpicture to OverlayBox ; >>> >>> \stopuseMPgraphic >>> >>> \defineoverlay[Title][\useMPgraphic{Title}] >>> >>> \defineframedtext >>>[MyTitle] >>>[before={\blank[line,halfline]}, >>> after={\blank}, >>> frame=off, >>> background=Title, >>> width=\textwidth, >>> height=fit, >>> ] >>> >>> \starttext >>> >>> \startMyTitle >>> >>> \startMPcode >>> >>> numeric k ; k :=0 ; >>> string s ; s := \MPstring{title} ; >>> picture r ; >>> r := image (graphictext >>> substring (k,k+1) of s >>> randomized .5pt >>> scaled 5pt >>> withfillcolor textcolor >>> withpen pencircle scaled 1pt ; ) ; >>>draw r ; >>> >>> \stopMPcode >>> >>> \stopMyTitle >>> >>> \stoptext >>> >> >> i see no loop, why not just >> >> r := image (graphictext >> s >> >> >> >> - >> Hans Hagen | PRAGMA ADE >> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com >> | 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] Ordered list of references (figures)
Hi Taco, thank you for this interesting insight! Now, I’m still stuck with my main concern, "inlining" the entries. And I need a way to get entries like "Cover" into the list, since \writetoregister doesn’t seem to be defined in MkIV. Best, Hraban Am 2015-09-30 um 15:34 schrieb Taco Hoekwater: > Hi Hraban, > > Here is what I can do at short notice. After this, I would probably just > cut > the final result back in after some tweaking. In any case, I am out of time > right now. > > Good luck, > Taco > > > \newif\iffirstFIDXpage > > \def\textcommand#1{#1\global\firstFIDXpagetrue} > \def\pagecommand#1{\iffirstFIDXpage (p.~\fi \global\firstFIDXpagefalse #1} > \def\stopregisterpages{)\dostoptagged\endgroup} > > \defineregister[fidx] > \setupregister[fidx][% > n=1, align=no, > %alternative=B, > compress=yes, > indicator=no, > textcommand=\textcommand, > pagecommand=\pagecommand, > distance=0.5em, > before={}, > after={}, > prefix=none] > > > >> On 30 Sep 2015, at 09:51, Henning Hraban Ramm wrote: >> >> Hi Taco, >> sorry, I should have provided a minimal example. >> Thanks in advance! >> >> Am 2015-09-29 um 12:30 schrieb Taco Hoekwater : >> >>> Hi Hraban, >>> >>> I would be happy to help with this (i've done some registers in the past >>> myself), but I will need a test file to play with... >>> >>> Best wishes, >>> Taco >>> On 28 Sep 2015, at 06:28, Henning Hraban Ramm wrote: PING! I would really appreciate an answer. > Am 2015-09-22 um 17:39 schrieb Henning Hraban Ramm : > >> Am 2015-09-22 um 10:49 schrieb Henning Hraban Ramm : >> >> Hi wizards, >> >> in my current book projects I need a list of figure references, ordered >> by author and page number. >> Like this: >> >> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12–20), Hraban Ramm >> (p.3ff.) >> >> How can I do that? I.e. >> - How can I assign an author name/reference to a figure? >> – How can I output that list? >> >> About like this?: >> >> \placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hraban >> Ramm} >> >> \ref[t][someref] (\at{p.}[someref]) % put this in some command that is >> called by \listoffigures ? >> >> >> Extension: I need to integrate some unnumbered pages into the list, like >> the cover. > > Ok, I can use registers for that: > > \defineregister[fidx] > \setupregister[fidx][% > n=1, > compress=yes, > indicator=no, > distance=0.5em, > before={}, > after={,}, > prefix=none, > ] > \setupheadtext[fidx=Figures] > > I can influence the order like \fidx[spinoza]{Baruch Spinoza}, great. > > That gets me as far as: > > Hraban 2–3, 5, 7, 9–10, 12, 14, 16–17, 19, 21, 23–24, 26, 28, 30–31, 33, > 35 > Picasso 1–2, 4–5, 8–9, 11–12, 15–16, 18–19, 22–23, 25–26, 29–30, 32–33 > > But I’d like to have > > Hraban (p.2–3, 5, 7, 9–10, 12, 14, 16–17, 19, 21, 23–24, 26, 28, 30–31, > 33, 35), Picasso (p.1–2, 4–5, 8–9, 11–12, 15–16, 18–19, 22–23, 25–26, > 29–30, 32–33) > > > For inserting a page name like "Cover" I tried > \writetoregister[fidx][Picasso]{Cover} > > But \writetoregister is undefined!? (As well as \writetofidx) > > What else can I use? > > > Greetlings, Hraban > --- > http://www.fiee.net > http://wiki.contextgarden.net > https://www.cacert.org (I'm an assurer) indextest.tex Description: Binary data ___ 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] Forms and JavaScript
http://wiki.contextgarden.net/Widgets Again working with widgets, this bug or feature – JavaScript code is only copied to the PDF if it’s used in a \goto – is still open. Additionally, I found that \setupfields (plural) doesn’t work, I need to setup all formatting in each \setupfield. I found another issue with workaround: http://wiki.contextgarden.net/Tabulate#Itemization_or_framed_objects_inside_a_tabulation You need to set "\tabulatesplitlinemode \plustwo" if you put widgets in a tabulation. Is there any reason not to set this per default? Am 2015-04-03 um 11:06 schrieb Henning Hraban Ramm: > Am 2015-04-02 um 21:07 schrieb Rik Kabel : > >> On 2015-04-02 03:42, Henning Hraban Ramm wrote: >>> while trying to create some interactive forms using latest beta (MkIV), I >>> found that JavaScripts are only then copied into the PDF, if there’s a >>> \goto referencing a JS function. >>> >>> According to the old widgets manual I thought I could set default values of >>> fields calling JS functions or variables as [JS(MyFunc)], but that doesn’t >>> work. >> Greetlings Hraban, >> >> This appears to be a pdf reader problem. On Win 8.1, Windows Reader and >> Chrome both show an editable field; Firefox and Sumatra show a non-editable >> field. > > That’s not the problem, creating fields works great. Since JS works > (probably) only in Adobe products anyway, I don’t care about other viewers. > > But JavaScript code (within JSpreamble or JScode sections) is only copied by > ConTeXt into the PDF if there’s a call of \goto to one of the defined JS > functions. > Additionally, calling JS functions for default values of fields doesn’t work > like it did in MkII (and like it’s documented in m-widgets.pdf). > > JS in PDFs is not easy to handle, but ConTeXt should at least copy my code > into the PDF as it’s documented and used to work in MkII. > > > Greetlings, Hraban > --- > http://www.fiee.net > http://wiki.contextgarden.net > https://www.cacert.org (I'm an assurer) ___ 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] Register sort method for unicode quotes
Is there a sort method that can be specified for register sorts that will ignore unicode quote marks (“‘’”) in the same way that primes ("') are ignored. This was asked in 2010 (http://www.mail-archive.com/ntg-context@ntg.nl/msg51348.html) and not answered. It is still a problem. Is there a sort method that can be applied as well to sorted lists to do this? \definesorting[Sort][Sorts] \starttext \placelistofSorts[criterium=all] \placeindex[n=1,method=default] \index{"Hope" is the thing with feathers} \index{Hope is the thing with feathers} \index{Hop is the thing with feathers} \index{“Hope” is the thing with feathers} \Sort["Hope" is]{"Hope" is the thing with feathers} \Sort[“Hope” is]{“Hope” is the thing with feathers} \Sort[Hope is]{Hope is the thing with feathers} \Sort[Hop is]{Hop is the thing with feathers} \Sort[Dope is]{Dope is the thing with feathers} \Sort[Rope is]{Rope is the thing with feathers} \stoptext -- Rik ___ 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] Form with character separators
I would like to produce a form with a character separators. However, my code presents two problems: first, the character box has no fixed dimensions and, two, I can't indent the text when it occupies multiple lines (ex, address field). I tried to use the starttabulate environment, but without sucess. My questions are: Can I fix the size of the boxes? and Can I apply the starttabulate environment to indent the field description and align all descriptors and fields names (name, age, sex, race, address, ...)? Thanks in advance Jorge tokens3.pdf Description: Adobe PDF document tokens3.tex Description: TeX document ___ 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] Loop and graphictext (Metafun)
Hi, I tried to write a loop to display the title, but it does not. How to do ? Thank you, Fabrice \setuppagenumbering[location=] \setupcolors [state=start] \definecolor[pagecolor][s=.6] \definecolor[textcolor][r=.6] \startMPinclusions color pagecolor ; pagecolor := \MPcolor{pagecolor} ; color textcolor ; textcolor := \MPcolor{textcolor} ; \stopMPinclusions \setMPtext{title}{Serie statistiques à deux variables} \startuseMPgraphic{Title} path p ; p := OverlayBox ; fill OverlayBox withcolor pagecolor ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic \defineoverlay[Title][\useMPgraphic{Title}] \defineframedtext [MyTitle] [before={\blank[line,halfline]}, after={\blank}, frame=off, background=Title, width=\textwidth, height=fit, ] \starttext \startMyTitle \startMPcode numeric k ; k :=0 ; string s ; s := \MPstring{title} ; picture r ; r := image (graphictext substring (k,k+1) of s randomized .5pt scaled 5pt withfillcolor textcolor withpen pencircle scaled 1pt ; ) ; draw r ; \stopMPcode \stopMyTitle \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 ___