[tex-live] Running Live - no access to C drive

Siep Kroonenberg siepo at cybercomm.nl
Sun Mar 4 22:38:44 CET 2007


On Sat, Mar 03, 2007 at 08:06:23PM -0800, poti giannakouros wrote:
> Hello Dmitrij,
> I don't exactly have an answer for you, but
> I am currently trying to do what Karl described. 
> My current status is that I cannot view DVI files,
> and I cannot use packages. Very simple documents
> however, do work. 
> 
> In case it helps you, and in case you or someone else 
> can help me, here is what I have done so far:
> 
> tlmpgui installs material in C:\TexLive2007 and C:\texmf-var. TexLive2007
> contains the dvi viewer, ghostscript, and a temp directory, if I recall correctly
> (I am not at a PC). In my case, I also needed to change the default paper size 
> so I clanged the files indicted at the end of this post and ran 
> c:\localtexmf\dvipdfm\config>fmtutil.exe --all
> which made about  what had been about 10 megabytes 
> in texmf-var become 53 megabytes.
> 
> I then moved texmf-var to the directory that would become the root of my DVD.
> 
> I use TexLive through emacs, so I set my environment variables in site-lisp/site-start.el
> as follows (I am just starting to learn emacs lisp, so corrections are welcome):
> 
> (setenv "PATH" (concat (getenv "PATH") 
>                        ";D:\\bin\\win32\\gs\\gs8.54\\bin;D:\\bin\\win32\\dviout;D:\\bin\\win32" ))
> (setenv "GS_LIB" (concat () "D:\\bin\\win32\\gs\\gs8.54\\lib" ))
> (setenv "TLroot" (concat () "D:\\" ))
> (setenv "TEXMFVAR" (concat () "D:\\texmf-var" ))
> (setenv "TEXMFTEMP" (concat () "C:\\WINDOWS\\Temp" ))
> (setenv "TEXMFCNF" (concat () "D:\\texmf-var\\web2c" ))
> (setenv "PERL5LIB" (concat () "D:\\perlt\\lib;D:\\perltl\\site\\llib" ))
> 
> (custom-set-variables
>   ;; custom-set-variables was added by Custom.
>   ;; If you edit it by hand, you could mess it up, so be careful.
>   ;; Your init file should contain only one such instance.
>   ;; If there is more than one, they won't work right.
>  '(exec-path (quote ( "." "D:/Emacs/bin" "D:/bin/win32/gs/gs8.54/bin" "C:/Program Files/Adobe/Acrobat 7.0/Reader/" "D:/GnuWin32/bin" "D:/bin/win32" "D:/bin/win32/dviout")))) 
> 
> I edited out some things for readability but think I have all the TeXLive related things.

Of course you could also set environment variables via Settings /
Control Panel System / Advanced tab / Environment variables.

It might be a good idea if, for a dvd install, the installer asked
for a location of the private stuff.

-- 
Siep Kroonenberg


More information about the tex-live mailing list