From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Lee Newsgroups: gmane.emacs.help Subject: Re: LaTex on windows Date: Mon, 23 Jun 2003 19:58:21 GMT Organization: SBC http://yahoo.sbc.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056398621 31832 80.91.224.249 (23 Jun 2003 20:03:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2003 20:03:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 23 22:03:38 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19UXXN-0008H6-00 for ; Mon, 23 Jun 2003 22:03:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19UXUy-0000DK-RI for gnu-help-gnu-emacs@m.gmane.org; Mon, 23 Jun 2003 16:01:08 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!207.115.63.142!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:QwFTWLjvGdwKRQxj8gUiGFTsh1M= Original-Lines: 65 Original-NNTP-Posting-Host: 216.62.199.3 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr11.news.prodigy.com 1056398301 ST000 216.62.199.3 (Mon, 23 Jun 2003 15:58:21 EDT) Original-NNTP-Posting-Date: Mon, 23 Jun 2003 15:58:21 EDT X-UserInfo1: TSU[@I_AO@RYB\\YQCHN_TTDFRYB@GXLN@GZ_GYO^BVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL Original-Xref: shelby.stanford.edu gnu.emacs.help:114656 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11146 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11146 >>>> Marcus Frings writes: Marcus> I would suggest that you install MikTeX and AUC TeX by Marcus> following this instruction Marcus> and then use Marcus> MikTeX's DVI-viewer. I took your suggestion and went this route. I installed auctex 11.13, and the latest version of miktex. I found a sample tex doc and created a file called test.ltx and copied it in there. It looks like this: \documentclass[a4paper,12pt]{article} \begin{document} The foundations of the rigorous study of \emph{analysis} were laid in the nineteenth century, notably by the mathematicians Cauchy and Weierstrass. Central to the study of this subject are the formal definitions of \emph{limits} and \emph{continuity}. Let $D$ be a subset of $\bf R$ and let $f \colon D \to \mathbf{R}$ be a real-valued function on $D$. The function $f$ is said to be \emph{continuous} on $D$ if, for all $\epsilon > 0$ and for all $x \in D$, there exists some $\delta > 0$ (which may depend on $x$) such that if $y \in D$ satisfies \[ |y - x| < \delta \] then \[ |f(y) - f(x)| < \epsilon. \] One may readily verify that if $f$ and $g$ are continuous functions on $D$ then the functions $f+g$, $f-g$ and $f.g$ are continuous. If in addition $g$ is everywhere non-zero then $f/g$ is continuous. \end{document} I compiled (C-c C-c) and then viewed the results (C-c C-l) which was: Running `LaTeX' on `test' with ``latex --src-specials \nonstopmode\input{test.ltx}'' This is TeX, Version 3.141592 (MiKTeX 2.3) ! I can't find file `nonstopmodeinput{test.ltx}'. <*> nonstopmodeinput{test.ltx} Please type another input file name: My emacs with respect to auctex looks like this: (add-to-list 'Info-default-directory-list "e:/packages/auctex-11.13/doc/") (setq load-path (cons "e:/packages/auctex-11.13" load-path)) (require 'tex-site) (autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t) (autoload 'turn-on-reftex "reftex" "RefTeX Minor Mode" nil) (autoload 'reftex-citation "reftex-cite" "Make citation" nil) (autoload 'reftex-index-phrase-mode "reftex-index" "Phrase mode" t) (add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode (add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode Any ideas? Even if this were to compile I haven't specified yet what viewer to use as I didn't see where in the auctex customize area. Thanks again.