help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] problem with emacs/auctex/MikTeX: I can't find file `nonstop


From: Scott, Steven
Subject: RE: [h-e-w] problem with emacs/auctex/MikTeX: I can't find file `nonstopmodeinput{tmp.tex}
Date: Wed, 18 Aug 2004 08:53:50 -0700

To 'latex' a file I type C-c C-c.  

How is the 'next-error' mechanism that you describe different from the
C-c ` provided by auctex?  Also, with auctex you don't need to set up a
makefile, which seems like a bit of a hassle.  I'd kind of like to work
with the system I already know.

Steve

-----Original Message-----
From: Stephen Leake [mailto:address@hidden 
Sent: Wednesday, August 18, 2004 8:04 AM
To: Scott, Steven
Cc: address@hidden
Subject: Re: [h-e-w] problem with emacs/auctex/MikTeX: I can't find file
`nonstopmodeinput{tmp.tex}


"Scott, Steven" <address@hidden> writes:

> Greetings,
> 
> I'm trying to compile the following file (named tmp.tex) from within 
> emacs, using auctex:

What exact keystroke are you using to 'compile'?

A different solution; I use Cygwin 'make' to invoke latex; that makes a
lot of things easier. In particular, you can use the Emacs 'next-error'
mechanism to find and fix errors. Here's my 'latex_rules.make' file:

# gnu make rules for processing TeX files, using MiKTeX distribution

.PRECIOUS : %.dvi %.aux %.out

TEX_OPTIONS := -quiet

%.dvi : %.tex
        latex $(LATEX_INCLUDES) -interaction nonstopmode
--c-style-errors $(TEX_OPTIONS) $<

%.view : %.dvi
        cygstart $<

# %.out holds the bookmarks, %.aux the references
%.pdf : %.tex %.out %.aux
        pdflatex $(LATEX_INCLUDES) -interaction nonstopmode
--c-style-errors $(TEX_OPTIONS) $<

%.out : %.tex
        pdflatex $(LATEX_INCLUDES) -interaction nonstopmode
--c-style-errors $(TEX_OPTIONS) $<

%.aux : %.tex
        pdflatex $(LATEX_INCLUDES) -interaction nonstopmode
--c-style-errors $(TEX_OPTIONS) $<

clean ::
        rm -f *log *.aux *.dvi *.pdf *.out
        if [ -d auto ]; then rm -rf auto; fi

maintainer-clean :: clean

release-clean ::
        rm -f *.dvi *.log *.aux *.out

# end of file

So in my main Makefile, I'd have:

--------------------
all : docs

include $(MAKERULES)/latex_rules.make

VPATH += ../../doc

LATEX_INCLUDES := -include-directory $(SAL)/Doc

docs : tmp.pdf
---------------------

I invoke the Makefile via 'M-x compile'.

Hope this helps,

-- 
-- Stephe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]