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

Re: [Debian] XEmacs und teTeX



Hallo Nils!

* Nils Kassube <lists@kassube.de> [240601 12:48]:
> Guten Morgen.
> 
> Hat sich schon jemand die Mühe gemacht und XEmacs für teTeX stimmig
> unter Debian konfiguriert? Also mit Support für pdflatex, Aufruf des
> Acrobat Reader, etc? 

Das und einiges mehr kannst Du mit diesem kleinem ELISP Marko
erreichen. Du kannst es auch sehr leicht Deinen Bedürfnissen
anpassen. 

(require 'tex-site)
;;(require 'tex)

(setq TeX-view-style '(("a5" "xdvi -thorough %d -paper a5")
                       ("^landscape$" "xdvi -thorough %d -paper a4r -s 6")
                      ("." "xdvi -thorough %d -s 8")))

;; (setq tex-dvi-view-command "xdvi")
;; (setq TeX-auto-save t
;;      TeX-parse-self t)
;; (setq-default TeX-master nil)
;; (defun dns-setup-auctex ()
;;   "Auctex setup"
;;   (turn-on-auto-fill)
;;   (local-unset-key "\"")
;;  (fume-add-menubar-entry))

(defvar TeX-command-list
;; Umsortierung - Testphase
;; nil t fuehrt Kommando sofort aus | t nil fragt nach Bestaetigung
(list
  (list "Acrobat" "acroread %s.pdf " 'TeX-run-command nil t)
  (list "BibTeX" "bibtex %s" 'TeX-run-BibTeX nil nil)
  (list "DVI2PDF" "dvips -Ppdf %d -o %f ; ps2pdf %f " 'TeX-run-command nil t)
  (list "ExportPDFLateX" "pdflatex %t " 'TeX-run-command nil t)
  (list "File" "dvips %d -o %f " 'TeX-run-command t nil)
  (list "Ghostview" "gv -geometry 1268x908+0+28 %f " 'TeX-run-background t nil)
  (list "Index" "makeindex %s" 'TeX-run-command nil t)
  (list "LaTeX" "%l '\\nonstopmode\\input{%t}'" '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 "Other" "" 'TeX-run-command t t)
  (list "Print" "%p " 'TeX-run-command t nil)
  (list "Queue" "%q" 'TeX-run-background nil nil)
  (list "RemoveLaTeX" "rm -f *.toc *.aux *.log *.cp *.fn *.tp *.vr *.pg *.ky *.mtc *.mtc1 *.bbl *.blg " 'TeX-run-TeX t nil)
  (list "TeX" "tex '\\nonstopmode\\input %t'" 'TeX-run-TeX nil t)
  (list "TeX Interactive" "tex %t" 'TeX-run-interactive nil t)
  (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 "XView" "dvips %d -o %f -q ; gv %f " 'TeX-run-background nil t)
  (list "ZipPS" "gzip -f %f " 'TeX-run-command t nil)

;; Eventuell entfernen
  (list "Check" "lacheck %s" 'TeX-run-compile nil t)
  (list "Makeinfo" "makeinfo %t" 'TeX-run-compile nil t)
  (list "Spell" "<ignored>" 'TeX-run-ispell nil nil)
))

MfG Roman!

-- 
Roman BEIGELBECK  |  debian@aon.at  |  http://members.a1.net/star88/
____________________________________________________________________
Die letzten Worte eines Computertechnikers:
"Ich laß das Stromkabel zur Erdung dran!"

-- 
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Subject
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
-----------------------------------------------------------

833 eingetragene Mitglieder in dieser Liste.


Reply to: