[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] The Journal of Statisticsl Software style file breaks previ
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview |
Date: |
Sun, 05 Jan 2014 15:40:09 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Faheem Mitha <address@hidden> writes:
Hi,
>> Ah, now I think I know what's the problem: caching the preamble uses
>> mylatex.ltx, so please try preview without: <menu-bar> <Preview> <off>
>
> Your suggestion is: go to the menu-bar and set "Turn preamble cache"
> to "Off", right?
Yes.
> I did this. I didn't restart emacs or anything. I then tried the test
> file again.
>
> The preview feature still fails, but this time there are no error
> messages with \MYLATEXline. Looks like the problem may not be related
> to the mylatex package after all.
Hm, indeed. With cached preample, I got the same \MYLATEXline errors as
you do, but I got the previews anyway.
> I enclose the compilation output (the buffer obtained by doing C-c C-l
> in emacs) below, and also the log file below that.
>
> I still can't help wondering whether the image file referenced in the
> class file is messing things up, but removing that line doesn't change
> anything.
>
> Does this operation just affect the current buffer or does it write
> settings for future use?
You mean, turning of the preamble cache? That's only for the current
session.
> (/usr/share/texlive/texmf-dist/tex/latex/natbib/natbib.sty
>
> ! LaTeX Error: \makeindex undefined.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
>
> l.795 \renewcommand\makeindex
> address@hidden
I get that error, too, but it doesn't hinder preview-latex to generate
previews for me.
> ! Preview: Snippet 1 started.
> <-><->
>
> l.4 \begin{document}
>
> <jsslogo.jpg, id=4, 540.0175pt x 393.47pt> <use jsslogo.jpg>
> Preview: Tightpage -32891 -32891 32891 32891
> ! Preview: Snippet 1 ended.(4288418+0x5885636).
> <-><->
>
> l.4 \begin{document}
>
> [1 <./jsslogo.jpg>] (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pzc.fd)
> ! Preview: Snippet 2 started.
> <-><->
>
> l.5 $
> x$
> ! Preview: Snippet 2 ended.(308974+0x410139).
> <-><->
>
> l.5 $x$
Hm, so it actually found the preview snippets.
> [2{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
> (/usr/share/texlive/texmf-dist/tex/latex/ae/t1aett.fd) )
> (see the transcript file for additional
> information)</usr/share/texlive/texmf-d
> ist/fonts/type1/public/amsfonts/cm/cmmi10.pfb>
> Output written on test.pdf (2 pages, 31652 bytes).
> Transcript written on test.log.
>
> Preview-LaTeX exited as expected with code 1 at Sun Jan 5 14:50:16
> LaTeX: LaTeX found no preview images
My output buffer which shows exactly the same \makeindex error ends like
this:
--8<---------------cut here---------------start------------->8---
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\\' on input line 2.
./mini.tex:2: Preview: Snippet 1 started.
<-><->
l.2 \begin{document}
<jsslogo.jpg, id=4, 540.0175pt x 393.47pt> <use jsslogo.jpg>
Preview: Tightpage -32891 -32891 32891 32891
./mini.tex:2: Preview: Snippet 1 ended.(4288418+0x5885636).
<-><->
l.2 \begin{document}
[1 <./jsslogo.jpg>] (/usr/share/texmf-dist/tex/latex/psnfss/t1pzc.fd)
./mini.tex:3: Preview: Snippet 2 started.
<-><->
l.3 $
x^2$
./mini.tex:3: Preview: Snippet 2 ended.(598293+0x721439).
<-><->
l.3 $x^2$
[2{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
(/usr/share/texmf-dist/tex/latex/ae/t1aett.fd) )
(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/cmr8.pfb>
Output written on mini.pdf (2 pages, 38772 bytes).
SyncTeX written on mini.synctex.gz.
Transcript written on mini.log.
TeX Output exited as expected with code 1 at Sun Jan 5 15:33:48
Running `Preview-PDF2DSC' with ``pdf2dsc mini.pdf
mini.prv/tmp12523gYi/preview.dsc''
Preview-PDF2DSC finished at Sun Jan 5 15:33:50
Running `Preview-Ghostscript' with ``/usr/bin/rungs
-dOutputFile\=\(mini.prv/tmp12523gYi/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE
-DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4
-sDEVICE\=png16m -r86.0873x86.1893''
Preview-Ghostscript finished at Sun Jan 5 15:33:51
--8<---------------cut here---------------end--------------->8---
Not sure where's the difference. You might want to try the
auctex-11.87.2 package that you can install with M-x
package-list-packages instead of the debian provided one.
Bye,
Tassilo
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview, Tassilo Horn, 2014/01/04
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview, Faheem Mitha, 2014/01/04
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview, Faheem Mitha, 2014/01/04
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview, Tassilo Horn, 2014/01/04
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview, Faheem Mitha, 2014/01/04
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview, Tassilo Horn, 2014/01/04
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview, Faheem Mitha, 2014/01/05
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview,
Tassilo Horn <=
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview, Faheem Mitha, 2014/01/05
- Re: [AUCTeX] The Journal of Statisticsl Software style file breaks preview, Tassilo Horn, 2014/01/06