David Reitter | 2 Oct 13:27 2009
Picon

Aquamacs Emacs 1.9 released

Aquamacs Emacs 1.9 has been released and is available directly from

http://aquamacs.org/download-release.shtml

Aquamacs 1.9 contains several improvements regarding stability,  
improved support for OS X 10.6 "Snow Leopard", improved CSS editing,  
and better interactions with PDF viewers to switch between PDF and  
source view of LaTeX documents with SyncTeX.  See below for an  
itemized list of changes.

--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!

---
Aquamacs 1.9rc1 - News

	• Copy (Command-C) works again reliably for text selected by mouse.  
However, the previous improvement avoiding duplicate entries in the  
kill ring has been reverted. Reported by Tom van Vleck.
	• Jumping to a LaTeX error after compilation works more reliably now.  
The LaTeX-command setting has been changed to include `file-line- 
error' style. Suggested by Enrico Franconi.
	• Recognize Objective C files (extensions .m and .h) by their  
content. Patch by Kendall Gelner and D.R.
	• Automatic word wrapping works better in large hard-wrapped (auto- 
fill-mode) documents with occasional (6+) over-long lines.
	• The Apple Help books (for Aquamacs, Emacs and the Emacs Lisp  
Reference) now work on 10.6 ``Snow Leopard''. Reported by Philippe  
(Continue reading)

Dr. Johannes Brauer | 4 Oct 00:11 2009
Picon

latex compilation in pdf via ps

Hi,

I am using powerdot, so I have to to use latex compilation in pdf via
ps. Is there a customization of Aquamacs for  a seamless latex
compilation in pdf via ps (including pdf-previewing)?

Johannes

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

_____________________________________________________________
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
(Continue reading)

Peter Dyballa | 4 Oct 01:10 2009
Picon

Re: latex compilation in pdf via ps


Am 04.10.2009 um 00:11 schrieb Dr. Johannes Brauer:

> I am using powerdot, so I have to to use latex compilation in pdf  
> via ps.

You can use the customisation interface to add simpdftex (its first  
first argument is tex or latex) as another TeX command for AUCTeX.  
Simpdftex is quite powerful and it might need a few extra  
customisations to produce the perfect output.

--
Mit friedvollen Grüßen

   Pete

Gut durch ist besser als unten durch!

_____________________________________________________________
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

Peter Dyballa | 4 Oct 18:35 2009
Picon

Re: latex compilation in pdf via ps


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
(Continue reading)

Enrico Franconi | 5 Oct 00:25 2009
Picon

Re: latex compilation in pdf via ps

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:
(Continue reading)

Dr. Johannes Brauer | 5 Oct 08:24 2009
Picon

Re: latex compilation in pdf via ps

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)
>
(Continue reading)

Enrico Franconi | 5 Oct 10:54 2009
Picon

Re: latex compilation in pdf via ps

oops, you're are right. This should be after the load of LaTeX:

(defvar simpdflatex-program
  "simpdftex latex --mode dvips --maxpfb --extratexopts -synctex=1
  --distiller ps2pdf14"
  "PDFLaTeX program via dvips")

(defun simpdflatex-command nil simpdflatex-program)

(add-hook 'LaTeX-mode-hook
          (lambda nil
            (add-to-list 
    'TeX-expand-list
    '("%(simpdflatex)"  
      (lambda nil
(simpdflatex-command))))
   (add-to-list 
    'TeX-command-list
    '("simPDFLaTeX" "%(simpdflatex) %t" TeX-run-TeX nil
      (latex-mode doctex-mode) :help "Run pLaTeX"))
            (add-to-list 
    'TeX-command-output-list
    '("simpdftex" ("pdf")))
   ))

cheers
--e.

On 5 Oct 2009, at 08:24, Dr. Johannes Brauer wrote:

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

_____________________________________________________________
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

Attachment (smime.p7s): application/pkcs7-signature, 3279 bytes
_____________________________________________________________
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
Dr. Johannes Brauer | 5 Oct 12:50 2009
Picon

Re: latex compilation in pdf via ps

okay now, no more errors messages in the message buffer, but simPDFLaTex produces:
 
Running `simPDFLaTeX' on `document' with ``simpdftex latex --mode dvips --maxpfb --extratexopts -synctex=1
  --distiller ps2pdf14 document.tex''
### This is /usr/local/texlive/2007/bin/i386-darwin/simpdftex, Version 20070507/bin/sh: line 1: --distiller: command not found

simPDFLaTeX exited abnormally with code 127 at Mon Oct  5 12:40:01

But, running 

simpdftex latex document

from the command line works fine. 

Do I have to install another distiller?

Johannes


Am 05.10.2009 um 10:54 schrieb Enrico Franconi:

oops, you're are right. This should be after the load of LaTeX:

(defvar simpdflatex-program
  "simpdftex latex --mode dvips --maxpfb --extratexopts -synctex=1
  --distiller ps2pdf14"
  "PDFLaTeX program via dvips")

(defun simpdflatex-command nil simpdflatex-program)

(add-hook 'LaTeX-mode-hook
          (lambda nil
            (add-to-list 
    'TeX-expand-list
    '("%(simpdflatex)"  
      (lambda nil
(simpdflatex-command))))
   (add-to-list 
    'TeX-command-list
    '("simPDFLaTeX" "%(simpdflatex) %t" TeX-run-TeX nil
      (latex-mode doctex-mode) :help "Run pLaTeX"))
            (add-to-list 
    'TeX-command-output-list
    '("simpdftex" ("pdf")))
   ))

cheers
--e.

On 5 Oct 2009, at 08:24, Dr. Johannes Brauer wrote:

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

_____________________________________________________________
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

_____________________________________________________________
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
Enrico Franconi | 5 Oct 13:00 2009
Picon

Re: latex compilation in pdf via ps

Well, you may safely omit the part "--distiller ps2pdf14", and it will  
use your default distiller.

(defvar simpdflatex-program
"simpdftex latex --mode dvips --maxpfb --extratexopts -synctex=1"
"PDFLaTeX program via dvips")

--e.

On 5 Oct 2009, at 12:50, Dr. Johannes Brauer wrote:

> okay now, no more errors messages in the message buffer, but  
> simPDFLaTex produces:
>
> Running `simPDFLaTeX' on `document' with ``simpdftex latex --mode  
> dvips --maxpfb --extratexopts -synctex=1
> --distiller ps2pdf14 document.tex''
> ### This is /usr/local/texlive/2007/bin/i386-darwin/simpdftex,  
> Version 20070507/bin/sh: line 1: --distiller: command not found
>
> simPDFLaTeX exited abnormally with code 127 at Mon Oct  5 12:40:01
>
> But, running
>
> simpdftex latex document
>
> from the command line works fine.
>
> Do I have to install another distiller?
>
> Johannes
>
>
> Am 05.10.2009 um 10:54 schrieb Enrico Franconi:
>
> oops, you're are right. This should be after the load of LaTeX:
>
> (defvar simpdflatex-program
> "simpdftex latex --mode dvips --maxpfb --extratexopts -synctex=1
> --distiller ps2pdf14"
> "PDFLaTeX program via dvips")
>
> (defun simpdflatex-command nil simpdflatex-program)
>
> (add-hook 'LaTeX-mode-hook
>         (lambda nil
>           (add-to-list
>   'TeX-expand-list
>   '("%(simpdflatex)"
>     (lambda nil
> (simpdflatex-command))))
>  (add-to-list
>   'TeX-command-list
>   '("simPDFLaTeX" "%(simpdflatex) %t" TeX-run-TeX nil
>     (latex-mode doctex-mode) :help "Run pLaTeX"))
>           (add-to-list
>   'TeX-command-output-list
>   '("simpdftex" ("pdf")))
>  ))
>
> cheers
> --e.
>
> On 5 Oct 2009, at 08:24, Dr. Johannes Brauer wrote:
>
> 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<mailto: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
>
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs <at> email.esm.psu.edu<mailto: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
>
> _____________________________________________________________
> 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

Attachment (smime.p7s): application/pkcs7-signature, 3279 bytes
_____________________________________________________________
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
Dr. Johannes Brauer | 5 Oct 16:06 2009
Picon

Re: latex compilation in pdf via ps

great, that works; thank you, Enrico!

You've written "Skim synchronisation works out of the box for me." But
after having compiled a document with simPDFLaTex Skim does'nt
recognize automatically, that the pdf file was changed. This behavior
is different from compiling with LaTex. Maybe that's the problem that
Pete mentioned (The problem is that simpdftex does *not* reuse the PDF
file. ...)?

Johannes

Am 05.10.2009 um 13:00 schrieb Enrico Franconi:

> Well, you may safely omit the part "--distiller ps2pdf14", and it will
> use your default distiller.
>
> (defvar simpdflatex-program
> "simpdftex latex --mode dvips --maxpfb --extratexopts -synctex=1"
> "PDFLaTeX program via dvips")
>
> --e.
>
> On 5 Oct 2009, at 12:50, Dr. Johannes Brauer wrote:
>
>> okay now, no more errors messages in the message buffer, but
>> simPDFLaTex produces:
>>
>> Running `simPDFLaTeX' on `document' with ``simpdftex latex --mode
>> dvips --maxpfb --extratexopts -synctex=1
>> --distiller ps2pdf14 document.tex''
>> ### This is /usr/local/texlive/2007/bin/i386-darwin/simpdftex,
>> Version 20070507/bin/sh: line 1: --distiller: command not found
>>
>> simPDFLaTeX exited abnormally with code 127 at Mon Oct  5 12:40:01
>>
>> But, running
>>
>> simpdftex latex document
>>
>> from the command line works fine.
>>
>> Do I have to install another distiller?
>>
>> Johannes
>>
>>
>> Am 05.10.2009 um 10:54 schrieb Enrico Franconi:
>>
>> oops, you're are right. This should be after the load of LaTeX:
>>
>> (defvar simpdflatex-program
>> "simpdftex latex --mode dvips --maxpfb --extratexopts -synctex=1
>> --distiller ps2pdf14"
>> "PDFLaTeX program via dvips")
>>
>> (defun simpdflatex-command nil simpdflatex-program)
>>
>> (add-hook 'LaTeX-mode-hook
>>        (lambda nil
>>          (add-to-list
>>  'TeX-expand-list
>>  '("%(simpdflatex)"
>>    (lambda nil
>> (simpdflatex-command))))
>> (add-to-list
>>  'TeX-command-list
>>  '("simPDFLaTeX" "%(simpdflatex) %t" TeX-run-TeX nil
>>    (latex-mode doctex-mode) :help "Run pLaTeX"))
>>          (add-to-list
>>  'TeX-command-output-list
>>  '("simpdftex" ("pdf")))
>> ))
>>
>> cheers
>> --e.
>>
>> On 5 Oct 2009, at 08:24, Dr. Johannes Brauer wrote:
>>
>> 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<mailto: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
>>
>> _____________________________________________________________
>> MacOSX-Emacs mailing list
>> MacOSX-Emacs <at> email.esm.psu.edu<mailto: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
>>
>> _____________________________________________________________
>> 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

_____________________________________________________________
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

Gmane