[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] insert a label with the file name as suffix.
From: |
Uwe Brauer |
Subject: |
Re: [AUCTeX-devel] insert a label with the file name as suffix. |
Date: |
Fri, 05 May 2017 17:02:11 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> Uwe Brauer <address@hidden> writes:
> Sigh, sorry, my bad. `LaTeX-exam-label' is not defined at that point of
> time. Please try this:
> (with-eval-after-load "latex"
> (add-to-list 'LaTeX-label-alist '("titledquestion" . LaTeX-exam-label)))
> (with-eval-after-load "tex-style"
> (add-to-list 'reftex-label-alist
> `("titledquestion" ?x
> ,(concat LaTeX-exam-label "%f:")
> "~\\ref{%s}" nil ("ejercicio") )))
Well thanks, there is no error, but
It still inserts only
\titledquestion{Hello}[10]\label{exm:3}
Instead of
\titledquestion{Hello}[10]\label{exm:test-exam1:3}
Uwe
- [AUCTeX-devel] insert a label with the file name as suffix., Uwe Brauer, 2017/05/04
- Re: [AUCTeX-devel] insert a label with the file name as suffix., Arash Esbati, 2017/05/04
- Re: [AUCTeX-devel] insert a label with the file name as suffix., Uwe Brauer, 2017/05/05
- Re: [AUCTeX-devel] insert a label with the file name as suffix., Arash Esbati, 2017/05/05
- Re: [AUCTeX-devel] insert a label with the file name as suffix., Uwe Brauer, 2017/05/05
- Re: [AUCTeX-devel] insert a label with the file name as suffix., Arash Esbati, 2017/05/05
- Re: [AUCTeX-devel] insert a label with the file name as suffix.,
Uwe Brauer <=
- Re: [AUCTeX-devel] insert a label with the file name as suffix., Arash Esbati, 2017/05/06
- Re: [AUCTeX-devel] insert a label with the file name as suffix., Uwe Brauer, 2017/05/06
- Re: [AUCTeX-devel] insert a label with the file name as suffix., Uwe Brauer, 2017/05/06
- Re: [AUCTeX-devel] insert a label with the file name as suffix., Arash Esbati, 2017/05/07
- [AUCTeX-devel] [partially solved] (was: insert a label with the file name as suffix.), Uwe Brauer, 2017/05/07
- Re: [AUCTeX-devel] [partially solved], Arash Esbati, 2017/05/08