General ⇒ LaTeX source code recovery
LaTeX source code recovery
Disaster has struck. While I was compiling my code, thus creating the pdf file and saving the whole thing, my computer lost suddenly power.
Now my whole thing is lost, the pdf is corrupt, tex file is empty, the aux file is empty and ends with .synctex.gz(busy)
The only thing that has any visible data is the synctex file, which is just a bunch of numbers.
Any ideas on recovering my work?
I'm using Texworks v0.1 - Miktex 2.8
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
LaTeX source code recovery
I'm afraid there's no way to retrieve the contents of the source file from the synctex.gz file: just positions. (And yours seems to only have been partially written anyway, hence the "busy".)
So unless you were using something that makes incremental back-ups (e.g., saving files in a Dropbox account), or something similar, your work is probably lost.
Re: LaTeX source code recovery
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
LaTeX source code recovery
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10