[publican-list] Using internal links in pdf file in Publican

Jeffrey Fearn jfearn at redhat.com
Thu Nov 15 01:18:33 UTC 2012



----- Original Message -----
> 
> Hi everyone,
> 
> Is there a way to use internal links in pdf and html (multiple pages)
> without <link> tag in Publican?
> 
> I see that I can use <xref> but it imposes the restrictions on a text
> of the link. It always looks like, for example, "Chapter 3, Chapter
> about Question X". And how can I use something like <a
> href="section_id">some text here</a> in html?

You can override how that link text is generated , but you need to create a brand to do so.

In your brand you'd change the section.label.includes.component.label parameter.

> It seems that <link> tag provides this functionality but it is
> disallowed in Publican. So can I get the same result without it?

Publican won't stop you from using link, it just complains about it. More recent versions of Publican moved this banned list to brands, so by default you shouldn't get any complaints.

Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Senior Software Engineer
Infrastructure Engineering & Development (AEU)
Red Hat Asia Pacific Pty Ltd
GPG: 0x0357E8F0




More information about the publican-list mailing list