[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Changed behaviours of LaTeX exporter in version 8.0+
From: |
Rasmus |
Subject: |
Re: [O] Changed behaviours of LaTeX exporter in version 8.0+ |
Date: |
Mon, 29 Sep 2014 10:53:40 +0200 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
Hi,
"Kyeong Soo (Joseph) Kim" <address@hidden> writes:
> On Mon, Sep 29, 2014 at 3:07 PM, Nicolas Goaziou <address@hidden>
> wrote:
>
>> Hello,
>>
>> "Kyeong Soo (Joseph) Kim" <address@hidden> 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?
If you don't want to use hyperref (i) make sure your sections are
numbered (e.g. #+OPTIONS: num:5) and (ii) make sure that you are not
giving links a description. Here's an example:
* test my heading
:PROPERTIES:
:CUSTOM_ID: t
:END:
[[*test my heading][my funky label]]
[[*test my heading]]
[[#t]]
→
\section{test my heading}
\label{sec-1}
\hyperref[sec-1]{my funky label}
\ref{sec-1}
\ref{sec-1}
—Rasmus
--
May the Force be with you
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, (continued)
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Kyeong Soo (Joseph) Kim, 2014/09/18
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Richard Lawrence, 2014/09/18
- Message not available
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Richard Lawrence, 2014/09/19
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Kyeong Soo (Joseph) Kim, 2014/09/20
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Nicolas Goaziou, 2014/09/22
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Kyeong Soo (Joseph) Kim, 2014/09/22
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Nicolas Goaziou, 2014/09/27
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Kyeong Soo (Joseph) Kim, 2014/09/29
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Nicolas Goaziou, 2014/09/29
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Kyeong Soo (Joseph) Kim, 2014/09/29
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+,
Rasmus <=
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Kyeong Soo (Joseph) Kim, 2014/09/29
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Rasmus, 2014/09/29
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Kyeong Soo (Joseph) Kim, 2014/09/29
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Rasmus, 2014/09/29
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Rasmus, 2014/09/29
- Re: [O] Changed behaviours of LaTeX exporter in version 8.0+, Richard Lawrence, 2014/09/18