[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LaTex on windows
From: |
Peter Lee |
Subject: |
Re: LaTex on windows |
Date: |
Mon, 23 Jun 2003 19:58:21 GMT |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt) |
>>>> Marcus Frings writes:
Marcus> I would suggest that you install MikTeX and AUC TeX by
Marcus> following this instruction
Marcus> <http://www.math.auc.dk/~dethlef/Tips/> 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.