auctex
[Top][All Lists]
Advanced

[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: Sat, 04 Jan 2014 12:00:51 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Faheem Mitha <address@hidden> writes:

Hi Faheem,

> The jss.sty style file contained in
> http://www.jstatsoft.org/downloads/JSSstyle.zip breaks AUCTeX's
> preview for me even with a simple file. NOTE: the jsslogo.jpg file is
> also required. For example,the following file
>
>     \documentclass[article]{jss}
>     \begin{document}
>     $x$
>     \end{document}
>
> gives the error
>
>     LaTeX found no preview images
>
> Can anyone
>
> a) confirm this

No, it works just fine for me (see attached screenshot) using the
current git version of AUCTeX.  Concering preview, the current git
version has no changes with respect to 11.87 (or 11.87.2 from ELPA), so
it should work there, too.

Attachment: jss-preview.png
Description: PNG image

What version of AUCTeX are you using?  In case it's older than 11.87,
could you please try upgrading?  In case it already is 11.87, could you
tell us the contents of the output buffer (`C-c C-l' in the tex buffer
after generating the previews)?

> b) tell me what the problem is?

> I've also posted this to tex.stackexchange.com at
> http://tex.stackexchange.com/q/151696/3406

Ok, there you've posted more details.

--8<---------------cut here---------------start------------->8---
ERROR: Illegal parameter number in definition of \MYLATEXline.

--- TeX said ---
<to be read again> 
                   1
l.386   address@hidden
                                   {%
--8<---------------cut here---------------end--------------->8---

Honestly, I have no clue what's the source of the error, but preview
doesn't define or fiddle with \MYLATEXline, so the culprit is probably
in you LaTeX installation.  (Googling shows that this macro comes from
the mylatex package which can be used to pre-generate format files for
speeding up later compilations...)

Bye,
Tassilo

reply via email to

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