[OS X TeX] TeXniscope can be used as pdf-Viewer in Aquamacs Emacs
Johannes Brauer
brauer at nordakademie.de
Mon Apr 16 13:06:10 CEST 2007
Am 15.04.2007 um 19:49 schrieb Christopher Menzel:
> On Apr 15, 2007, at 8:35 AM, Johannes Brauer wrote:
>> Am 15.04.2007 um 05:58 schrieb Christopher Menzel:
>>
>>>> I am trying to configure TeXniscope pdf-Viewer in Aquamacs Emacs
>>>> but it does'nt work.
>>>>
>>>> I followed the instructions given at http://www.emacswiki.org/
>>>> cgi-bin/wiki/AquamacsTexniscope:
>>>>
>>>> "At first, we configure TeXniscope as pdf-Viewer in AUCTeX. Type
>>>> M-x customize-variable RET TeX-output-view-style RET Now the
>>>> customization buffer should open. Look for the entry ^pdf$.
>>>> Select „Value Menu“ at „Choice“ and enter . and after “Command”
>>>> open -a /Applications/TeXniscope.app %o"
>>>>
>>>> Selecting Command-View in the minibuffer the text "open XXX.pdf
>>>> appears"; instead of "open -a /Applications/TeXniscope.app
>>>> XXX.pdf".
>>>
>>> Do you perhaps have another entry for ^pdf$ in the TeX Output
>>> View Style customization buffer? If so, delete the other one.
>> There is only one entry fpr ^pdf$ containing: open -a /
>> Applications/TeXniscope.app %o
>>
>>> Also, are you sure TeXniscope.app is in /Applications and not /
>>> Applications/TeX?
>> Yes, it is!
>>
>> Nevertheless, it doesn't work
> What does ~/Library/Preferences/Aquamacs Emacs/customizations.el
> have for the value of TeX-output-view-style?
'(TeX-output-view-style (quote (("^dvi$" ("^landscape$" "^pstricks$\
\|^pst-\\|^psfrag$") "%(o?)dvips -t landscape %d -o && gv %f") ("^dvi
$" "^pstricks$\\|^pst-\\|^psfrag$" "%(o?)dvips %d -o && gv %f") ("^dvi
$" ("^a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4$" "^landscape$") "%(o?)
xdvi %dS -paper a4r -s 0 %d") ("^dvi$" "^a4\\(?:dutch\\|paper\\|wide\
\)\\|sem-a4$" "%(o?)xdvi %dS -paper a4 %d") ("^dvi$" ("^a5\\(?:comb\\|
paper\\)$" "^landscape$") "%(o?)xdvi %dS -paper a5r -s 0 %d") ("^dvi
$" "^a5\\(?:comb\\|paper\\)$" "%(o?)xdvi %dS -paper a5 %d") ("^dvi$"
"^b5paper$" "%(o?)xdvi %dS -paper b5 %d") ("^dvi$" "^letterpaper$" "%
(o?)xdvi %dS -paper us %d") ("^dvi$" "^legalpaper$" "%(o?)xdvi %dS -
paper legal %d") ("^dvi$" "^executivepaper$" "%(o?)xdvi %dS -paper
7.25x10.5in %d") ("^dvi$" "." "%(o?)xdvi %dS %d") ("^pdf$" "." "open -
a /Applications/TeXniscope.app %o") ("^html?$" "." "netscape %o"))))
>
> Do you have another version of Emacs installed?
Yes!
> If so, you might well have a .emacs file
Yes, I have removed it now.
> and a .customizations.el file
no, no further customizations.el
> in your home dir, and I believe that Aquamacs will read those
> instead of the Preferences.el and customizations.el files in ~/
> Library/... . If so, changes written out to the latter will not be
> read when you fire up Aquamacs.
Emoving .emacs does not help.
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list