Page 1 of 1

Display PDF link in topics which are part of that PDF

Posted: Fri Feb 23, 2018 9:17 am
by albgio
Hi guys,
I have a single source project with 2 kinds of targets, HTML5 and PDF; HTML5 output is one single huge website, but I produce several PDF documents from the very same topics included in the online output.
Is there a way to show, for the HTML5 output, a download link to a PDF on a topic which is part of that PDF document?
i.e., let's say I have a 10 topics project, topic1, topic2, ..., topic10; topic5/6/7 together they compose a document called PDF1.pdf. I'd like to automatically put a download link in topic5.html, topic6.html and topic7.html which says "This topic is part of PDF1.pdf".

Thank you
Gio

Re: Display PDF link in topics which are part of that PDF

Posted: Fri Feb 23, 2018 10:24 am
by trent the thief
Hi I do something like that. I generate all the PDFs and publish them to a directory under content. Then I add the links in the HTML5 and set the conditions to not show that line in PDF.

After that, I call a batch job to build/publish the pdfs and then I build/publish the help.