On Tuesday, October 20th, 2026 at 22:06, Karthik Chikmagalur 
<[email protected]> wrote:

> Please try the following:
> 

> 1. Turn off org-latex-preview-mode if it is active
> 2. C-u M-x org-latex-preview-clear-cache
> 3. Run M-x org-latex-preview when the cursor is on a LaTeX fragment
> 

> The two buffers should materialize.  Their contents will be useful to know.

Thanks, that worked.  I noticed something seemed to be happening that was 
related to a font I specify in a setupfile, so I removed that, but that did not 
make the preview appear.  The math fragment is:

\begin{math}
(0, 3, 9, 27, 81, 243, ...)
\end{math}

I did as you suggested.  I got a "Precompiling Org LaTeX preamble..." note in 
the minibuffer that stayed for several minutes until I thought something was 
wrong and checked the other buffers.

*Messages* said:

Org-Latex-Preview mode disabled in current buffer
Cleared LaTeX preview cache for buffer.
Precompiling Org LaTeX preamble...

*Org Preview Convert Output*:

RUNNING: dvisvgm --page=1- --optimize --clipjoin --relative --no-fonts -v3 
--message='processing page {?pageno}: output written to {?svgpath}' 
--bbox=preview -o /tmp/org-tex-a5beBH-%9p.svg /tmp/org-tex-a5beBH.dvi
processing page 1: output written to /tmp/org-tex-a5beBH-000000001.svg

(I looked at that SVG file.  It is the number 5, which is curious, because it 
does not appear in the math fragment.)

*Org Preview LaTeX Output* is long and I will dump it in below.  It mentions 
/tmp/org-tex-a5beBH.* files; I don't know if they get erased immediately but 
there are none in /tmp/.

Thanks for your help, and I hope you can see something in this.

Bill



RUNNING: latex -interaction nonstopmode -output-directory /tmp/ 
/home/wtd/york/shared/PCS/primes/org-tex-a5beBH.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.28 (TeX Live 2025/Debian) 
(preloaded 
format=/home/wtd/.cache/org-persist/29/2ae5a8-473f-41cd-80f1-e648a44c5983-372d93aa4ae8720385d6e2e77d0ea0c0)
 restricted \write18 enabled.
entering extended mode
(/home/wtd/york/shared/PCS/primes/org-tex-a5beBH.tex
LaTeX2e <2025-11-01>
L3 programming layer <2026-01-19>

==============================================================================
JOB NAME         : "org-tex-a5beBH"
CUSTOMISED FORMAT: "3d647745b260b3511646484751989295cfa3b6c7"
PRELOADED FILES:
 article.cls    2025/01/22 v1.4n Standard LaTeX document class
  size10.clo    2025/01/22 v1.4n Standard LaTeX file (size option)
   color.sty    2025/01/14 v1.3e Standard LaTeX Color (DPC)
   color.cfg    2016/01/02 v1.6 sample color configuration
   dvips.def    2025/01/21 v3.2a Graphics/color driver for dvips
dvipsnam.def    2016/06/17 v3.0m Driver-dependent file (DPC,SPQR)
mathcolor.ltx
inputenc.sty    2024/02/08 v1.3d Input encoding file
 fontenc.sty    2025/07/18 v2.1d Standard LaTeX package
graphicx.sty    2024/12/31 v1.2e Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    2022/05/29 v1.15 key=value parser (DPC)
graphics.sty    2024/08/06 v1.4g Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    2023/12/02 v1.11 sin cos tan (DPC)
graphics.cfg    2016/06/04 v1.11 sample graphics configuration
    ulem.sty    2019/11/18
 amsmath.sty    2025/07/09 v2.17z AMS math features
 amstext.sty    2024/11/17 v2.01 AMS text
  amsgen.sty    1999/11/30 v2.0 generic functions
  amsbsy.sty    1999/11/29 v1.2d Bold Symbols
  amsopn.sty    2022/04/08 v2.04 operator names
 amssymb.sty    2013/01/14 v3.01 AMS font symbols
amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
fancyhdr.sty    2025/02/07 v5.2 Extensive control of page headers and footers
 preview.sty    2024/06/30 14.0.6 (AUCTeX/preview-latex)
luatex85.sty    2016/06/15 v1.4 pdftex aliases for luatex
prtightpage.def
prauctex.def
prauctex.cfg
    umsa.fd    2013/01/14 v3.01 AMS symbols A
    umsb.fd    2013/01/14 v3.01 AMS symbols B

==============================================================================
(mylatexformat)Info: start reading document "org-tex-a5beBH"
(mylatexformat)      on input line 4. (\begin{document})
==============================================================================
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
No file org-tex-a5beBH.aux.
Preview: Fontsize 10pt
! Preview: Snippet 1 started.
<-><->
      

l.9 \begin{preview}
                   

Preview: Tightpage -32891 -32891 32891 32891
! Preview: Snippet 1 ended.(491520+163840x34664398).
<-><->
      

l.15 \end{preview}
                  

[1] )
(see the transcript file for additional information)
Output written on /tmp//org-tex-a5beBH.dvi (1 page, 1808 bytes).
Transcript written on /tmp//org-tex-a5beBH.log.



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to