You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a lot of LaTeX documents on my phone. They have the LaTeX PDF hyperlinks from the hyperref package. However, I cannot click on the links in the table of contents. For some reason the links I have created manually with \href{mailto:…}{…} work.
There is no table of contents (or at least I have not found it). Together this makes it really hard to navigate in the document.
I would really appreciate a table of contents view for the opened PDF.
The text was updated successfully, but these errors were encountered:
The table of content (It's the case for Beamer presentations I've checked for instance) is available as an attached page :
tap the document to show the sharing panel.
you'll see there a dot on the top right indicating an attached page that you can reach with a right swype.
For inline links, this is currently not implemented. After a quick review, it's apparently quite easy to implement :
in pdf/pdfrenderthread.cpp:86 (function rescanDocumentLinks()), one should implement the link->linkType() == Poppler::Link::GoTo case. the destination page may be stored in the QUrl storage of the link list with a specific marker like page://n.
in pdf/pdflinkarea.cpp:88, the function should parse the URL to detect an internal link and emit a new internalLinkClicked() signal with the page number.
in plugin/PDFView.qml:146, should catch this new signal and call goToPage() with the argument.
I'll do this and test, if everyone agrees, in the coming days (or weeks…).
I did not know that the table of contents was hidden there. Thanks for pointing that out! I'd appreciate working hyperlinks but I cannot give you any input on your implementation approach --- I have no idea about this project or Sailfish OS programming.
I have a lot of LaTeX documents on my phone. They have the LaTeX PDF hyperlinks from the
hyperref
package. However, I cannot click on the links in the table of contents. For some reason the links I have created manually with\href{mailto:…}{…}
work.There is no table of contents (or at least I have not found it). Together this makes it really hard to navigate in the document.
I would really appreciate a table of contents view for the opened PDF.
The text was updated successfully, but these errors were encountered: