Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
1  
Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. – Joseph Wright Mar 27 '12 at 20:48
1  
Same thing happens here (Alpha 3, W7). A temporary workaround could be to drag-and-drop the files from Explorer to the running TXC. – Torbjørn T. Mar 27 '12 at 21:41

1 Answer

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/s by doing an export (the resulting REG-file/s could later be re-imported):

    • HKEY_CLASSES_ROOT\.tex

    • if it already exists (maybe as a remnant of another old installation): HKEY_CLASSES_ROOT\LaTeX.Document

  2. For convenience I provide a REG script (see below), 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: http://tex.stackexchange.com/a/47585/9237) and saved as file with the extension reg (pay attention, that there the extension txt is not automatically added).

  3. Inside of the script the path to TeXnicCenter has to be changed. Every occurrence of the backslash must be doubled there. The path in the example is C:\LaTeX\TeXnicCenter\TeXnicCenter.exe. Do not double or delete any other backslash!
    The string “LaTeX Document” under [HKEY_CLASSES_ROOT\LaTeX.Document] inside of the double quote marks can be changed to whatever one wants. This string is shown in the Windows Explorer as file type.

  4. Do an import of this saved REG file, i. e. execute it (by default REG files are linked with the regedit.exe.)

Because the pasted code inside this text here were broken I’ve put it on an external resource, the path to the script is http://pastebin.com/43EW13Gm (this is IIRC the old behaviour of TXC 1.x; I have saved the old registry entries.)

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 define an own key.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.