On Wed, 14 Nov 2012, yang.zhao wrote:
Sorry for font in this mail. Back to ConTeXt. Now I use vim module, can I change the font of the source display? I read the ~/context/tex/texmf-modules/doc/context/third/vim/vim.txt, I search "font" ,there is just \setupbodyfont. I try this, but dosen't work..
Search for style: \definevimtyping [ctyping] [style={\switchtobodyfont[small,tt]}] \starttext \startctyping #include <stdio.h> \stopctyping \stoptext Or if you want to globally change the style of all typing environments: \setupvimtyping [style=....] Also see http://wiki.contextgarden.net/Style_Alternatives Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________