🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.dtp.tex.gust
Article #62

Re: AucTeX i NTEmacs

#62
From: Ryszard Kubiak
Date: Fri, 12 Dec 1997 11:50
63 lines
3571 bytes
> Marek Szczerba pyta:

> Czy kto/s ma zainstalowanego AucTeXa w NTEmacsie (a wszystko w Win95)?
>
> Chodzi mi o spos/ob wywo/lywania TeXa i dviscr. Zamiast tego ostatniego
> wola/lbym dviwin ale w/la/snie nie wiem jak to ustawi/c. Standartowo
> komendy s/a przekazywane do shella kt/orym jest command.com wi/ec dviwin
> tam nie dzia/la.
>
> Z tego samego powodu nie mog/e uruchomi/c TeXa (emtex) na buforze - emacs
> podaje d/lugie nazwy pliku w kt/orym przechowywany jest bufor.
>
> Mam zrezygnowa/c z emacsa???

,,Jeszcze si/e nie spieszmy, jeszcze poczekajmy, jeszcze mamy czas''.

Zanim zrezygnujesz, spr/obuj skonfigurowa/c AucTeX-a za po/srednictwm
pliku `tex-site.el'. Ten plik jest w dystrybucji, a po zrobieniu w nim
zmian mo/zemy now/a wersj/e uczyni/c dost/epn/a dla wszystkich w
danym o/srodku, albo tylko dla siebie (zale/zy od ustawienia
`load-path' w `.emacs').

Za/l/aczam fragment mojego `tex-site.el', w kt/orym kilka rzeczy mam
po swojemu (na /z/adanie mog/e przes/la/c ca/ly m/oj plik poczt/a
prywatn/a).

Rysiek

---------------------------------------------------

(defvar TeX-file-extensions '("tex" "sty" "cls" "ltx" "mex" "lmx" "texi")
  "*File extensions used by manually generated TeX files.")

(setq TeX-command-list
  ;; You may have to remove the single quotes around the command
  ;; arguments if you use DOS.
  (list
    (list "TeX" "tex '\\nonstopmode\\input %t'" 'TeX-run-TeX nil t)
    (list "MeX" "mex '\\nonstopmode\\input %z'" 'TeX-run-TeX nil t)
;; (list "TeX Interactive" "tex %t" 'TeX-run-interactive nil t)
        (list "LaTeX" "%l '\\nonstopmode\\input{%t}'" 'TeX-run-LaTeX nil t)
        (list "LaMeX" "%l '\\nonstopmode\\input{%m}'" 'TeX-run-LaTeX nil t)
;; (list "LaTeX Interactive" "%l %t" 'TeX-run-interactive nil t)
;;      (list "LaTeX2e" "latex2e '\\nonstopmode\\input{%t}'"
;;                  'TeX-run-LaTeX nil t)
        (list "View" "xdvi -expert -paper a4 -S 20 -geometry +510+0 %d" 'TeX-run-background t nil)
;;      (if (or window-system (getenv "DISPLAY"))
;;              (list "View" "%v " 'TeX-run-background t nil)
;;          (list "View" "dvi2tty -q -w 132 %s " 'TeX-run-command t nil))
;;      (list "Print" "%p " 'TeX-run-command t nil)
;;      (list "Queue" "%q" 'TeX-run-background nil nil)
        (list "Dvips" "dvips %d -o %f " 'TeX-run-command t nil)
;;      (list "BibTeX" "bibtex %s" 'TeX-run-BibTeX nil nil)
;;      (list "Index" "makeindex %s" 'TeX-run-command nil t)
;;      (list "Check" "lacheck %s" 'TeX-run-compile nil t)
        (list "Spell" "<ignored>" 'TeX-run-ispell nil nil)
;;      (list "Other" "" 'TeX-run-command t t)
        ;; Not part of standard TeX.
        ;;(list "Makeinfo" "makeinfo %t" 'TeX-run-compile nil t)
        ;;(list "AmSTeX" "amstex '\\nonstopmode\\input %t'"
        ;;            'TeX-run-TeX nil t)
  )
)
Technical Details
Message-ID: <19971212115056.4171.qmail@chronos.ipipan.gda.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.icm.edu.pl!news.man.torun.pl!m2n-man.torun.pl
References: <Pine.OSF.3.95.971212113834.27303A-100000@math.amu.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.icm.edu.pl!news.man.torun.pl!m2n-man.torun.pl
From: R.Kubiak@IPIPAN.GDA.PL (Ryszard Kubiak)
Newsgroups: pl.comp.dtp.tex.gust,gust.tex
Subject: Re: AucTeX i NTEmacs
Message-ID: <19971212115056.4171.qmail@chronos.ipipan.gda.pl>
Date: 12 Dec 97 11:50:56 GMT
References: <Pine.OSF.3.95.971212113834.27303A-100000@math.amu.edu.pl>
Sender: owner-gust-l@MAN.TORUN.PL
MIME-Version: 1.0 (generated by tm-edit 7.106)
Reply-To: Polish TeX users group discussion list <GUST-L@MAN.TORUN.PL>
Approved: mjsz@man.torun.pl
Lines: 63
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit