On 28/04/07, Aditya Mahajan
Suppose you have a file called program.php. You create a batch file that runs the texmfstart bin:vim ... line to create program-vimsyntax.tmp file. Then in your ConTeXt code, you can say,
\typevimfile[convert=no][program.php]
Ah that's going to save me a bunch of time. Thank you.
Just as a side note, is there a way to fix it so that line numberings are always on the left?
\sesupvimtyping[numbering=on]
I've done that. I should've been more clear sorry. I've setup my pages with the "alternative=doublesided" option. So for even numbered pages I have numbering in the left margin like I want, however, for odd pages it switches to the right side.
By default, \tftt and \tt fonts are used for code listing. The easiest way to change to a different font is to use it as your default teletype font. If that is not possible, then you will need to define a new colorscheme, along the lines of the default colorscheme, but changing \v!mono with whatever font you want.
Umm what's a teletype font for starters? -- Chris