[Top][All Lists]

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

Re: [AUCTeX-devel] from 11.84 to 87 problems.

From: Tassilo Horn
Subject: Re: [AUCTeX-devel] from 11.84 to 87 problems.
Date: Tue, 24 Jun 2014 21:59:27 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

Hi Uwe,

> I still encounter problems switching from 11.84 to 11.87.
> Running Xemacs 21.5 and the pkg offered from auctex team.
>     -  I just leave my 11.84 setting untouched and try 11.87 out: I
>        obtain an error (as I already indicated.) Why is backwards
>        compatibility violated?

Because source specials is just one concrete implementation of providing
a correlation between tex source and compiled output document.  The
other one is synctex (which is more common nowadays).

>     Anyhow I add
> (defalias 'TeX-source-specials-expand-options 
> 'TeX-source-correlate-expand-options)
>        and this error disappears, 
>     -  however when I switch TeX-PDF-mode, I can compile but when I try
>        the view I obtain a different error which I attach.

There's no TeX-sync-output-page-function in AUCTeX.  I guess that's from
your old customization?

>     -  so I just comment my TeX-command-list and TeX-expand-list setting
>        in .emacs out and restart xemacs. 
>     -  now in TeX-PDF-mode, I can compile and the viewer works (evince
>        BTW how can I switch to xpdf??)

Customize `TeX-view-program-selection'.

>     -  what does NOT work is source-specials!
>         `TeX-source-correlate-mode' I run latex
>         (I switch on C-c C-t C-s runs `TeX
> Running `LaTeX' on `new' with 
> ``latex --synctex=1 -interaction=nonstopmode "\input" new.tex'' 
> BTW: also I had 
> TeX-source-correlate-start-server to ask 
> I was not asked so I set it to t
> But when opening a viewer I obtain 
> ,----
> | No source specials in this DVI file - couldn't do reverse search.
> `----

Whose message is that?  The viewer's?  If so, which viewer?  Evince?

>  And
> ,----
> | Forward/reverse search allows you to jump from a point in the DVI file
> | to the corresponding location in the .tex source file, and vice versa. 
> | To make this possible, the .tex file needs to be compiled with source
> | special support. This can be done by using either a package like
> | "srcltx.sty" or "srctex.sty", or a command-line switch like "-src" for
> | the TeX executable. See the xdvi man page (section SOURCE SPECIALS) for
> | more information about this.
> `----
> I am wondering why the call is not 
> ``latex --src -interaction=nonstopmode "\input" new.tex'' 

AUCTeX prefers SyncTeX over Source Specials for source-output
correlation.  When compiling to PDF, source specials don't work anyway.

> Any help is very welcome, but right now I cannot use 11.87.


Attachment: signature.asc
Description: PGP signature

reply via email to

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