inter document links and includes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

inter document links and includes

patrickm
Hello,

I have a problem with links to a document and includes...

I have the following:

root_dir/master.adoc    --> include::dir_1/A.adoc[]
root_dir/dir_1
                 A.adoc   --> link::../dir_2/B.html
root_dir/dir_2
                 B.adoc

master.html includes a href like ../dir_2/B.html (which of course is wrong...)
I also tried with "Inter-document cross references" without success.

Is there a way to write absolute links relatives to the "source path" eg: link::dir_2/B.html
or link::/dir_2/B.html  ?

Thanks
Patrick
Reply | Threaded
Open this post in threaded view
|

Re: inter document links and includes

patrickm
Ouupsss...

Maybe related to that : https://github.com/asciidoctor/asciidoctor/issues/844 ?

sorry if the case....
Reply | Threaded
Open this post in threaded view
|

Re: inter document links and includes

mojavelinux
Administrator
Yep, looks like the same issue.

-Dan

On Wed, Jul 1, 2015 at 9:32 AM, patrickm [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Ouupsss...

Maybe related to that : https://github.com/asciidoctor/asciidoctor/issues/844 ?

sorry if the case....


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/inter-document-links-and-includes-tp3457p3458.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Reply | Threaded
Open this post in threaded view
|

Re: inter document links and includes

patrickm
Hi,

I'm not sure it's the same issue...
Anyway, I tried with 1.5.3-SNAPSHOT and still have the problem...

Patrick
Reply | Threaded
Open this post in threaded view
|

Re: inter document links and includes

mojavelinux
Administrator
Snapshots in the AsciidoctorJ side don't use the lastest master from Asciidoctor core. AsciidoctorJ (and plugins) only use stable releases of Asciidoctor core. You'd have to clone the Ruby version and test that directly to know if it fixes it. I recommend testing that scenario outside of using AsciidoctorJ or the plugin.

We need clear instructions on the AsciidoctorJ side of things about how to test a local install of Asciidoctor core. We don't yet have that.

-Dan

On Thu, Jul 2, 2015 at 5:58 AM, patrickm [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi,

I'm not sure it's the same issue...
Anyway, I tried with 1.5.3-SNAPSHOT and still have the problem...

Patrick


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/inter-document-links-and-includes-tp3457p3468.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--