bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] Preview at Point errors: AUCTeX and Aquamacs and Preview-La


From: David Rangel
Subject: [Bug-AUCTeX] Preview at Point errors: AUCTeX and Aquamacs and Preview-LaTeX on OS X 10.6 + TeXLive 2009 + Ghostscript
Date: Thu, 16 Dec 2010 15:41:05 -0500

bug-auctex readers:

I have recently installed Aquamacs on an OS X 10.6 system with TeXLive 2009 and Ghostscript:
pdflatex path: /usr/local/texlive/2010/bin/universal-darwin/pdflatex
gs path: /usr/local/bin/gs

I am able to compile using LaTeX from the menu on Aquamacs and View the output (full output of logs below in 1-2).  However, When I want to Preview at Point, errors appear at each equation:
Error: /invalidfileaccess in --file--  (full output below for _region_ files in 3-6)

I find that the _region_.pdf file has typeset all the necessary items to be inserted into the Aquamacs buffer for previewing at point, but for some reason, there is a problem having these appear in the buffer.  
I have searched for a solution on the mailing lists, but have not found the solution (perhaps because I am new to aquamacs, and auctex, I do not know how to correctly word a search for the error).  

Any help that can be provided will be most appreciated.  The inline preview would be very helpful to me.

Thank you.

________________________

Details:


(1) latex input file: test.tex

\documentclass{article}
\begin{document}
The first letter in the Greek alphabet is $\alpha$.
\end{document}
___________________________________

(2) test.log produced by pdflatex typesetting (no errors)

This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2010.11.29)  16 DEC 2010 15:28
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**\input test.tex
(./test.tex (/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
address@hidden
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
No file test.aux.
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 3.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 3.
[1

{/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux) ) 
Here is how much of TeX's memory you used:
 201 strings out of 493738
 2150 string characters out of 3143022
 49081 words of memory out of 3000000
 3582 multiletter control sequences out of 15000+200000
 3640 words of font info for 14 fonts, out of 3000000 for 9000
 714 hyphenation exceptions out of 8191
 23i,4n,17p,158b,107s stack positions out of 5000i,500n,10000p,200000b,50000s
</usr/local/texlive/2010/texmf-dist/fonts/type1/public/amsfonts/c
m/cmmi10.pfb></usr/local/texlive/2010/texmf-dist/fonts/type1/public/amsfonts/cm
/cmr10.pfb>
Output written on test.pdf (1 page, 20942 bytes).
PDF statistics:
 16 PDF objects out of 1000 (max. 8388607)
 10 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)
___________________________________

(3) _region_.tex file produced by "Preview at Point"

\message{ !name(test.tex)}\documentclass{article}
\begin{document}

\message{ !name(test.tex) !offset(-3) }

The first letter in the Greek alphabet is $\alpha$.
\end{document}

\message{ !name(test.tex) !offset(-9) }

___________________________________

(4) log file for _region_.log produced by "Preview at Point"

This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=prv_test 2010.12.16)  16 DEC 2010 15:29
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**&prv_test _region_.tex
(./_region_.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish, french,
 galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic
, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panja
bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, lati
n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portu
guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedis
h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
CUSTOMISED FORMAT. Preloaded files:
        .
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
        .
No file _region_.aux.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.

(/Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex/
latex/preview.sty
Package: preview 2010/02/14 11.86 (AUCTeX/preview-latex)

(/Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex/
latex/prtightpage.def
\PreviewBorder=\dimen103
)
(/Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex/
latex/prauctex.def
No auxiliary output files.


\hbadness=\count87
\hfuzz=\dimen104

(/Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex/
latex/prauctex.cfg))
(/Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex/
latex/prfootnotes.def)
address@hidden
address@hidden
address@hidden

Preview: Fontsize 10pt
Preview: PDFoutput 1
)  !name(test.tex) !offset(-3) 
! Preview: Snippet 1 started.
<-><->
      
l.6 The first letter in the Greek alphabet is $
                                               \alpha$.
Not a real error.

Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(282168+0x421661).
<-><->
      
l.6 ...st letter in the Greek alphabet is $\alpha$
                                                  .
Not a real error.

[1{/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] ) 
Here is how much of TeX's memory you used:
 176 strings out of 493504
 2895 string characters out of 3140202
 50094 words of memory out of 3000000
 3753 multiletter control sequences out of 15000+200000
 5723 words of font info for 21 fonts, out of 3000000 for 9000
 714 hyphenation exceptions out of 8191
 22i,4n,22p,161b,112s stack positions out of 5000i,500n,10000p,200000b,50000s
</us
r/local/texlive/2010/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb>
Output written on _region_.pdf (1 page, 8269 bytes).
PDF statistics:
 12 PDF objects out of 1000 (max. 8388607)
 7 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

___________________________________

(5) _region_ output while compiling:

Running `Preview-LaTeX' on `_region_' with ``pdflatex -interaction=nonstopmode "&prv_test" _region_.tex''
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
 restricted \write18 enabled.

kpathsea: Running mktexfmt prv_test.fmt
Sorry, I can't find the format `prv_test.fmt'; will try `pdflatex.fmt'.
entering extended mode
(./_region_.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish, french,
 galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic
, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panja
bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, lati
n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portu
guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedis
h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
 !name(test.tex) (/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo)) (./_region_.aux
)  !name(test.tex) !offset(-2)  [1{/usr/local/texlive/2010/texmf-var/fonts/map/
pdftex/updmap/pdftex.map}] (./_region_.aux) )</usr/local/texlive/2010/texmf-dis
t/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on _region_.pdf (1 page, 10196 bytes).
Transcript written on _region_.log.

Preview-LaTeX finished with nothing to show at Thu Dec 16 15:36:39
LaTeX: LaTeX found no preview images

___________________________________

(6) Preview-Ghostscript-Error buffer when mouse button 3 pressed on red error circle next to "alpha" in the result of the Preview at Point command being run:


gs -dOutputFile\=\(_region_.prv/tmp1750_A/pr1-1.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r110.522x110.557
GS>{DELAYSAFER{.setsafe}if}stopped pop/.preview-BP currentpagedevice/BeginPage get dup null eq{pop{pop}bind}if def<</BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1 ne or{.preview-BP gsave 0.996109 0.996109 0.996109 setrgbcolor clippath fill grestore }{pop}ifelse}bind/PageSize[1 1]>>setpagedevice/preview-do{[count 3 roll save]3 1 roll dup length 0 eq{pop}{setpagedevice}{ifelse .runandhide}stopped{handleerror quit}if aload pop restore}bind def [(_region_.prv/tmp1750_A/preview.dsc)(r)file]aload exch dup 0 setfileposition 453()/SubFileDecode filter cvx .runandhide aload pop dup dup 453 setfileposition 49()/SubFileDecode filter cvx<<>>preview-do
Error: /invalidfileaccess in --file--
Operand stack:
   --nostringval--   (_region_.prv/tmp1750_A/preview.dsc)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   %loop_continue   --nostringval--   --nostringval--   false   1   %stopped_push   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1156/1684(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 509
GS<3>

reply via email to

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