Re: [NTG-context] Fonts in Metapost

2005-07-03 Thread Wolfgang Zillig
Hello all, the last suggestion I made was wrong, to change the font I need (somehow strange) the following code: \loadmapfile[mymap.map] \usetypescriptfile[type-cmbr] \usetypescript[Cmbr] \startMPenvironment[global] \input type-cmbr \usetypescript[Cmbr] \switchtobodyfont[Cmbr,12pt]

Re: [NTG-context] Fonts in Metapost

2005-07-03 Thread Willi Egger
Hi Wolfgang, The MPlibraries are part of the metafun-suite. Willi Wolfgang Zillig wrote: Hello all, the last suggestion I made was wrong, to change the font I need (somehow strange) the following code: \loadmapfile[mymap.map] \usetypescriptfile[type-cmbr] \usetypescript[Cmbr]

Re: [NTG-context] Fonts in Metapost

2005-07-02 Thread Wolfgang Zillig
Hello all, finaly I solved my problem: I had my metapost graphic in an external file and used it with: \startuseMPgraphic{test} \input mp.mp ; \stopuseMPgraphic \useMPgraphic{test} or \startbuffer[test1] \input mp.mp \stopbuffer \processMPbuffer[test1,graphic] in both cases I get the

Re: [NTG-context] Fonts in Metapost

2005-07-02 Thread Willi Egger
Hi Wolfgang, usually I compile the MetaPost fiures into a pdf. I refer to the pictures then by \externalfigure[metapost-pdf][page=1] or similar. Willi Wolfgang Zillig wrote: Hello all, finaly I solved my problem: I had my metapost graphic in an external file and used it with:

Re: [NTG-context] Fonts in Metapost

2005-07-02 Thread Willi Egger
Hi Wolfgang, I reread your mail, I am not sure, whether I understood your message correctly. therefore here what I usually do: \setupoutput[pdftex] \useMPlibrary[clp,txt] \startMPenvironment \usetypescript[palatino][texnansi] \switchtobodyfont[palatino,rm,10pt] \stopMPenvironment

[NTG-context] Fonts in Metapost

2005-07-01 Thread Wolfgang Zillig
Hello, I have problems with changeing the font in Metapost. I defined my own typescripts somewhere and I also have a mapfile for that fonts. In normal text it workes fine (even math). Now I want to change the font in MP as well (my text is included as label(test,(200,200));): %normal

Re: [NTG-context] Fonts in Metapost

2005-07-01 Thread Willi Egger
Hi Wolfgang, I do hope that I am not missing something. But I think, that you should say in the MPenvironment: \setupbodyfont[Cmbr,12pt] Otherwise the setupbodyfont command does not know which font to setup. Willi Wolfgang Zillig wrote: Hello, I have problems with changeing the font in

Re: [NTG-context] Fonts in Metapost

2005-07-01 Thread Wolfgang Zillig
Ok, I changed it but it does not help. Wolfgang Willi Egger wrote: Hi Wolfgang, I do hope that I am not missing something. But I think, that you should say in the MPenvironment: \setupbodyfont[Cmbr,12pt] Otherwise the setupbodyfont command does not know which font to setup. Willi