[Tex/LaTex] TexnicCenter: Multiple tabs in ONE window instead of Multiple Instances (Multiple Windows)

texniccenter

I now have the new TexnicCenter 2.0 Alpha 4 and my problem is that I want the .tex files to open in tabs in one window, instead of multiple instances. This always fills my entire Taskbar as I work with many documents at once. Is there any solution to have the files opening in tabs, like in the older versions?
I couldn't find this answer anywhere…
I would really appreciate some knowledge on this.

Best Answer

(This was tested with final version 2.02 of TeXnicCenter.)

On installation TeXnicCenter adds or changes some keys in the Windows registry, so it’s a bit difficult to change the behaviour depending on your skills …

  1. Open the registry – Start “regedit.exe” or another registry editor and save the following key by doing an export (the resulting REG-file could later be re-imported):

    • HKEY_CLASSES_ROOT\.tex
      (This former one has to be distinguished from a second key created by TXC: HKEY_CLASSES_ROOT\.tex;.sty;.cls;.dtx;.ins;.ltx, but we will use the value of this latter one.)
  2. In the registry editor change the value of this key from TeXnicCenter.tex to LaTeX.Document.

    For the case you are self-conscious I provide a REG script here, that has to be copied into a new ordinary text file (there are text editors with syntax highlighting for REG-files, three of them I know are mentioned here: https://tex.stackexchange.com/a/47585/9237) and saved as file with the extension reg (pay attention, that the extension txt is not automatically added after this):

    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\.tex]
    @="LaTeX.Document"
    
    
    
  3. Do an import of this saved REG file, i. e. execute it (by default REG files are linked with the regedit.exe.)

A remark: The original keys, where TXC defines the way of execution, are HKEY_CLASSES_ROOT\TeXnicCenter.tex and some other TeXnicCenter*.* keys, which could be changed, too, but I think it’s better to use the also created LaTeX.Document key. The reasons for this odd default behaviour of TeXnicCenter are unknown to me.