dsanson / termpdf

barebones graphical pdf/djvu/cbr/image viewer that works inside iTerm2 2.9+ and Kitty
MIT License
637 stars 24 forks source link

Can't display one pdf #12

Closed tdehaeze closed 7 years ago

tdehaeze commented 7 years ago

Hi, Thanks for the awesome hack :) Unfortunatly, I can't make it work.

I have everything installed: capture d ecran 2016-11-06 11 54 02

And when I type termpdf main.pdf, I got this: capture d ecran 2016-11-06 11 54 39

I tried with several pdfs and it's always the same...

Do you have any idea why this is happening ?

Thanks

dsanson commented 7 years ago

That probably means that the script is not properly generating the image for that page of the PDF. Have you tried hitting "r" (refresh) or "j" (to go to the next page)?

tdehaeze commented 7 years ago

Yes I've tried that. Then I used your script from the branch termview and it's working :)

duykhoa commented 7 years ago

I also faced the same issue. I checkout the branch termview, and install these packages:

everything works fine now 👍

dsanson commented 7 years ago

Curious if people are still having this problem. My memory is that I had let the script get baroque and have since cleaned it up. I think the main branch should work now.