🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #309

Re: Auc-tex for OS/2?

#309
From: Eberhard Mattes
Date: Wed, 22 Jul 1992 10:52
57 lines
2660 bytes
Sunando Sen writes:

> Is it possible to hack auc-tex to make it work under OS/2?
> Any information will be appreciated.

Apply the following patch to auctex.el:

---------------------------- cut here -------------------------------------
diff -c auctex/auc-tex.el \auctex/auc-tex.el
*** auctex/auc-tex.el	Mon Mar 30 19:20:50 1992
--- /auctex/auc-tex.el	Tue May 12 16:55:00 1992
***************
*** 478,484 ****
    (setq outline-regexp LaTeX-outline-regexp)

    (make-local-variable 'TeX-command)
!   (setq TeX-command "latex")

    (make-local-variable 'TeX-format-package)
    (setq TeX-format-package LaTeX-format-package)
--- 478,484 ----
    (setq outline-regexp LaTeX-outline-regexp)

    (make-local-variable 'TeX-command)
!   (setq TeX-command "tex386")

    (make-local-variable 'TeX-format-package)
    (setq TeX-format-package LaTeX-format-package)
---------------------------- cut here -------------------------------------

Put the following in your .emacs file (and change the path names):

---------------------------- cut here -------------------------------------
(setq load-path (cons (expand-file-name "h:/auctex/") load-path))
(setq TeX-args '("&lplaing"))
(autoload 'tex-mode "auc-tex" "Automatic select TeX or LaTeX mode" t)
(autoload 'plain-tex-mode "auc-tex" "Mode for Plain TeX" t)
(autoload 'latex-mode "auc-tex" "Mode for LaTeX" t)
(autoload 'LaTeX-math-mode    "tex-math"      "Math mode for TeX." t)
(autoload 'outline-minor-mode "outline-minor" "Minor Outline Mode." t)
(setq auto-mode-alist (cons '("\\.tex$" . tex-mode) auto-mode-alist))
(setq TeX-command "tex386")
(setq TeX-print-command "prtfx")
(setq TeX-index-command "makeindx")
(setq TeX-compilation-cd-command "cd2")
(setq LaTeX-default-style-options "german")
(setq TeX-preview-command "start /c vp")
(setq TeX-preview-alist '(("." . TeX-preview)))
---------------------------- cut here -------------------------------------

(Note that this is for German LaTeX, you might want to change the
commands a bit for English LaTeX.)

Disclaimer: These changes have almost not been tested.

Yours,
  Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)
Technical Details
Message-ID: <9207221052.AA09128@azu.informatik.uni-stuttgart.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!rutgers!network.ucsd.edu!mvb.saic.com!info-tex

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!rutgers!network.ucsd.edu!mvb.saic.com!info-tex
From: mattes@azu.informatik.uni-stuttgart.de (Eberhard Mattes)
Newsgroups: comp.text.tex
Subject: Re: Auc-tex for OS/2?
Message-ID: <9207221052.AA09128@azu.informatik.uni-stuttgart.de>
Date: 22 Jul 92 10:52:53 GMT
Organization: Info-Tex<==>Comp.Text.Tex Gateway
Lines: 57
X-Gateway-Source-Info: Mailing List