I use ZIM desktop wiki to keep all kind of notes. Sometimes I want to share my notes. This is easy enough when I want to share the whole notebook. I simply send the whole folder containing the ZIM notebook (zipped or not) to my collaborator.
But what if you want to share only a section of the notebook? On a similar note, what if I want to export part of my notebook as html files? ZIM only offers the option to export one page or the whole notebook.
Update: In version 0.61 of Zim it is now possible to export sub-nodes directly
The trick is to create a new ZIM notebook from the section you want to share or export. This is very simple because a ZIM notebook is ‘just’ a collection of wiki pages which are stored as plain text files in a folder structure, with sub-notes being kept in sub-folders.
You can thus copy the sub-notebook (e.g., the whole folder ‘ZIM’ in the example above) to a new folder and create a notebook from that. To create this new ZIM notebook, you simply select ‘Open’ in the menu (or use Ctrl+O) and instead of selecting an existing notebook, select ‘Add’.
Next, browse to the copied folder (ZIM in this case), select it and give an appropriate name to the notebook (default is the same name as the folder) and press OK. All existing text files will be automatically indexed when you select and open your new notebook.
So, to recapitulate: you copy your sub-notebook to another location (step 1) and use that copy to create a new notebook (step 2).
There is one obvious disadvantage… you now have two versions of the same set of notes. If that is not what you want, the solution is very simple, just skip the first step. and create a new notebook directly from the original (sub)folder ‘ZIM’.
In other words, you just create a Zim notebook within a Zim notebook. You can just work with it like any other notebook, including sharing and exporting. At the same time, changes you make in the “new” notebook ‘ZIM’ are (obviously) reflected in the ‘Software sources’ notebook.