ox-latex: Introduce `org-latex-prefer-user-labels' variable
commit4bbc054bd252b975f483a29515495a9af9329c71
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 13 Apr 2015 09:53:59 +0000 (13 11:53 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 13 Apr 2015 13:21:23 +0000 (13 15:21 +0200)
tree26b34a1016e2b6f81edbc2a8aac84dd0f7bd3f4c
parent68eb1d0ab0c153a1403d3c80fb3049ddc57aa26c
ox-latex: Introduce `org-latex-prefer-user-labels' variable

* lisp/ox-latex.el (org-latex-prefer-user-labels): New variable.
(org-latex-custom-id-as-label): Remove variable.
(org-latex--label): New function.

(org-latex--caption/label-string):
(org-latex-headline):
(org-latex-inlinetask):
(org-latex-latex-environment):
(org-latex-link): Use new function.

* etc/ORG-NEWS: Document new variable.

This variable replaces, and generalizes,
`org-latex-custom-id-as-label'.
etc/ORG-NEWS
lisp/ox-latex.el