Public bug reported: 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 ** Affects: lyx (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1003419 Title: Lyx does not preserve DOS/Unix line endings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1003419/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs