Resolved !

Actually everything was OK except the use of sourcedir instead of 
includedir :-(




Le mercredi 29 juin 2016 02:57:34 UTC+2, Ridha Zegdane a écrit :
>
> Hi,
>
> I have a A.adoc including two others B.adoc and C.adoc.
>
> In B.adoc, i wrote:
> /////////////////////////////////////////////////////////////////////
> [[B_LINK]]
> = B Title
> ...
> /////////////////////////////////////////////////////////////////////
>
> Equivalent thing is C.adoc with a [[C_LINK]]
>
> In master document A.adoc, I want to do the following:
> /////////////////////////////////////////////////////////////////////
> = A Title
> :highlightjsdir: highlight
> :source-highlighter: highlight.js
> :doctype: article
> :sourcedir: ./
> :sectnums:
>
> '''
> In this chapter:
>
> * <<B_LINK,B>>
> * <<C_LINK, C>>
>
> '''
> :leveloffset: 1
> include:: {sourcedir}/B.adoc[]
>
> include:: {sourcedir}/C.adoc[]
>
> :leveloffset: 0
>
> ////////////////////////////////////////////////////////
>
> >> I got an error saying that one of both links (the one included in 
> second position, here the C_LINK) does not exist: "There is no ID/IDREF 
> ...."
>
> Note that when I include only one of both files, it works.
>
> Could you please help me figuring out if what i am trying to do is 
> possible or not? if yes, the best way to do it?
>
> I am using AsciidocFx 1.4.5 on windows
>
> Thanks.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to