I have downloaded and installed the portable versions of TeXstudio and MiKTeX for Windows. I assume I now have to map the commands in TeXstudio to the binaries (or the batch files) in MiKTeX. However, not all commands seem to have corresponding binaries (or batch files). For instance, dvipdf is apparently dvipdfm. I am not sure what gs maps to, as there is again several ghostscript related binaries. Does anyone have a definite working mapping?
I have a running version completely self contained on a usb clib (the same one I set my students up with). I have to be at a meeting but the part you need is the configuration as below. Note the relative paths.
Now for more details:
I recommend that you use a new (fast) usb clip (4Gb min) for the portable installation of MikTeX. I also recommend that you do not put any data on the clip, but use another clip for data. (This will make backing up the data clip significantly easier. It also runs a little faster.
Updated Answer: Jan. 6, 2012
This tutorial is based on the external blog post Configuring Texmaker USB With MiKTeX Portable.
There are now some minor changes with the User Interface in Version 2.5.1 (Portable version 2.9.4250) from the older versions.
Setting Up TeXStudio with MiKTeX Portable 2.9.4250.
Now open your TeXStudio USB folder and look for the file
You should see something like this:
Notice that there are minor differences from the one in R. Schumacher's answer (older version). To set up the where TeXStudio portable will look for the drivers, click on the folder icon (colored blue in my case) and browse to the location of the appropriate driver in your USB device. But make sure to put
You should see something like this now.
Here is a summary of what I have written in the
Note that I have not done anything with the viewers yet.
TeXStudio has a built-in PDF Viewer. To configure, click
There is also an Embedded version for the Internal PDF Viewer.
Follow R. Schumacher's post.
You can follow the second step of R. Schumacher's answer. Alternatively, you can use the procedure in Configuring Texmaker USB With MiKTeX Portable. Here is the summary: Download and install portableapps into your USB device then fire up the program and open the menu. Click on ‘Apps,’ then ‘Get More Apps.’ Under ‘Utilities’ locate Ghostscript, select the checkbox, and click ‘Next.’ The PortableApps.com Platform will automatically install Ghostscript to your USB drive (under PortableApps/CommonFiles).
Your USB file structure should now look like:
Then do click
I think I figured it out.
The binaries files are located in your portable MiKTeX install folder under miktex/bin; in my case
The mappings then are:
Asymptote doesnt seem to be part of MiKTeX.
Yes, all with absolute path to the files. I've had two difficulties with conversion: (the mapping which work for me)
Replace the D:/Program Files/MikTex/ with the your MikTex root path. Note in windows \ is used as file seperate, replace it with/