bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] Preview of \maketitle


From: David Kastrup
Subject: Re: [Bug-AUCTeX] Preview of \maketitle
Date: Thu, 05 Oct 2006 12:19:46 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Erik Frisk <address@hidden> writes:

> I guess this is a bug but it has been present for a long time so maybe
> it is a feature. When previewing a buffer auctex also previews
> \maketitle, see attached screenshot, with an empty image.
>
> Is this correct behavior?

I can't reproduce this at all.  Are you sure that your version of
prauctex.cfg and preview.sty are up to date?

Can you give a short example exhibiting the problem?

> Emacs  : GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d
> scroll bars)
>  of 2006-05-04 on alfa.isy.liu.se
> Package: preview-1.271
>
> Run buffer contents:
>
> Running `Preview-LaTeX' on `_region_' with ``latex "&prv_proofs"
> _region_.tex''
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> entering extended mode
> (./_region_.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8d> and hyphenation patterns for american, french, german,
> ngerman, b
> ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
> esperanto, e
> stonian, finnish, greek, icelandic, irish, italian, latin, magyar,
> norsk, polis
> h, portuges, romanian, russian, serbian, slovak, slovene, spanish,
> swedish, tur
> kish, ukrainian, nohyphenation, loaded.
> CUSTOMISED FORMAT. Preloaded files:
>         .
>   proofs.tex
>  article.cls    2004/02/16 v1.4f Standard LaTeX document class
>   size10.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
>  amsmath.sty    2000/07/18 v2.13 AMS math features
>  amstext.sty    2000/06/29 v2.01
>   amsgen.sty    1999/11/30 v2.0
>   amsbsy.sty    1999/11/29 v1.2d
>   amsopn.sty    1999/12/14 v2.01 operator names
>   amsthm.sty    2004/08/06 v2.20
> inputenc.sty    2004/02/05 v1.0d Input encoding file
>   latin1.def    2004/02/05 v1.0d Input encoding file
> 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    2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
>     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
> graphics.cfg    2005/02/03 v1.3 graphics configuration of teTeX/TeXLive
>    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
> listings.sty    2004/10/17 1.3b (Carsten Heinz)
> lstpatch.sty    2004/10/17 1.3b (Carsten Heinz)
>  lstmisc.sty    2004/09/07 1.3 (Carsten Heinz)
> listings.cfg    2004/09/05 1.3 listings configuration
>         .
> No file _region_.aux.
> (/home/fs/frisk/Emacs/auctex/latex/preview.sty
> (/home/fs/frisk/Emacs/auctex/latex/prtightpage.def)
> (/home/fs/frisk/Emacs/auctex/latex/prauctex.def
> No auxiliary output files.
>
>
> (/home/fs/frisk/Emacs/auctex/latex/prauctex.cfg))
> Preview: Fontsize 10pt
> )  !name(proofs.tex) !offset(-3)
> ! Preview: Snippet 1 started.
> <-><->
>
> l.15 \maketitle
>
> Preview: Tightpage -32891 -32891 32891 32891
> ! Preview: Snippet 1 ended.(0+0x0).
> <-><->
>
> l.15 \maketitle
>
> [1]
> ! Preview: Snippet 2 started.
> <-><->
>
> l.26   \begin{tabular}
>                       {ll}
> ! Preview: Snippet 2 ended.(2143027+1815347x16453795).
> <-><->
>
> l.34   \end{tabular}
>
> [2]
> ! Preview: Snippet 3 started.
> <-><->
>
> l.37 \begin{equation*}
>
> ! Preview: Snippe...
>
> [...]
>
>       ...(682665+0x14995406).
> <-><->
>
> l.84   \end{equation*}
>
> [4]
> ! Preview: Snippet 5 started.
> <-><->
>
> l.90   \begin{equation*}
>
> ! Preview: Snippet 5 ended.(655360+0x15496798).
> <-><->
>
> l.92   \end{equation*}
>
> [5]
>
> LaTeX Warning: Reference `fig:m0struc' on page 2 undefined on input
> line 107.
>
> ! Preview: Snippet 6 started.
> <-><->
>
> l.109   \begin{figure}
>
> <Figures/m0struc.eps>
> ! Preview: Snippet 6 ended.(11545592+0x22609920).
> <-><->
>
> l.122   \end{figure}
>
> [6]
> ! Preview: Snippet 7 started.
> <-><->
>
> l.127   \begin{equation*}
>
> ! Preview: Snippet 7 ended.(753010+0x15117197).
> <-><->
>
> l.129   \end{equation*}
>
> [7]
>
> LaTeX Warning: Reference `def:pso' on page 3 undefined on input line 131.
>
>
> LaTeX Warning: Reference `lem:strucdet' on page 3 undefined on input
> line 132.
>
> ! Preview: Snippet 8 started.
> <-><->
>
> l.134   \begin{equation*}
>
> ! Preview: Snippet 8 ended.(753010+0x14634779).
> <-><->
>
> l.136   \end{equation*}
>
> [8]
>
> LaTeX Warning: Reference `alg:SensPlaceM0' on page 3 undefined on
> input line 14
> 4.
>
> ! Preview: Snippet 9 started.
> <-><->
>
> l.145   \begin{equation*}
>
> ! Preview: Snippet 9 ended.(1985516+0x14381909).
> <-><->
>
> l.148   \end{equation*}
>
> [9]
>
> LaTeX Warning: There were undefined references.
>
>  )
> (see the transcript file for additional information)
> Output written on _region_.dvi (9 pages, 4568 bytes).
> Transcript written on _region_.log.
>
> Preview-LaTeX exited as expected with code 1 at Wed Sep 27 14:34:19
> Running `Preview-DviPS' with ``dvips -Pwww _region_.dvi -o 
> _region_.prv/tmp17100RqV/preview.ps''
> This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
> (www.radicaleye.com)
> ' TeX output 2006.09.27:1434' -> _region_.prv/tmp17100RqV/preview.ps
> <tex.pro><cmmi10.pfb><cmr7.pfb><cmr10.pfb><texps.pro><special.pro>.
> <cmsy5.pfb><cmr5.pfb><cmex10.pfb><cmmi5.pfb><cmmi7.pfb><cmsy7.pfb>
> <cmsy10.pfb>[1] [2] [3] [4] [5] [6<Figures/m0struc.eps>] [7] [8] [9]
>
> Preview-DviPS finished at Wed Sep 27 14:34:20
> Running `Preview-Ghostscript' with ``gs
> -dOutputFile\=\(_region_.prv/tmp17100RqV/pr1-\%d.png\) -q -dSAFER
> -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4
> -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r88.9632x94.737''
>
> Preview-Ghostscript finished at Wed Sep 27 14:34:21
>
> current state:
> ==============
> (setq
>  AUC-TeX-version "2006-09-21"
>  LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
>  image-types '(png gif tiff jpeg xpm postscript 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 1.1
>  preview-LaTeX-command '("%l
> \"\\nonstopmode\\nofiles\\PassOptionsToPackage{" (","
> . preview-required-option-list)
>                        
> "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined"
> preview-default-preamble
>                        "\\fi}\\input{%t}\"")
>  preview-required-option-list '("active" "tightpage" "auctex"
> (preview-preserve-counters "counters"))
>  preview-preserve-counters nil
>  preview-default-option-list '("displaymath" "floats" "graphics")
>  preview-default-preamble '("\\RequirePackage[" (","
> . preview-default-option-list) "]{preview}"
>                           "\\PreviewEnvironment{tabular}" 
> "\\PreviewEnvironment{picture}")
>  preview-LaTeX-command-replacements nil
>  preview-dump-replacements '(preview-LaTeX-command-replacements
>                            ("\\`\\([^ ]+\\)\\(\\( -\\([^
> \"]\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini \"&\\1\" "
>                             preview-format-name ".ini \\5")
>                            )
>  preview-undump-replacements '(("\\`\\([^ ]+\\)\\(\\( -\\([^
> \"]\\|\"[^\"]*\"\\)*\\)*\\).*\\input{\\([^}]*\\)}.*\\'"
>                               "\\1 \"&" preview-format-name "\" \\5")
>                              )
>  preview-auto-cache-preamble 'ask
>  preview-TeX-style-dir "/home/fs/frisk/Emacs/auctex/latex"
>  )
>
> Output from running `gs -h':
> AFPL Ghostscript 8.53 (2005-10-20)
> Copyright (C) 2005 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
>    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
>    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:
>    . : /sw/local/share/ghostscript/8.53/lib :
>    /sw/local/share/ghostscript/8.53/Resource :
>    /sw/local/share/ghostscript/fonts
> For more information, see /sw/local/share/ghostscript/8.53/doc/Use.htm.
> Report bugs to address@hidden, using the form in Bug-form.htm.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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