emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Table formula and text properties
@ 2015-01-07 17:11 Willem Rein Oudshoorn
  2015-01-08 17:26 ` Michael Brand
  0 siblings, 1 reply; 3+ messages in thread
From: Willem Rein Oudshoorn @ 2015-01-07 17:11 UTC (permalink / raw)
  To: emacs-orgmode

I am trying to insert an image into a table by using a table formula.
My basic approach is by using a string with a display property like:


  (propertize "TEXT" 'display (list image))


Or to be more precise

   (propertize "SPARKLINE" 'display
               (list (sparkline-make-sparkline
                        100 10
                           '(1 20 12 13 141 13 24 90))))

In which the `sparkline-make-sparkline' function returns an image.

Inserting the resulting string with `insert' into a buffer will ensure
the image is displayed.

However org mode table formula code seems to strip the display property
from the string returned by the formula.  So this trick will not work.

Is there a way to insert a calculated image into an org table?

Kind regards,
Wim Oudshoorn.


   

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-08 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-07 17:11 Table formula and text properties Willem Rein Oudshoorn
2015-01-08 17:26 ` Michael Brand
2015-01-08 18:52   ` Willem Rein Oudshoorn

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).