Zim

How does ZIM distinguish between ZIM pages and attachments?

Asked by Miro

How does ZIM distinguish between ZIM pages and attachements in the notebook? Is the tree structure of the notebook written in some hidden file?

I have manually added some text files into the attachment folder of one of my pages, but, unformtunatelly, ZIM regarded them to be new subpages after restart (which was something I did not intend). Is there a way how to safely add text file as an attachment (and not as a subpage)?

Remark: After copying a very large text file into some of my attachment folder and restarting the ZIM application, the application stopped responding (maybe only temporarily). After "forcing the application to quit" from the Gnome dialog box, the ZIM main window was stopped, but the ZIM tray icon remained on the Gnome panel and I had to kill it (two python instances) manually.

Question information

Language:
English Edit question
Status:
Answered
For:
Zim Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) said :
#1

Current version of zim simply regards all text files (ending in
".txt") as pages. There is a plan to change this and make it
distinguish based on the headers at the start of a file, but that is
not yet implemented.

Work around for now to use a different file extension for such attachments.

Regards,

Jaap

On Sat, May 4, 2013 at 1:01 PM, Miro
<email address hidden> wrote:
> New question #228136 on Zim:
> https://answers.launchpad.net/zim/+question/228136
>
> How does ZIM distinguish between ZIM pages and attachements in the notebook? Is the tree structure of the notebook written in some hidden file?
>
> I have manually added some text files into the attachment folder of one of my pages, but, unformtunatelly, ZIM regarded them to be new subpages after restart (which was something I did not intend). Is there a way how to safely add text file as an attachment (and not as a subpage)?
>
> Remark: After copying a very large text file into some of my attachment folder and restarting the ZIM application, the application stopped responding (maybe only temporarily). After "forcing the application to quit" from the Gnome dialog box, the ZIM main window was stopped, but the ZIM tray icon remained on the Gnome panel and I had to kill it (two python instances) manually.
>
>
>
> --
> You received this question notification because you are an answer
> contact for Zim.

Revision history for this message
Miro (miro9am) said :
#2

Thank you for the explanation.

Can you help with this problem?

Provide an answer of your own, or ask Miro for more information if necessary.

To post a message you must log in.