LaTeX forum ⇒ Generalblank .tex file

LaTeX specific issues not fitting into one of the other forums of this category.
Posts: 1
Joined: Tue Nov 12, 2019 6:51 pm

blank .tex file

Postby mevixupe » Tue Nov 12, 2019 7:10 pm

I attempt to open a .tex file via a shortcut on my desktop. It returns a window with the .tex file as well as the last compiled pdf version of the document. The .tex file however is now blank (but allows typing in the window). The .tex file in the shortcut window under properties shows up as 202 kB though, so it is there. If I try typesetting the blankly showing document using pdfLaTeX, it returns 'process crashed'. Why is the .tex document its full size but not showing up and not typesetting? No signs of viruses on my computer, at most I may have accidentally shut down the computer improperly once without closing the document. But I believe that would have at most just returned a previous version of the .tex file. Thanks for any advice.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9549
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Nov 14, 2019 4:59 am

Welcome to the forum!

Check that the shortcut actually points to the correct document and folder. Open the original document in the explorer.

You can open the 202 kB file with another editor, such as the notepad. Or use a hex editor, to see the "source" of that file.

Before you make accidental changes and overwrite it, make a copy of it.

Stefan admin

Return to “General”

Who is online

Users browsing this forum: No registered users and 9 guests