mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 22:07:49 +00:00
Merge branch 'maint'
Conflicts: lisp/ox-latex.el
This commit is contained in:
commit
a24ac01cd5
|
@ -1982,7 +1982,8 @@ INFO is a plist holding contextual information. See
|
||||||
#'number-to-string
|
#'number-to-string
|
||||||
(org-export-get-headline-number destination info)
|
(org-export-get-headline-number destination info)
|
||||||
"-")))))
|
"-")))))
|
||||||
(if (and (plist-get info :section-numbers) (not desc))
|
(if (and (not desc)
|
||||||
|
(org-export-numbered-headline-p destination info))
|
||||||
(format "\\ref{%s}" label)
|
(format "\\ref{%s}" label)
|
||||||
(format "\\hyperref[%s]{%s}" label
|
(format "\\hyperref[%s]{%s}" label
|
||||||
(or desc
|
(or desc
|
||||||
|
|
Loading…
Reference in a new issue