View Single Post
Old 09-09-2010, 03:17 PM   #16
viktorz
Junior Member
viktorz began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2010
Location: California
Device: PRS-505
Quote:
Originally Posted by Jellby View Post
It doesn't happen to me, intra-ePUB links are transformed into intra-PDF links.
I think I have figured it out. The problem was two-fold

First, apparently there is a problem when prince gets absolute paths to the files in command-line. So I have modified script to pass file names only, and changed workdir for the prince in the Popen call. Again, see attached in the previous post. That produces working links - sometimes.

Now there is another problem, when the link happens to refer to an empty span. It depends on a book, obviously. I think it's a known bug in the prince.

Last edited by viktorz; 09-15-2010 at 04:39 AM.
viktorz is offline   Reply With Quote