Re: [Zim-wiki] Symbol insertion more conveniently?
On Mon, Jun 18, 2012 at 12:34 PM, Yu wrote: > The symbol auto-insertion feature seems to depend on having a > whitespace before (and after) the text-to-be-replaced. Is there a way > to circumvent this? > > E.g. I can write the formula > 〈 α | H | ψ 〉 > by typing > \lang \alpha | H | \psi \rang > > However, if I want to write it as > 〈α| H |ψ〉 > then I have to add a good deal of cursor movement. > > Is there some way to avoid this? > > If not, would it be possible to implement an option to make `\' start > sort of an "insertion mode"? I was thinking along the lines of Lyx in > Math mode: > - \ starts the insertion of a special character, in LyX even including > completion. > - The next space-press doesn't insert a whitespace but causes > insertion of the symbol. > - A literal \ is still available by typing \\. > > For Zim, a literal space would implicitly still be available by > pressing space twice. Sounds like a good improvement, especially since we still have Z to cancel unwanted substitutions. Maybe you can put this request in a bug report, so we have it on the work list ? Another suggestion that I already have on the list is to allow inline latex equations with "$$" as start and end tag. Can be used for the same use case, but a bit complementary. Main difference is that equations will be rendered as images, while insert symbol relies on unicode characters. 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
[Zim-wiki] Symbol insertion more conveniently?
Hello! The symbol auto-insertion feature seems to depend on having a whitespace before (and after) the text-to-be-replaced. Is there a way to circumvent this? E.g. I can write the formula 〈 α | H | ψ 〉 by typing \lang \alpha | H | \psi \rang However, if I want to write it as 〈α| H |ψ〉 then I have to add a good deal of cursor movement. Is there some way to avoid this? If not, would it be possible to implement an option to make `\' start sort of an "insertion mode"? I was thinking along the lines of Lyx in Math mode: - \ starts the insertion of a special character, in LyX even including completion. - The next space-press doesn't insert a whitespace but causes insertion of the symbol. - A literal \ is still available by typing \\. For Zim, a literal space would implicitly still be available by pressing space twice. king regards, Yu ___ 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] automatic styling nightmare
> On Mon, 18 Jun 2012 10:15:26 +0200 > Jaap Karssenberg wrote: > > If I try this I do not see an issue. The parser will not understand it > as a single list, but the numbers are preserved as typed. > > Can you open a bug report and attach an example page ? That way I can > see what exactly goes wrong and investigate. [resent to the list] I cannot reproduce it on newly created lists. There was probably some remaining list formatting on my notes? Clearing the formatting, or creating a new list works as described. If I can reproduce the problem, I will attach the page to a bug report. Thank you. -- nomnex Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net ___ 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 and ipython
On Thu, Jun 14, 2012 at 11:14 PM, Greg Warner wrote: > Have you seen the ipython notebook (see http://youtu.be/HaS4NXxL5Qc)? > > To answer your question, I have mixed feelings about the idea of embedding > ipython in zim. I think it would be a really neat and novel feature. I > think it would take considerable effort if you wanted it to be on-par with > the rich feature set that the qt and notebook ipython interfaces have > (graphing, input, realtime output, etc). And lastly, I think there are > higher-priority features such as table support and, speaking of python, code > syntax highlighting. > > Greg > > On Thu, Jun 14, 2012 at 1:21 PM, Thomas Douillard > wrote: >> >> Hello dear zim developpers and users ! >> >> I started to use zim a few months ago and I think it's a great tool to >> take notes and to organize my works amongs over uses. >> Actually It seems it's a tool I always wanted and I am addicted. >> >> To get to the object of my message, I took a look at the ipython project a >> few days ago, and it seems to share some of it spirit and even some use >> cases with zim, especially the ipython console, wich is to me like an >> especially powerful zim-wiki page used with some plugins like the arithmetic >> and graphs one. >> >> Of course it is a lot more powerful and complex, but I wonder if a plugin >> that would allow to embed and edit an ipython notebook page into a zim-wiki >> notebook would interest some people. Without looking in depth into the >> respective source code I believed it would be possible to do such a thing >> without much effort considering the two projects shares a lot of bases. >> >> What do you think of this idea ? I might take a look into this if the >> answer here is positive. I think it really depends on how to integrate exactly. If a simple plugin can wrap it and embed it that might be a great tool, but if it means re-implementing a client for ipython, I tend to agree with Greg that there are more pressing tasks to work on. Directly embedding the client is probably hard as it seems to be written in the QT toolkit. Only if their code has a really strict separation of function and interface code, it may be feasible to re-implement the interface parts in Gtk. Two scenarios I can imagine for embedding 1/ Only embed plots - basically re-use the "insert gnuplot" or "insert R plot" plugins. Write a script, execute with ipython and insert the resulting plot. If the objective is to get nice graphics it will work, but no interaction. 2/ Try to re-use the code from the HTML notebook. Would need to hack a "HTML import" to get it in zim, but that is probably not so hard. Not sure how the "save session" mechanism works. If it allows us to push back a zim page as a saved session it *may* be doable to get it interactive. So the short answer is look at the code and try to hack a thin wrapper to push input and output between zim and ipython. 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] automatic styling nightmare
> On Mon, 18 Jun 2012 16:59:58 +0900 > nomnex wrote: > > How can I disable both of them? Eventually could these styling be made > optional (e.g. in the preferences). Oh, I got it, I have to remove the formatting of the text first (Ctrl +9). Then I can use manual formatting. I was editing the text in the numbered list directly, with interesting result... I guess I am fine now. -- nomnex Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net ___ 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] automatic styling nightmare
On Mon, Jun 18, 2012 at 9:59 AM, nomnex wrote: > I need to write procedure notes with number and bullets > > 1. do this > > * include object 1.a > * include object 1.b > > * include object 2.a > * include object 2.b > > 2. then do that > > 3. if it fail, then to that > > There are empty lines between the numbered items & there are bullet > items in between. Manual formatting is fine. When I force the bullet > list and number list feature of Zim the page is all mixed up on refresh. If I try this I do not see an issue. The parser will not understand it as a single list, but the numbers are preserved as typed. Can you open a bug report and attach an example page ? That way I can see what exactly goes wrong and investigate. 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
[Zim-wiki] automatic styling nightmare
I don't want to be rude, but "bullet list" and "numbered list" auto-formatting in Zim, completely screw my notes for some times. I hate these kind of automatic "kitchen list" styling in a word processor, unless I can disable them, and define my own custom list styles. How can I disable both of them? Eventually could these styling be made optional (e.g. in the preferences). I need to write procedure notes with number and bullets 1. do this * include object 1.a * include object 1.b * include object 2.a * include object 2.b 2. then do that 3. if it fail, then to that There are empty lines between the numbered items & there are bullet items in between. Manual formatting is fine. When I force the bullet list and number list feature of Zim the page is all mixed up on refresh. I don't want to use verbatim text. Thank you, nomnex -- nomnex Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net ___ 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