BTW I don't really care about DVI output i'm only using pdf outputs.<br><br><div><span class="gmail_quote">On 3/4/07, <b class="gmail_sendername">Dima</b> <<a href="mailto:dmitrij.ledkov@gmail.com">dmitrij.ledkov@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><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.
<div><span class="e" id="q_1111eff25d415c2a_1"><br><br><div><span class="gmail_quote">On 3/4/07, <b class="gmail_sendername">George N. White III</b> <<a href="mailto:gnwiii@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
gnwiii@gmail.com</a>> 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 <<a href="mailto:potiatpotisdotorg@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">potiatpotisdotorg@yahoo.com</a>> wrote:<br><br>> Hello Dmitrij,<br>
> I don't exactly have an answer for you, but<br>> I am currently trying to do what Karl described.
<br>> My current status is that I cannot view DVI files,<br>> and I cannot use packages. Very simple documents<br>> however, do work.<br>><br>> In case it helps you, and in case you or someone else<br>> can help me, here is what I have done so far:
<br>><br>> tlmpgui installs material in C:\TexLive2007 and C:\texmf-var. TexLive2007<br>> contains the dvi viewer, ghostscript, and a temp directory, if I recall<br>> correctly<br>> (I am not at a PC). In my case, I also needed to change the default paper
<br>> size<br>> so I clanged the files indicted at the end of this post and ran<br>> c:\localtexmf\dvipdfm\config>fmtutil.exe --all<br>> which made about what had been about 10 megabytes<br>> in texmf-var become 53 megabytes.
<br>><br>> I then moved texmf-var to the directory that would become the root of my<br>> DVD.<br>><br>> I use TexLive through emacs, so I set my environment variables in<br>> site-lisp/site-start.el<br>
> as follows (I am just starting to learn emacs lisp, so corrections are
<br>> welcome):<br>><br>> (setenv "PATH" (concat (getenv "PATH")<br>><br>> ";D:\\bin\\win32\\gs\\gs8.54\\bin;D:\\bin\\win32\\dviout;D:\\bin\\win32"<br>> ))<br>> (setenv "GS_LIB" (concat ()
<br>> "D:\\bin\\win32\\gs\\gs8.54\\lib" ))<br>> (setenv "TLroot" (concat () "D:\\" ))<br>> (setenv "TEXMFVAR" (concat () "D:\\texmf-var" ))<br>> (setenv "TEXMFTEMP" (concat () "C:\\WINDOWS\\Temp" ))
<br>> (setenv "TEXMFCNF" (concat () "D:\\texmf-var\\web2c" ))<br>> (setenv "PERL5LIB" (concat ()<br>> "D:\\perlt\\lib;D:\\perltl\\site\\llib" ))<br>><br>> (custom-set-variables
<br>> ;; custom-set-variables was added by Custom.<br>> ;; If you edit it by hand, you could mess it up, so be careful.<br>> ;; Your init file should contain only one such instance.<br>> ;; If there is more than one, they won't work right.
<br>> '(exec-path (quote ( "." "D:/Emacs/bin" "D:/bin/win32/gs/gs8.54/bin"<br>> "C:/Program Files/Adobe/Acrobat 7.0/Reader/" "D:/GnuWin32/bin"<br>> "D:/bin/win32" "D:/bin/win32/dviout"))))
<br>><br>> I edited out some things for readability but think I have all the TeXLive<br>> related things.<br>><br>> As it stands, if I try to typeset<br>> texmf-doc/doc/english/guide-to-latex/demodoc.tex
<br>> I get errors regarding latex.fmt not found. Output is produced if I remove<br>> the \usepackage lines<br>> in the header. Possibly related is the fact that I cannot used dviout. It<br>> looks for fonts on the C drive and the F drive, which was the MO disk on
<br>> which I prepared the contents of my DVD. Windvi seems<br>> to work and produces a page that is narrower and taller than my text, making<br>> me think that my<br>> conversion to letter default worked and windvi might work when I fix the
<br>> arguments with which emacs is calling it. Also, I cannot get acrobat to<br>> launch as a pdf viewer from emacs.<br>><br>> I hope this helps, and I will post more if I learn more before others can<br>> pitch in.
<br><br>It sounds like you have a good start. Emacs is helpful because you can<br>run commands in a *shell* window and capture many pages of output<br>for analysis. 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>I have a couple concerns, however. What happens if the DVD<br>reader isn't drive D:? It should be possible to put a live tree on<br>DVD, a network drive, or a USB disk. Do you have to burn a DVD in<br>order to test the setup?
<br><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. This didn't work
<br>reliably for me a year ago -- emacs would randomly hang when launching<br>acroread. Maybe things are better now (which version are you using?)<br><br>Dviout is normally independent of the TeX distribution, so the<br>
configuration isn't tied to the changes you make for TL.<br><br>--<br>George N. White III <<a href="mailto:aa056@chebucto.ns.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">aa056@chebucto.ns.ca
</a>><br>Head of St. Margarets Bay, Nova Scotia<br></blockquote>
</div><br><br clear="all"><br></span></div><div><span class="e" id="q_1111eff25d415c2a_2">-- <br>Dmitrij Ledkov<br>Email: <a href="mailto:Dmitrij.Ledkov@Gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Dmitrij.Ledkov@Gmail.com</a><br>University: <a href="mailto:D.Ledkovs@hull.ac.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">D.Ledkovs@hull.ac.uk</a><br>Land line: +44 (0) 8708558871
<br>Cell phone: +44 (0) 7842589801<br>Skype ID:dmitrij0309<br>MSN / AIM / Jabber : <a href="mailto:dmitrij.ledkov@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dmitrij.ledkov@gmail.com
</a><br><br>Correspondence addresses in Latvia and UK are available upon request
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Dmitrij Ledkov<br>Email: <a href="mailto:Dmitrij.Ledkov@Gmail.com">Dmitrij.Ledkov@Gmail.com</a><br>University: <a href="mailto:D.Ledkovs@hull.ac.uk">D.Ledkovs@hull.ac.uk
</a><br>Land line: +44 (0) 8708558871 <br>Cell phone: +44 (0) 7842589801<br>Skype ID:dmitrij0309<br>MSN / AIM / Jabber : <a href="mailto:dmitrij.ledkov@gmail.com">dmitrij.ledkov@gmail.com</a><br><br>Correspondence addresses in Latvia and UK are available upon request