<br><br><b><i>Dima &lt;dmitrij.ledkov@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <br>As far as I understand now:<br><br>1) it is possible to avoid using C drive during initial small preference installation to run Tex Live of DVD<br><br>2) In order to do this you need to generate those preference/must have files first and put them somewhere the DVD can access it ie the DVD itself or flash drive or like network drive <br><br>If 1 and 2 are right can someone please explain in detail step/by step how to achieve this. And is there a simple procedure to do that (ie some exe program which will do all of that)???? BTW i know nothing about emacs. <br></blockquote>If you have a computer on which you have write access to the C drive, and if <br> your are using A4 paper, you can reproduce what I did by: <br> <br> 1) running setuptl/tlpmgui.exe and selecting the 'run from DVD' tab. <br>
 <br> 2) Then copy texmf-var&nbsp; to your media<br> 3)&nbsp; set the environment <br> variables as Siep said:<span style="font-family: monospace;"><br> <br> </span>via Settings / <br> <pre><tt>Control Panel System / Advanced tab / Environment variables.</tt></pre> 4) The variables in capital letters in my emacs startup file are the environment variables you need to set. <br> <br> 5) The paths starting with D: or C: are the paths you need to set. Of course, use only a single backslash (\) and set the path and drive letter according to the setup you will be using. <br> <br> I may be wrong about the TEXMFVAR variable, as tlmpgui.exe seemed to imply "texmf-var" rather than "D:\texmf-var." <br> <br> Unless you know enough DOS to find some way to set the variables automatically each time, (I could not do it with autorun.inf)&nbsp; you will have to do so each time by hand. <br> <br> I am not sure if this will work for sure, for example on the test file I mentioned,<br> but it is
 a place to start. <br> <br> Good luck.<br> I will comment on some of George N. White's comments below.<br> <br> <b><i><br> </i></b> <blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt; I use TexLive through emacs, so I set my environment variables in<br>&gt; site-lisp/site-start.el<br>&gt; as follows (I am just starting to learn emacs lisp, so corrections are <br>&gt; welcome):<br>&gt;<br>&gt; (setenv "PATH" (concat (getenv "PATH")<br>&gt;<br>&gt; ";D:\\bin\\win32\\gs\\gs8.54\\bin;D:\\bin\\win32\\dviout;D:\\bin\\win32"<br>&gt; ))<br>&gt; (setenv "GS_LIB" (concat () <br>&gt; "D:\\bin\\win32\\gs\\gs8.54\\lib" ))<br>&gt; (setenv "TLroot" (concat () "D:\\" ))<br>&gt; (setenv "TEXMFVAR" (concat () "D:\\texmf-var" ))<br>&gt; (setenv "TEXMFTEMP" (concat () "C:\\WINDOWS\\Temp" ))
 <br>&gt; (setenv "TEXMFCNF" (concat () "D:\\texmf-var\\web2c" ))<br>&gt; (setenv "PERL5LIB" (concat ()<br>&gt; "D:\\perlt\\lib;D:\\perltl\\site\\llib" ))<br><br> </blockquote></div></blockquote> <blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br><br><div><span class="gmail_quote">On 3/4/07, <b class="gmail_sendername">George N. White III</b> &lt;<a href="mailto:gnwiii@gmail.com">gnwiii@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On 3/4/07, poti giannakouros &lt;<a href="mailto:potiatpotisdotorg@yahoo.com">potiatpotisdotorg@yahoo.com</a>&gt; wrote:<br><br><br>It sounds like you have a good start.&nbsp;&nbsp;Emacs is helpful because you can<br>run commands in a *shell* window and capture many pages of output<br>for analysis.&nbsp;&nbsp;There are several ways to debug tex file searching. In
 <br>my experience most problems are caused not by missing files, but by<br>tex finding the "wrong" file -- often an older version left in a<br>user's personal texmf tree or mixed in with the source files.<br>     <br> </blockquote></div></blockquote> Yes, my files appear to be in the right places (in texmf-var). There have been <br> no other TeX installations on these machines, aside from what I have done testing tlpmgui.exe. I suspect I am not understanding how internal scripts are interpreting the TEXMFVAR environment variable. I cannot try until I get to the<br> lab, but thanks for the direction. <br> <div><br> </div> <blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">   <div>   <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>I have a couple concerns, however.&nbsp;&nbsp;What happens if the DVD<br>reader isn't drive
 D:?&nbsp;&nbsp;It should be possible to put a live tree on<br>DVD, a network drive, or a USB disk.&nbsp;&nbsp;Do you have to burn a DVD in<br>order to test the setup? <br></blockquote>   </div> </blockquote> I have gone through a big stack of DVDs trying to get whole suit of tools right. The whole thing fills a DVD right up to the edge. TexLive plus emacs alone I can get onto an 2.3 G MO disk, so that is a little easier to test, though it helped to be on read only media with the right letter to be sure I was not overlooking something. Regarding the letter, I do not know enough (Windows XP + emacs lisp) to grab the "self" drive letter and use that. What I have my users do at the moment is basically to copy the drive letter specific settings to %HOME% in a _emacs file in which they replace-string on the drive letter. <br> <div><br> </div> <blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">   <div>   <blockquote
 class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>There have been postings on configuring emacs to use the "pdfopen" and<br>"pdfclose" utilities to ensure that acroread doesn't keep a .pdf file<br>open while your are trying to write over it.&nbsp;&nbsp;This didn't work <br>reliably for me a year ago -- emacs would randomly hang when launching<br>acroread.&nbsp;&nbsp;Maybe things are better now (which version are you using?)<br></blockquote>   </div> </blockquote> I am using emacs 22.0.92.&nbsp; It seems to be doing what you described, though I will <br> search for pdfclose and pdfopen for discussion of this problem.<br> <div><br> </div> Thanks for the help.<br> <br><p>&#32;

<hr size=1>Need Mail bonding?<br>Go to the <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">Yahoo! Mail Q&A</a> for <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">great tips from Yahoo! Answers</a> users.