Hi Nicolas,


On Sun, Sep 28, 2014 at 6:01 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

You can use a link filter. Also, `org-export-latex-hyperref-format'
doesn't exist in Org 8.0+.

> - By name (using C-c l & C-c C-l): Sec. [[*Two%20Words][Two Words]]

[...]

> [[*With%20&%20in%20the%20Title][With & in the Title]]

This is the problem. The path isn't expected to be url-encoded. AFAICT,
"C-c l" doesn't encoded headlines. I don't know how yours generates such
a link.


Regards,

--
Nicolas Goaziou

The real problem is that, except for using the custom id, the current export engine cannot refer to the correct label (e.g., "\label{se-1}") which is automatically generated during the export process. 

See the case of section title with only one word in the ECM (e.g., "\hyperref[sec-1]{OneWord}"), where the export engine still cannot properly refer to the automatically generated label. This has nothing to do with the URL-encoding.

Note that the issue of URL-encoding has gone once I cleared up my org-mode configurations (i.e., commented all out for testing). Still, however, the issue of wrong cross-referencing is there.

Regards,
Joseph