Re: [Zim-wiki] How to change checkbox icon size?
Hi Marco, Afraid I haven't done any work on this yet - last 3 months left me unable to do much on zim at all due to other commitments :( Sorry for that - hoping to get back to actively develop zim by the end of August. For a quick hack, you'll need to edit zim/gui/pageview.py - look for the method _insert_bullet_at_cursor (line 1096 in zim 0.60) and then in that function for the statement pixbuf = widget.render_icon(stock, gtk.ICON_SIZE_MENU) (line 1128). You can change the size constant to any of: gtk.ICON_SIZE_SMALL_TOOLBAR gtk.ICON_SIZE_LARGE_TOOLBAR gtk.ICON_SIZE_BUTTON gtk.ICON_SIZE_DIALOG And see which size suits you best. Hope this helps, Jaap On Tue, Jul 9, 2013 at 11:28 AM, Marco Cevoli marco.cev...@gmail.comwrote: Hi Jaap, any news about this request? Is there anything I can do to make icons bigger and/or scalable with the font? Thanks, Marco Cevoli On Thu, Jan 31, 2013 at 11:18 AM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: On Thu, Jan 31, 2013 at 11:11 AM, Marco Cevoli marco.cev...@gmail.com wrote: They're simple too small for me. The difference between checked-yes and checked-no is almost invisible. This is especially true when combined with a bigger font (as I did). Maybe I should look into having them scale with the font than, guess that makes sense from usability point of view. REgards, Jaap ___ 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] How to change checkbox icon size?
Thanks, Jaap. No problem at all. I suppose you refer to the source files, do you? I don't have pageview.py in my Windows installation... Best, Marco Cevoli Traduttore tecnico. Grafico. Congiungitore di punti. --- http://www.marcocevoli.com i...@marcocevoli.com t 34 675 800 826 ~~~ My t-shirt shop: http://vulnavia.spreadshirt.net My latest projects: http://www.qabiria.com, http://www.allerglobal.com On Wed, Jul 10, 2013 at 11:07 AM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Hi Marco, Afraid I haven't done any work on this yet - last 3 months left me unable to do much on zim at all due to other commitments :( Sorry for that - hoping to get back to actively develop zim by the end of August. For a quick hack, you'll need to edit zim/gui/pageview.py - look for the method _insert_bullet_at_cursor (line 1096 in zim 0.60) and then in that function for the statement pixbuf = widget.render_icon(stock, gtk.ICON_SIZE_MENU) (line 1128). You can change the size constant to any of: gtk.ICON_SIZE_SMALL_TOOLBAR gtk.ICON_SIZE_LARGE_TOOLBAR gtk.ICON_SIZE_BUTTON gtk.ICON_SIZE_DIALOG And see which size suits you best. Hope this helps, Jaap On Tue, Jul 9, 2013 at 11:28 AM, Marco Cevoli marco.cev...@gmail.com wrote: Hi Jaap, any news about this request? Is there anything I can do to make icons bigger and/or scalable with the font? Thanks, Marco Cevoli On Thu, Jan 31, 2013 at 11:18 AM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: On Thu, Jan 31, 2013 at 11:11 AM, Marco Cevoli marco.cev...@gmail.com wrote: They're simple too small for me. The difference between checked-yes and checked-no is almost invisible. This is especially true when combined with a bigger font (as I did). Maybe I should look into having them scale with the font than, guess that makes sense from usability point of view. REgards, Jaap ___ 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] Newbie spell check
UPDATE: According to Jeff this is working with a Windows 7, 64 bit. Additional Tips: Here are a couple additional tips that helped Jeff Dictionaries: Use en_US for United States English. The dictionaries are part of the Enchant install and should be someplace like: C:\Python26\Lib\site-packages\enchant\share\enchant\myspell There should be several .dic files and .aff files. The Zim configuration uses the name (without the file extension) of the .dic files. Zim Shortcut: To get Zim to run from the source code without also having a DOS window open you need to use the .pyw extension however, to get Zim to start from the .pyw you need to include --standalone in the start command. The easiest way to do this is to create a windows shortcut and in the Target field include the --standalone argument. For example my shortcut has target (quotes included): C:\Program Files (x86)\zim-0.60\zim.pyw --standalone If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation. ___ 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] A makeshift table plugin; breaks undo.
I have largely overhauled my table plugin with a new format (less boundary cases for better stability, cleaner functions, a bit of documentation). The problem of preserving Undo information persists. 2013/7/8 Klaus-Dieter Bauer bauer.klaus.die...@gmail.com Hello! I have written a make-shift table plugin, that just helps managing tables made from verbatim text (though images and links are possible, but currently break the formatting). Basically it looks for a line starting with {{| and the earliest line afterwards ending with ||} and realigns table contents in between. However, I found this extremely difficult to do on the level of the parsetree and instead extract the source code through page.dump(zim.formats.wiki), modify the source and write it back with page.parse(...). Sadly though, afterwards Undo is not possible. Is there some way that I can modify the contents of a page without breaking Undo? I have attached the experimental source and a file with example tables for reference. (Note: High risk of data loss, it's still pretty buggy). kind regards, Klaus Content-Type: text/x-zim-wiki Wiki-Format: zim 0.4 Creation-Date: 2013-07-10T16:21:28+02:00 == Table == Created Wednesday 10 July 2013 ''{| -- - -- -'' ''Value Error Source '' '' == = == ='' '' Volume 35 ų 0.3 ų ''[[CopyEquations]] '' Lattice Const. 30 Å0.1 Å ''[[Home]] '' r r '' '' -- - -- - |}'' ''{| | Value Error Source '' '' | == = == = ='' '' | Volume 35 ų 0.3 ų ''[[CopyEquations]] '' | Lattice Const. 30 Å 0.1 Å ''[[Home]] '' | savemode 1 2 3 |}'' ''{| | Value Error Source '' '' | == = == ='' '' | Volume 35 ų 0.3 ų ''[[CopyEquations]] '' | Lattice Const. 30 Å 0.1 Å ''[[Home]]'' |}'' ''{| -- | - -- -'' '' Value | Error Source '' '' == | = == ='' '' Volume | 35 ų 0.3 ų ''[[CopyEquations]] '' Lattice Const. | 30 Å 0.1 Å ''[[Home]] '' -- | - -- - |}'' ''{| l | rrl | Value Error Source'' '' == | = | == = =='' '' Volume | 35 ų | 0.3 ų ''[[CopyEquations]] '' Lattice Const. | 30 Å | 0.1 Å ''[[Home]]'' |}'' tabletrix.py Description: Binary 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