[OS X Emacs] latex compilation in pdf via ps

Dr. Johannes Brauer brauer at nordakademie.de
Mon Oct 5 02:24:27 EDT 2009


I put the recommended lines into my Preferences.el file.  But after
having started Aquamacs I found the following error message in the
message buffer:

...
An error has occurred while loading `~/Library/Preferences/Aquamacs
Emacs/Preferences.el (or .elc)':

Symbol's value as variable is void: TeX-expand-list

...

What can I do?

Johannes

Am 05.10.2009 um 00:25 schrieb Enrico Franconi:

> The simpdftex executable (available in MacTeX and TeXLive) does the
> steps for you.
> This is what I do in order to use simpdftex with AucTeX (add it to
> your ~/.emacs file, and you'll find a new menu entry for simpdftex):
>
> (defvar simpdflatex-program
>   "simpdftex latex --mode dvips --maxpfb --extratexopts '-synctex=1'
> --distiller ps2pdf14"
>   "PDFLaTeX program via dvips")
>
> (defun simpdflatex-command nil simpdflatex-program)
>
> (setq TeX-expand-list
>        (cons '("%(simpdflatex)"  (lambda nil (simpdflatex-command)))
>              TeX-expand-list))
>
> (setq TeX-command-list
>        (cons '("simPDFLaTeX" "%(simpdflatex) %t" TeX-run-TeX nil
>                (latex-mode doctex-mode) :help "Run pLaTeX")
>              TeX-command-list))
>
> (setq TeX-command-output-list
>        (cons '("simpdftex" ("pdf"))
>              TeX-command-output-list))
>
> Skim synchronisation works out of the box for me.
> cheers
> --e.
>
> On 4 Oct 2009, at 18:35, Peter Dyballa wrote:
>
>>
>> Am 04.10.2009 um 18:07 schrieb Dr. Johannes Brauer:
>>
>>> But the great integration with the pdf-viewer Skim by Aquamacs does
>>> not work anymore. Skim doesn't recognize that there is a new pdf
>>> file.
>>> The View command forces Skim to open the pdf file in a new window.
>>>
>>> How I can repair the Skim integration?
>>
>>
>> The problem is that simpdftex does *not* reuse the PDF file. By
>> default. I think there was an update released to make simpdftex re-
>> use the formerly created PDF file, but I don't recall any details –
>> mostly not using the script! Could be Skim has an option to test the
>> file name and not the file's inode...
>>
>> Hopefully someone else has the missing details!
>>
>> --
>> Mit friedvollen Grüßen
>>
>> Pete
>>
>> The best way to accelerate a PC is 9.8 m/s²
>>
>> _____________________________________________________________
>> MacOSX-Emacs mailing list
>> MacOSX-Emacs at email.esm.psu.edu
>> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
>> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>
> <smime.p7s><ATT00001.txt>



Staatlich anerkannte private Fachhochschule
NORDAKADEMIE
Gemeinnützige Aktiengesellschaft
Köllner Chaussee 11
25337 Elmshorn

Vorstand:
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)

Vorsitzender des Aufsichtsrats:
Dr. h.c. Hans-Heinrich Bruns

Sitz:
Elmshorn, Amtsgericht Elmshorn, HRB 1682




More information about the MacOSX-Emacs mailing list