[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-mode, tikz and beamer
From: |
Bernhard Schmitz |
Subject: |
Re: [O] org-mode, tikz and beamer |
Date: |
Fri, 22 May 2015 08:19:03 +0000 |
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:address@hidden
> Gesendet: Donnerstag, 21. Mai 2015 16:41
> An: address@hidden
> 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