bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.87; Tikz and Maketitle problem


From: Faheem Mitha
Subject: Re: [Bug-AUCTeX] 11.87; Tikz and Maketitle problem
Date: Sat, 21 Jun 2014 18:50:06 +0000 (UTC)
User-agent: slrn/1.0.1 (Linux)

On Wed, 19 Mar 2014 09:54:59 +0100, Johannes <address@hidden> wrote:
> --20cf303f6dcec3f80404f4f1ce2a
> Content-Type: text/plain; charset=ISO-8859-1

> The attached file will not produce correct preview, but instead
> replace the inline ath with an entire page.

> I also posted this to
> (http://tex.stackexchange.com/questions/166023/strange-preview-latex-problem-with-tikz-and-maketitle)

I was able to reproduce this bug. See my comments on the tex.sx
question. I reproduce these comments below.

    I also just reproduced this independently. I am on Debian
    wheezy. With default versions of Tex Live (2012) and PGF/TikZ
    (2.10) on wheezy, this is not reproducible. However, with Tex Live
    2013 (backported to wheezy) which includes PGF 3.0, this problem
    is reproducible. The problem may be PGF 3.0. I could try testing
    for this. Ghostscript is 9.05 for both, and I doubt it is
    implicated in this. If others can reproduce, I suggest adding your
    config information here

    Also, for the record, the poster wrote "However, if I remove one
    of \usepackage{tikz}, \title{a} or \maketitle it works ?!"
    However, I don't think this is the case. It looks like there some
    kind of off-by-one error (possibly triggered by PGF). This looks
    as follows. One place where a preview should be is missing. That
    preview appears in the next "slot". Henceforth it looks like each
    preview snippet is one ahead of where it should be, and in my
    file, commenting out either \title or \maketitle doesn't change
    that. (Of course, if you comment out \title you also need to
    comment out \maketitle or you get an error.) Of course, my file is
    rather longer than the minimal example given."

I'd like to post this to a AucTeX bug tracker, but there doesn't seem
to be one. Suggestion: can debbugs.gnu.org be enabled as an AUCTeX bug
tracker?

Does anyone want me to post an additional formal bug report?

                                                       Regards, Faheem

> Emacs  : GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.7)
>  of 2014-01-28 on var-lib-archbuild-extra-x86_64-juergen
> Package: 11.87
>
> Run buffer contents:
>
> Running `Preview-LaTeX' on `preview-latex' with ``pdflatex -ini
> -interaction=nonstopmode "&pdflatex" prv_preview-latex.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" preview-latex.tex''
> This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Arch
> Linux) (INITEX)
>  restricted \write18 enabled.
> entering extended mode
> (./prv_preview-latex.ini
> LaTeX2e <2011/06/27>
> Babel <3.9h> and hyphenation patterns for 78 languages loaded.
> (/usr/share/texmf-dist/tex/latex/carlisle/mylatex.ltx)
> (/usr/share/texmf-dist/tex/latex/tools/.tex File ignored))
> No auxiliary output files.
>
> (./preview-latex.tex (/usr/share/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
> (/usr/share/texmf-dist/tex/latex/base/size10.clo))
> (/usr/share/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
> (/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
> (/usr/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
> (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
> (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex))
> (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
> (/usr/share/texmf-dist/tex/latex/ms/everyshi.sty))
> (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex))
> (/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
> (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
> (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
> (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
> (/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
> (/usr/share/texmf-dist/tex/latex/latexconfig/graphics.cfg)
> (/usr/share/texmf-dist/tex/latex/pdftex-def/pdftex.def
> (/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
> (/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
> (/usr/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
> (/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
> (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
> (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
> (/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
> (/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
> (/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)))
> (/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath...
>
> [...]
>
>     ...)
> pgfcomp-version-1-18.sty    2007/07/23 v3.0.0 (rcs-revision 1.1)
>   pgffor.sty    2013/12/13 v3.0.0 (rcs-revision 1.25)
>  pgfkeys.sty
>  pgfkeys.code.tex
>  pgfmath.sty
>  pgfmath.code.tex
>   pgffor.code.tex
>     tikz.code.tex
>         .
> No file _region_.aux.
> (/usr/share/texmf/tex/latex/preview/preview.sty
> (/usr/share/texmf/tex/latex/preview/prtightpage.def)
> (/usr/share/texmf/tex/latex/preview/prauctex.def
> No auxiliary output files.
>
>
> (/usr/share/texmf/tex/latex/preview/prauctex.cfg))
> (/usr/share/texmf/tex/latex/preview/prfootnotes.def)
> Preview: Fontsize 10pt
> Preview: PDFoutput 1
> ) ABD: EveryShipout initializing macros
> (/usr/share/texmf-dist/tex/context/base/supp-pdf.mkii
> [Loading MPS to PDF converter (version 2006.09.02).]
> ) (/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
> (/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
> (/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
> (/usr/share/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
> (/usr/share/texmf-dist/tex/latex/oberdiek/grfext.sty
> (/usr/share/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
> (/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty
> (/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
> (/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
> (/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
>  !name(preview-latex.tex) !offset(-3)  
> [1{/var/lib/texmf/fonts/map/pdftex/updma
> p/pdftex.map}]
>
> LaTeX Warning: No \author given.
>
> [2]
> ./_region_.tex:15: Preview: Snippet 1 started.
> <-><->
>
> l.15 $
>       a$
> Preview: Tightpage -32891 -32891 32891 32891
> ./_region_.tex:15: Preview: Snippet 1 ended.(282168+0x346416).
> <-><->
>
> l.15 $a$
>
> [1] )
> (see the transcript file for additional 
> information)</usr/share/texmf-dist/font
> s/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texmf-dist/fonts/type1/public
> /amsfonts/cm/cmr10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cm
> r12.pfb>
> Output written on _region_.pdf (3 pages, 26652 bytes).
> Transcript written on _region_.log.
>
> Preview-LaTeX exited as expected with code 1 at Wed Mar 19 09:50:25
> Running `Preview-PDF2DSC' with ``pdf2dsc _region_.pdf
> _region_.prv/tmp966Mrn/preview.dsc''
>
> Preview-PDF2DSC finished at Wed Mar 19 09:50:25
> Running `Preview-Ghostscript' with ``gs
> -dOutputFile\=\(_region_.prv/tmp966Mrn/pr1-\%d.png\) -q -dDELAYSAFER
> -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4
> -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r126.72x126.92''
>
> Preview-Ghostscript finished at Wed Mar 19 09:50:25
>
> current state:
>==============
> (setq
>  AUCTeX-version "11.87"
>  LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
>  image-types '(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
>  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" "-dDELAYSAFER" "-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 '(lambda nil (if (boundp (quote
> text-scale-mode-step)) nil (text-scale-set 0))
>                                                     (* 1.1 (expt
> text-scale-mode-step (+ 1 text-scale-mode-amount))))
>  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 nil
>  )
>
> Output from running `gs -h':
> GPL Ghostscript 9.10 (2013-08-30)
> Copyright (C) 2013 Artifex Software, Inc.  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: x11alpha
> Available devices:
>    alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250 appledmp
>    atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e bj10v bj10vh
>    bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmono bmp16 bmp16m
>    bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj500
>    cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cdnj500 cfax
>    chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cp50 cups declj250
>    deskjet devicen dfaxhigh dfaxlow dj505j djet500 djet500c dl2100 dnj650c
>    epl2050 epl2050p epl2120 epl2500 epl2750 epl5800 epl5900 epl6100 epl6200
>    eplcolor eplmono eps9high eps9mid epson epsonc epswrite escp escpage
>    faxg3 faxg32d faxg4 fmlbp fmpr fs600 gdi hl1240 hl1250 hl7x0 hpdj1120c
>    hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510 hpdj520 hpdj540
>    hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c
>    hpdj855c hpdj870c hpdj890c hpdjplus hpdjportable ibmpro ijs imagen
>    inferno inkcov iwhi iwlo iwlq jetp3852 jj100 jpeg jpegcmyk jpeggray la50
>    la70 la75 la75plus laserjet lbp310 lbp320 lbp8 lex2050 lex3200 lex5700
>    lex7000 lips2p lips3 lips4 lips4v lj250 lj3100sw lj4dith lj4dithp lj5gray
>    lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d ljet4pjl ljetplus ln03 lp1800
>    lp1900 lp2000 lp2200 lp2400 lp2500 lp2563 lp3000c lp7500 lp7700 lp7900
>    lp8000 lp8000c lp8100 lp8200c lp8300c lp8300f lp8400f lp8500c lp8600
>    lp8600f lp8700 lp8800c lp8900 lp9000b lp9000c lp9100 lp9200b lp9200c
>    lp9300 lp9400 lp9500c lp9600 lp9600s lp9800c lps4500 lps6500 lq850
>    lxm3200 lxm5700m m8510 mag16 mag256 md1xMono md2k md50Eco md50Mono md5k
>    mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff24 mj500c mj6000c
>    mj700v2c mj8000c ml600 necp6 npdl nullpage oce9050 oki182 oki4w okiibm
>    oprp opvp paintjet pam pamcmyk32 pamcmyk4 pbm pbmraw pcl3 pcx16 pcx24b
>    pcx256 pcx256 pcx2up pcxcmyk pcxgray pcxmono pdfwrite pdfwrite pgm pgmraw
>    pgnm pgnmraw photoex picty180 pj pjetxl pjxl pjxl300 pkm pkmraw pksm
>    pksmraw plan plan9bm planc plang plank planm png16 png16m png256 png48
>    pngalpha pnggray pngmono pnm pnmraw ppm ppmraw pr1000 pr1000_4 pr150
>    pr201 ps2write psdcmyk psdrgb pxlcolor pxlmono r4081 rinkj rpdl
>    samsunggdi sgirgb sj48 spotcmyk st800 stcolor sunhmono svg t4693d2
>    t4693d4 t4693d8 tek4696 tiff12nc tiff24nc tiff32nc tiff48nc tiff64nc
>    tiffcrle tiffg3 tiffg32d tiffg4 tiffgray tifflzw tiffpack tiffscaled
>    tiffsep tiffsep1 txtwrite uniprint x11 x11alpha x11cmyk x11cmyk2 x11cmyk4
>    x11cmyk8 x11gray2 x11gray4 x11mono xcf xes xpswrite
> Search path:
>    /usr/share/ghostscript/9.10/Resource/Init :
>    /usr/share/ghostscript/9.10/lib :
>    /usr/share/ghostscript/9.10/Resource/Font :
>    /usr/share/ghostscript/fonts : /usr/share/fonts/Type1 : /usr/share/fonts
> Ghostscript is also using fontconfig to search for font files
> For more information, see /usr/share/ghostscript/9.10/doc/Use.htm.
> Please report bugs to bugs.ghostscript.com.
>
> --20cf303f6dcec3f80404f4f1ce2a
> Content-Type: application/x-tex; name="preview-latex.tex"
> Content-Disposition: attachment; filename="preview-latex.tex"
> Content-Transfer-Encoding: base64
> X-Attachment-Id: f_hsydif870
>
> XGRvY3VtZW50Y2xhc3N7YXJ0aWNsZX0gCgpcdXNlcGFja2FnZXt0aWt6fSAKClxiZWdpbntkb2N1
> bWVudH0KClx0aXRsZXthfQoKXG1ha2V0aXRsZQpcbmV3cGFnZQoKJGEkCiAKXGVuZHtkb2N1bWVu
> dH0=
> --20cf303f6dcec3f80404f4f1ce2a
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>




reply via email to

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