Re: Texteditor to open and resave .lyx in MacOS

2015-01-29 Thread Dr Eberhard Lisse
Backup is for sissies :-)-O
Especially with Time Machine where it is fully automatic.

Version Control is for sissies.
Especially since it is integrated into LyX seamlessly

Updates are for sissies.
Especially since both MacOs and LyX and their updates are free of
charge.

Deadlines are for sissies.
Especially since one has 2 days left.

el


On 2015-01-28 13:11, Jean-Marc Lasgouttes wrote:
> Le 28/01/2015 12:02, Restidealist a écrit :
>> TL:DR: Document corrupted, want to copy parts from [corrupt
>> document] to [working document] - textedit doesn't work
>>
>> Hi everybody,
>>
>> my thesis-document (due in 2 days) is corrupted.
> 
> Hello ,
> 
> first thing to do is to look for backup files (ending with ~) or
> emergency saves (ending with .emergency) of your document.  Do you
> have any of these?
> 
> Then, the next question is to have a look at your document to
> estimate why it is corrupt.  For example, does it end abruptly?
> 
> What do you have to fix in textedit to make the file correct?
> 
> I personally use aquamacs because I am an emacs guy.  At least,
> you know that it is not going to break your file behind your back.
> But I am sure there are many other trusty alternatives.
> 
> JMarc
> 
> 




Re: Texteditor to open and resave .lyx in MacOS

2015-01-28 Thread Restidealist
Seems to be working, thanks a lot :)

On 28.01.2015, at 12:06, Anders Ekberg wrote:

> I tend to use TextWrangler for such tasks (available for free in Apple 
> store). Plenty of options to select encoding and line breaks etc so it suits 
> your needs.
> 
> /Anders
> 
>> On 28 Jan 2015, at 12:02, Restidealist  wrote:
>> 
>> TL:DR: Document corrupted, want to copy parts from [corrupt document] to 
>> [working document] - textedit doesn't work
>> 
>> Hi everybody, 
>> 
>> my thesis-document (due in 2 days) is corrupted. As I can't figure out how 
>> to fix this I want to try a manual approach: 
>> I got my corrupt file with all the latest contents and I also got a backup 
>> of a working file. 
>> I now want to copy parts from the corrupt file to the backup file to see 
>> where things don't work out anymore and maybe fix this within the corrupted 
>> file. 
>> I would also like to edit within the corrupt file which isn't possible in 
>> lyx as it quits saying "File corrupt"
>> 
>> When I'm opening the .lyx file with textedit, I am able to edit it but after 
>> reimporting / reopening it with lyx, preview doesn't work. I suppose 
>> textedit changed something in formatting etc. 
>> 
>> So which program can I use to open a .lyx file, edit it, save it as .lyx, 
>> open it IN lyx and preview it without producing an error message? 
>> 
>> Any help is appreciated, thanks a lot
>> R.
>> 
>> Specs:
>> Lyx 2.0.4., also tried 2.1.2.2., file obviously still corrupted
>> Macos 10.6.8.
>> everything worked fine until today.
> 



Re: Texteditor to open and resave .lyx in MacOS

2015-01-28 Thread Jean-Marc Lasgouttes

Le 28/01/2015 12:02, Restidealist a écrit :

TL:DR: Document corrupted, want to copy parts from [corrupt document] to 
[working document] - textedit doesn't work

Hi everybody,

my thesis-document (due in 2 days) is corrupted.


Hello ,

first thing to do is to look for backup files (ending with ~) or 
emergency saves  (ending with .emergency) of your document. Do you have 
any of these?


Then, the next question is to have a look at your document to estimate 
why it is corrupt. For example, does it end abruptly?


What do you have to fix in textedit to make the file correct?

I personally use aquamacs because I am an emacs guy. At least, you know 
that it is not going to break your file behind your back. But I am sure 
there are many other trusty alternatives.


JMarc



Re: Texteditor to open and resave .lyx in MacOS

2015-01-28 Thread Anders Ekberg
I tend to use TextWrangler for such tasks (available for free in Apple store). 
Plenty of options to select encoding and line breaks etc so it suits your needs.

/Anders

> On 28 Jan 2015, at 12:02, Restidealist  wrote:
> 
> TL:DR: Document corrupted, want to copy parts from [corrupt document] to 
> [working document] - textedit doesn't work
> 
> Hi everybody, 
> 
> my thesis-document (due in 2 days) is corrupted. As I can't figure out how to 
> fix this I want to try a manual approach: 
> I got my corrupt file with all the latest contents and I also got a backup of 
> a working file. 
> I now want to copy parts from the corrupt file to the backup file to see 
> where things don't work out anymore and maybe fix this within the corrupted 
> file. 
> I would also like to edit within the corrupt file which isn't possible in lyx 
> as it quits saying "File corrupt"
> 
> When I'm opening the .lyx file with textedit, I am able to edit it but after 
> reimporting / reopening it with lyx, preview doesn't work. I suppose textedit 
> changed something in formatting etc. 
> 
> So which program can I use to open a .lyx file, edit it, save it as .lyx, 
> open it IN lyx and preview it without producing an error message? 
> 
> Any help is appreciated, thanks a lot
> R.
> 
> Specs:
> Lyx 2.0.4., also tried 2.1.2.2., file obviously still corrupted
> Macos 10.6.8.
> everything worked fine until today.



Texteditor to open and resave .lyx in MacOS

2015-01-28 Thread Restidealist
TL:DR: Document corrupted, want to copy parts from [corrupt document] to 
[working document] - textedit doesn't work

Hi everybody, 

my thesis-document (due in 2 days) is corrupted. As I can't figure out how to 
fix this I want to try a manual approach: 
I got my corrupt file with all the latest contents and I also got a backup of a 
working file. 
I now want to copy parts from the corrupt file to the backup file to see where 
things don't work out anymore and maybe fix this within the corrupted file. 
I would also like to edit within the corrupt file which isn't possible in lyx 
as it quits saying "File corrupt"

When I'm opening the .lyx file with textedit, I am able to edit it but after 
reimporting / reopening it with lyx, preview doesn't work. I suppose textedit 
changed something in formatting etc. 

So which program can I use to open a .lyx file, edit it, save it as .lyx, open 
it IN lyx and preview it without producing an error message? 

Any help is appreciated, thanks a lot
R.

Specs:
Lyx 2.0.4., also tried 2.1.2.2., file obviously still corrupted
Macos 10.6.8.
everything worked fine until today.