On Mon, Sep 29, 2014 at 3:07 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

"Kyeong Soo (Joseph) Kim" <kyeongsoo.kim@gmail.com> writes:

> 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.

Could you elaborate about what is wrong with
"\hyperref[sec-1]{OneWord}"?

AFAICT, it is the desired output.


Regards,

--
Nicolas Goaziou

Now I see the point in your suggestion.

It seems that you suggest using filter to change

\hyperref[sec-1]{OneWord}

to

\ref{sec-1}

Am I right?

By the way, this is a bit of step backward, considering near standard use of '\ref{...}' in most academic papers and theses; the use of hyperlinks are even strongly discouraged in many conferences and academic journals during the publication processes.

If we have to choose, I believe going back to version 7.x behavior (i.e., "\ref{...}") is a right direction for LaTeX export. Hyperlinks can be done using filtering in this case.

Regards,
Joseph