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



Problem with front/back
03/09/2014 00:24, Elettrotanzboy

Re: How do I keep exam choice options together on the same p
02/09/2014 22:22, LavaTyper

Re: Parts of a Document in Hebrew
02/09/2014 18:36, Johannes_B

Re: How do I keep exam choice options together on the same p
02/09/2014 18:20, Johannes_B

Re: Parts of a Document in Hebrew
02/09/2014 16:01, Leo__

How do I keep exam choice options together on the same page?
02/09/2014 15:33, LavaTyper

Re: "1. Introduction" rather than "Chapter 1. Introduction"
02/09/2014 11:09, Johannes_B

Re: "1. Introduction" rather than "Chapter 1. Introduction"
02/09/2014 07:45, tronetq

Append text to subsection title
01/09/2014 23:57, mlinfoot

Re: "1. Introduction" rather than "Chapter 1. Introduction"
01/09/2014 17:13, Johannes_B