Zim

Comment 5 for bug 585300

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 585300] Re: Do not parse input as wikicode

On Tue, May 25, 2010 at 5:00 PM, dotancohen
<email address hidden> wrote:
> There is no way for the user to know that certain strings cannot be
> represented in certain types of formatting. Nor should there be. Is this
> really a design limitation, or an oversight? It can easily be fixed by
> escaping input.

Since the design allows directly inserting wiki syntax it is a
limitation of the design that when this was unintended this can have
side effects. The wiki syntax tries to avoid common character
sequences, so the only real conflict is with code snippets using these
same character sequences. This is why we added verbatim formatting as
a way to escape blocks of input.

> How can I then cut and paste lines to Zim? Verbatim works only on single
> lines,

Verbatim definitively works on multiple lines, just try it. You can
paste the lines, select them and format them as verbatim.

> indentation is broken (I know that you are working on that) and
> has many other limitations.

Indenting indeed needs to be fixed, but I fail to see the other
limitations. Verbatim is especially intended for inserting code
snippets into pages.

>> The "dataloss" mention may be incorrect, because you should be
>> able to "recover" your data from the txt files.
>
> No, I've already manually removed the links as they were polluting my
> tree with pages that did not exist. The data is long gone.

You might still be able to recover that if you use version control by
rolling back individual pages or inspecting changes to see what lines
need fixing.

-- Jaap