Re: [O] Python code for producing Org tables

2012-12-25 Thread François Pinard
Bastien b...@altern.org writes: Would you like something like | 3.1 | | 3.1415 | be aligned/modified as | 3.1000 | | 3.1415 | ? More precisely as: | 3.1| | 3.1415 | which is aligning on dots, even if it looks like left-justifying. There is a problem in that I have tables

Re: [O] Python code for producing Org tables

2012-12-25 Thread François Pinard
Dov Grobgeld dov.grobg...@gmail.com writes: Nice! I've needed that often. But please add licensing information to the code to make clear in what contexts it may be used. You mean, for the Python bits I sent to the list? For such a short amount of code, do whatever you feel like it. If you

Re: [O] Python code for producing Org tables

2012-12-24 Thread François Pinard
Bastien b...@altern.org writes: Hi François, Salut, et Joyeuses Festivités! :-) I recently needed to produce Org tables from within Python Thanks for the code, if some can test it and put it on worg, all the better (if you agree of course.) Of course! I wrongly thought Org mode was

Re: [O] Python code for producing Org tables

2012-12-24 Thread Bastien
Hi François, François Pinard pin...@iro.umontreal.ca writes: I do not know, and should check indeed. Yet, even then, it does not mean Org tables could not do better than standard practice! :-) Would you like something like | 3.1 | | 3.1415 | be aligned/modified as | 3.1000 | | 3.1415 |

Re: [O] Python code for producing Org tables

2012-12-24 Thread Dov Grobgeld
Nice! I've needed that often. But please add licensing information to the code to make clear in what contexts it may be used. Regards, Dov On Mon, Dec 24, 2012 at 3:12 PM, Bastien b...@altern.org wrote: Hi François, François Pinard pin...@iro.umontreal.ca writes: I do not know, and should

Re: [O] Python code for producing Org tables

2012-12-23 Thread Bastien
Hi François, François Pinard pin...@iro.umontreal.ca writes: I recently needed to produce Org tables from within Python, splitting them as needed to fit within a preset width. I append the code after my signature, in case it would be useful to others (or even, if you have ideas to improve

[O] Python code for producing Org tables

2012-12-18 Thread François Pinard
Hi, Org people. I recently needed to produce Org tables from within Python, splitting them as needed to fit within a preset width. I append the code after my signature, in case it would be useful to others (or even, if you have ideas to improve it). One thing I only realized after writing this,