Re: [Zim-wiki] Port to Qt
I have no plans to make the application public because it is not in a sufficiently good state at present. This is partly because I decided to move it to Python3 and Qt5 and that version is still in the early stages due to lack of time. I don't want to start a discussion of an application which isn't Zim on a Zim forum. I just wanted to point out that in my view switching to Qt is not necessarily easy and if you want to do that it is probably best to use the design ideas of Zim to build a new application rather than base it on existing code. I have not considered using the application on a phone or laptop because the design is aimed at a desktop. I don't think it would work on a small format screen without some significant re-design. As Zim aims to be a Python application it might be worth looking at the Whoosh library to provide Python-based full-text indexing. I found it fairly easy to add to my application. Searching data is provided by special formatting of text in the notebook page, for example you can search by place, date, description etc.. I use the application to build up information about historical photographs by creating a notebook page; adding the photograph; creating notes to describe the content, origin etc.; assigning keywords; copying relevant information and links from the Internet. The long-term aim is to have a read-only version that can be used in kiosk mode. A read-only version would be the most likely target for a phone or tablet version, in which case I would serve the pages as web-pages using HTML5. Bill 3/03/15 03:03, Matt Bromberg wrote: Are you releasing your efforts to the public? Can't you link to any note from any other note in zim? How does this constrain your hierarchy? Are you referring to the directory structure in zim? Also did the use of Qt actually enable you to create a tablet/phone ready version of your code? I ask this because it would be nice to have a successful use case of real cross platform, desktop to tablet, gui development. I'm also curious what kind of data you handle? From the note taking point of view and text handling the only thing that's really missing in zim would be a way to handle code syntax with syntax highlighting. One of the things I love about zim is how easy it is to create cross links to other notes or even empty links to yet to be created notes. The second thing, which is indispensable, is the ability to handle equations. I still use kile to enter my latex though because the latex window in zim is a bit cramped. -Matt On 03/22/2015 07:31 AM, Bill Oldroyd wrote: I use Zim a little. It is a fine piece of software, but I don't have a day-to-day need for it. There were features I needed that were not present - for example handling data, full text searching, pages appearing in more than one hierarchy. So, for my own use I have written a replacement in Python 2 using the PyQt4 libraries. Qt has some nice tools for creating a notebook application, for example QtTextEdit. Likewise QtWebKit allows you to integrate a browser with the editor. You might wonder why, but data extraction from one to the other is useful when the notebook application has direct access to the web page content. It was also easy to include full text indexing using the Whoosh library. In my experience, it would be better to start from scratch on something similar to Zim rather than trying to migrate the current code to Qt, though someone who is more familiar with the Zim code might disagree. ___ 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] Inserting standard text into a page
Thanks for these ideas but I was thinking of something more integrated with Zim, the main reason being I want to be able to create the expanded text within Zim with all it's formatting, inclusion of images, etc.. I don't know whether this is practical, but I suggest the following : The abbreviations and text should be in a special Zim Notebook (in a similar way to Help). Each abbreviation is the key to a page in this special Notebook. The text to be added is the content of the page. The expansion of an abbreviation is invoked by a hotkey combination or clicking an icon or application menu entry (probably under Edit). A menu of abbreviations is opened. The user starts to type the abbreviation and the first matched menu item is highlighted. The user can also scroll the menu and select an abbreviation with the mouse or arrow keys. The expanded text matching the abbreviation is inserted into the text by pressing RETURN or double clicking the menu entry. The inclusion of the text can be reversed in the standard way using Undo or ctrl-Z. There is a button on the each menu entry which when clicked allows the user to edit the abbreviation by opening the appropriate page in the special Zim Notebook. The special Zim Notebook can be opened by an application menu entry (probably under Edit) thus allows the creation of new abbreviations, editing and deleting of existing ones. Bill On 16/10/13 18:43, NorfCran wrote: I would like to add that there is also Kupfer http://engla.github.io/kupfer/help/, which is similar to very well known Quicksilver http://qsapp.com/wiki/Main_Pageand it offers ZIM-Wiki plugin (this is out of the topic, but still relevant information). The Kupfer link points to a documentation, where are more details and examples. For instance you can activate plugin called Send keys utilizing xautomator (it has to be installed in the system). After that, I have realized your request by following steps: 1. activate kupfer inpput dialog (ctrl+spacebar by default) 2. press . than you can write your text (or paste it from a clipboard) 3. press tab key and locate Paste to Foreground Window 4. press ctrl+enter (it chains the commands) 5. press tab key and locate Run 6. press ctrl+enter (it chains the commands) 7. press tab key and locate Add Trigger... 8. enter and set in your preferred shortcut Finally you are ready to use the shortcut and trigger insertion of text in ZIM-Wiki window. I use this program also for bookmarking the pages, so I have instant access to certain pages through the triggers. I believe that this accelerator can speed up work in ZIM-Wiki, especially when it has a native support by the plugin. JK On 16 October 2013 00:59, Bill Oldroyd billoldr...@gmail.com mailto:billoldr...@gmail.com wrote: I am using Ubuntu 13.10. I downloaded Autokey but just straight-off I can't get it to work. I am going to have to spend some time looking at the Help and understanding how it works. I was thinking that the expansions need to be built using Zim so that formatting, links, etc can be a part of the expansion. Doing this through Autokey might be difficult, as it would be if we used a configuration file in a similar to Insert symbol. One option would be to have a special page containing the abbreviation/expansion pairs. Another would be to have a separate page for each expansion. Bill On 15/10/13 22:25, Chris Habasinski wrote: +1 I am running Xubuntu and Autokey works great. On 10/15/2013 10:48 AM, Vagn Bjørno wrote: If you use Linux you could use AutoKey: AutoKey is a desktop automation utility for Linux and X11. It allows you to manage collection of scripts and phrases, and assign abbreviations and hotkeys to these. This allows you to execute a script or insert text on demand in whatever program you are using. https://code.google.com/p/autokey/ Regards Vagn Bjørno On 10/15/2013 02:00 PM, Jaap Karssenberg wrote: Bill, Afraid there is no such plugin available at the moment. If you have some experience with Python you might give it a try to develop one. Have a look at the line sorter and insert symbol plugins to get an idea of the code you need to make it. Regards, Jaap On Tue, Oct 15, 2013 at 12:29 PM, Bill Oldroyd billoldr...@gmail.com mailto:billoldr...@gmail.com mailto:billoldr...@gmail.com mailto:billoldr...@gmail.com wrote: Is there a plugin that allows me to insert standard text into a page. There a number of words, phrases and blocks of text that I use frequently and I wish to be able to input them with a few keystrokes. If you want an idea of what I mean, I wish to have something similar to the Snippets Manager available in GEdit. If there is not a plugin for this, can you give me a point in the code
[Zim-wiki] Inserting standard text into a page
Is there a plugin that allows me to insert standard text into a page. There a number of words, phrases and blocks of text that I use frequently and I wish to be able to input them with a few keystrokes. If you want an idea of what I mean, I wish to have something similar to the Snippets Manager available in GEdit. If there is not a plugin for this, can you give me a point in the code where I might be able to add this feature ?. ___ 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] Inserting standard text into a page
I am using Ubuntu 13.10. I downloaded Autokey but just straight-off I can't get it to work. I am going to have to spend some time looking at the Help and understanding how it works. I was thinking that the expansions need to be built using Zim so that formatting, links, etc can be a part of the expansion. Doing this through Autokey might be difficult, as it would be if we used a configuration file in a similar to Insert symbol. One option would be to have a special page containing the abbreviation/expansion pairs. Another would be to have a separate page for each expansion. Bill On 15/10/13 22:25, Chris Habasinski wrote: +1 I am running Xubuntu and Autokey works great. On 10/15/2013 10:48 AM, Vagn Bjørno wrote: If you use Linux you could use AutoKey: AutoKey is a desktop automation utility for Linux and X11. It allows you to manage collection of scripts and phrases, and assign abbreviations and hotkeys to these. This allows you to execute a script or insert text on demand in whatever program you are using. https://code.google.com/p/autokey/ Regards Vagn Bjørno On 10/15/2013 02:00 PM, Jaap Karssenberg wrote: Bill, Afraid there is no such plugin available at the moment. If you have some experience with Python you might give it a try to develop one. Have a look at the line sorter and insert symbol plugins to get an idea of the code you need to make it. Regards, Jaap On Tue, Oct 15, 2013 at 12:29 PM, Bill Oldroyd billoldr...@gmail.com mailto:billoldr...@gmail.com wrote: Is there a plugin that allows me to insert standard text into a page. There a number of words, phrases and blocks of text that I use frequently and I wish to be able to input them with a few keystrokes. If you want an idea of what I mean, I wish to have something similar to the Snippets Manager available in GEdit. If there is not a plugin for this, can you give me a point in the code where I might be able to add this feature ?. _ Mailing list: https://launchpad.net/~zim-__wiki https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net mailto:zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-__wiki https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/__ListHelp 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 ___ 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] Ubuntu Dash and Zim txt files
This request is specific to Ubuntu. I have no idea whether it is relevant to other operating systems. The Ubuntu Dash allows the input of search terms to select a file. This can be used to identify a specific Zim page - quite a useful feature. However, as Zim pages are stored as *.txt files, the Dash opens them in the default text editor rather than Zim. This cancels out the usefulness :-). Is it possible Zim could use a dedicated file type for it's pages and thus automatically load pages in Zim when they are run ?. Or, is there any other way a Zim page can be recognised by the dash ?. ___ 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] html export template: center images
Hi Ramiro, Could you do this by making two changes?. It would mean all images would be centred. In /usr/share/zim/Templates/Default.html add a CSS statement img.center { display: block; margin-left: auto; margin-right: auto; } and then in /usr/share/pyshred/zim/formats/html.py add class=center the string used for translating the element tag for an image to html img ... / : output.append('img src=%s* class=center* alt=%s%s' % (src, text, opt)) Providing control over where individual images should be placed is considerably more complicated. Bill On Fri, Dec 3, 2010 at 2:55 PM, Ramiro Magno ramiro.ma...@gmail.com wrote: Hi is there a way of editing an html template such that all images get automatically centered? Thanks Ramiro ___ Mailing list: https://launchpad.net/~zim-wikihttps://launchpad.net/%7Ezim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wikihttps://launchpad.net/%7Ezim-wiki More help : https://help.launchpad.net/ListHelp -- Bill Oldroyd Technical consultant for The European Library ___ 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] Bug in Edit Preferences Plug Ins Tray Icon
Hi, In the Edit Preferences interface, once the Tray Icon option is selected it is not possible to de-select it. Version 0.42 Beta 3 Bill -- Bill Oldroyd Technical consultant for The European Library ___ 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] Document folder and document root - difference
On Mon, Jan 26, 2009 at 7:02 PM, Dotan Cohen dotanco...@gmail.com wrote: 2009/1/26 Pablo Angulo pablo.ang...@uam.es: Hello, Dotan: I'd like to disagree, but not too much: Dotan Cohen wrote: ...what other application can read the wiki-style code anyway... Well, I like about zim that it's just text files I can hack using very simple string manipulation in python, and edit with any editor just in case. Another example: zim doesn't have the replace in all open files capabilities of a text editor like geany, and I've used geany to do the job for zim (nothing important, just to clean my own mess). there is no need for it to be anywhere other than a hidden .zim directory. on the other hand, I can also mess with the files if they are in the .zim folder. Exactly, you as a power user can play with the dotfiles just as if they were not hidden. My mother in law, however, can't seem to keep herself from poking around (and fidling with, by accident she says) all the non-hidden folders in her home directory. If it's not meant to be manipulated with a file manager, let it be hidden! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü ___ Mailing list: https://launchpad.net/~zim-wikihttps://launchpad.net/%7Ezim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wikihttps://launchpad.net/%7Ezim-wiki More help : https://help.launchpad.net/ListHelp Some people, like myself, like to organise our data, documents etc. by topic in folders. It makes it easier to what is relevant to a particular topic and also to move them about. Hiding the wiki files within the application prevents this and is something to be avoided unless there is a very good reason. Bill -- Bill Oldroyd Technical consultant for The European Library ___ 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