On 4 September 2012 17:58, Wilhelm <[email protected]> wrote:
> Hi,
>
> I have an asciidoc source with relative links to source files, e.g.
>
> link:{src}/{chap}/{subchap}/Hello.java[Hello.java]
>
> where
>
> :src: ./src
>
> If I generate an epub the source-files under ./src aren't copied to the
> output even if I give --resource src to a2x.
>
> What am I doing wrong here or am I hitting a limitation?

The limitation is that only text/css or image files are automatically
copied, not arbitrary links. a2x doesn't know that links are resources
you want included or links you want left as links.  The default is to
leave them as links.  So it leaves them as links.  You have to specify
anything not a css or image explicitly.

Cheers
Lex

>
> --
> Wilhelm
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/asciidoc?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to