[Top][All Lists]

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

[AUCTeX-devel] [problems with TeX-arg-ref] (was: patch for exam class)

From: Uwe Brauer
Subject: [AUCTeX-devel] [problems with TeX-arg-ref] (was: patch for exam class)
Date: Mon, 14 Nov 2016 17:09:12 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>>> "Arash" == Arash Esbati <address@hidden> writes:

   > Please don't use `reftex-label'.  Non Reftex-user will get an error.
   > `TeX-arg-ref' does the right thing here.

I have not used TeX-arg-ref for ages. Three observations:

    -  when it is used (in the environment as defined my exam.el) first
       a minipage pops up then the windows is split and a lot of
       possible labels are offered, however in my case the window with
       the list of possible labels was too small for my screen, but I
       could not scroll down, neither with the keys nor with the mouse,
       so this seems a BUG. Then the first entry is [] saying any so I
       presumed, space or enter would do something useful it does not
       but gives the following error: ery-label-type: No such label
       type: ^M

    -  frankly this sucks, I don't see any benefit from that function:
       couldn't we reftex make mandatory for auctex?

    -  since I presume the answer will be *no*, what's about the
       following solution for the exam.el style file

(defvar exam-use-reftex nil
  "Variable which controls whether to use `reftex-label' or `TeX-arg-ref'. 
Default is to use `TeX-arg-literal'.")

(if exam-use-reftex
    (defalias 'TeX-arg-literal 'reftex-label))

Uwe Brauer

reply via email to

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