Fabian Ossevorth | 3 May 11:42 2010
Picon

Problem with xdvis 'watchfile' option in Auctex 11.86

After upgrading to AUCTeX 11.86 my xdvi did not reload the dvi file when recompiling the tex file.
I have read that there have been a lot of changes to the viewer selection and its options, but I have to admit that I am not familiar with lisp coding.
So far, I have the following code in my .emacs (only the watchfile stuff, which means a lot to me)

(add-to-list 'TeX-command-list '("View" "%V" TeX-run-discard nil t))
(add-to-list 'TeX-output-view-style
        '("^dvi$" "."
          "%(o?)xdvi -watchfile 1 %dS %d"))

And it doesn't work anymore.
My question is, how do I get the 'watchfile' option back in 11.86?
I have read about the new user options but I don't know how to use them.

Thanks and best regards,

Fabian

Windows 7 - Alles was Du brauchst und noch viel mehr!
_______________________________________________
auctex mailing list
auctex <at> gnu.org
http://lists.gnu.org/mailman/listinfo/auctex
Frederik | 12 May 19:02 2010
Picon

Problems running bibtex

Hello there!

I've just updated to MikTeX 2.8 on Windows XP and found myself in 
trouble compiling my bibtex data using emacs/auctex:

If I run bibtex using C-c BibTeX RET, I get an error:

-------------------------
Running `BibTeX' on `effizienz_paper' with ``bibtex effizienz_paper''
This is BibTeX, Version 0.99c (Web2C 7.5.4)
The top-level auxiliary file: effizienz_paper.aux
I couldn't open style file biblatex.bst
---line 5 of file effizienz_paper.aux
  : \bibstyle{biblatex
  :                   }
I'm skipping whatever remains of this command
I found no style file---while reading file effizienz_paper.aux
(There were 2 error messages)

BibTeX exited abnormally with code 2 at Wed May 12 18:43:56
-------------------------

Running `bibtex effizienz_paper' in the command window causes no 
problems, everything is fine.

Note that this problem happens when using styles other from biblatex, too.

I'm using GNU Emacs 23.1.1 and AUCTeX 11.86.

Thanks & Regards,
Frederik

--

-- 
Frederik

freak.fred <at> gmail.com
Markus Heller | 12 May 19:48 2010
Picon

Re: AUCTeX 11.86 released

On 2/25/2010 1:46 AM, José Carlos Santos wrote:
> On 24-02-2010 13:31, Frederik wrote:

[snip]

>> Otherwise Type C-h i and then navigate AUCTeX > Processing > Viewing >
>> Starting Viewers.
>
> Even after reading this page it took me some time to figure out how to
> do what I wanted to do (to use SumatraPDF to view PDF files), but I
> eventually managed to do it.

I'm having the same problem.  Could you please explain what you had to do?

Thanks and Cheers
Markus
Leo | 12 May 21:25 2010
Picon

Re: AUCTeX 11.86 released

On 2010-05-12 18:48 +0100, Markus Heller wrote:
>> Even after reading this page it took me some time to figure out how to
>> do what I wanted to do (to use SumatraPDF to view PDF files), but I
>> eventually managed to do it.
>
> I'm having the same problem.  Could you please explain what you had to do?

I think this has become easier with 11.86.

On windows (which I'm not using) it should use the default viewer for
.pdf files. See variable TeX-view-program-selection.

Leo
Markus Heller | 12 May 22:47 2010
Picon

Re: AUCTeX 11.86 released

On 5/12/2010 12:25 PM, Leo wrote:
> On 2010-05-12 18:48 +0100, Markus Heller wrote:
>>> Even after reading this page it took me some time to figure out how to
>>> do what I wanted to do (to use SumatraPDF to view PDF files), but I
>>> eventually managed to do it.
>>
>> I'm having the same problem.  Could you please explain what you had to do?
>
> I think this has become easier with 11.86.
>
> On windows (which I'm not using) it should use the default viewer for
> .pdf files. See variable TeX-view-program-selection.

It does use the default viewer, but what if I want AUCTeX to use a 
different viewer?  Couldn't figure that one out yet ...

Markus
Leo | 13 May 10:07 2010
Picon

Re: AUCTeX 11.86 released

On 2010-05-12 21:47 +0100, Markus Heller wrote:
> It does use the default viewer, but what if I want AUCTeX to use a
> different viewer?  Couldn't figure that one out yet ...

Sorry I should be more explicit. If you look at the doc string of that
variable you will find out how the whole thing is setup.

Basically you need to add a viewer by customising TeX-view-program-list
which has a format similar to TeX-view-program-list-builtin.

Once you have the viewer added, you need to restart emacs and then
customise TeX-view-program-selection. You should see the added viewer
appear in the value menu, something like this http://imagebin.org/96663.

HTH,

Leo
Ralf Angeli | 13 May 16:26 2010
Picon

Re: Re: AUCTeX 11.86 released

* Markus Heller (2010-05-12) writes:

> It does use the default viewer, but what if I want AUCTeX to use a 
> different viewer?  Couldn't figure that one out yet ...

Add a definition for the viewer you want to use to
`TeX-view-program-list' and reference this definition in
`TeX-view-program-selection'.

--

-- 
Ralf
Ralf Angeli | 13 May 16:20 2010
Picon

Re: Problems running bibtex

* Frederik (2010-05-12) writes:

> I've just updated to MikTeX 2.8 on Windows XP and found myself in 
> trouble compiling my bibtex data using emacs/auctex:
>
> If I run bibtex using C-c BibTeX RET, I get an error:
>
> -------------------------
> Running `BibTeX' on `effizienz_paper' with ``bibtex effizienz_paper''
> This is BibTeX, Version 0.99c (Web2C 7.5.4)
> The top-level auxiliary file: effizienz_paper.aux
> I couldn't open style file biblatex.bst
[...]
> Running `bibtex effizienz_paper' in the command window causes no 
> problems, everything is fine.

Are you sure that Emacs makes use of the same BibTeX binary as the one
found by the Windows prompt?  This could happen if you still have an old
MiKTeX installation around and the PATH environment variable set for
Emacs points to that.

--

-- 
Ralf
Markus Heller | 13 May 18:46 2010
Picon

Re: AUCTeX 11.86 released

On 5/13/2010 1:07 AM, Leo wrote:
> On 2010-05-12 21:47 +0100, Markus Heller wrote:
>> It does use the default viewer, but what if I want AUCTeX to use a
>> different viewer?  Couldn't figure that one out yet ...
>
> Sorry I should be more explicit. If you look at the doc string of that
> variable you will find out how the whole thing is setup.
>
> Basically you need to add a viewer by customising TeX-view-program-list
> which has a format similar to TeX-view-program-list-builtin.
>
> Once you have the viewer added, you need to restart emacs and then
> customise TeX-view-program-selection. You should see the added viewer
> appear in the value menu, something like this http://imagebin.org/96663.
>
> HTH,
>
> Leo

Thanks for the detailed description, I got it!

Markus
Ralf Hemmecke | 14 May 12:03 2010
Picon

dollar and mmm-mode

Hello,

I've read that there is still the problem with the dollar.

http://www.gnu.org/software/auctex/manual/auctex/Known-problems.html#Known-problems

I'm using mmm-mode with a respective font-locking inside a \begin{chunk}
... \end{chunk} environment.
Adding "chunk" to the LaTeX-verbatim-environments is therefore no option
for me.

But I guess, it would be somehow possible to convince mmm-mode to switch
off the special treatment of $ if it switches the context from
latex-mode to the respective code mode.

Any idea how this could be done? Hints are greatly appreciated since
elisp is not my primary programming environment.
But this needless adding of %$ is so annoying that I want to get rid of
it even if I must figure it out myself how.

Best regards
Ralf

Gmane