GNU bug report logs - #36111
Support cleveref labels in AUCTeX and RefTeX

Previous Next

Package: auctex;

Reported by: Ryan Kavanagh <rak <at> debian.org>

Date: Thu, 6 Jun 2019 02:33:02 UTC

Severity: wishlist

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 36111 <at> debbugs.gnu.org (full text, mbox):

From: Ryan Kavanagh <rak <at> debian.org>
To: Arash Esbati <arash <at> gnu.org>
Cc: 36111 <at> debbugs.gnu.org
Subject: Re: bug#36111: Support cleveref labels in AUCTeX and RefTeX
Date: Wed, 12 Jun 2019 09:51:16 -0400
[Message part 1 (text/plain, inline)]
On Mon, Jun 10, 2019 at 09:40:18PM +0200, Arash Esbati wrote:
> I don't have complete TeXlive installed, but is there a plain.cls
> available somewhere?

Sorry, I hadn't actually run LaTeX on that test file, and was just using
it for AUCTeX debugging. I somehow remembered the "minimal" class as
being called "plain". Replacing
    \documentclass{plain}
by
    \documentclass{minimal}
will get it compiling.

> Your example above works for me.  I suspect that AUCTeX is still loading
> the old style.  Can you please restart Emacs, load your test .tex file
> and hit `C-h e', and check from which directory the file cleveref.el is
> loaded?

Aha, that's the problem (and thanks for teaching me about `C-h e'):

Loading /home/rak/.emacs.d/elpa/auctex-12.1.2/style/cleveref.elc...done

The problem seems to be that I was setting TeX-style-private at the
bottom of my .emacs, after the stuff loading AUCTeX. Moving the setting
to the start of my ~/.emacs resulted in:

Loading /home/rak/.emacs.d/elpa/auctex-12.1.2/style/cleveref.elc...done

The new cleveref.el you provided fixes the bug. Thanks!

Best,
Ryan

-- 
|)|/  Ryan Kavanagh      | GPG: 4E46 9519 ED67 7734 268F
|\|\  https://rak.ac     |      BD95 8F7B F8FC 4A11 C97A
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.