I have a portable TexMaker in my memory.
Portable TexLive 2012 is installed on it too.
I want to make my documents with TexMaker using engine which in TexLive.
- 515
1 Answers
For Windows Users
Click on tl-tray-menu as shown in Portable Texlive.
For Linux Users
Note: You should have wine installed and configured.
For the sake of this discussion, assume that your TeXLive folder is named TeXLive2012.
USB Configuration
If the following is your USB file configuration:
USB folder
|______texmakerwin32usb
|______TeXLive2012
then fire up your portable TeXMaker by clicking on texmaker.exe inside the texmakerwin32usb folder and then set up the drivers by clicking:
Options > Configure Texmaker > Commands
Configuring PDF Viewer
Use the built-in viewer of Texmaker. Alternatively, you can download a portable PDF viewer of your liking and save to your USB. Then in PDF Viewer, click on the folder icon to browse to the location of the portable PDF viewer in your USB. For PS, see how to install ghostscript in the answers in Configuring portable TeXstudio to use MiKTeX portable
Configuring the Drivers
For each driver, click on the folder icons in the Commands configuration and browse to the location of the corresponding driver in the TeXLive2012 bin folder.
You should get something like this.
LaTeX > "../TeXLive2012/bin/latex" -interaction=nonstopmode %.tex
PdfLaTeX > "../TeXLive2012/bin/pdflatex" -synctex=1 -interaction=nonstopmode %.tex
Latexmk > "../TeXLive2012/bin/latexmk" -e "$pdflatex=q/pdflatex -synctex=1 -interaction=nonstopmode/" -pdf %.tex
Bib(la)tex > "../TeXLive2012/bin/biber" %
Makeindex > "../TeXLive2012/bin/makeindex" %.idx
dvips > "../TeXLive2012/bin/dvips" -o %.ps %.dvi
Dvipdfm > "../TeXLive2012/bin/dvipdfm" %.dvi
ps2pdf > "../TeXLive2012/bin/ps2pdf" %.ps
metapost > "../TeXLive2012/bin/mpost" --interaction nonstopmode
First Steps in Setting Up a Portable TeXLive for Linux
It's easiest to just download the .iso file and mount it.
Create
TeXLive2012in your USB root folder.cdto the mounted directory. Usuallycd /media/username/TeXLive2012You can replace
usernameby your actualusername.Type and enter
perl install-tl -portableChoose the directory by typing
Dthen write the location of your USB:/media/username/usbname/TeXLive2012then hit Enter. You can specify every directory this way if you like. But since USB's are slow drives, you can choose to install it on a writable folder, say in your desktop then copy and paste the folder into your USB. I find it faster this way.
For Texmaker, simply unzip the folder to your root USB folder.
After doing this, you should have the file structure we have above.
-
I have tried this with latest texmaker usb. Seems to not find the tex executables when I use a relative path i.e. ../texlive/2012/etc but finds it if I use absolute paths D:/texlive/2012/etc any thoughts as makes it useless on a portable tex install and I want to use texmaker. – ramonskovitch Jun 19 '13 at 03:47
Texworksfrom thetl-tray-menuicon, another alternative cross-platform editor – texenthusiast Jan 06 '13 at 10:38