tag:blogger.com,1999:blog-14604873.post115589755311661796..comments2020-05-28T03:38:14.379-07:00Comments on zkwarl: LaTeX Tip: Emacs, AUCTeX and Preview TeX - A Fantastic Editing Environmentsmithcohttp://www.blogger.com/profile/10339199310394349717noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-14604873.post-84310682111874256482009-07-14T02:38:17.082-07:002009-07-14T02:38:17.082-07:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-14604873.post-73134784916478552492007-10-09T19:08:00.000-07:002007-10-09T19:08:00.000-07:00Thanks Tor,That will help when I eventually migrat...Thanks Tor,<BR/><BR/>That will help when I eventually migrate to Vista.smithcohttps://www.blogger.com/profile/10339199310394349717noreply@blogger.comtag:blogger.com,1999:blog-14604873.post-89025591222228401282007-10-09T15:13:00.000-07:002007-10-09T15:13:00.000-07:00Windows Vista has some new way of doing things. So...Windows Vista has some new way of doing things. Solution:<BR/><BR/>1. go to command line<BR/>2. make sure that you can run pdflatex fine<BR/>3. type "set"<BR/>4. copy everything that was printed to the screen, eg:<BR/><BR/>HOMEPATH=\Users\Foo<BR/>LOCALAPPDATA=C:\Users\Foo\AppData\Local<BR/>LOGONSERVER=\\BAR<BR/>NUMBER_OF_PROCESSORS=2<BR/><BR/>5. create a new batch file somewhere, name it pdflatex.bat<BR/>6. paste the stuff from above into your file, and prefix each line with "set ":<BR/><BR/>set HOMEPATH=\Users\Foo<BR/>set LOCALAPPDATA=C:\Users\Foo\AppData\Local<BR/>set LOGONSERVER=\\BAR<BR/>set NUMBER_OF_PROCESSORS=2<BR/><BR/>7. Put "@echo off" at the first line, and "pdflatex.exe %*" at the last:<BR/><BR/>@echo off<BR/>set HOMEPATH=\Users\Foo<BR/>set LOCALAPPDATA=C:\Users\Foo\AppData\Local<BR/>set LOGONSERVER=\\BAR<BR/>set NUMBER_OF_PROCESSORS=2<BR/>pdflatex.exe %*<BR/><BR/>8. save, and point texlipse or your editor to this batch file instead of pdflatex.exeTor Arne Vestbøhttps://www.blogger.com/profile/04005555926613290600noreply@blogger.comtag:blogger.com,1999:blog-14604873.post-83981322164123468332007-05-27T13:40:00.000-07:002007-05-27T13:40:00.000-07:00In my Installation, on Windows Vista,the .emacs fi...In my Installation, on Windows Vista,<BR/>the .emacs file is in<BR/>C:\Users\Günter\AppData\Roaming (where Günter is my user name)<BR/>The Appdata directory is not shown in the windows explorer or with the DIR command; it has to be typed in manually.<BR/><BR/>(Still, I have a problem accessing MikTeX from emacs: Miktex (and the previewer) complain that "The file system path could not be retrieved." and exit abnormally. I have to call latex from thecommand line. (When I log in with an administrator account, everything works fine.)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-14604873.post-87609369060140761922007-02-26T15:48:00.000-07:002007-02-26T15:48:00.000-07:00Thank you very much. I follow your advice and foun...Thank you very much. I follow your advice and found .emacs in C:\emacs\Long Chenhttps://www.blogger.com/profile/13262450576682033325noreply@blogger.comtag:blogger.com,1999:blog-14604873.post-42336115501199176862007-02-26T10:39:00.000-07:002007-02-26T10:39:00.000-07:00As I've never touched a Vista box, I can't give an...As I've never touched a Vista box, I can't give any specific Vista-related tips. However, it could just be that you don't have a .emacs file yet. That file doesn't get created until you save some customisations.<BR/><BR/>Under the Options menu, change one of the customisation options and then, again in the Options menu, select Save Options. That should create a .emacs file for you.<BR/><BR/>If you still can't find your .emacs after that, just do a file search. That file should be somewhere on you system, but it's not necessarily the same place between two installations.smithcohttps://www.blogger.com/profile/10339199310394349717noreply@blogger.comtag:blogger.com,1999:blog-14604873.post-29619660478232695452007-02-26T08:40:00.000-07:002007-02-26T08:40:00.000-07:00Thank you for your article. But I couldn't find .e...Thank you for your article. But I couldn't find .emacs in C:\. I am using Windows Vista. Can you help me? Thanks.Long Chenhttps://www.blogger.com/profile/13262450576682033325noreply@blogger.com