emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: LaTeX export: internal target + \autoref{} broken [8.3.2 (8


From: Andreas Leha
Subject: Re: [O] Bug: LaTeX export: internal target + \autoref{} broken [8.3.2 (8.3.2-elpaplus @ /home/myq/.emacs.d/elpa/org-plus-contrib-20150929/)]
Date: Wed, 21 Oct 2015 21:05:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin)

Hi ☕◦m̰̱̐y̿q̟̽,


☕◦m̰̱̐y̿q̟̽ <address@hidden> writes:
>
> Given the following Org document:
>
> ,----
> | #+MACRO: refp \autoref{$1}, \autopageref{$1}
> |
> |
> | * section
> |
> | Please see the results in {{{refp(sec:info)}}}.
> |
> | * info<<sec:info>>
> |
> | The results are here.
> `----
>
> When exporting to LaTex, I expect `autoref' and `autopageref' to
> correctly refer to the target `sec:info'. However, recent versions of
> Org do not do that. I now get the following when exporting to LaTeX:
>
> ,----
> | % Created 2015-10-21 Wed 03:25
> | \documentclass[11pt]{article}
> | % [...]
> | \begin{document}
> | % [...]
> | \section{section}
> | \label{sec:orgheadline1}
> |
> | Please see the results in \autoref{sec:info}, \autopageref{sec:info}.
> |
> | \section{info\label{orgtarget1}}
> | \label{sec:orgheadline2}
> |
> | The results are here.
> | \end{document}
> `----
>
> When compiled, the following warning is issued:
>
> ,----
> | Latex failed to resolve 2 reference(s)
> `----
>
>
> This did not occur in Org Mode 8.3beta.
>

Please see `org-latex-prefer-user-labels'.

Best,
Andreas




reply via email to

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