Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-10-02 Thread Chen Shen
Hi all, Here is a simplistic C syntax highlighter. I hope I've extracted comments/strings/numerics (more or less) correctly. shenchen On Wed, Oct 1, 2008 at 11:44 AM, Chen Shen [EMAIL PROTECTED] wrote: Hi, Thanks for the pointers. It seems that the syntax-highlighter only need supply

Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-09-30 Thread Chen Shen
Hi Wolfgang, I guess you are referring to mkii features. It seems that formatting in verbatim doesn't work in mkiv yet, or did I miss out something? None of the wiki verbatim examples worked for me. regards, shenchen On Mon, Sep 29, 2008 at 2:16 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote:

Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-09-30 Thread Wolfgang Schuster
Am 30.09.2008 um 18:37 schrieb Chen Shen: Hi Wolfgang, I guess you are referring to mkii features. It seems that formatting in verbatim doesn't work in mkiv yet, or did I miss out something? None of the wiki verbatim examples worked for me. Syntax hyghlighting is implemented in different

Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-09-30 Thread Chen Shen
Hi, Thanks for the pointers. It seems that the syntax-highlighter only need supply function buffers.visualizers.mp.flush_line_(), which returns a buffer containing the typesetting commands. Will try playing with it. At the moment, I am looking for the feature with \setuptyping[option=commands].