Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-06 Thread Hans Hagen
On 5-12-2010 3:06, Renaud AUBIN wrote: Ok, I have made a first version available as a Dropbox ressource: http://dl.dropbox.com/u/5289718/u-pretty-c.7z It certainly needs some improvements (I have some in mind since I have tested it on time.h ⇒ ouch). Feedbacks are welcome since I'll not use it

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-06 Thread Peter Münster
On Mon, Dec 06 2010, Hans Hagen wrote: maybe better the name t-pretty-c is better, of if you follow some strategy t-pretty-emacs-c or so (if there are many variants possible) The only thing in common with emacs, is the default color-scheme. You can get any variant just by changing the color

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-06 Thread Renaud AUBIN
20:40 nibua-r committed 9c5877c Color abstraction. 20:33 nibua-r committed 2a2a9e1 The test file now use t-pretty-c instead of u-pretty-c. 20:31 nibua-r committed 921eca5 u-pretty-c renamed to t-pretty-c as suggested by Hans. Colors are now protected using the C prefix. Concerning the color

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-05 Thread Peter Münster
On Sun, Dec 05 2010, Renaud AUBIN wrote: Peter: could you test it? Hello Renaud, Yes, I've tested with my standard test.tex and it's really good, even more coloring than my pret-c.lua ! I let you add your copy(left) stuff Why me? and I will make a public git repo on gitorious if you

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-05 Thread Renaud AUBIN
Hi Peter, Yes, I've tested with my standard test.tex and it's really good, even more coloring than my pret-c.lua ! I have added variable name coloring as in GNU/Emacs + { } block delimiters coloring (that's straightforward when starting from Hans's v-lua.lua). I let you add your copy(left)

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-04 Thread Renaud AUBIN
Ok, I have made a first version available as a Dropbox ressource: http://dl.dropbox.com/u/5289718/u-pretty-c.7z It certainly needs some improvements (I have some in mind since I have tested it on time.h ⇒ ouch). Feedbacks are welcome since I'll not use it intensively in a near future. Peter:

[NTG-context] pret-c.lua - v-c.lua

2010-12-03 Thread Peter Münster
Hello, Do I have to learn lpeg now, in order to port pret-c.lua to v-c.lua, or is there a simpler way? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-03 Thread Renaud AUBIN
Hi Peters, I can either help or port if needed… Cheers, Renaud Peter Münster pmli...@free.fr a écrit : Hello, Do I have to learn lpeg now, in order to port pret-c.lua to v-c.lua, or is there a simpler way? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-03 Thread Peter Münster
On Fri, Dec 03 2010, Renaud AUBIN wrote: I can either help or port if needed… Yes, that would be really great!! Thank you! In the meantime, I'll work with an older version. (no time to learn lpeg now...) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] pret-c.lua - v-c.lua

2010-12-03 Thread Hans Hagen
On 3-12-2010 10:31, Peter Münster wrote: On Fri, Dec 03 2010, Renaud AUBIN wrote: I can either help or port if needed… Yes, that would be really great!! Thank you! In the meantime, I'll work with an older version. (no time to learn lpeg now...) fyi: the name should be more explicit, like

[NTG-context] pret-c.lua

2010-02-22 Thread Peter Münster
Hello, Thanks to the wiki-page Custom pretty printer I managed to write the pret-c.lua module here: http://pmrb.free.fr/tmp/pret-c/ Comments and bug-reports are welcome. What about integrating it into the distribution, or is it better on http://modules.contextgarden.net/ ? Cheers, Peter --