[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File variables in tex-site.el
From: |
Dr. F.C.Caner |
Subject: |
Re: File variables in tex-site.el |
Date: |
5 May 2003 01:36:03 -0700 |
This is just great, but I could not get it working. I am not getting
any error messages either. Actually, I cannot see any buffer named
*ddeclient* at all. When I eval (acrobat-close-all-docs) in the
*scratch* buffer, the function returns t and Acrobat reader does
nothing. Any idea what is happening?
Thanks,
FCC.
> The following snippets in my tex-site.el are from some posting of
> Jesper Harder that I found with google:
>
> ,----
> |
> | ;;; von Jesper Harder:
> | (defun acrobat-close-all-docs ()
> | "Close all open documents in Acrobat."
> | (save-excursion
> | (set-buffer (get-buffer-create " *ddeclient*"))
> | (erase-buffer)
> | (insert "[CloseAllDocs()]")
> | (call-process-region (point-min) (point-max)
> | "ddeclient" t t nil "acroview" "control")
> | (if (= 0 (string-to-int (buffer-string))) t nil)))
> |
> | (defun TeX-run-pdfLaTeX (name command file)
> | "Create a process for NAME using COMMAND to format FILE with pdfLaTeX."
> | (acrobat-close-all-docs)
> | (TeX-run-LaTeX name command file))
> |
> `----
>
> In TeX-command-list add this entry:
>
> ,----
> | (list "pdfLaTeX" "pdflatex '\\nonstopmode\\input{%t}'"
> | 'TeX-run-pdfLaTeX nil t)
> `----
Re: File variables in tex-site.el, Stefan Monnier, 2003/05/01
- Re: File variables in tex-site.el, Dr. F.C.Caner, 2003/05/01
- Re: File variables in tex-site.el, Matthias Rempe, 2003/05/02
- Re: File variables in tex-site.el,
Dr. F.C.Caner <=
- Re: File variables in tex-site.el, Matthias Rempe, 2003/05/05
- Re: File variables in tex-site.el, Jesper Harder, 2003/05/05
- Re: File variables in tex-site.el, Dr. F.C.Caner, 2003/05/06
- Re: File variables in tex-site.el, Dr. F.C.Caner, 2003/05/07
- Re: File variables in tex-site.el, Matthias Rempe, 2003/05/07
- Re: File variables in tex-site.el, Dr. F.C.Caner, 2003/05/08