[O] Freemind export/import to/from org mode
Hi, I use org-freemind-from-org-mode on the following org file: ---beginning of file--- * Root node ** Parent This is the node's note *** Child ---end of file--- It generates an mm file. I expected the contents of the entries in the org file to be exported as notes of the nodes in the mind map. Instead, they are exported as child nodes whose titles are the notes. As a result, in this example Parent has two children (Child and a note) in the mind map. In fact, if I take the mm file and import it back to org using org-freemind-to-org-mode, I get the following: ---beginning of file--- * Root node ** Parent *** This is the node's note *** Child ---end of file--- Is there a way to export the contents of an entry as notes in the mind map? I face the same problem in the other direction. If I add a note to the mind map and then export it to org, the note does not make it to the org file. I would appreciate any help with these issues. Thanks, Gonzalo
Re: [O] freemind export bug
Hello, Jan-Mark Batke writes: > Hi, > using the freemind exporter I got the error > > : org-freemind-export-to-freemind: Symbol's function definition is void: \, > > so I removed the "," in this function. > > :org-export-to-file 'freemind ,file > to > :org-export-to-file 'freemind file > > Now it does work. Fixed. Thank you. Regards, -- Nicolas Goaziou
[O] freemind export bug
Hi, using the freemind exporter I got the error : org-freemind-export-to-freemind: Symbol's function definition is void: \, so I removed the "," in this function. :org-export-to-file 'freemind ,file to :org-export-to-file 'freemind file Now it does work. Best Jan-Mark -- Jan-Mark Batke bad...@gmx.net FON +49 511 33 64 800 FAX +49 511 22 09 521
Re: [O] freemind export?
Deas Jambunathan, I found the bug: Windows-Emacs was missing the libxml2 library. I got the libxml2-2.7.8.-w32-bin.zip, copied the content of /bin into Emacs' /bin directory and now the formatting works. I think it would be nice to have the level 0 node (title) formatted as but that can probably done by using the style system. BTW: Freeplane messes the UTF-8 characters up when importing, that's why I use freemind. Thanks for your work, Christof 2013/11/5 Jambunathan K > Christof Spitz writes: > > > 1. could you send me the variable settings of the exporter in your . > > emacs? > > No customization at my end. > > emacs -Q -l ~/.emacs-minimal > > > --8<---cut here---start->8--- > kjambunathan@debian-6:~$ cat .emacs-minimal > > (add-to-list 'load-path "~/src/org-mode/lisp/") > (require 'org-loaddefs) > > (add-to-list 'load-path "~/src/org-mode/contrib/lisp/") > (require 'ox-freemind) > > --8<---cut here---end--->8--- > > C-c C-e f f > > > 2. could you send me / or point me to the latest version of > > ox-freemind.el that you are using? > > I am using whatever that comes with Org-mode right now, with only change: > Do a add (require 'cl). > > My version: > http://repo.or.cz/w/org-mode/org-kjn.git > > > http://repo.or.cz/w/org-mode/org-kjn.git/blob_plain/01db56d04ad8842da74c358ae6e27fe8147f6808:/contrib/lisp/ox-freemind.el > > > Org-mode version: > > > http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/ox-freemind.el;hb=HEAD >
Re: [O] freemind export
Brian Keats writes: > OK, thanks anyway. I'd love to help, but I'm not a programmer. Freemind exporter is based upon HTML exporter. If you tell me precisely what markups you need i.e., circulate an Org file and the desired mm file you want produced I can do further investigation.
Re: [O] freemind export?
Christof Spitz writes: > 1. could you send me the variable settings of the exporter in your . > emacs? No customization at my end. emacs -Q -l ~/.emacs-minimal --8<---cut here---start->8--- kjambunathan@debian-6:~$ cat .emacs-minimal (add-to-list 'load-path "~/src/org-mode/lisp/") (require 'org-loaddefs) (add-to-list 'load-path "~/src/org-mode/contrib/lisp/") (require 'ox-freemind) --8<---cut here---end--->8--- C-c C-e f f > 2. could you send me / or point me to the latest version of > ox-freemind.el that you are using? I am using whatever that comes with Org-mode right now, with only change: Do a add (require 'cl). My version: http://repo.or.cz/w/org-mode/org-kjn.git http://repo.or.cz/w/org-mode/org-kjn.git/blob_plain/01db56d04ad8842da74c358ae6e27fe8147f6808:/contrib/lisp/ox-freemind.el Org-mode version: http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/ox-freemind.el;hb=HEAD
Re: [O] freemind export?
Christof Spitz writes: > #+TITLE: SUBJEKT > #+AUTHOR: Christof > #+OPTIONS: H:4 > > * Headline 1 > > ** Sub 1.1 > ** Sub 1.2 > > * Headline 2 > > ** Sub 2.1 > ** Sub 2.2 > > Branch "Headline 2" should be place to the left of the central SUBJECT > in Freemind. It is getting placed rightly. Here is the screenshot of what I get (with no additional customizations at my end). I use freeplane, btw. As for styles, you need to customize your styles in Freemind exporter and move over the XML to ox-freemind.el. If you have a specific question wrt style, I can help. But I need to be convinced that you are using the right exporter i.e., no installation issues etc etc etc. <>
Re: [O] freemind export?
Christof Spitz writes: > Hello, > > seems the freemind export is no longer supported in org.mode. Not true. The exporter is available over the new export framework. > Though I found the ox-freemind.el somewhere on the net, You are looking for Jesus in a mosque. The right place would org-plus-contrib elpa distribution or a git checkout. > I am desperately looking for a documentation. M-x find-library RET ox-freemind RET Just look at English strings there. That should give you a pretty good idea of what you can do. You can also search for the string - left or right - and you know that the exporter already has some trick up it's sleeve. > I want to position nodes on the left, for example, but I don't know > how to pass optional parameters to the converter. Unless you give an example, it is difficult for me to understand what you want to achieve. How does your Org file look like and what node you want to position left. > Thanks > Christof
Re: [O] freemind export?
See the attachment. You can search for right and left in the XML produced. First headline goes right, second headline goes left, third one goes right, so on and so forth. If you could locate the bug I am willing to circulate a fix. freemind.mm Description: freemind.mm Christof Spitz writes: > Does freeplane do the placing or is it due to a POSITION switch in the > mm-file? Could you post the exported mm-file please for comparison, > please? > > Thanks > Von: Jambunathan K > Gesendet: 04.11.2013 07:37 > An: Christof Spitz > Cc: emacs-orgmode@gnu.org > Betreff: Re: freemind export?
Re: [O] freemind export?
Thanks here is a part of your mm-xml-code: Sub 1.1 and here is mine, containing no formatting attributes: Sub 1.1 I was not able to change the setting of "org-freemind-style-map-function", didn't understand the syntax. Seems you have another setting there that makes use of your predefined styles. 1. could you send me the variable settings of the exporter in your .emacs? 2. could you send me / or point me to the latest version of ox-freemind.el that you are using? I am not a programmer, so I don't much about what is going on in the lisp code. Thanks for helping, Christof 2013/11/4 Jambunathan K > > See the attachment. > > You can search for right and left in the XML produced. First headline > goes right, second headline goes left, third one goes right, so on and > so forth. > > If you could locate the bug I am willing to circulate a fix. > > > > Christof Spitz writes: > > > Does freeplane do the placing or is it due to a POSITION switch in the > > mm-file? Could you post the exported mm-file please for comparison, > > please? > > > > Thanks > > Von: Jambunathan K > > Gesendet: 04.11.2013 07:37 > > An: Christof Spitz > > Cc: emacs-orgmode@gnu.org > > Betreff: Re: freemind export? > >
Re: [O] freemind export
OK, thanks anyway. I'd love to help, but I'm not a programmer. Brian On Mon, Nov 4, 2013 at 7:22 AM, Bastien wrote: > Hi Brian, > > Brian Keats writes: > > > I'm just getting started with org-mode, and I seem to be having an > > issue with freemind export. None of the structural elements (http:// > > orgmode.org/manual/Easy-Templates.html) seem to be recognized when > > exported to freemind (except html). I'm interested in example mode so > > my pasted text files show up as plain text. Am I doing something > > wrong, or is this a limitation? P.S., I'm working in windows. > > I guess it's a limitation -- by the way, the freemind exporter needs > love and maintainership, help welcome here. > > Thanks, > > -- > Bastien >
Re: [O] freemind export
Hi Brian, Brian Keats writes: > I'm just getting started with org-mode, and I seem to be having an > issue with freemind export. None of the structural elements (http:// > orgmode.org/manual/Easy-Templates.html) seem to be recognized when > exported to freemind (except html). I'm interested in example mode so > my pasted text files show up as plain text. Am I doing something > wrong, or is this a limitation? P.S., I'm working in windows. I guess it's a limitation -- by the way, the freemind exporter needs love and maintainership, help welcome here. Thanks, -- Bastien
Re: [O] freemind export?
my installation of ox-freemind.el: - put ox-freemind.el in list/org - directory - (require 'cl) in init.el - custom settings in initl.el: '(org-export-backends (quote (ascii beamer html icalendar latex freemind))) '(org-freemind-pretty-output t) '(org-freemind-style-map-function (quote org-freemind-style-map--automatic)) run C-c C-e f f in org-buffer open in freemind or freeplane current version (no difference, all branches always placed to the right of main subject). Christof 2013/11/4 Jambunathan K > Christof Spitz writes: > > > #+TITLE: SUBJEKT > > #+AUTHOR: Christof > > #+OPTIONS: H:4 > > > > * Headline 1 > > > > ** Sub 1.1 > > ** Sub 1.2 > > > > * Headline 2 > > > > ** Sub 2.1 > > ** Sub 2.2 > > > > Branch "Headline 2" should be place to the left of the central SUBJECT > > in Freemind. > > It is getting placed rightly. > > Here is the screenshot of what I get (with no additional customizations > at my end). I use freeplane, btw. > > As for styles, you need to customize your styles in Freemind exporter > and move over the XML to ox-freemind.el. If you have a specific > question wrt style, I can help. But I need to be convinced that you are > using the right exporter i.e., no installation issues etc etc etc. > >
Re: [O] freemind export?
Does freeplane do the placing or is it due to a POSITION switch in the mm-file? Could you post the exported mm-file please for comparison, please? Thanks Von: Jambunathan K Gesendet: 04.11.2013 07:37 An: Christof Spitz Cc: emacs-orgmode@gnu.org Betreff: Re: freemind export? Christof Spitz writes: > #+TITLE: SUBJEKT > #+AUTHOR: Christof > #+OPTIONS: H:4 > > * Headline 1 > > ** Sub 1.1 > ** Sub 1.2 > > * Headline 2 > > ** Sub 2.1 > ** Sub 2.2 > > Branch "Headline 2" should be place to the left of the central SUBJECT > in Freemind. It is getting placed rightly. Here is the screenshot of what I get (with no additional customizations at my end). I use freeplane, btw. As for styles, you need to customize your styles in Freemind exporter and move over the XML to ox-freemind.el. If you have a specific question wrt style, I can help. But I need to be convinced that you are using the right exporter i.e., no installation issues etc etc etc.
Re: [O] freemind export?
Hello Jambunathan, thanks for your quick reply. > I am desperately looking for a documentation. > > M-x find-library RET ox-freemind RET > > Just look at English strings there. That should give you a pretty good > idea of what you can do. > > Yes, I looked at the file for hours to try to figure out how it works. I am probably too stupid, sorry (not joking here). The beginning of the file says: >> See ox.el for more details on how this exporter works. << I did look, but didn't find any information there. You can also search for the string - left or right - and you know that > the exporter already has some trick up it's sleeve. > I searched, but didn't understand the "trick". > > > I want to position nodes on the left, for example, but I don't know > > how to pass optional parameters to the converter. > > Unless you give an example, it is difficult for me to understand what > you want to achieve. How does your Org file look like and what node you > want to position left. > Like this: #+TITLE: SUBJEKT #+AUTHOR: Christof #+OPTIONS: H:4 * Headline 1 ** Sub 1.1 ** Sub 1.2 * Headline 2 ** Sub 2.1 ** Sub 2.2 Branch "Headline 2" should be place to the left of the central SUBJECT in Freemind. I also don't understand how to access the other styles 0-5 that a predefined. Thanks again Christof
[O] freemind export?
Hello, seems the freemind export is no longer supported in org.mode. Though I found the ox-freemind.el somewhere on the net, I am desperately looking for a documentation. I want to position nodes on the left, for example, but I don't know how to pass optional parameters to the converter. Thanks Christof
[O] freemind export
I'm just getting started with org-mode, and I seem to be having an issue with freemind export. None of the structural elements ( http://orgmode.org/manual/Easy-Templates.html) seem to be recognized when exported to freemind (except html). I'm interested in example mode so my pasted text files show up as plain text. Am I doing something wrong, or is this a limitation? P.S., I'm working in windows. Thanks Brian
Re: [O] Freemind export and import question/suggestion (newlines problem)
Johnny writes: > Hi, > > I am trying out the excellent freemind exporter/importer and am running > into issues with long node names and newlines. > > 1) Exporting org to freemind (node name length limitation?) > In org-mode, none of the headlines can contain newlines, so occasionaly > they get a bit long. This is not a (big) issue in org, but when exorting to > freemind, I would like to limit the names to a maximum length, as the > mindmap display in freemind need reasonably short node names to give a > clear overview. It would be great to be able to do this with the > exporter by setting a variable / giving a prefix number. > > 2) Importing freemind to org (remove newlines?) > For now, I have manually split some lines in freemind to get a good > mindmap, but then the issue is that when re-importing to org, the > headlines are including the newline, hence the org-mode headings are > broken. This may be easily done by replacing all newlines in the node > name when importing, but being Lisp challenged I cannot find where in > org-freemind.el this replacement should be done. > > 3) Importing freemind to org (centered nodes) > I noticed also that nodes in freemind that were centered broke the org > import fairly bad by splitting the node name over several lines with > blank lines in between. And none of the textual lines were actually > displayed as a headline. I don't really have an issue with this, as I > can do without changing from the default alignment in freeming, but > thought I'd include it in this writeup. > > If anyone has an idea of how to solve this or could point me in the > right direction that would be great! > Of course, right after posting I found the setting in freemind to limit node length [1]. The solution for now is to avoid using newlines altogether in the node names. This means all node levels will have the same length, but this is ok for me. Sorry for the noise! Footnotes: [1] Under 'Tools -> Preferences' under the tab 'Defaults' there's a 'Max Node Width' that can be set. -- Johnny
[O] Freemind export and import question/suggestion (newlines problem)
Hi, I am trying out the excellent freemind exporter/importer and am running into issues with long node names and newlines. 1) Exporting org to freemind (node name length limitation?) In org-mode, none of the headlines can contain newlines, so occasionaly they get a bit long. This is not a (big) issue in org, but when exorting to freemind, I would like to limit the names to a maximum length, as the mindmap display in freemind need reasonably short node names to give a clear overview. It would be great to be able to do this with the exporter by setting a variable / giving a prefix number. 2) Importing freemind to org (remove newlines?) For now, I have manually split some lines in freemind to get a good mindmap, but then the issue is that when re-importing to org, the headlines are including the newline, hence the org-mode headings are broken. This may be easily done by replacing all newlines in the node name when importing, but being Lisp challenged I cannot find where in org-freemind.el this replacement should be done. 3) Importing freemind to org (centered nodes) I noticed also that nodes in freemind that were centered broke the org import fairly bad by splitting the node name over several lines with blank lines in between. And none of the textual lines were actually displayed as a headline. I don't really have an issue with this, as I can do without changing from the default alignment in freeming, but thought I'd include it in this writeup. If anyone has an idea of how to solve this or could point me in the right direction that would be great! Thanks -- Johnny