Hi,
that's what I feared... I know it works with the CUSTOM_ID property.
Unfortunately, I'd like to link to an item in a list.
Is there a (possibly dirty) work around?

Best regards,
Sébastien


2013/12/29 Nicolas Goaziou <n.goaz...@gmail.com>

> Hello,
>
> Sébastien Brisard <sebastien.bris...@m4x.org> writes:
>
> > I'm facing a problem with links accross multiple org files, when I
> publish
> > to HTML. Here is a minimal working example. file1.org looks like
> >
> > <<target1>> Target 1
> >
> > [[target1][Go to target #1]]
> >
> > [[file:./file2.org::target2][Go to target #2]]
> >
> > while file2.org looks like
> >
> > <<target2>> Target 2
> >
> > In emacs, when I click on the second link, it opens file2.org all right.
> > However, when I export to html, here is what file1.html looks like
> >
> > <body>
> >   <div id="content">
> >     <h1 class="title">file1</h1>
> >     <p>
> >       <a id="target1" name="target1"></a> Target 1
> >     </p>
> >
> >     <p>
> >       <a href="#target1">Go to target #1</a>
> >     </p>
> >
> >     <p>
> >       <a href="./file2.html">Go to target #2</a>
> >     </p>
> >   </div>
> >   <div id="postamble" class="status">
> >     ...
> >   </div></body>
> >
> > The second link should read (I believe)
> >
> > <a href="./file2.html#target2">Go to target #2</a>
>
> There's no support for exporting links to targets across files. You can
> only target a headline, through its custom-id, e.g.,
>
>   [[file:./file2.org::#custom-id][...]]
>
> or through its title
>
>   [[file:/file2.org::*Headline title][...]]
>
>
> Regards,
>
> --
> Nicolas Goaziou
>

Reply via email to