Re: [Zim-wiki] UNIX Line Endings with Zim for Windows

2011-01-30 Thread Michael Nagel
> Yes, you can set a "endofline" config value in the "notebook.zim" file
> in the section "[Notebook]". Valid values for this property are either
> "unix" or "dos".
superb! i will check if it works as i expect it to work and report back if it 
does not.

by the way: is this mentioned somewhere in the docu?

Best Regards
Michael

___
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] UNIX Line Endings with Zim for Windows

2011-01-30 Thread Jaap Karssenberg
On Sun, Jan 30, 2011 at 9:19 PM, Michael Nagel  wrote:
> is it somehow possible to make Zim for Windows save Files with Unix Line 
> Endings?
> Right now zim-Files edited with Linux and Mac use Line Feed for new lines and 
> zim-Files edited with Windows use Line Feed + Carriage Return for new lines. 
> For some reasons I would like my files to be the same on all platforms and 
> would prefer plain Line Feeds.
> I understand that it is mostly beneficial to create native text files on all 
> platforms, but I would like to be able to override that (sane) default 
> somehow.

Yes, you can set a "endofline" config value in the "notebook.zim" file
in the section "[Notebook]". Valid values for this property are either
"unix" or "dos".

For new notebooks this value is set depending on the platform where
the notebook is created.

-- 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] UNIX Line Endings with Zim for Windows

2011-01-30 Thread Michael Nagel
Hi Guys,

is it somehow possible to make Zim for Windows save Files with Unix Line 
Endings?
Right now zim-Files edited with Linux and Mac use Line Feed for new lines and 
zim-Files edited with Windows use Line Feed + Carriage Return for new lines. 
For some reasons I would like my files to be the same on all platforms and 
would prefer plain Line Feeds.
I understand that it is mostly beneficial to create native text files on all 
platforms, but I would like to be able to override that (sane) default somehow.

Best Regards
Michael

___
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