Re: [Zim-wiki] Thunderbird compatible?
You could probably write a new extension to do what you want without much hassle. My (unmaintained) Zim Capture extension may be a good starting point - look at the source code, it's pretty simple. AFAIK I did not use Firefox's SDK, I used the old XPCOM stuff. On Aug 17, 2012 7:07 PM, Rui Nibau rui.ni...@omacronides.com wrote: Le ven. 17 août 2012 18:24:14 CEST, Peter Schwede a écrit : but maybe you can use the add-on SDK for Thunderbird with the same thing you made? There is no add-on SDK for Thunderbird. The add-on SDK is a specific tool that provides a simple developpment platform and APIs to communicate with Firefox and Fennec (Firefox mobile). Only the html to wiki module could be reuse in a thunderbird extension, but i don't have any knowledge of thunderbird APIs. -- Rui Nibau http://omacronides.com ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] mime type of zim notes
Hi Marcel, I can confirm this on Arch Linux with gvfs 1.10.1-1. I suppose it's to be somewhat expected considering it actually is a plain text file and this was a design goal of zim (to have human readable raw files). I've had a quick look over /usr/share/mime/packages/zim.xml and everything looks in order. The command xdg-mime query filetype /path/to/zim/file.txt also gives text/plain. xdg-mime is the reference implementation of the specification, so I think there might be something wrong with the way zim declares the mime type. You may find the following reference useful: http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec Regards, Mike On Sun, Dec 4, 2011 at 1:21 PM, Marcel Stimberg stimb...@users.sourceforge.net wrote: Hi all, after letting the code rot for a while, I finally want to finish the Zeitgeist integration plugin for zim[1]. However, the usefulness is currently reduced because the mime type of zim pages is not correctly detected by my system (Ubuntu 11.10) -- did anyone else notice this as well? The file utility works fine, but the Gnome environment (e.g. nautilus) just recognizes the file type as text/plain: $file foo.txt foo.txt: text/x-zim-wiki $ gvfs-info foo.txt | grep content-type standard::content-type: text/plain standard::fast-content-type: text/plain Thanks, Marcel [1] https://bugs.launchpad.net/zim/+bug/610515 ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] mime type of zim notes
Hi Marcel and Svenn, Obviously Jaap will have to decide as it's his project. But I'd be very much in favour of using a different file extension for zim's files. I see only benefits. We gain the ability to do a fast mimetype determination and with it the ability to integrate into things like Zeitgeist. It won't change the ability to open zim files in a plain text editor such as vim or gedit. In fact, if anyone needs this, all they need to do is change the default program for the mimetype (which is easily done from Nautilus) or access from the open dialogue of the program. I note that the mime file for zim describes zim's format as a subset of plain text, so you would hope that anything that struggled with the idea of text/x-zim-wiki would see text/plain and treat it as such. I can't remember for sure, but I seem to recall older versions of zim (perhaps even back to the Perl Zim) not having the current header information etc. that they do. Perhaps Jaap could confirm whether I'm imagining this or not. In those days, it would obviously make sense for them to be referred to as plain text, because that's actually all they were. Now it's closer to file format in its own right. Regards, Mike On Sun, Dec 4, 2011 at 10:09 PM, Svenn Are Bjerkem svenn.bjer...@googlemail.com wrote: On 4 December 2011 22:49, Marcel Stimberg stimb...@users.sourceforge.net wrote: Hi Michael, I think there are two solutions to this problem: * Register the .txt extension for the text/x-zim-wiki mime type -- this has the small disadvantage that for all .txt files, a time-costly (relatively speaking) content lookup has to be performed * Use a different extension for zim notes (e.g. Tomboy uses .note) Any thoughts on this? I really would like to see zim accept that .txt files are pure text files and not supposed to be interpreted. Maybe making the extension configurable in the notebook.zim file? Using 'find' or 'locate' in unix looking for files with ending .txt seldom show me only my zim notebook pages. -- Svenn ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
[Zim-wiki] Customising style.conf
Hi, I'm trying to configure style.conf so that it matches how LaTeX looks (I've been using a lot of formulae and tables). I have two problems: 1. I don't seem to be able to specify a font -- I can set it to sans-serif or serif, but not something like Times New Roman. Is there a way to do this 2. I can't set global styles under [TextView], nothing seems to happen. Customisations that work under the other headings work fine, but not under TextView -- same behaviour in 0.49 and r337 Regards, Mike ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Bounty for Tables Implementation
I use it for both, but more presentation. Well, perhaps, rather than presentation, it would be better to say that I use them for displaying tabular information, because I don't use it for layout or prettiness, I use it for clarity. Merge-able cells would be very nice as would formatting inside of cells. As for hard data and sorting and all of that, I would probably just attach a spreadsheet for that kind of thing. We have to be careful with Zim, it is a note taking application, not the be all and end all of knowledge storage. I suppose my thoughts are, leave the large data tables and all that they bring for specialist programmes and focus on tables that can be used to represent sensible sized amounts of information. Examples For Zim: * verb conjugation tables * a set of 10 specific heat capacities * a small address book Examples Not For Zim: * a set of specific heat capacities for all know oxides * a large company's telephone directory All just in my opinion of course. I just think we should think of Zim for the storage of knowledge and information rather than hard data. ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Zim Capture
Vlastimil, No problem. I'll add putting a walkthrough on my page to my to do list. This is a bug in Zim, not Zim Capture. Could you report it as a bug on the Zim tracker (link below)? Please take care to include your OS, Zim version and the error message that you posted. It would probably pay to mention that you were using Zim Capture so that other people can try to reproduce it. https://bugs.launchpad.net/zim/+filebug If you're not using Zim 0.49 (I don't think any stable versions of Linux distributions are shipping with this at the moment because it's quite new), then please upgrade to Zim 0.49 and make sure that the bug still exists before filing a report. Regards, Mike ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
[Zim-wiki] Bounty for Tables Implementation
There has been a feature request for tables in Zim since March 2008, this is by far my most wanted feature in Zim right now. This would massively increase the usefulness of Zim for me. In light of this, I'm willing to put up a bounty for this. Subject to the writing of a specification, I'd be willing to pay between £70 and £100 (~ 110 USD to 160USD,~ €80 - €120). Perhaps other people would be prepared to chip in to make it more worthwhile. I would draw out a clear agreement (doesn't really matter if it's binding or not, pretty hard to enforce if you're in different countries), to try to avoid any bad feeling if it wasn't successful. International payments would be by something like Paypal. UK payments would preferably be by BACS. Other methods could be considered. This doesn't need to be limited to the Zim project's current contributors. If you know anyone (of good repute) who'd be interested, please pass this on to them. Short specification: * some kind of table widget needs to be embedded into a standard Gtk+ text editor (or we need a substantial rewrite of that part of Zim, but that would be far from ideal) * it should be native if at all possible (rather than requiring LaTeX, although that's a useful work around) * must be easy to use * must follow existing coding conventions in Zim * must be released under the all of the same licenses as Zim See also: https://bugs.launchpad.net/zim/+bug/208589 That said, if someone was prepared to write a plug-in that could create and edit embeddable LaTeX tables (with a good GUI interface), I would be willing to pay a bounty for that as well, perhaps not as much though, we'd have to discuss. Money is tight. As long as it is declared and compatible with Zim's licensing, I have no problem with you reusing other people's work. Contact me directly or via this list, whichever you'd rather. If other people are willing to contribute to a bounty, please get in contact via the list. Regards, Mike P.S. This is just a proposal at this stage. ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
[Zim-wiki] Zim Capture Translation
Hi All, I have set up translation of Zim Capture on BabelZilla. I would have preferred Launchpad, but BabelZilla was far easier for me. The interface is a bit clunky so it may take a bit of getting used to. If you want to help, go to: http://www.babelzilla.org/forum/index.php?showtopic=6367 , click View on WTS. Regards, Mike ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp