[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Manage auto insertion of labels
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX-devel] Manage auto insertion of labels |
Date: |
Wed, 13 Aug 2014 10:34:34 +0200 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
Vladimir Lomov <address@hidden> writes:
> Also, I imagined that there will be some function that allows,
> depending on context to use a customized prefix (for example, "fig"
> for figures, "tab" for tables, "eq" for equations, "page" for
> page-labels)
That's already the case, isn't it?
,----[ C-h v LaTeX-section-label RET ]
| LaTeX-section-label is a variable defined in `latex.el'.
| Its value is (("part" . "part:")
| ("chapter" . "chap:")
| ("section" . "sec:")
| ("subsection" . "sec:")
| ("subsubsection" . "sec:"))
|
|
| Documentation:
| Default prefix when asking for a label.
|
| Some LaTeX packages (such as `fancyref') look at the prefix to generate some
| text around cross-references automatically. When using those packages, you
| should not change this variable.
|
| If it is a string, it it used unchanged for all kinds of sections.
| If it is nil, no label is inserted.
| If it is a list, the list is searched for a member whose car is equal
| to the name of the sectioning command being inserted. The cdr is then
| used as the prefix. If the name is not found, or if the cdr is nil,
| no label is inserted.
`----
,----[ C-h v LaTeX-label-alist RET ]
| LaTeX-label-alist is a variable defined in `latex.el'.
| Its value is (("figure" . LaTeX-figure-label)
| ("table" . LaTeX-table-label)
| ("figure*" . LaTeX-figure-label)
| ("table*" . LaTeX-table-label)
| ("equation" . LaTeX-equation-label)
| ("eqnarray" . LaTeX-eqnarray-label))
|
|
| Automatically becomes buffer-local when set.
|
| Documentation:
| Lookup prefixes for labels.
| An alist where the CAR is the environment name, and the CDR
| either the prefix or a symbol referring to one.
`----
Bye,
Tassilo
- Re: [AUCTeX-devel] Manage auto insertion of labels, (continued)
- Re: [AUCTeX-devel] Manage auto insertion of labels, Tassilo Horn, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels, Mosè Giordano, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels, Tassilo Horn, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels, Vladimir Lomov, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels, Mosè Giordano, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels, Vladimir Lomov, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels, Mosè Giordano, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels, Tassilo Horn, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels, Mosè Giordano, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels, Vladimir Lomov, 2014/08/12
- Re: [AUCTeX-devel] Manage auto insertion of labels,
Tassilo Horn <=
- Re: [AUCTeX-devel] Manage auto insertion of labels, Mosè Giordano, 2014/08/13
- Re: [AUCTeX-devel] Manage auto insertion of labels, Tassilo Horn, 2014/08/13
- Re: [AUCTeX-devel] Manage auto insertion of labels, Mosè Giordano, 2014/08/13
- Re: [AUCTeX-devel] Manage auto insertion of labels, Tassilo Horn, 2014/08/14
- Re: [AUCTeX-devel] Manage auto insertion of labels, Mosè Giordano, 2014/08/14
- Re: [AUCTeX-devel] Manage auto insertion of labels, Tassilo Horn, 2014/08/14
- Re: [AUCTeX-devel] Manage auto insertion of labels, Mosè Giordano, 2014/08/14
Re: [AUCTeX-devel] Manage auto insertion of labels, Uwe Brauer, 2014/08/13