Troubleshooting .tex File Corruptions

Click For Summary
The discussion revolves around difficulties in opening a .tex file, which is a LaTeX source file. The user attempted to open the file with WordPad, resulting in a blank document and multiple blank pages in print preview. Other .tex files opened without issue in the same programs, raising concerns about potential corruption of the problematic file. Despite the file being approximately the same size as others that opened correctly, it failed to display content in multiple text editors, including Notepad and Internet Explorer. Suggestions included trying different text editors like EditPlus or UltraEdit, which support binary/hex viewing, and copying the file to another computer for access. The conversation also expressed frustration with Windows operating systems, highlighting the perception that they contribute to user confusion and inefficiency in handling file types. Overall, the consensus is that if a .tex file does not open in standard text editors, it may be corrupted, and recovery options are limited.
JamesJames
Messages
204
Reaction score
0
I am trying to open a .tex file. When I clicked on it, it asked what program I wanted to use to open the thing. So I selected wordpad. The thing opened up in wordpad with a blank document. When I selected print preview, it allowed me to scroll through 4 blank pages. Here' s the thing...there are 2 other .tex files which asked me the same thing when I tried to open them AND when I said wordpad, or notepad or Internet Explorer, they opened fine.

Is the file corrupted and is there a program that can fix it without losing information. It won' t open in either Internet Explorer or Notepad.
 
Computer science news on Phys.org
.tex file?

Do you mean .txt file
 
He probably means a latex source file.
 
.txt file infact. Is there any chance of recovering the information?
 
When you right click on the file and go to properties, does the file have a size?
 
It is 22.4 kb roughly the same size as the other ones...the ones that open fine.
 
Any suggestions?
 
If you can't open it with notepad or wordpad your probably out of luck. You could try copying the file to another computer and seeing if it's viewable.
 
  • #10
Try a text editor that supports binary/hex, like ultraedit.com .
 
  • #11
JamesJames said:
I am trying to open a .tex file. When I clicked on it, it asked what program I wanted to use to open the thing. So I selected wordpad. The thing opened up in wordpad with a blank document. When I selected print preview, it allowed me to scroll through 4 blank pages. Here' s the thing...there are 2 other .tex files which asked me the same thing when I tried to open them AND when I said wordpad, or notepad or Internet Explorer, they opened fine.
Is the file corrupted and is there a program that can fix it without losing information. It won' t open in either Internet Explorer or Notepad.
*sigh*

Windows breeds so many stupid and bad habits in people.

A .tex file is just text file. The data in it is exactly the same as a .txt file. If its not opening in wordpad (i wouldn't use notepad, it does not even do ASCII properly), then there is something wrong with it. There is nothing to fix it with, its just a text file.

I swear Windows is the seed of all technological idiocy (this isn't a criticism of you by any means, so please don't take it as one, I'm just ranting. Its not your fault if all you've ever used is an OS that treats you like a retarded infant with downs syndrome whose had 3 lobotomies and all his limbs amputated).
 

Similar threads

Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
10K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K