Herr Kaleun wrote:The matter is, at my Institute I didn't have my own PC. I can only use my portable HDD. Ok, it wouldn't be difficult to install it at my private PC at home and just editing some text at Institute.
But I wasn't attuned to a so complex portable handling. So I hope you understand my engagement.
Yes, I can understand your problem. Editing the sources without the possibility of viewing the output is suboptimal, indeed. I will try to help you with setting up portable TL but bear in mind two things: 1) I don't know TL too well, I mostly use MiKTeX; 2) TL2008 comes with a brand new package manager and I have no clue how to work with it yet, especially in a portable setup (I guess it should be no different than for regular installation but I don't know).
Firstly, you need to understand that TeX distribution is not a single application but a whole toolset, a suit of programs with a lot of additional support files (scripts, fonts, packages, format files and what not). Additionally, TL developers wanted to support different modes of installation (single user, network, portable) and make it all multiplatform. That's why the configuration is quite involved.
Herr Kaleun wrote:The what I have here:
WinShell321 - texlive2008
pdf-settings:
exe=G:\Apps\texlive2008\bin\win32\pdflatex.exe
cmd=-interaction=nonstopmode "%s.pdf"
dos=1
Of Course I started the tl-portable.bat, but I can not explain whether it is right or not.
[...]
And that is the what I dont understand, why did no one show what happen?! Is it installed or is there something wrong?! Really, I am not stupid with computers. ok, I'm only windows-skilled. But such trouble I dislike.
The main job of tl-portable.bat is to setup environment variables that are used by TeX utilities. On the first run also some configuration files will be created in the subdirectory texmf-var (if you run it from writeable medium) or in %USERPROFILE%\.tlportable2008 (if you run it from read-only medium). After this is done, a command interpreter is started that is prepared for TL. You can compile your documents directly from that interpreter.
The problems you experience are most likely because you call pdflatex.exe through WinShell. Since the environment is not set up properly in this case, TeX cannot locate all the necessary files and the compilation fails. I can suggest two solutions: start WinShell from the interpreter started by TL (so it inherits its environment) or make a batch script to launch TL together with WinShell. In both cases you can make a change in your WinShell settings and use 'exe=pdflatex.exe'. If everything is set up properly, 'pdflatex.exe' should be on the search path, so there is no need to hardcode its location.
Unfortunately, tl-portable.bat in written in such a way that it is difficult to use it in your own launcher. The problem lies in the last two lines:
To make a launcher script for WinShell instead of command interpreter, make a copy of tl-portable.bat and replace those lines with:
Code: Select all
start "" "C:\path to\winshell.exe"
That should be enough.
Herr Kaleun wrote:So, please tell me the name of the folders I need in texlive.
(2.8GB is stupid, differ between the platforms in first instance. So I cant understand the programmers view of it's package.)
I think it should be safe to delete all the platform specific stuff, i.e. everything in 'TLROOT\bin' folder except for 'win32' subdirectory. You can also remove the 'TLROOT\source' and 'TLROOT\support'. This should save about 750MB. For more, you would need to remove some of the packages but you shouldn't just delete them. You should use package manager but I have no experience with it yet, so you are on your own with that.
Cheers,
Tomek