Thanks, that works for me.

But I am not sure your argument holds.

Firstly, IMO a .lyx file is a machine controlled file format which
should probably not be edited by hand. At least that is what I think
naive users should never do. But it is diff/merge friendly, except for
the line endings.

Secondly, _if_ a user is comfortable with opening and changing the file
with text editors, I as a user expect the text editor to not change the
line endings again. So LyX probably should not either.

Thirdly, if I save the document now under Linux, my Windows users still
have problems with Notepad. Conversely if LyX would preserve the line
endings (or make it an option), then a document _created_ on Windows
would choose CR+LF as default for this document. Therefore even when
Linux users work with it, it would stay editable in Notepad.


I would rate the current behaviour as worse than having a per document setting 
for line endings that defaults to the native line ending format. But you showed 
me a working solution, so I wont complain anymore :)

Thank you for your time and your help!

-- 
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

Reply via email to