Re: [Zim-wiki] Issues with wiki syntax (was: Zim release planning)

2010-05-25 Thread Paulo J. S. Silva
You can

Atl-tab to zim and then press Ctrl-T to toggle verbatim mode mode and
then middle click.

Paulo

On Tue, May 25, 2010 at 2:06 PM, Dotan Cohen  wrote:
> On 25 May 2010 13:29, Jaap Karssenberg  wrote:
>> On Tue, May 25, 2010 at 12:19 PM, Dotan Cohen  wrote:
>>> Jaap, I just discovered two issues that have led to major dataloss for me:
>>> https://bugs.launchpad.net/zim/+bug/585300
>>> https://bugs.launchpad.net/zim/+bug/585301
>>>
>>> Is there any way of getting these into the release? I'm serious, this
>>> is a Zim dealbreaker for me. I love Zim, but this just cost me
>>> literally years of notes that I am going to have to piece together
>>> from encrypted backups of Zim and Knowit (what I used before Zim).
>>
>> I'm sorry but both issues are design limitation of using wiki syntax.
>> Any characters that are meaningful in the wiki formatting need to be
>> escaped in order to use them verbatim. This is what the "verbatim"
>> style is for. So code snippets like the shell commands in this case
>> need to be inserted as verbatim text in zim.
>>
>> One way to fix this for you is to create a small script that goes over
>> the notebook pages and wraps any lines that start with "$" in a
>> verbatim block like this:
>>
>> '''
>> $ shell scrip example here
>> '''
>>
>> This will cause zim to show this code verbatim and restore your
>> content as intended.
>>
>> Regards,
>>
>> Jaap
>>
>
> Thanks, Jaap. One of the advantages of Zim is to collect "snippets"
> for use latter. If I cannot simply Alt-Tb into Zim, middle-click to
> paste the snippet, and then Atl-Tab out without worrying that my data
> will be mangled, then I cannot use it.
>
> Why not make the auto-parsing of wikicode optional?
>
> --
> Dotan Cohen
>
> http://gibberish.co.il
> http://what-is-what.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
>



-- 
Paulo José da Silva e Silva
Professor Associado, Dep. de Ciência da Computação
(Associate Professor, Computer Science Dept.)
Universidade de São Paulo - Brazil

e-mail: pjssi...@ime.usp.br Web: http://www.ime.usp.br/~pjssilva

___
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] Problems with bullets

2009-11-29 Thread Paulo J. S. Silva
Sorry for the third post in a row.

But I have just discovered that the weird behavior somehow is related
to the fact that I try to create an indented list from the start (just
start an empty page, hit tab and start a list in this new indentation
level).

If start the bullet list without indentation than the * become nice
bullets right away and zim's behavior is good.

best,

Paulo

On Sun, Nov 29, 2009 at 8:26 PM, Paulo J. S. Silva  wrote:
> Just to let you know:
>
> I have just reproduced the bug using the new 0.42 beta2 just released.
> All the problems are there when I create a indented bullet list
>
> 1) The * character does not becomes a nice bullet right away
> 2) The indentation is not showed when I open the file
> 3) If I try to fix the indentation I get the bullets symbols in the
> txt and the extra blank lines
>
> Paulo
>
> On Sun, Nov 29, 2009 at 8:19 PM, Paulo J. S. Silva  wrote:
>> I forgt to copy the list.
>>
>>
>> -- Forwarded message --
>> From: Paulo J. S. Silva 
>> Date: Sun, Nov 29, 2009 at 8:19 PM
>> Subject: Re: [Zim-wiki] Problems with bullets
>> To: Jaap Karssenberg 
>>
>>
>>> Under what circumstance do you loose the indentation, which editing steps do
>>> you take? And for which version of pyzim do you see this ?
>>>
>>
>> I am using the 0.42-beta 1, the deb package.
>>
>> To reproduce:
>>
>> Create a new page, named new for example with the following content
>> (Iam just doing a cat at the resulting page):
>>
>> --
>>
>> pjssi...@trinity:zim$ cat New.txt
>> Content-Type: text/x-zim-wiki
>> Wiki-Format: zim 0.26
>>
>> == New ==
>> Created domingo 29 novembro 2009
>>
>>        * A
>>        * bullet
>>        * list
>>
>> --
>>
>> Close pyzim, open it again and look at the page. The identation is
>> gone. If you cat the file it did not change, but if you try to use
>> pyzim to fix the identation using some tabs characters and l then you
>> cat the file you get:
>>
>> --
>>
>> pjssi...@trinity:zim$ cat New.txt
>> Content-Type: text/x-zim-wiki
>> Wiki-Format: zim 0.26
>>
>> == New ==
>> Created domingo 29 novembro 2009
>>
>>        • A
>>
>>
>>        • bullet
>>
>>
>>        • list
>>
>>
>> --
>>
>> Close zim and open it again. If you look at the file you should see
>> that the indentation is not showed and the new blank lines appear.
>>
>>>> Another thing that called my attention is that while I am adding a new
>>>> item to the bullet list once I type * followed by a space the * does
>>>> not become the nice bullet symbol right away. I have to move to
>>>> another page and then come back.
>>>
>>> This I do not see in the latest version of the branch, so consider it fixed
>>> already.
>>>
>>
>> As I said I am using the latest deb file I could find. Should I move
>> to the svn version or something like that?
>>
>> Paulo
>>
>> --
>> Paulo José da Silva e Silva
>> Professor Associado, Dep. de Ciência da Computação
>> (Associate Professor, Computer Science Dept.)
>> Universidade de São Paulo - Brazil
>>
>> e-mail: pjssi...@ime.usp.br         Web: http://www.ime.usp.br/~pjssilva
>>
>>
>>
>> --
>> Paulo José da Silva e Silva
>> Professor Associado, Dep. de Ciência da Computação
>> (Associate Professor, Computer Science Dept.)
>> Universidade de São Paulo - Brazil
>>
>> e-mail: pjssi...@ime.usp.br         Web: http://www.ime.usp.br/~pjssilva
>>
>
>
>
> --
> Paulo José da Silva e Silva
> Professor Associado, Dep. de Ciência da Computação
> (Associate Professor, Computer Science Dept.)
> Universidade de São Paulo - Brazil
>
> e-mail: pjssi...@ime.usp.br         Web: http://www.ime.usp.br/~pjssilva
>



-- 
Paulo José da Silva e Silva
Professor Associado, Dep. de Ciência da Computação
(Associate Professor, Computer Science Dept.)
Universidade de São Paulo - Brazil

e-mail: pjssi...@ime.usp.br Web: http://www.ime.usp.br/~pjssilva

___
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] Problems with bullets

2009-11-29 Thread Paulo J. S. Silva
Just to let you know:

I have just reproduced the bug using the new 0.42 beta2 just released.
All the problems are there when I create a indented bullet list

1) The * character does not becomes a nice bullet right away
2) The indentation is not showed when I open the file
3) If I try to fix the indentation I get the bullets symbols in the
txt and the extra blank lines

Paulo

On Sun, Nov 29, 2009 at 8:19 PM, Paulo J. S. Silva  wrote:
> I forgt to copy the list.
>
>
> -- Forwarded message ------
> From: Paulo J. S. Silva 
> Date: Sun, Nov 29, 2009 at 8:19 PM
> Subject: Re: [Zim-wiki] Problems with bullets
> To: Jaap Karssenberg 
>
>
>> Under what circumstance do you loose the indentation, which editing steps do
>> you take? And for which version of pyzim do you see this ?
>>
>
> I am using the 0.42-beta 1, the deb package.
>
> To reproduce:
>
> Create a new page, named new for example with the following content
> (Iam just doing a cat at the resulting page):
>
> --
>
> pjssi...@trinity:zim$ cat New.txt
> Content-Type: text/x-zim-wiki
> Wiki-Format: zim 0.26
>
> == New ==
> Created domingo 29 novembro 2009
>
>        * A
>        * bullet
>        * list
>
> --
>
> Close pyzim, open it again and look at the page. The identation is
> gone. If you cat the file it did not change, but if you try to use
> pyzim to fix the identation using some tabs characters and l then you
> cat the file you get:
>
> --
>
> pjssi...@trinity:zim$ cat New.txt
> Content-Type: text/x-zim-wiki
> Wiki-Format: zim 0.26
>
> == New ==
> Created domingo 29 novembro 2009
>
>        • A
>
>
>        • bullet
>
>
>        • list
>
>
> --
>
> Close zim and open it again. If you look at the file you should see
> that the indentation is not showed and the new blank lines appear.
>
>>> Another thing that called my attention is that while I am adding a new
>>> item to the bullet list once I type * followed by a space the * does
>>> not become the nice bullet symbol right away. I have to move to
>>> another page and then come back.
>>
>> This I do not see in the latest version of the branch, so consider it fixed
>> already.
>>
>
> As I said I am using the latest deb file I could find. Should I move
> to the svn version or something like that?
>
> Paulo
>
> --
> Paulo José da Silva e Silva
> Professor Associado, Dep. de Ciência da Computação
> (Associate Professor, Computer Science Dept.)
> Universidade de São Paulo - Brazil
>
> e-mail: pjssi...@ime.usp.br         Web: http://www.ime.usp.br/~pjssilva
>
>
>
> --
> Paulo José da Silva e Silva
> Professor Associado, Dep. de Ciência da Computação
> (Associate Professor, Computer Science Dept.)
> Universidade de São Paulo - Brazil
>
> e-mail: pjssi...@ime.usp.br         Web: http://www.ime.usp.br/~pjssilva
>



-- 
Paulo José da Silva e Silva
Professor Associado, Dep. de Ciência da Computação
(Associate Professor, Computer Science Dept.)
Universidade de São Paulo - Brazil

e-mail: pjssi...@ime.usp.br Web: http://www.ime.usp.br/~pjssilva

___
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] Fwd: Problems with bullets

2009-11-29 Thread Paulo J. S. Silva
I forgt to copy the list.


-- Forwarded message --
From: Paulo J. S. Silva 
Date: Sun, Nov 29, 2009 at 8:19 PM
Subject: Re: [Zim-wiki] Problems with bullets
To: Jaap Karssenberg 


> Under what circumstance do you loose the indentation, which editing steps do
> you take? And for which version of pyzim do you see this ?
>

I am using the 0.42-beta 1, the deb package.

To reproduce:

Create a new page, named new for example with the following content
(Iam just doing a cat at the resulting page):

--

pjssi...@trinity:zim$ cat New.txt
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.26

== New ==
Created domingo 29 novembro 2009

       * A
       * bullet
       * list

--

Close pyzim, open it again and look at the page. The identation is
gone. If you cat the file it did not change, but if you try to use
pyzim to fix the identation using some tabs characters and l then you
cat the file you get:

--

pjssi...@trinity:zim$ cat New.txt
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.26

== New ==
Created domingo 29 novembro 2009

       • A


       • bullet


       • list


--

Close zim and open it again. If you look at the file you should see
that the indentation is not showed and the new blank lines appear.

>> Another thing that called my attention is that while I am adding a new
>> item to the bullet list once I type * followed by a space the * does
>> not become the nice bullet symbol right away. I have to move to
>> another page and then come back.
>
> This I do not see in the latest version of the branch, so consider it fixed
> already.
>

As I said I am using the latest deb file I could find. Should I move
to the svn version or something like that?

Paulo

--
Paulo José da Silva e Silva
Professor Associado, Dep. de Ciência da Computação
(Associate Professor, Computer Science Dept.)
Universidade de São Paulo - Brazil

e-mail: pjssi...@ime.usp.br         Web: http://www.ime.usp.br/~pjssilva



-- 
Paulo José da Silva e Silva
Professor Associado, Dep. de Ciência da Computação
(Associate Professor, Computer Science Dept.)
Universidade de São Paulo - Brazil

e-mail: pjssi...@ime.usp.br Web: http://www.ime.usp.br/~pjssilva

___
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] Problems with bullets

2009-11-29 Thread Paulo J. S. Silva
Hello,

I am having some problems when using bullets in the pages. Pyzim is
forgetting the original identation and adding some blank lines in
bullets lits.

I have also noticed that in the txt instead of appearing bullet symbol
* it gets another character that looks more like the formatted symbol:
 •

Another thing that called my attention is that while I am adding a new
item to the bullet list once I type * followed by a space the * does
not become the nice bullet symbol right away. I have to move to
another page and then come back.

Am I the only one experiencing this?

Paulo

-- 
Paulo José da Silva e Silva
Professor Associado, Dep. de Ciência da Computação
(Associate Professor, Computer Science Dept.)
Universidade de São Paulo - Brazil

e-mail: pjssi...@ime.usp.br Web: http://www.ime.usp.br/~pjssilva

___
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