>>>>> "Albert" == Albert Astals Cid <[EMAIL PROTECTED]> writes:
>> In acroread you can click on the number in text such as 'Figure 14' >> and get a popup annotation showing that figure. There was some >> chatter about doing such stuff on the TeX groups a few months ago. >> Once it is visible a shift-click allows one to move it around. Albert> Does that really work? i tried with Acrobat and could achieve Albert> anything. My description above was empirical. I determined it by actual testing of the PDFs the OP referenced. I have: http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.2/AdobeReader_enu-8.1.2-1.i486.tar.bz2 installed (by way of the Gentoo ebuild). >> The PDF also has intra-document links for each reference to its entry in >> the end notes and URL links in the endnotes for each referenced paper. >> Even pages with just the simple intra-document links also generate a SEGV. Albert> Show such a document to me, that's been working for ages. Again, xpdf compiled against libpoppler (Gentoo’s way of installing xpdf; I use git master libpoppler) does die on any page of the OP’s referenced PDFs where there is any annotation. I listed the only types of annotations in those documents. The full backtrace is: #0 0xb7e0c303 in AnnotWidget::initialize () from /usr/lib/libpoppler.so.3 #1 0xb7e0ec4d in AnnotWidget::AnnotWidget () from /usr/lib/libpoppler.so.3 #2 0xb7e106b1 in Annots::createAnnot () from /usr/lib/libpoppler.so.3 #3 0xb7e10a00 in Annots::Annots () from /usr/lib/libpoppler.so.3 #4 0xb7e76496 in Page::displaySlice () from /usr/lib/libpoppler.so.3 #5 0xb7e79cc7 in PDFDoc::displayPageSlice () from /usr/lib/libpoppler.so.3 #6 0x0805ef7f in PDFCore::needTile () #7 0x08061d47 in PDFCore::update () #8 0x080658a7 in XPDFCore::update () #9 0x0805cd99 in PDFCore::displayPage () #10 0x0807138e in XPDFViewer::pageNumCbk () #11 0xb7896733 in XtCallCallbackList () from /usr/lib/libXt.so.6 #12 0xb7c7d819 in Activate (w=0x80dd838, event=0xbfdbc5ac, params=0x0, num_params=0xb78d8538) at TextF.c:4257 #13 0xb78cc5ca in HandleActions () from /usr/lib/libXt.so.6 #14 0xb78cc973 in HandleSimpleState () from /usr/lib/libXt.so.6 #15 0xb78ccf68 in _XtTranslateEvent () from /usr/lib/libXt.so.6 #16 0xb78a467c in XtDispatchEventToWidget () from /usr/lib/libXt.so.6 #17 0xb78a4dfd in _XtDefaultDispatcher () from /usr/lib/libXt.so.6 #18 0xb78a3d7b in XtDispatchEvent () from /usr/lib/libXt.so.6 #19 0xb78a3f14 in XtAppMainLoop () from /usr/lib/libXt.so.6 #20 0x08073202 in main () I didn’t post it initially because it lacks arguments. I had presumed that it would be easy to duplicate. That exact bt occurs on any page of those PDFs which has any kind of annotation. (And I have recompiled xpdf after my most recent recompile of poppler.) If I run a compile of xpdf302 as distributed by upstream — which of course does not have any annot support — there is no crash. For pdftoppm the bt is: (gdb) where #0 0xb7de7303 in AnnotWidget::initialize () from /usr/lib/libpoppler.so.3 #1 0xb7de9c4d in AnnotWidget::AnnotWidget () from /usr/lib/libpoppler.so.3 #2 0xb7deb6b1 in Annots::createAnnot () from /usr/lib/libpoppler.so.3 #3 0xb7deba00 in Annots::Annots () from /usr/lib/libpoppler.so.3 #4 0xb7e51496 in Page::displaySlice () from /usr/lib/libpoppler.so.3 #5 0xb7e54cc7 in PDFDoc::displayPageSlice () from /usr/lib/libpoppler.so.3 #6 0x08049143 in savePageSlice () #7 0x0804979d in main () and also happens on pages with annots. The OP get’s a bus error on OSX; I a SEGV on Linux. To help debug this I will recompiled poppler and xpdf with -ggdb and post better backtraces. And core files if you like. It might take a bit, though. I’m currently compiling axiom, and axiom’s readme predicts a multiple-hour compile time on a much better box than mine.... -JimC -- James Cloos <[EMAIL PROTECTED]> OpenPGP: 1024D/ED7DAEA6 _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
