From: ferhun_caner@yahoo.com (Dr. F.C.Caner)
Subject: Re: File variables in tex-site.el
Date: 5 May 2003 01:36:03 -0700 [thread overview]
Message-ID: <65fef11f.0305050036.27ae8d34@posting.google.com> (raw)
In-Reply-To: ud6j1qyxj.fsf@rempe-online.de
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)
> `----
next prev parent reply other threads:[~2003-05-05 8:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-30 9:31 File variables in tex-site.el Ulrich Dirr
2003-04-30 14:34 ` Kai Großjohann
2003-04-30 14:59 ` David Kastrup
2003-05-01 8:09 ` Ulrich Dirr
2003-05-01 9:26 ` David Kastrup
2003-05-01 15:11 ` Piet van Oostrum
2003-05-02 5:30 ` Ulrich Dirr
2003-05-02 10:44 ` Piet van Oostrum
2003-05-03 7:04 ` Ulrich Dirr
2003-05-03 9:01 ` David Kastrup
2003-05-01 22:47 ` Stefan Monnier
2003-05-01 10:00 ` Dr. F.C.Caner
2003-05-02 13:07 ` Matthias Rempe
2003-05-05 8:36 ` Dr. F.C.Caner [this message]
2003-05-05 22:30 ` Matthias Rempe
2003-05-05 23:01 ` Jesper Harder
2003-05-06 5:41 ` Dr. F.C.Caner
2003-05-07 11:28 ` Dr. F.C.Caner
2003-05-07 16:45 ` Matthias Rempe
2003-05-08 6:00 ` Dr. F.C.Caner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=65fef11f.0305050036.27ae8d34@posting.google.com \
--to=ferhun_caner@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).