help-gnu-emacs
[Top][All Lists]
Advanced

[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: 7 May 2003 23:00:08 -0700

Yes, I encountered the same problem. The crudest way of solving it is
to insert

(sleep-for 10)

right before (acrobat-open-doc file). This would delay the execution
of acrobat-open-doc for 10 seconds, by which time LaTeXing the
document would be done already.

There must be a smarter way to do this, like using the variable
compilation-in-process. That I should find out :).

Best, 

FCC.

Matthias Rempe <address@hidden> wrote in message news:<address@hidden>...
> >>>>> "FFC" == F C Caner <address@hidden> writes:
>  
>     > In the subsequent compilations the Reader will
>     > automatically redisplay the resulting pdf file (like the dvi
>     > viewers).
> 
> Sounds good. However, I only get a message "file not found" from
> Acrobat Reader. It seems to me that acrobat-open-doc needs to wait
> until TeX-run-LaTeX is finished and actually does not do it. Any
> hints?
> 
> 
> Versions:
>  Acrobat Reader: 5.1.0 17.09.2002
>  Emacs: GNU Emacs 21.3.50.1 (i386-mingw-nt5.0.2195) 
>         of 2003-03-31 on ISMN3677
>  Windows: Win2K
> 
> ,----
> | (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)
> | ;;    (acrobat-open-doc file)
> |     )
> `----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]