<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>okay now, no more errors messages in the message buffer, but simPDFLaTex produces:</div>
<div> </div>
<div>Running `simPDFLaTeX' on `document' with ``simpdftex latex --mode dvips --maxpfb --extratexopts -synctex=1</div>
<div>  --distiller ps2pdf14 document.tex''</div>
<div>### This is /usr/local/texlive/2007/bin/i386-darwin/simpdftex, Version 20070507/bin/sh: line 1: --distiller: command not found</div>
<div><br>
</div>
<div>simPDFLaTeX exited abnormally with code 127 at Mon Oct  5 12:40:01</div>
<div><br>
</div>
<div>But, running </div>
<div><br>
</div>
<div>simpdftex latex document</div>
<div><br>
</div>
<div>from the command line works fine. </div>
<div><br>
</div>
<div>Do I have to install another distiller?</div>
<div><br>
</div>
<div>Johannes</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>Am 05.10.2009 um 10:54 schrieb Enrico Franconi:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>oops, you're are right. This should be after the load of LaTeX:</div>
<div><br>
</div>
<div><font class="Apple-style-span" face="monospace">
<div>(defvar simpdflatex-program</div>
<div>  "simpdftex latex --mode dvips --maxpfb --extratexopts -synctex=1</div>
<div>  --distiller ps2pdf14"</div>
<div>  "PDFLaTeX program via dvips")</div>
<div><br>
</div>
<div>(defun simpdflatex-command nil simpdflatex-program)</div>
<div><br>
</div>
<div>(add-hook 'LaTeX-mode-hook</div>
<div>          (lambda nil</div>
<div>            (add-to-list </div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>    'TeX-expand-list</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>    '("%(simpdflatex)"  </div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>      (lambda nil</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>(simpdflatex-command))))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>   (add-to-list </div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>    'TeX-command-list</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>    '("simPDFLaTeX" "%(simpdflatex) %t" TeX-run-TeX nil</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>      (latex-mode doctex-mode) :help "Run pLaTeX"))</div>
<div>            (add-to-list </div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>    'TeX-command-output-list</div>
</font></div>
</div>
</blockquote>
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><font class="Apple-style-span" face="monospace">
<div><span class="Apple-tab-span" style="white-space:pre"></span>    '("simpdftex" ("pdf")))</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>   ))</div>
<div><br>
</div>
<div>cheers</div>
<div>--e.</div>
</font></div>
<br>
<div>
<div>On 5 Oct 2009, at 08:24, Dr. Johannes Brauer wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>I put the recommended lines into my Preferences.el file.  But after<br>
having started Aquamacs I found the following error message in the<br>
message buffer:<br>
<br>
...<br>
An error has occurred while loading `~/Library/Preferences/Aquamacs<br>
Emacs/Preferences.el (or .elc)':<br>
<br>
Symbol's value as variable is void: TeX-expand-list<br>
<br>
...<br>
<br>
What can I do?<br>
<br>
Johannes<br>
<br>
Am 05.10.2009 um 00:25 schrieb Enrico Franconi:<br>
<br>
<blockquote type="cite">The simpdftex executable (available in MacTeX and TeXLive) does the<br>
</blockquote>
<blockquote type="cite">steps for you.<br>
</blockquote>
<blockquote type="cite">This is what I do in order to use simpdftex with AucTeX (add it to<br>
</blockquote>
<blockquote type="cite">your ~/.emacs file, and you'll find a new menu entry for simpdftex):<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">(defvar simpdflatex-program<br>
</blockquote>
<blockquote type="cite"> "simpdftex latex --mode dvips --maxpfb --extratexopts '-synctex=1'<br>
</blockquote>
<blockquote type="cite">--distiller ps2pdf14"<br>
</blockquote>
<blockquote type="cite"> "PDFLaTeX program via dvips")<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">(defun simpdflatex-command nil simpdflatex-program)<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">(setq TeX-expand-list<br>
</blockquote>
<blockquote type="cite">      (cons '("%(simpdflatex)"  (lambda nil (simpdflatex-command)))<br>
</blockquote>
<blockquote type="cite">            TeX-expand-list))<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">(setq TeX-command-list<br>
</blockquote>
<blockquote type="cite">      (cons '("simPDFLaTeX" "%(simpdflatex) %t" TeX-run-TeX nil<br>
</blockquote>
<blockquote type="cite">              (latex-mode doctex-mode) :help "Run pLaTeX")<br>
</blockquote>
<blockquote type="cite">            TeX-command-list))<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">(setq TeX-command-output-list<br>
</blockquote>
<blockquote type="cite">      (cons '("simpdftex" ("pdf"))<br>
</blockquote>
<blockquote type="cite">            TeX-command-output-list))<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Skim synchronisation works out of the box for me.<br>
</blockquote>
<blockquote type="cite">cheers<br>
</blockquote>
<blockquote type="cite">--e.<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">On 4 Oct 2009, at 18:35, Peter Dyballa wrote:<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Am 04.10.2009 um 18:07 schrieb Dr. Johannes Brauer:<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">But the great integration with the pdf-viewer Skim by Aquamacs does<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">not work anymore. Skim doesn't recognize that there is a new pdf<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">file.<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">The View command forces Skim to open the pdf file in a new window.<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">How I can repair the Skim integration?<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">The problem is that simpdftex does *not* reuse the PDF file. By<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">default. I think there was an update released to make simpdftex re-<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">use the formerly created PDF file, but I don't recall any details –<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">mostly not using the script! Could be Skim has an option to test the<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">file name and not the file's inode...<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Hopefully someone else has the missing details!<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">--<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Mit friedvollen Grüßen<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Pete<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">The best way to accelerate a PC is 9.8 m/s²<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">_____________________________________________________________<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">MacOSX-Emacs mailing list<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><a href="mailto:MacOSX-Emacs@email.esm.psu.edu">MacOSX-Emacs@email.esm.psu.edu</a><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><a href="http://email.esm.psu.edu/mailman/listinfo/macosx-emacs">http://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx">
http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br>
</blockquote>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><smime.p7s><ATT00001.txt><br>
</blockquote>
<br>
<br>
<br>
Staatlich anerkannte private Fachhochschule<br>
NORDAKADEMIE<br>
Gemeinnützige Aktiengesellschaft<br>
Köllner Chaussee 11<br>
25337 Elmshorn<br>
<br>
Vorstand:<br>
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)<br>
<br>
Vorsitzender des Aufsichtsrats:<br>
Dr. h.c. Hans-Heinrich Bruns<br>
<br>
Sitz:<br>
Elmshorn, Amtsgericht Elmshorn, HRB 1682<br>
<br>
_____________________________________________________________<br>
MacOSX-Emacs mailing list<br>
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu">MacOSX-Emacs@email.esm.psu.edu</a><br>
<a href="http://email.esm.psu.edu/mailman/listinfo/macosx-emacs">http://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br>
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx<br>
</div>
</blockquote>
</div>
<br>
<span><smime.p7s></span><span><ATT00001.txt></span></div>
</blockquote>
</div>
<br>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Staatlich anerkannte private Fachhochschule<br>
NORDAKADEMIE<br>
Gemeinnützige Aktiengesellschaft<br>
Köllner Chaussee 11<br>
25337 Elmshorn<br>
<br>
Vorstand:<br>
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)<br>
<br>
Vorsitzender des Aufsichtsrats:<br>
Dr. h.c. Hans-Heinrich Bruns<br>
<br>
Sitz:<br>
Elmshorn, Amtsgericht Elmshorn, HRB 1682<br>
<br>
</font>
</body>
</html>