I am currently in the process of writing my PhD thesis, and I discovered that relying on a mind mapping software can in fact revealed very useful especially at the beginning of the process. Indeed, I found mind mapping softwares like FreeMind very useful tools to graphically organize ideas into a hierarchy and that allows you to quickly and very efficiently construct and update the outline of your thesis.
It is actually easy to export a mindmap from FreeMind into a hierarchy of latex sections, in order to directly get your document structure ready to fill.
I am actually using this XSLT definition to do so.
The only problem when working like this is that once you have exported your document structure from Freemind into latex, you have made modifications and written some sections into your latex, there is no way to import it back to FreeMind in order to reorganize your document.
To allow this usage, I wrote a small groovy script for FreeMind that read a latex file and build the tree hierarchy out of it. It also imports the content of the sections into the text attribute of the nodes, and this content gets correctly exported by the latex export XSLT.
My Groovy script: FreeMindLatexImportScript.groovy
This script must put into the FreeMind/plugins/script directory, and the following section must be added to the FreeMind/plugins/ScriptingEngine.xml file in order to get the script visible into the Tools menu:
Of course, this code is provided with no warranty, but it should work well :-)
Have fun !
February 26, 2011 at 9:58 PM
Si ca c'est pas de la procrastination!
;-)
Adrien
February 28, 2011 at 5:10 PM
Nooooon pas du tout :-p
March 3, 2011 at 6:59 AM
Procrastineering? (J. Chung Li)
March 3, 2011 at 10:14 AM
Procrastination :-) http://www.phdcomics.com/comics.php?f=886
March 22, 2011 at 12:48 PM
Oh man, I love you. I've been hoping that someone would write something like this for a long time, because I didn't know how to do it myself. Thank you!!!
October 23, 2012 at 9:30 AM
You wrote:
"I am actually using this XSLT definition to do so."
How can we use it to export from .mm to .tex
January 7, 2013 at 5:49 AM
Still cannot get to work with Debian Squeeze neither Ubuntu Precise :(
March 5, 2013 at 9:26 AM
Dear Cyril,
That's a very useful tool. Thanks for sharing! Any chance you have continued developing it so it also converts \includegraphics?
P
June 13, 2013 at 12:27 PM
Thank you very much Cyril. Your script has helped me a great deal. I find it easier now to keep a clear overview of my thesis structure.
June 14, 2013 at 2:41 PM
I created a little remix of your script and posted it on my blog - hope you don't mind:
http://kreitmayer.blogspot.co.uk/2013/06/latex-to-freemind-script.html
By the way, congrats on actually finishing your thesis ;-)
May 9, 2014 at 9:59 AM
Hi
I tried to install on Linux and Windows, got each time an issue...
On Linux Ubuntu 12.04, freemind 0.9, groovy 1.8.6: note I also (cross) posted on:
http://askubuntu.com/questions/463236/java-plugin-install-for-freemind-get-noclassdeffounderror-org-objectweb-asm
STDERR: Exception in thread "AWT-EventQueue-1"
STDERR: java.lang.NoClassDefFoundError: org/objectweb/asm/Opcodes
On Windows XP, freemind 1 (groovy? not sure the version...), get similar complaint about not finding class, this time somehting like "could not initialize sun.awt.shell.shellFolder
I understand the groovy script calls some java libraries/scripts and does not find them? Can you guess what is missing? (or should I give more output?) Java libraries? Groovy libraries? Too old libraries/scripts? Also, does that groovy script require a minimum groovy/freemind version, etc?
Thanks, any hints will be most appreciated!!
get error