I want to create a link within an asciidoc PDF for a printed book. The right way to do this is something like:
[[LinkUniqueCode]]
Here is the stuff I'm linking to...
Lots of document here...
Now look <<LinkUniqueCode,at the link>>.
Normally I would expect this to render as something like this in PDF:
Now look at the link (Page 13).
But instead I'm getting a link which is useless in a printed PDF...
I've searched a lot for this but the keywords I found are too generic and I only found this.
I've tried adding :xrefstyle: full
but that didn't really help either.
I've seen this both through the fopub backend and the PDF backend. I'm guessing there should be a "print mode" for the PDF generation but I can't really see what I'm doing wrong here.
OK, that was me being stupid. I forgot to include:
Which made it all good.
Edit:
For full reference here's my entire header:
Then the body of this file is:
This seemed to work correctly