[Top][All Lists]

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

bug#29249: 11.91; Formulae are no longer shown with preview LaTeX

From: Dr. Michael L. Dowling
Subject: bug#29249: 11.91; Formulae are no longer shown with preview LaTeX
Date: Fri, 10 Nov 2017 16:51:06 +0100
User-agent: Mutt/1.9.1 (2017-09-22)

To: address@hidden
Subject: 11.91; Formulae are no longer shown with preview LaTeX
From: address@hidden (Dr. Michael Dowling)
--text follows this line--

Remember to cover the basics.  Including a minimal LaTeX example
file exhibiting the problem might help.

I use auctex from the Archlinux pacman distribution.  Recently, preview
latex ceased to function.

My .emacs init file consists solely of these two lines:

(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)

(My usual .emacs is about 880 lines long.)

On running any of preview-latex's preview commands, e.g. C-c C-p C-b,
all the maths is prefixed with a red circle with a hoyizontal white line
through the middle.

mouse-2 on such an icon results in the following:

/usr/bin/rungs -dOutputFile\=\(_region_.prv/tmp6988RGc/pr1-10.png\) -q 
-dDELAYSAFER -dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 
-dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r82.9863x84.6667
setuserparams .locksafe} stopped pop {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 }{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/tmp6988RGc/preview.dsc)(r)file]aload exch dup 0 setfileposition 
906()/SubFileDecode filter cvx .runandhide aload pop dup dup 958 
setfileposition 52()/SubFileDecode filter cvx<<>>preview-do
Error: /typecheck in --setfileposition--
Operand stack:
   --nostringval--   --nostringval--   --nostringval--   --nostringval--   1370 
  1370   1370   1317   1317   1317   1266   1266   1266   1215   1215   1215   
1163   1163   1163   1111   1111   1111   1060   1060   1060   1010   1010   
1010   958
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:991/1684(ro)(G)--   --dict:0/20(G)--   --dict:80/200(L)--
Current allocation mode is local
Current file position is 28

The preview.dsc file does exist, its a postscript file containing the
formatted first equation.  No other files are written to that
_region_.prv directory.

The input file is by no means unique; I get the same behaviour with
every LaTeX file I've tested.

Emacs  : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.19)
 of 2017-09-16
Package: 11.91

Run buffer contents:

Running `Preview-LaTeX' on `test' with ``pdflatex -ini -interaction=nonstopmode 
"&pdflatex" prv_test.ini    
 "\input" test.tex''
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) 
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2017-04-15>
Babel <3.12> and hyphenation patterns for 84 language(s) loaded.
(/usr/share/texmf-dist/tex/latex/tools/.tex File ignored))
No auxiliary output files.

(./test.tex (/usr/share/texmf-dist/tex/latex/amscls/amsart.cls
Document Class: amsart 2015/03/04 v2.20.2
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd) )
Beginning to dump on file prv_test.fmt
 (preloaded format=prv_test 2017.11.10)
9350 strings of total length 139242
92501 memory locations dumped; current usage is 221&88670
5725 multiletter control sequences


l.27 ...trachte \(\ln(f(u))\).  Als \(u\to\infty\)
                                                  , \(\ln\) ist monoton und ...

! Preview: Snippet 8 started.
l.27 ...hte \(\ln(f(u))\).  Als \(u\to\infty\), \(
                                                  \ln\) ist monoton und stetig!

! Preview: Snippet 8 ended.(546132+0x641700).
l.27 ...(\ln(f(u))\).  Als \(u\to\infty\), \(\ln\)
                                                   ist monoton und stetig!
! Preview: Snippet 9 started.
l.29 \begin{displaymath}
! Preview: Snippet 9 ended.(2063087+0x23592960).
l.32 \end{displaymath}
! Preview: Snippet 10 started.
l.34 \begin{displaymath}
! Preview: Snippet 10 ended.(1936574+0x23592960).
l.36 \end{displaymath}
! Preview: Snippet 11 started.
l.37 Also \(

! Preview: Snippet 11 ended.(623265+196608x23183401).
l.37 ...))=36,\qquad\lim_{x\to\infty}f(x)=e^{36}\)
(see the transcript file for additional information)</usr/share/texmf-dist/font
Output written on _region_.pdf (11 pages, 61554 bytes).
Transcript written on _region_.log.

TeX Output exited as expected with code 1 at Fri Nov 10 14:11:31
Running `Preview-PDF2DSC' with ``pdf2dsc _region_.pdf 

Preview-PDF2DSC finished at Fri Nov 10 14:11:31
Running `Preview-Ghostscript' with ``/usr/bin/rungs 
-dOutputFile\=\(_region_.prv/tmp6143DWa/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE 
-DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
-sDEVICE\=png16m -r82.9863x84.6667''

Preview-Ghostscript finished at Fri Nov 10 14:11:31

current state:
 AUCTeX-version "11.91"
 LaTeX-command-style '(("" "%(PDF)%(latex) %(file-line-error) %(extraopts) 
 image-types '(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
 preview-image-type 'png
 preview-image-creators '((dvipng (open preview-gs-open 
                           (place preview-gs-place) (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 
 preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"
 preview-gs-command "/usr/bin/rungs"
 preview-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" 
"-dPrinted" "-dTextAlphaBits=4"
 preview-gs-image-type-alist '((png png "-sDEVICE=png16m") (dvipng png 
                               (jpeg jpeg "-sDEVICE=jpeg") (pnm pbm 
                               (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-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-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 `/usr/bin/rungs -h':
GPL Ghostscript 9.22 (2017-10-04)
Copyright (C) 2017 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 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 display dj505j djet500 djet500c dl2100
   dnj650c epl2050 epl2050p epl2120 epl2500 epl2750 epl5800 epl5900 epl6100
   epl6200 eplcolor eplmono eps2write eps9high eps9mid epson epsonc escp
   escpage faxg3 faxg32d faxg4 fmlbp fmpr fpng fs600 gdi gprf 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 ink_cov inkcov itk24i itk38 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 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 pcxcmyk pcxgray pcxmono pdfwrite pdfwrite pdfwrite
   pgm pgmraw pgnm pgnmraw photoex picty180 pj pjetxl pjxl pjxl300 pkm
   pkmraw pksm pksmraw plan plan9bm planc plang plank planm plib plibc plibg
   plibk plibm png16 png16m png256 png48 pngalpha pnggray pngmono pngmonod
   pnm pnmraw ppm ppmraw pr1000 pr1000_4 pr150 pr201 ps2write psdcmyk
   psdcmykog psdrgb pwgraster pxlcolor pxlmono r4081 rinkj rpdl samsunggdi
   sj48 spotcmyk st800 stcolor t4693d2 t4693d4 t4693d8 tek4696 tiff12nc
   tiff24nc tiff32nc tiff48nc tiff64nc tiffcrle tiffg3 tiffg32d tiffg4
   tiffgray tifflzw tiffpack tiffscaled tiffscaled24 tiffscaled32
   tiffscaled4 tiffscaled8 tiffsep tiffsep1 txtwrite uniprint x11 x11alpha
   x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 x11mono xcf xes
Search path:
   /usr/share/ghostscript/9.22/Resource/Init :
   /usr/share/ghostscript/9.22/lib :
   /usr/share/ghostscript/9.22/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.22/doc/Use.htm.
Please report bugs to bugs.ghostscript.com.

Dr. Michael L. Dowling
Gaußstr. 27
38106 Braunschweig

Dr. Michael L. Dowling
Gaußstr. 27
38106 Braunschweig

Attachment: test.tex
Description: TeX document

reply via email to

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