emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "leho.yann@gmail.com" <leho.yann@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Row reference for :table-line-pos in a capture template.
Date: Wed, 13 Apr 2016 17:37:50 +0200	[thread overview]
Message-ID: <1460561870.20176.3.camel@yann-fixe> (raw)

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]

hello,
I'm trying to use :table-line-pos in a capture template.
I want add new line just after the third hline in the table. 
I try "III" "III+" "III+1" "4"... Any ideas?

this is the line in my org-capture-templates :
("X" "Test" table-line (file+headline
"/media/yann/crypt/gtd/collecte/projets/test.org" "table") "| | | | |%t
| |" :table-line-pos "4")

and this is my files test.org :

* table
|---+--------+-------+-------------+--------------------+---|
|   |  Somme | Objet |      Compte | Date               |   |
|---+--------+-------+-------------+--------------------+---|
| _ |  Total |       |             |                    |   |
| # | 140.00 |       |             |                    |   |
|---+--------+-------+-------------+--------------------+---|
|   |     60 | test2 |          03 | <2016-04-13 mer.>  |   |
|   |     50 | test  | 12040538001 | <2016-03-12 sam.>  |   |
|   |     10 | 10    |    13221312 | <2016-02-11 jeu.>  |   |
|---+--------+-------+-------------+--------------------+---|
#+TBLFM:$Total=vsum(@III..@IIII);%.2f 

Thank you.
Regards,

Yann

[-- Attachment #2: Type: text/html, Size: 2295 bytes --]

             reply	other threads:[~2016-04-13 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13 15:37 leho.yann [this message]
2016-04-14  8:34 ` Row reference for :table-line-pos in a capture template Christian Moe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460561870.20176.3.camel@yann-fixe \
    --to=leho.yann@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).