Re: [Zim-wiki] Text formatting in zim
Thanks for the information. For reference, my use case is as a materials scientist. We frequently refer to directions within a crystal structure using Miller Indicies (https://en.wikipedia.org/wiki/Miller_index). When a direction is negative, it is common practice to place a line over the top to indicate this. I suppose I will make do with the strikethrough. Thanks for the response. - Josh On Sun, Jun 28, 2015 at 2:55 PM Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Hi Josh, Afraid the Gtk toolkit does not provide an option to use overline text decoration. So will be very difficult to add in zim. Just as Marco I'm also curious to learn the use this text decoration has for you. Regards, Jaap On Fri, Jun 19, 2015 at 8:10 PM, Josh Taillon jat...@gmail.com wrote: Excuse me if this is not the right place to ask a question such as this, but I was not sure where else to go for support. I was wondering if in zim, there was a simple way to have overlined text. I see that in the style.conf file, you can change the 'marking' command to underline. Is it possible to have some sort of overlining capability as well? Thank you, Josh Taillon ___ 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] Text formatting in zim
Yes, I had tried using that, but it is less than ideal given trying to export to other formats. Your comment about the gtk decorations led me to another google search that found this post ( https://forum.openoffice.org/en/forum/viewtopic.php?f=7t=58941). It appears in GTK applications, you can use ctrl+shift+u and then type a unicode character to insert it on the fly. U+0305 is a combining overline mark, so by typing Ctrl+shift+u 0305 you can get it to go over the previous character. It doesn't look great over numbers, but at least it's unicode, rather than an image. I suppose this will suffice for now, because I can't think of a better way to do it. Thanks, Josh On Mon, Jun 29, 2015 at 11:43 AM Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Ah, yes I should have known - but my classes material science were 10 years ago or so ... How about using the equation editor in this case? I'm assuming latex can render these things correctly. Although I can see that entering would be slower with the editor. Could think of some kind of shortcut for entering them inline. Regards, Jaap On Jun 29, 2015 4:16 PM, Josh Taillon jat...@gmail.com wrote: Thanks for the information. For reference, my use case is as a materials scientist. We frequently refer to directions within a crystal structure using Miller Indicies (https://en.wikipedia.org/wiki/Miller_index). When a direction is negative, it is common practice to place a line over the top to indicate this. I suppose I will make do with the strikethrough. Thanks for the response. - Josh On Sun, Jun 28, 2015 at 2:55 PM Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Hi Josh, Afraid the Gtk toolkit does not provide an option to use overline text decoration. So will be very difficult to add in zim. Just as Marco I'm also curious to learn the use this text decoration has for you. Regards, Jaap On Fri, Jun 19, 2015 at 8:10 PM, Josh Taillon jat...@gmail.com wrote: Excuse me if this is not the right place to ask a question such as this, but I was not sure where else to go for support. I was wondering if in zim, there was a simple way to have overlined text. I see that in the style.conf file, you can change the 'marking' command to underline. Is it possible to have some sort of overlining capability as well? Thank you, Josh Taillon ___ 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] Text formatting in zim
In that case you could use the 'insert symbol' plugin to create a shortcut for inserting this unicode symbol. Regards, Jaap On Jun 29, 2015 5:53 PM, Josh Taillon jat...@gmail.com wrote: Yes, I had tried using that, but it is less than ideal given trying to export to other formats. Your comment about the gtk decorations led me to another google search that found this post ( https://forum.openoffice.org/en/forum/viewtopic.php?f=7t=58941). It appears in GTK applications, you can use ctrl+shift+u and then type a unicode character to insert it on the fly. U+0305 is a combining overline mark, so by typing Ctrl+shift+u 0305 you can get it to go over the previous character. It doesn't look great over numbers, but at least it's unicode, rather than an image. I suppose this will suffice for now, because I can't think of a better way to do it. Thanks, Josh On Mon, Jun 29, 2015 at 11:43 AM Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Ah, yes I should have known - but my classes material science were 10 years ago or so ... How about using the equation editor in this case? I'm assuming latex can render these things correctly. Although I can see that entering would be slower with the editor. Could think of some kind of shortcut for entering them inline. Regards, Jaap On Jun 29, 2015 4:16 PM, Josh Taillon jat...@gmail.com wrote: Thanks for the information. For reference, my use case is as a materials scientist. We frequently refer to directions within a crystal structure using Miller Indicies (https://en.wikipedia.org/wiki/Miller_index). When a direction is negative, it is common practice to place a line over the top to indicate this. I suppose I will make do with the strikethrough. Thanks for the response. - Josh On Sun, Jun 28, 2015 at 2:55 PM Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Hi Josh, Afraid the Gtk toolkit does not provide an option to use overline text decoration. So will be very difficult to add in zim. Just as Marco I'm also curious to learn the use this text decoration has for you. Regards, Jaap On Fri, Jun 19, 2015 at 8:10 PM, Josh Taillon jat...@gmail.com wrote: Excuse me if this is not the right place to ask a question such as this, but I was not sure where else to go for support. I was wondering if in zim, there was a simple way to have overlined text. I see that in the style.conf file, you can change the 'marking' command to underline. Is it possible to have some sort of overlining capability as well? Thank you, Josh Taillon ___ 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] Text formatting in zim
In digital electronics I use the overbar all the time when writing on paper indicating negated logic. Unfortunately the overbar is not available in ascii for netlisting purposes, so programs do this their own way. For textual capture of netlists and high level code, we have to use fancy stuff like reset_n, bRESET and so on when we actually mean RESET-with-a-line-over-it. When I was taught digital electronics in university we wrote whole lines of boolean expressions with bars over them. On paper, of course. With the help of overlines, de Morgans theorem becomes easy to remember: Split the line, change the sign. (With sign I mean OR or AND) We sometimes needed more than one overline, as two identical overlines are double negation. This usecase is probably never going to find support outside LaTex. -- 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
Re: [Zim-wiki] Custom plugins installation
Hi NorfCran, I was going to try out your plugin as well, but it does not work if you copy/paste from the wiki page due to wrong indentation as you stated. I must admit that I’m too lazy to correct each line. Or do you have a quick procedure on how to correct wrong indentation? May be you can provide the plugin in the manner I provided my plugins? See this as an example: https://github.com/jaap-karssenberg/zim-wiki/wiki/Autocompletion-Plugin · First create a Feature request as a bug · then attach the working py file to the bug · Link to the file in the wiki page I was wondering if your plugin could be used to display the relation of pages to each other (not that I have a concrete use case out of it, just out of curiosity how that picture could look like). Regards, Murat From: Zim-wiki [mailto:zim-wiki-bounces+murat.gueven=ts.fujitsu@lists.launchpad.net] On Behalf Of NorfCran Sent: Montag, 29. Juni 2015 00:46 To: Alessandro La Fauci Cc: zim-wiki@lists.launchpad.net Subject: Re: [Zim-wiki] Custom plugins installation Dear Alessandro, it is great to have a feedback from somebody, who intends to use the plugin. I personally used mainly the custom tool and made a conversion of the custom tool to the native plugin. I have identified and fixed the issue, tested the plugin and it should work correctly now. Please be sure that you paste the code from the wiki pagehttps://github.com/jaap-karssenberg/zim-wiki/wiki/TreeMap-plugin-%28converted-Text2mindmap-custom-tool%29 and there is a right indentation (Python is sensitive to mixed tabs and spaces). I use very up to date version of ZIM-Wiki 0.63 from PPA. Please let me know, if there is still an issue and I will try to solve it for you. All the best, NorfCran ___ 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