emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernhard Schmitz <Bernhard.Schmitz@vis.uni-stuttgart.de>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-mode, tikz and beamer
Date: Fri, 22 May 2015 08:19:03 +0000	[thread overview]
Message-ID: <cce9b93dd5a943a1a9242a397760986f@barcarole.visus.uni-stuttgart.de> (raw)

Hi  Cédric,

If I understand it correctly, you want to include a graphical representation of you headlines into you beamer file, created via tikz/pgf.
That sounds quite similar to what I'm doing at the moment, only I create gantt charts instead of mind maps.
As far as I can tell, the best possibility to do that inside of emacs, is to use custom dynamic blocks. 
http://orgmode.org/manual/Dynamic-blocks.html
Simply create your own org-dblock-write:... function that parses the file and creates the tikz output you want.
You can have a look at org-dblock-write:clocktable and org-dblock-write:columnview for inspiration.
I think using org-element-parse-buffer and org-element-map should get you what you need.

You can also have a look at my gantt chart creation here:
https://github.com/HeyFlash/emacs-stuff/tree/master/experiments
(One el file and one org file for testing)
You can probably ignore most of the file, as you don't need the complex time calculations I do.
Keep in mind that this is wip and I'm not an experienced elisp / org person, so if anyone has better suggestions, listen to them.

I will be without internet from later today until the middle of next week, so if you have any questions I will not be responding until then.

Regards,
Bernhard

> -----Ursprüngliche Nachricht-----
> Von: cédric ody [mailto:cedric.listes@gmail.com]
> Gesendet: Donnerstag, 21. Mai 2015 16:41
> An: emacs-orgmode@gnu.org
> Betreff: [O] org-mode, tikz and beamer
> 
> Dear org-mode users,
> 
> I have used org-mode for some months now. I find it very useful. I
> have recently used it to prepare mathematic teaching lessons using the
> beamer exporter.
> 
> I wanted to combine org-mode and tikz latex's package from latex In
> order to insert some kind of mind-mapping from the headlines between
> the main parts of the lesson. I enclose an example so that you can see
> what I am talking about. Note that you can move forth and back through
> the presentation with hyperlinks. Note also only the chapter "Droites
> dans le plan" is filled so most of links fail.
> 
> I have done that from a single org-mode file using shell scripting
> calling org-mode and emacs in a batch mode way.
> 
> Before improving my shell script, I would like to know if there is a
> proper way to handle that within org-mode in lisp language. I have no
> idea about how to do that but someone may know if it is possible or
> not, and may give me hints to follow so that I could have a try.
> 
> Thanks,
> 
> Cédric Ody

             reply	other threads:[~2015-05-22  8:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22  8:19 Bernhard Schmitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-05-21 14:40 org-mode, tikz and beamer cédric ody
2015-05-21 18:02 ` Suvayu Ali
2015-05-21 20:33   ` cédric ody
2015-05-25 12:16     ` Suvayu Ali

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=cce9b93dd5a943a1a9242a397760986f@barcarole.visus.uni-stuttgart.de \
    --to=bernhard.schmitz@vis.uni-stuttgart.de \
    --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).