Where is error in my code?
I edit 1 file metafun follow: \startMPenvironment \usetypescript[times][texnansi] \switchtobodyfont[times,10pt] \stopMPenvironment \startMPpage fill fullcircle scaled 2cm withcolor red; label(\sometxt{Cn},origin) withcolor white; \stopMPpage
Hi,
From the looks of it you are using legacy code!
For one ConTeXt uses UTF you no need texansi encoding.
In Mkiv all you need is
\startext
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
\stoptext
If you want to set font use \definefontfamily and \setbodyfont commands.
regards
Keith.
Am 28.01.2015 um 05:45 schrieb Van Dung Tang
I edit 1 file metafun follow:
\startMPenvironment \usetypescript[times][texnansi] \switchtobodyfont[times,10pt] \stopMPenvironment \startMPpage fill fullcircle scaled 2cm withcolor red; label(\sometxt{Cn},origin) withcolor white; \stopMPpage
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (3)
-
Aditya Mahajan
-
Keith Schultz
-
Van Dung Tang