[O] [Babel] size limit of #+call

2012-03-24 Thread Martin Halder
Hi all, trying to use a function to output a latex file using python with #+call. The example below does work but when pycalltest gets too big it just output nil. When I call pycalltest directly with C-c C-c it works even with a big function. Is there a size limit when I use #+call ? Thanks

Re: [O] [Babel] size limit of #+call

2012-03-24 Thread Martin Halder
Am 24.03.2012 um 20:00 schrieb Nick Dokos: Martin Halder martin.hal...@gmail.com wrote: Hi all, trying to use a function to output a latex file using python with = #+call. The example below does work but when pycalltest gets too big it just = output nil. When I call pycalltest

Re: [O] [Babel] size limit of #+call

2012-03-24 Thread Martin Halder
Am 24.03.2012 um 20:00 schrieb Nick Dokos: Martin Halder martin.hal...@gmail.com wrote: Hi all, trying to use a function to output a latex file using python with = #+call. The example below does work but when pycalltest gets too big it just = output nil. When I call pycalltest

[O] table spreadsheet problem

2012-03-19 Thread Martin Halder
Hi all, question about table calculation. Found in the documentation that I could refer to e.g. first line after second hline with @II+2. Would like to calculate sum = vsum(@I..@II) and tax = sum * 0.08 Am I doing sth wrong ? Thanks for help, Martin | article | price | |-+|

Re: [O] table spreadsheet problem

2012-03-19 Thread Martin Halder
Am 19.03.2012 um 16:32 schrieb Russell Adams: On Mon, Mar 19, 2012 at 04:01:42PM +0100, Martin Halder wrote: Hi all, question about table calculation. Found in the documentation that I could refer to e.g. first line after second hline with @II+2. Would like to calculate sum = vsum(@I

Re: [O] table spreadsheet problem

2012-03-19 Thread Martin Halder
Am 19.03.2012 um 16:56 schrieb Nick Dokos: Russell Adams rlad...@adamsinfoserv.com wrote: On Mon, Mar 19, 2012 at 04:01:42PM +0100, Martin Halder wrote: Hi all, question about table calculation. Found in the documentation that I could refer to e.g. first line after second hline

[O] table as parameter for latex block

2012-03-18 Thread Martin Halder
Hi all, was trying to use a table as input for a latex block. Is there a way to directly reference parts of the table inside the block or do I have to specify each parameter as separate parameter ? Thanks for help, Martin This is working: #+tblname: data | Name| John Doe | | Address

Re: [O] table as parameter for latex block

2012-03-18 Thread Martin Halder
Martin Halder martin.hal...@gmail.com writes: Hi all, was trying to use a table as input for a latex block. Is there a way to directly reference parts of the table inside the block or do I have to specify each parameter as separate parameter ? Thanks for help, Martin Aloha Martin

Re: [O] table as parameter for latex block

2012-03-18 Thread Martin Halder
Martin Halder martin.hal...@gmail.com writes: Martin Halder martin.hal...@gmail.com writes: Hi all, was trying to use a table as input for a latex block. Is there a way to directly reference parts of the table inside the block or do I have to specify each parameter as separate

[O] error in tableformula or bug

2011-03-24 Thread Martin Halder
Hi again, have traced it down to the following commit which introduces the problem (thanks to bisect): [3dd474575205d3808390fc6ea2d5feccdb3d4305] Tables: Make @ and $ point to row/column 1 in a stable way Was there a change in the format or is it really a bug ? Thanks for help, Martin

Re: [O] org table calc and lisp for hh:mm timetable

2011-03-24 Thread Martin Halder
If we're not just looking for a neat workaround for some special cases anymore, but looking at making org-tables aware of time-like strings by default, a better strategy than to convert them into integers might be to translate them into Calc time format and back again. After all, Calc

[O] error in tableformula or bug

2011-03-23 Thread Martin Halder
Hi all, found some strange behavior which was working before as far as I remember.. I am on commit 078c01b. this is working correctly: | 10 | | 10 | | 20 | || | 40 | #+TBLFM: @$1=vsum(@1..@3) this one with relative indexing (@-1) not: (value is changing every time the formula is applied:

Re: [O] org table calc and lisp for hh:mm timetable

2011-03-16 Thread Martin Halder
Hi Christian, this is fantastic, already love lisp, thanks a lot.. now I have exactly what I wanted.. additionally I needed the time format in industrial mode (1h = 100m = 100s), implemented in ihms. Thanks, Martin | Date | Start | Lunch | Back | End | Sum | Ind |

[O] org table calc and lisp for hh:mm timetable

2011-03-15 Thread Martin Halder
Hi all, some words of warning: this was written by an Emacs, Org, Lisp and Calc newbie.. and congratulations on converting a vim user btw, org mode is great : ) I was trying to generate a simple table with time format hh:mm and auto calculate daily sum.. clocking working time was too much so I

Re: [O] org table calc and lisp for hh:mm timetable

2011-03-15 Thread Martin Halder
I was trying to generate a simple table with time format hh:mm and auto calculate daily sum.. clocking working time was too much so I thought this would be easy but ended up with the following.. it works but is not beautiful (apply formula twice and same information multiple times) and I