Re: [O] #+call split into multiple lines?

2013-03-29 Thread Achim Gratz
Am 28.03.2013 21:49, schrieb Stefan Vollmar: (1) natural multi-line #+call: mhead-hcard( cname=Dr. Stefan Vollmar, # full name for title gname=Stefan, # given name photo=stefan-vollmar.jpg, # can be jpg or png ...) This doesn't parse well, so I venture to guess that Nicolas

Re: [O] #+call split into multiple lines?

2013-03-29 Thread Stefan Vollmar
Dear Thomas, dear Sebation, dear Achim, dear Nicolas, maybe a misunderstanding: the original idea is to produce a personal homepage for members of our institute, with one file per person - here is a better example http://www.nf.mpg.de/cv-howto/ex3-en.org and here some background information

Re: [O] #+call split into multiple lines?

2013-03-29 Thread Achim Gratz
Am 29.03.2013 09:24, schrieb Stefan Vollmar: [...] This might work reasonably well - if (1) I could prevent the table from being exported to HTML, (2) (probably more difficult) if this kind of thing would work: #+call: hcard(v=card-table) :results html It does, see:

Re: [O] #+call split into multiple lines?

2013-03-29 Thread feng shu
Stefan Vollmar voll...@nf.mpg.de writes: Dear Thomas, dear Sebation, dear Achim, dear Nicolas, maybe a misunderstanding: the original idea is to produce a personal homepage for members of our institute, with one file per person - here is a better example

[O] #+call split into multiple lines?

2013-03-28 Thread Stefan Vollmar
Hallo, I am a new Org-Babel convert (thanks, Nicolas!) and our first project replaces a MACRO (raw HTML template) with 12+ arguments and is a major improvement as we can now use named arguments. This short example works: #+call: mhead-hcard(cname=Dr. Stefan

Re: [O] #+call split into multiple lines?

2013-03-28 Thread Thomas S. Dye
Aloha Stefan, In this situation I often put the arguments in a named Org table and then write the Babel source code block to take a single argument--the table name--and parse the information passed in that way. #+name: card-table | cname | gname | photo |

Re: [O] #+call split into multiple lines?

2013-03-28 Thread Sebastien Vauban
Hi Thomas, Thomas S. Dye wrote: In this situation I often put the arguments in a named Org table and then write the Babel source code block to take a single argument--the table name--and parse the information passed in that way. #+name: card-table | cname | gname |

Re: [O] #+call split into multiple lines?

2013-03-28 Thread Thomas S. Dye
Aloha Seb, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Hi Thomas, Thomas S. Dye wrote: In this situation I often put the arguments in a named Org table and then write the Babel source code block to take a single argument--the table name--and parse the

Re: [O] #+call split into multiple lines?

2013-03-28 Thread Eric Abrahamsen
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Thomas, Thomas S. Dye wrote: In this situation I often put the arguments in a named Org table and then write the Babel source code block to take a single argument--the table name--and parse the information passed in that way.

Re: [O] #+call split into multiple lines?

2013-03-28 Thread Thomas S. Dye
Aloha Eric, Eric Abrahamsen e...@ericabrahamsen.net writes: PS the (card=card-table[0,]) syntax is new to me, is that a Babel-specific construct? Do you mean the indexing into the table? That's described here: http://orgmode.org/manual/var.html#var in the section `Indexable variable

Re: [O] #+call split into multiple lines?

2013-03-28 Thread Eric Abrahamsen
t...@tsdye.com (Thomas S. Dye) writes: Aloha Eric, Eric Abrahamsen e...@ericabrahamsen.net writes: PS the (card=card-table[0,]) syntax is new to me, is that a Babel-specific construct? Do you mean the indexing into the table? That's described here: