[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] feature request: exporting TBLFM line, formatted or not
From: |
Nick Dokos |
Subject: |
Re: [O] feature request: exporting TBLFM line, formatted or not |
Date: |
Mon, 11 Apr 2016 09:22:39 -0400 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.1.50 (gnu/linux) |
Eric S Fraga <address@hidden> 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