On 3/20/2013 5:22 PM, Jonathan Barchi wrote:
Is that scite code free software? I'd love to take a look at how you generate the files for it, and/or how its lexer is implemented.
it's all in context/data/scite (if only because I use it on a daily basis)
I'm still figuring this part out. Emacs is quite modular, so I'm not sure what the best approach is yet. AUCTEX implements syntax highlighting internally, in a sub-package called font-latex (that does work reasonably well for ConTeXt too), but there is also more sophisticated support for LaTeX that doesn't cross over to context.
best start from scratch .. too many differences .. the easy way is just to color symbols special red: {}$ green: \. \.... blue: []()#=<>" yellow: %^_&-+/`| that should be doable i guess next figure out how to read in list with known \commands Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------