ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #07218
[Bug 1003419] Re: Lyx does not preserve DOS/Unix line endings
** Changed in: lyx (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to lyx in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1003419
Title:
Lyx does not preserve DOS/Unix line endings
Status in lyx package in Ubuntu:
Invalid
Bug description:
I am working on a lyx document together with people that use Windows.
Every time I save the document, all line endings get converted to \n
(LF). Every time someone on Windows saves the document, all line
endings get converted to \r\n (CR+LF).
The document is versioned using SVN which now will show every line as
changed in "svn diff". This is unacceptable when merging changes from
other people and I always have to use the tool "unix2dos" before
committing, so that the diffs look reasonable.
What I expected to happen:
If opened document uses LF to end lines, save document using LF to end lines.
If opened document uses CR+LF to end lines, save document using CR+LF to end lines.
Like most text editors.
What happened instead:
LyX converts the line endings to the format "native" to the platform it is running on.
LyX Version:
This affects all versions prior to and including LyX 2.0.2.
Ubuntu Version:
Description: Ubuntu 12.04 LTS
Release: 12.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1003419/+subscriptions