Coder Social home page Coder Social logo

Comments (9)

hwhw avatar hwhw commented on July 29, 2024

Agreed. And I also had a look. I was waiting for houqp to submit the djvu highlighting - I want to implement it for PDFs, too. When we have cursor handling, adding support for links is the next step. Actually it isn't very hard :-) And it seems I'll have some time to work on it over the weekend.

from kindlepdfviewer.

hwhw avatar hwhw commented on July 29, 2024

So now we have highlighting support even for PDFs. I'd like to wait with the local links until after release, though.

from kindlepdfviewer.

eLiNK2gl avatar eLiNK2gl commented on July 29, 2024

After the shift + 'X' mode, this feature might be another enrichment, which would make kpdfview stand head and shoulders above alternatives.

Any chance to see it implemented in the short-run?

from kindlepdfviewer.

tigran123 avatar tigran123 commented on July 29, 2024

@eLiNK2gl I would be very happy with it as almost all the books I typeset use this feature (e.g. all the page numbers in my TOC are hyperlinks to the actual pages and cross-references jump to the appropriate location within a book). Interesting, @hwhw says it is not very hard... Maybe I'll have a look at some point, but I don't know anything about muPDF internals --- I only know djvulibre :)

from kindlepdfviewer.

dpavlin avatar dpavlin commented on July 29, 2024

I just pushed first naive implementation of mupdf bindings to get links on pdf page.

I'm not submitting pull request because there is no user-visible functionality (yet), but I would appreciate if you can take a look at code to make sure that I didn't do something wrong.

from kindlepdfviewer.

tigran123 avatar tigran123 commented on July 29, 2024

Very interesting, thank you. I will test it this evening and will let you know how it went.

from kindlepdfviewer.

tigran123 avatar tigran123 commented on July 29, 2024

I couldn't resist testing it quickly in the emulator --- yes, it works very nicely! I tested it on the pdf file of the Urantia Study Edition (see "urantia-study-edition" project on github). The TOC there contains links (visually unnoticeable to not distract attention).

from kindlepdfviewer.

tigran123 avatar tigran123 commented on July 29, 2024

Btw, I only tested that all the links are present, but did not verify the actual page destinations. In fact, this should be verified in two cases: a) simple arabic numerals from the beginning and b) roman numerals for front matter and then arabic for main matter, i.e. so-called "logical page numbering". In all of my recent editions I switched to simple arabic numerals from the very beginning (btw, in Soviet Union this was a required standard and even as recently as about 10 years ago I published a hardcover Greek NT in Ukraine which had the same strict requirements on page numbering) but I should still have some of my old editions with roman+arabic numerals to test on.

from kindlepdfviewer.

dpavlin avatar dpavlin commented on July 29, 2024

I'm closing this issue since implementation of pdf links is discussed in #309 together with code

from kindlepdfviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.