[NTG-context] How to display source in ConTeXt?

2012-11-13 Thread yang.zhao
Hi everybody, is there a good way to display source(such as C language) in ConTeXt? or a Module to deal these things (indent, hightlight) just as listings package in LaTeX? Thanks. ___ If your question is of interest

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Marco Patzer
2012-11-13 yang.zhao: is there a good way to display source(such as C language) in ConTeXt? There is the vim module. It uses the editor vim to mark up the source with syntax highlighting code. However, it does only highlighting, not indentation. But it might be possible to hook in an

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread yang.zhao
Thank you, it works. and I could add line number too. Now just the indent problem, but i can control this in the source file.. One more thing, how to change font in the \startDEFINE \stopDEFIN ? I find using ConTeXt as the back-end of WEB system(D E.Knuth, LP) is very well, because ConTeXt deal

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Martin Schröder
2012/11/13 yang.zhao hckjs...@gmail.com: Thank you, it works. PLEASE switch of Comic Sans! http://bancomicsans.com/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Pontus Lurcock
On Tue 13 Nov 2012, Martin Schröder wrote: PLEASE switch of Comic Sans! http://bancomicsans.com/ Yang Zhao's message did include a text/plain version too. Unfortunately it seems it may be impossible to display this by default in Gmail:

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Martin Schröder
2012/11/13 Martin Schröder mar...@oneiros.de: 2012/11/13 yang.zhao hckjs...@gmail.com: Thank you, it works. PLEASE switch of Comic Sans! http://bancomicsans.com/ Apologies: I forgot a :-) Best Martin ___ If

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Alan BRASLAU
On Tue, 13 Nov 2012 13:29:01 + Pontus Lurcock p...@talvi.net wrote: Another reason to use Mutt :-). Or Claws mail (a decent gui alternative to mutt) ;) Alan ___ If your question is of interest to others as

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Khaled Hosny
On Tue, Nov 13, 2012 at 02:19:13PM +0100, Martin Schröder wrote: 2012/11/13 yang.zhao hckjs...@gmail.com: Thank you, it works. PLEASE switch of Comic Sans! http://bancomicsans.com/ I like Comic Sans (I really do, no idea why it is so much hated).

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread yang.zhao
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.. Thanks. 2012/11/14 Khaled Hosny

Re: [NTG-context] How to display source in ConTeXt?

2012-11-13 Thread Aditya Mahajan
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