emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode, tikz and beamer
@ 2015-05-21 14:40 cédric ody
  2015-05-21 18:02 ` Suvayu Ali
  0 siblings, 1 reply; 5+ messages in thread
From: cédric ody @ 2015-05-21 14:40 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]

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

[-- Attachment #2: cours.pdf --]
[-- Type: application/pdf, Size: 258041 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: org-mode, tikz and beamer
@ 2015-05-22  8:19 Bernhard Schmitz
  0 siblings, 0 replies; 5+ messages in thread
From: Bernhard Schmitz @ 2015-05-22  8:19 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

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

end of thread, other threads:[~2015-05-25 12:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2015-05-22  8:19 Bernhard Schmitz

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