On 10 February 2013 08:55, Michael Eddington <[email protected]> wrote:
> I'm looking to use asciidoc to create content that we can deliver in
> multiple formats.  For example a website and also as a book in pdf format.
> I've started with web and have been using "link:" to make links to different
> pages of content.  Of course when outputting to pdf format I now have links
> that leave the pdf and go looking for html files.
>
> Is there a good way to perform linking or referencing that works across web
> and docbook/pdf?

Hi Michael,

The link macro only generates HTML links, thats its purpose.

Not sure what you are trying to achieve, do you mean cross references
rather than links, but to external files in HTML but internal in PDF?

Presumably you are combining the content using includes to make the
PDF since you describe it as a book.

So you need to combine the content in the same manner for HTML as
well, use cross references all the time and let a2x -f chunked
re-split the HTML if you don't want it all in one file. (personally I
find such websites *really* annoying since I can't search them).

Cheers
Lex

>
> Cheers,
> Mike
>
> --
> 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 http://groups.google.com/group/asciidoc?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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 http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to