[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] 11.85; TikZ breaks preview
From: |
Oliver Jennrich |
Subject: |
[Bug-AUCTeX] 11.85; TikZ breaks preview |
Date: |
Mon, 23 Mar 2009 15:32:53 +0100 |
Remember to cover the basics. Including a minimal LaTeX example
file exhibiting the problem might help.
The following example shows the problem. Using tikz will result in
showing the 'no entry'-sign instead of the preview for the equation
when the pdf output is chosen.
\documentclass{article}
%\listfiles
%\usepackage{tikz}
\begin{document}
$a^2+b^2=d^2$
\end{document}
The two relevant log-files are here:
With tikz enabled:
--------------- _region_tikz.log ---------------
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
(format=prv_prrvtest 2009.3.23) 23 MAR 2009 15:21
entering extended mode
%&-line parsing enabled.
**&prv_prrvtest _region_.tex
(./_region_.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak,
german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,
finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian,
interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk,
polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
swedish,
turkish, ukenglish, ukrainian, loaded.
CUSTOMISED FORMAT. Preloaded files:
.
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
tikz.sty 2008/02/13 v2.00 (rcs-revision 1.27)
pgf.sty 2008/01/15 v2.00 (rcs-revision 1.12)
pgfrcs.sty 2008/02/20 v2.00 (rcs-revision 1.21)
pgfrcs.code.tex
pgfcore.sty 2008/01/15 v2.00 (rcs-revision 1.6)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
pgfsys.sty 2008/02/07 v2.00 (rcs-revision 1.31)
pgfsys.code.tex
pgfsyssoftpath.code.tex 2008/01/23 (rcs-revision 1.6)
pgfsysprotocol.code.tex 2006/10/16 (rcs-revision 1.4)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pgfcore.code.tex
pgfcomp-version-0-65.sty 2007/07/03 v2.00 (rcs-revision 1.7)
pgfcomp-version-1-18.sty 2007/07/23 v2.00 (rcs-revision 1.1)
pgffor.sty 2007/11/07 v2.00 (rcs-revision 1.8)
pgffor.code.tex
tikz.code.tex
.
(./_region_.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
preview.sty
Package: preview 2008/02/03 11.85 (AUCTeX/preview-latex)
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prtightpage.
def
\PreviewBorder=\dimen148
)
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prauctex.def
No auxiliary output files.
\hbadness=\count108
\hfuzz=\dimen149
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prauctex.cfg
))
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prfootnotes.
def)
address@hidden
address@hidden
address@hidden
Preview: Fontsize 10pt
Preview: PDFoutput 1
) (/usr/local/texlive/2007/texmf-dist/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count110
\scratchdimen=\dimen150
\scratchbox=\box35
\nofMPsegments=\count111
\nofMParguments=\count112
\MPscratchCnt=\count113
\MPscratchDim=\dimen151
\MPnumerator=\count114
\everyMPtoPDFconversion=\toks21
) !name(prrvtest.tex) !offset(-2)
! Preview: Snippet 1 started.
<-><->
l.10 $
a^2+b^2=d^2$
Not a real error.
Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(533465+54613x3525585).
<-><->
l.10 $a^2+b^2=d^2$
Not a real error.
[1{/Users/ojennric/.texlive2007/texmf-var/fonts/map/pdftex/updmap/
pdftex.map}]
pdfTeX warning (\pdfobj): invalid object number being ignored
)
Here is how much of TeX's memory you used:
463 strings out of 87172
6565 string characters out of 1036046
171560 words of memory out of 1500000
10506 multiletter control sequences out of 10000+50000
5723 words of font info for 21 fonts, out of 1200000 for 2000
645 hyphenation exceptions out of 8191
22i,2n,22p,165b,49s stack positions out of 5000i,500n,6000p,200000b,
5000s
</usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/
cmmi10.pfb></usr/l
ocal/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr10.pfb></usr/
local/texli
ve/2007/texmf-dist/fonts/type1/bluesky/cm/cmr7.pfb>
Output written on _region_.pdf (1 page, 8412 bytes).
PDF statistics:
19 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 131072)
9 words of extra memory for PDF output out of 10000 (max. 10000000)
----------------------------------------------------------------------
Tikz disabled:
------------------------------ _region_.log --------------------------
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
(format=prv_prrvtest 2009.3.23) 23 MAR 2009 15:22
entering extended mode
%&-line parsing enabled.
**&prv_prrvtest _region_.tex
(./_region_.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak,
german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,
finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian,
interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk,
polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
swedish,
turkish, ukenglish, ukrainian, loaded.
CUSTOMISED FORMAT. Preloaded files:
.
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
.
(./_region_.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
preview.sty
Package: preview 2008/02/03 11.85 (AUCTeX/preview-latex)
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prtightpage.
def
\PreviewBorder=\dimen103
)
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prauctex.def
No auxiliary output files.
\hbadness=\count87
\hfuzz=\dimen104
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prauctex.cfg
))
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prfootnotes.
def)
address@hidden
address@hidden
address@hidden
Preview: Fontsize 10pt
Preview: PDFoutput 1
) !name(prrvtest.tex) !offset(-2)
! Preview: Snippet 1 started.
<-><->
l.10 $
a^2+b^2=d^2$
Not a real error.
Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(533465+54613x3525585).
<-><->
l.10 $a^2+b^2=d^2$
Not a real error.
[1{/Users/ojennric/.texlive2007/texmf-var/fonts/map/pdftex/updmap/
pdftex.map}]
!name(prrvtest.tex) !offset(-4) )
Here is how much of TeX's memory you used:
175 strings out of 93841
2681 string characters out of 1160150
49989 words of memory out of 1500000
3740 multiletter control sequences out of 10000+50000
5723 words of font info for 21 fonts, out of 1200000 for 2000
645 hyphenation exceptions out of 8191
22i,2n,22p,165b,49s stack positions out of 5000i,500n,6000p,200000b,
5000s
</usr/local/texlive/2007/texmf-dist/fonts/ty
pe1/bluesky/cm/cmmi10.pfb></usr/local/texlive/2007/texmf-dist/fonts/
type1/blues
ky/cm/cmr10.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/
bluesky/cm/cmr7
.pfb>
Output written on _region_.pdf (1 page, 8298 bytes).
PDF statistics:
18 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 131072)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
----------------------------------------------------------------------
Emacs : GNU Emacs 22.3.1 (i386-apple-darwin9.6.0, Carbon Version 1.6.0)
of 2009-01-03 on seijiz.local
Package: 11.85
Run buffer contents:
Running `Preview-LaTeX' on `prrvtest' with ``pdflatex -ini -
interaction=nonstopmode "&pdflatex" prv_prrvtest.ini "\nonstopmode
\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}
\AtBeginDocument{\ifx\ifPreview\undefined
\RequirePackage
[displaymath,floats,graphics,textmath,sections,footnotes]{preview}
[2004/11/05]\fi}" "\input" prrvtest.tex''
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (INITEX)
%&-line parsing enabled.
entering extended mode
(./prv_prrvtest.ini
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak,
german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,
finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian,
interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk,
polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/carlisle/mylatex.ltx)
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/.tex File ignored))
No auxiliary output files.
(./prrvtest.tex (/usr/local/texlive/2007/texmf-dist/tex/latex/base/
article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size10.clo)) )
Beginning to dump on file prv_prrvtest.fmt
(format=prv_prrvtest 2009.3.23)
6159 strings of total length 89850
48009 memory locations dumped; current usage is 207&45895
3591 multiletter control sequences
\font\nullfont=nullfont
\font\OMX/cmex/m/n/5=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m/it/5=cmmi5
\font\OML/cmm/m/it/7=cmmi7
\font\OML/cmm/m/it/10=cmmi10
\font\OMS/cmsy/m/n/5=cmsy5
\font\OMS/cmsy/m/n/7=cmsy7
\font\OMS/cmsy/m/n/10=cmsy10
\font\OT1/cmr/m/n/12=cmr12
\font\OT1/cmr/m/n/8=cmr8
\font\OT1/cmr/bx/n/10=cmbx10
\font\OT1/cmr/bx/it/10=cmbxti10
\font\OT1/cmr/m/it/10=cmti10
\font\OT1/cmtt/m/n/10=cmtt10
\font\OT1/cmss/m/n/10=cmss10
5716 words of font info for 21 preloaded fonts
645 hyphenation exceptions
Hyphenation trie of length 172735 has 4897 ops out of 35111
138 for language 47
224 for language 46
13 for language 45
127 for language 44
62 for language 43
110 for language 42
71 for language 41
119 for lan...
[...]
...7.5.6)
%&-line parsing enabled.
entering extended mode
(./_region_.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak,
german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,
finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian,
interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk,
polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
swedish,
turkish, ukenglish, ukrainian, loaded.
CUSTOMISED FORMAT. Preloaded files:
.
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
.
(./_region_.aux)
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
preview.sty
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prtightpage.
def)
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prauctex.def
No auxiliary output files.
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prauctex.cfg
))
(/Applications/Emacs.app/Contents/Resources/site-lisp/auctex/latex/
prfootnotes.
def)
Preview: Fontsize 10pt
Preview: PDFoutput 1
) !name(prrvtest.tex) !offset(-2)
! Preview: Snippet 1 started.
<-><->
l.10 $
a^2+b^2=d^2$
Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(533465+54613x3525585).
<-><->
l.10 $a^2+b^2=d^2$
[1{/Users/ojennric/.texlive2007/texmf-var/fonts/map/pdftex/updmap/
pdftex.map}]
!name(prrvtest.tex) !offset(-4) )
(see the transcript file for additional information)</usr/local/
texlive/2007/te
xmf-dist/fonts/type1/bluesky/cm/cmmi10.pfb></usr/local/texlive/2007/
texmf-dist/
fonts/type1/bluesky/cm/cmr10.pfb></usr/local/texlive/2007/texmf-dist/
fonts/type
1/bluesky/cm/cmr7.pfb>
Output written on _region_.pdf (1 page, 8298 bytes).
Transcript written on _region_.log.
Preview-LaTeX exited as expected with code 1 at Mon Mar 23 15:22:36
Running `Preview-PDF2DSC' with ``pdf2dsc _region_.pdf _region_.prv/
tmp311h4P/preview.dsc''
Preview-PDF2DSC finished at Mon Mar 23 15:22:36
Running `Preview-Ghostscript' with ``gs -dOutputFile\=\(_region_.prv/
tmp311h4P/pr1-\%d.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -
dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -
r131.019x130.629''
Preview-Ghostscript finished at Mon Mar 23 15:22:36
current state:
==============
(setq
AUCTeX-version "11.85"
LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
image-types '(png gif tiff jpeg xpm xbm pbm)
preview-image-type 'png
preview-image-creators '((dvipng (open preview-gs-open preview-
dvipng-process-setup)
(place preview-gs-place) (close
preview-dvipng-close))
(png (open preview-gs-open) (place preview-gs-place)
(close preview-gs-close))
(jpeg (open preview-gs-open) (place preview-gs-place)
(close preview-gs-close))
(pnm (open preview-gs-open) (place preview-gs-place)
(close preview-gs-close))
(tiff (open preview-gs-open) (place preview-gs-place)
(close preview-gs-close))
)
preview-dvipng-image-type 'png
preview-dvipng-command "dvipng -picky -noghostscript %d -o \"%m/prev%
%03d.png\""
preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"
preview-gs-command "gs"
preview-gs-options '("-q" "-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-
dPrinted"
"-dTextAlphaBits=4" "-dGraphicsAlphaBits=4")
preview-gs-image-type-alist '((png png "-sDEVICE=png16m")
(dvipng png "-sDEVICE=png16m")
(jpeg jpeg "-sDEVICE=jpeg") (pnm pbm
"-sDEVICE=pnmraw")
(tiff tiff "-sDEVICE=tiff12nc"))
preview-fast-conversion t
preview-prefer-TeX-bb nil
preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000"
preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
preview-scale-function 'preview-scale-from-face
preview-LaTeX-command '("%`%l \"\\nonstopmode\\nofiles\
\PassOptionsToPackage{"
("," . preview-required-option-list)
"}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined"
preview-default-preamble "\\fi}\"%' %t")
preview-required-option-list '("active" "tightpage" "auctex"
(preview-preserve-counters "counters"))
preview-preserve-counters nil
preview-default-option-list '("displaymath" "floats" "graphics"
"textmath" "sections"
"footnotes")
preview-default-preamble '("\\RequirePackage[" ("," . preview-
default-option-list)
"]{preview}[2004/11/05]")
preview-LaTeX-command-replacements nil
preview-dump-replacements '(preview-LaTeX-command-replacements
("\\`\\([^ ]+\\)\\(\\( +-\\([^ \\\\\"]\\|\\\\\\.\\|\"[^\"]*\"\
\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini -interaction=nonstopmode \"&\\1\" "
preview-format-name ".ini \\5")
)
preview-undump-replacements '(("\\`\\([^ ]+\\) .*? \"\\\\input\" \\
(.*\\)\\'"
"\\1 -interaction=nonstopmode \"&"
preview-format-name
"\" \\2")
)
preview-auto-cache-preamble 'ask
preview-TeX-style-dir "/Applications/Emacs.app/Contents/Resources/
site-lisp/auctex/latex"
)
Output from running `gs -h':
GPL Ghostscript 8.57 (2007-05-11)
Copyright (C) 2007 artofcode LLC, Benicia, CA. All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
-dNOPAUSE no pause after page | -q `quiet', fewer
messages
-g<width>x<height> page size in pixels | -r<res> pixels/inch
resolution
-sDEVICE=<devname> select device | -dBATCH exit after last
file
-sOutputFile=<file> select output file: - for stdout, |command for
pipe,
embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2
PostScriptLevel3 PDF
Default output device: x11
Available devices:
bbox bit bitcmyk bitrgb bj10e bj200 bjc600 bjc800 bmp16 bmp16m
bmp256
bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor
cdjmono
cfax cljet5 cljet5c deskjet devicen djet500 epswrite faxg3 faxg32d
faxg4
ijs jpeg jpeggray laserjet lj5gray lj5mono ljet2p ljet3 ljet3d ljet4
ljet4d ljetplus nullpage pbm pbmraw pcx16 pcx24b pcx256 pcxcmyk
pcxgray
pcxmono pdfwrite pgm pgmraw pgnm pgnmraw pj pjxl pjxl300 pkm
pkmraw pksm
pksmraw png16 png16m png256 png48 pngalpha pnggray pngmono pnm
pnmraw ppm
ppmraw ps2write psdcmyk psdrgb psgray psmono psrgb pswrite pxlcolor
pxlmono spotcmyk tiff12nc tiff24nc tiff32nc tiffcrle tiffg3 tiffg32d
tiffg4 tiffgray tifflzw tiffpack tiffsep uniprint x11 x11alpha
x11cmyk
x11gray2 x11gray4 x11mono xcf
Search path:
. : %rom%lib/ : /usr/local/share/ghostscript/8.57/lib :
/usr/local/share/ghostscript/8.57/Resource :
/usr/local/share/ghostscript/fonts
Initialization files are compiled into the executable.
For more information, see /usr/local/share/ghostscript/8.57/doc/Use.htm.
Please report bugs to bugs.ghostscript.com.
--
Space -- The final frontier
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-AUCTeX] 11.85; TikZ breaks preview,
Oliver Jennrich <=