Internal links within PDF

478 views
Skip to first unread message

David Bolton

unread,
Oct 27, 2008, 12:40:25 AM10/27/08
to Pisa XHTML2PDF Support
Is there a way to create internal links to anchor positions within a
document? I noticed that links to web documents work well.

Dirk Holtwick

unread,
Oct 27, 2008, 9:24:02 AM10/27/08
to xhtm...@googlegroups.com
David Bolton schrieb:

> Is there a way to create internal links to anchor positions within a
> document? I noticed that links to web documents work well.

Sure. The same way you do it in HTML:

<a name="anchor"></a>
...
<a href="#anchor">go to anchor</a>

Dirk

David Bolton

unread,
Oct 27, 2008, 10:20:36 AM10/27/08
to xhtm...@googlegroups.com

I didn't realize that piza needed an actual anchor tag. My HTML
originally only had an id attribute on the heading text. Thanks for your
help!

--
David Bolton
http://davidbolton.info

mobc...@gmail.com

unread,
Jan 8, 2015, 5:12:52 PM1/8/15
to xhtm...@googlegroups.com

Hello Dirk,

I tried this way, but the internal link does not work. Actually, the html body where I add the anchor is changing to blue.

Does the old Pisa version support this internal link feature?

Thanks

Carlos Rocha

unread,
Apr 8, 2015, 4:49:06 PM4/8/15
to xhtm...@googlegroups.com
Hi, Dirk not working the internal link i use de same example you put, but only transform de link in blue color
but not find the a tags :/ any example online or tips, trick

Cheers

George Tudosi

unread,
Sep 29, 2015, 8:36:14 AM9/29/15
to Pisa XHTML2PDF Support
xhtml2pdf-0.0.6 works fine for me. I've tried to convert the attached file.
pdftest.html
Reply all
Reply to author
Forward
0 new messages