Featured Book

LaTeX Beginners Guide

Partner Sites

TeXwelt - Fragen und Antworten zu LaTeX
TeXblog
TeXample
How to make TeXnicCenter portable PDF Print E-mail
(11 votes, average: 4.91 out of 5)
LaTeX Editors - TeXnicCenter
Written by Khalid   
Sunday, 14 March 2010 13:26

In my opinion, TeXnicCenter is one of the best LaTeX editors for Windows.

I usually customize many aspects of TeXnicCenter such as: text highlighting, tools, dictionary, and shortcuts. The problem is that TeXnicCenter saves all these settings in the registry. Thus, I have to repeat all these customizations on all PCs that I use. Also, there is no portable version for TeXnicCenter yet.

For these reasons, I was searching for a way to make it portable. During my goooogling, I came across a tool called Registry Rapper (http://portableapps.com/development/projects/registry_rapper). In the description of this tool i found:

"Registry Rapper is a template for allowing the use of programs that save their settings to the registry as portable applications."

This is exactly what I was looking for. I tried it and finally got it working and I would like to share this with you all.

  1. I assume that you have TeXnicCenter installed in your computer
  2. Download Registry Rapper from SourseForge (http://sourceforge.net/projects/regrapper/).
  3. Unzip the file (Reg_Rapper_1.8.0.0.zip) to any folder. The contents of this file are
    registrrappercontents
    The files that we need to make TeXnicCenter portable are: RegRap.exe and RegRap.ini. Make sure that you read the README.txt file.
  4. As shown in the readme file, create a new folder for TeXnicCenter and call it TeXnicCenterPortable
  5. Copy the RegRap.exe file to this folder. You can rename this file to any name you like e.g., TeXnicCenterPortable.exe
  6. Inside the TeXnicCenterPortable folder, create two folders: TeXnicCenter and SETTINGS.
  7. Copy all files from your original TeXnicCenter folder (i.e, the one in Program Files) to the new TeXnicCenter folder that you created.
    texnicfolder

  8. Copy the RegRap.ini file inside the SETTINGS folder. You have to edit this file as shown in the readme file. Anyway, to make it easy, just copy the contents below:
    [DIRSETTINGS]
    PROGRAMDIRECTORY=TeXnicCenter

    [PROGSETTINGS]
    DEVNAME=TeXnicCenterDev
    APPNAME=TeXnicCenter Portable
    EXECUTABLE=TEXCNTR

    [REGSETTINGS]
    MANREGKEY=HKEY_CURRENT_USER\Software\ToolsCenter
    Save and close the file
  9. Done. just run the application that you created in step 5. Now

Comments

  • In the first time you run the application, it will read the settings of TeXnicCenter from the registry and save it to a file called Settings.reg inside the SETTINGS folder. This is the file where all your settings will be stored
  • when you run TeXnicCenterPortable from a different machine (that does not have TeXnicCenter installed), you might get the following error:
    texnicerror
    I tried to install js Microsoft XML Parser but the error is still there!!
    Anyway, the application can run even with this error.
  • You have to install MikTeX (or any TeX distribution) in all machines that you use or use a portable version of MikTeX (see http://miktex.org/portable/about)

I hope you find this post useful.

regards

-Khalid

Comments

avatar salehin
+14
 
 
Thanks a lot, Khalid. :)
B
i
u
Quote
Code
List
List item
URL
Name *
Email (For verification & Replies)
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment
Cancel
B
i
u
Quote
Code
List
List item
URL
Name *
Email (For verification & Replies)
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment
 

Latest Forum Posts



Re: How to centering a table and set the caption under the T
28/08/2014 04:07, mas

two monitors
28/08/2014 01:02, flows69

Re: Avoiding page number on first page of Index
27/08/2014 23:29, solarisfan

Re: spacing in arabtex
27/08/2014 22:29, BingoBongo

farsi spell check
27/08/2014 21:32, mshj

What bibtex entry type to obtain this reference
27/08/2014 21:28, rawlins02

Inconsistent hfill when using input
27/08/2014 19:55, kpedro88

Re: Problem with cross-referencing figures
27/08/2014 16:47, hooman

Problem with cross-referencing figures
27/08/2014 16:23, hooman

How to centering a table and set the caption under the Table
27/08/2014 15:13, ohmp2007