* export all tables upon save
@ 2014-12-30 3:28 stevejb
2014-12-30 5:34 ` Nick Dokos
0 siblings, 1 reply; 2+ messages in thread
From: stevejb @ 2014-12-30 3:28 UTC (permalink / raw)
To: orgmode list
Greetings,
I have a .org file with 3 tables that I want to update once or twice per
day. For example, in the following example, I would like to have
tab1.csv, tab2.csv, and tab3.csv automatically created whenever I save
the file. Is this possible?
Thanks,
Stephen
#----------------------------------------
* Test
#+name: tab1
|---+-----+---|
| D | E | F |
|---+-----+---|
| 1 | a | b |
| 3 | 3 | 3 |
| 2 | c | d |
| 8 | j34 | 3 |
|---+-----+---|
** Test 2
#+name: tab2
|---+---+---|
| D | E | F |
|---+---+---|
| 1 | a | b |
| 2 | c | d |
|---+---+---|
* Table 3
#+name: tab3
|---+---+---|
| A | B | C |
|---+---+---|
| 1 | a | b |
| 2 | c | d |
|---+---+---|
#----------------------------------------
--
Sent with my mu4e
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: export all tables upon save
2014-12-30 3:28 export all tables upon save stevejb
@ 2014-12-30 5:34 ` Nick Dokos
0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2014-12-30 5:34 UTC (permalink / raw)
To: emacs-orgmode
"stevejb@uw.edu" <stevejb@uw.edu> writes:
> Greetings,
>
> I have a .org file with 3 tables that I want to update once or twice per
> day. For example, in the following example, I would like to have
> tab1.csv, tab2.csv, and tab3.csv automatically created whenever I save
> the file. Is this possible?
Write a function that does what you want, and add it to the
before-save-hook for the file.
Untested.
--
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-30 5:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-30 3:28 export all tables upon save stevejb
2014-12-30 5:34 ` Nick Dokos
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.