On Mon, 24 Nov 2008, Jan-Erik Hägglöf wrote:
Thanks to all answers. I got it work, though a minor problem left, it seems that "calligraphy" is not working.
line 108 draw btex { $ \vec{\cal B }$} etex.....
see the new attached file.
If you are using MKII (running context using texexec filename), then do not use btex ... etex.[1] Use \sometxt{...} instead. I am using MKIV I just used the following regex on your file %s/btex\s*\(.\)\s*etex/\\sometxt\1/g and then everything works fine. This above I didn't understood. I did though replace with \sometxt{\vec{\cal B}} but no effect.
[1] It is possible to get correct fonts using btex ... etex also. You need to set up fonts in \startMPenvironment ... \stopMPenvironment. For most cases \sometxt is more convinient.
Aditya I tried to do some fontsettings, maybe it was the wrong way setting up
mån 2008-11-24 klockan 10:40 -0500 skrev Aditya Mahajan: things. You can see in the updated file. Janneman -- TeX Engine : LuaTeX current version: 2008.10.23 17:32 OS : Ubuntu 8.10 Intrepid Ibex