Wann wurden aus meinen LaTeX-Dateien TeX-Dateien?

1041
andrz_001

Nachdem alle meine Dateien auf eine neue Maschine übertragen wurden, sind alle Dateien, die einmal LaTeX-Dateien waren (mit dem Symbol "T" von texnic center), nun TeX-Dateien (mit dem Symbol "TeX works" - ich erinnere mich nicht, diese installiert zu haben!). Aber .... die Akten sind dem Technikum zugeordnet! Mit anderen Worten, die Dateien werden mit dem Texnic Center geöffnet, aber der "Dateityp" ist "Tex-Dokument".

Ich verwende dasselbe Miktex Distrubution und TexnicCenter (beide für Windows XP) wie auf der alten Maschine. Ich weiß auch nicht, wie und wo ich diese Arbeit an der neuen Maschine bekommen habe - vorausgesetzt, sie hatte Fenster.

Eine Frage: Könnten diese Tex-Assoziationen neue Überraschungen verursachen? Wie bestimmte Pakete, die nicht funktionieren, usw.? Weil ich das nicht haben kann !! Sollte ich es nicht reparieren, wenn es nicht kaputt ist !?

Zum Beispiel würde eine bestimmte Datei gestern nach dem Kompilieren keine PDF-Ausgabe erzeugen ... nachdem ich viele Dinge ausprobiert hatte (andere Dateien wurden so kompiliert, wie sie sollten), kam ich auf den Gedanken, es ohne den setspace für das Doppelspringen zu versuchen !! Und es hat funktioniert. Ich habe keine Idee warum. Sowieso....

Wirkliche Frage: Wie kann ich auf LaTeX-Dateizuordnungen zurückgreifen?

Rhetorische Frage: Hätte diese Frage bei ctan oder stackoverflow mehr Glück? Ich denke ich werde es herausfinden!

Vielen herzlichen Dank!

4
LaTeX ist eine TeX-Anwendung, genau wie XHTML eine XML-Anwendung. Ignacio Vazquez-Abrams vor 13 Jahren 1

2 Antworten auf die Frage

4
Peon
  1. Texworks wird mit Miktex installiert.
  2. Wie ein Symbol aussieht, ist irrelevant, solange es mit dem richtigen Programm verknüpft ist.
  3. Wie bereits erwähnt, ist LaTeX eine TeX-Anwendung.
danke für die Antwort. Ich gebe Ihrer Antwort das Häkchen, weiß aber immer noch nicht, warum der neue Computer die Dateien als TeX-Dateien erkennt, während er sich auf dem alten Computer als LaTeX-Dateien befindet. Wenn ich nicht völlig vergessen habe, wie ich miktex auf der alten Maschine installiert habe, habe ich innerhalb von 6 Monaten nach jeder Installation dieselbe Distribution von demselben Standort installiert ... Nochmals vielen Dank. andrz_001 vor 13 Jahren 0
Wenn es genau dieselbe Verteilung ist, bin ich nicht sicher, was passiert ist. Ich denke, in Windows XP gibt es eine Möglichkeit, das Symbol manuell über "Ordneroptionen" zu ändern. Peon vor 13 Jahren 0
4
Vivi

Your files in the old and new computer were .tex files. Maybe your computer was configured not to show the file extension (the .tex), but regardless they were still .tex files (I used TeXnicCenter until 2 weeks ago for LaTeX, and all my files were .tex). A computer (or should I say a PC?) will have a "preferred" software to open files. When you installed TeXnicCenter in the old computer and opened/created your first .tex file, either you were asked whether you wanted to always open files of that type with TeXnicCenter or it did that automatically. From that moment whenever you double-clicked on a .tex file it would open with TeXnicCenter, the icons on .tex files were the TeXnicCenter icon, and all files of that type were associated with that software.

When you got a new computer and installed MixTex, TexWorks was installed with it (you can check in the MixTex website, the distribution comes with TexWorks by default). So your .tex files on that computer were associated with TexWorks and would carry the icon of that software. That doesn't mean your files changed, or the type of file changed.

You can easily change the program associated with your .tex files by going to a .tex file, right-click, choose "open with" then it is important that you click on "choose program", then even if you see TeXnicCenter on the list, choose "other". A new window will open, and there you need to choose TeXnicCenter and make sure you check the box "Always use this program to open files of this type".

Your .tex files will now have the TeXnicCenter icon :)

This post might be useful, though I would make sure that on step 5 you don't choose TeXnicCenter, and click on "other" so that the new window with the option "Always use this program to open files of this type" appears.

Edit: OK, so this won't change your icon. The solution will depend on which version of windows you are using. For Windows Vista and Windows 7 have a look at this. For Windows XP, I think the following will do:

  1. Go to your control panel

  2. Choose "folder options"

  3. In the tab "file types" find the extension .tex, then choose advanced (and you might want to do the same for other file types associated with latex)

alt text

I don't have administrator rights, so I don't know what exactly is there, but I believe you might be able to find what you want!

Danke für die Antwort. Ich bin zu diesem Zeitpunkt darüber hinweggekommen, da es nichts mit mir stört. Ich nehme an, ich war ein bisschen nervös, als ich dachte, das war der Grund, warum einige Pakete nicht geladen wurden (ich habe das herausgefunden). Dann nervte es mich nur eine Weile. Wie auch immer ... das "Problem" bleibt bestehen. Auf dem alten PC sieht der Typ wie http://imgur.com/DMBnB.jpg aus, während auf dem neuen PC sie immer noch TeX-Dateien sind, obwohl MikTeX neu installiert wurde. Auch wenn die Dateien mit texnicCenter verknüpft und geöffnet sind, bleibt das Dateisymbol das Texworks-Symbol. Naja...:) andrz_001 vor 13 Jahren 0
Ich habe die Antwort aktualisiert, ich hoffe es hilft :) Vivi vor 13 Jahren 0