GithubHelp home page GithubHelp logo

mindmaps-2-tex-converter's Introduction

mindmaps-2-tex-converter

This python code takes as input a mindmap and converts it either into a nice Latexed list or into beamer slides.

To create mindmaps I can recommend free mind : project page and download

Usage: download files. Then open python interpreter e.g. ipython and type

from texcreator import *

convert_mm_2_beamer('/path/to/MindMap.mm','/path/to/beamer.tex')

convert_mm_2_tex('/path/to/MindMap.mm','/path/to/list.tex')

On UNIX systems texcreator can be used as stand-alone (map to list only). Run once:

chmod +x texcreator.py

And now invoce with:

./texcreator.py /path/to/MindMap.mm /path/to/list.tex

afterwards create pdf from latex file in command line as follows:

pdflatex /path/to/latex_file.tex

Enjoy!

mindmaps-2-tex-converter's People

Contributors

jdrudolph avatar mariru avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jdrudolph

mindmaps-2-tex-converter's Issues

Crashing with this toy example

My simple example does not work!

Mindmap Image:

map

MindMap file:

<map version="0.9.0">
<!-- To view this file, download free mind mapping software FreeMind from     http://freemind.sourceforge.net -->
<node CREATED="1392835570194" ID="ID_58614242" MODIFIED="1392835705336" TEXT="Meine Idee">
<icon BUILTIN="idea"/>
</node>
</map>

error output:

Traceback (most recent call last):
  File "./texcreator.py", line 92, in <module>
    convert_mm_2_tex(map_path, list_path)
  File "./texcreator.py", line 56, in convert_mm_2_tex
    str=str+create_sections(root)
  File "./texcreator.py", line 31, in create_sections
    str=str+'\section*{'+child.attrib['TEXT'] +'}\n'+enumerate_children(child)
KeyError: 'TEXT'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.