Re: [O] Python code for producing Org tables

2012-12-25 Thread François Pinard
Dov Grobgeld 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 really want an explic

Re: [O] Python code for producing Org tables

2012-12-25 Thread François Pinard
Bastien 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 using a d

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 wrote: > > Hi François, > > François Pinard writes: > > > I do not know, and should check indeed. Yet, even then,

Re: [O] Python code for producing Org tables

2012-12-24 Thread Bastien
Hi François, François Pinard 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 | ? I personally would

Re: [O] Python code for producing Org tables

2012-12-24 Thread François Pinard
Bastien 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 aligning floa

Re: [O] Python code for producing Org tables

2012-12-23 Thread Bastien
Hi François, François Pinard 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 it). Thanks for the

[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,