From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: feature request: exporting TBLFM line, formatted or not
Date: Mon, 11 Apr 2016 09:22:39 -0400 [thread overview]
Message-ID: <87zit0fffk.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: 87mvp0nwbk.fsf@ucl.ac.uk
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> Hello,
>
> For pedagogical reasons, it would be nice to be able, in some case, to
> export a table (to LaTeX typically) with annotations (i.e. column and
> row labels) and, more importantly, the equations used to populate the
> table. Is this possible somehow?
>
> Obviously, for the row/column labelling, I could simply add an extra
> column and row with those labels...
>
> For the TBLFM aspect, thinking aloud but with no real knowledge, would
> it be possible to create a filter, say, that maybe copies and transforms
> a TBLFM line before being thrown away by the export engine?
>
> Any suggestions welcome.
>
Bastien's table formulas tutorial does it this way:
--8<---------------cut here---------------start------------->8---
* Column formulas and field formulas
Ok, so now we have this table:
: | Student | Maths | Physics | Mean |
: |----------+-------+---------+------|
: | Bertrand | 13 | 09 | 11 |
: | Henri | 15 | 14 | |
: | Arnold | 17 | 13 | |
: #+TBLFM: @2$4=vmean($2..$3)
--8<---------------cut here---------------end--------------->8---
Will that work for you?
--
Nick
next prev parent reply other threads:[~2016-04-11 13:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-11 12:50 feature request: exporting TBLFM line, formatted or not Eric S Fraga
2016-04-11 13:22 ` Nick Dokos [this message]
[not found] ` <1bbb803c2d1d4ae391de2caff17ebb62@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-11 13:40 ` Eric S Fraga
2016-04-11 14:20 ` Eric S Fraga
2016-04-12 20:15 ` Nicolas Goaziou
[not found] ` <a16c6224a33449c684b11fa4eebdac42@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-13 7:30 ` Eric S Fraga
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zit0fffk.fsf@pierrot.dokosmarshall.org \
--to=ndokos@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.