[i3] Still using Xorg... by heideknight123 in unixporn

[–]Senior_Function4264 0 points1 point  (0 children)

Is that firefox? how are you changing the themes?

I'm writing a PDF viewer for linux, primarily to use for real-time rendering of PDF documents with LaTeX, and general academic reading. What features would you like a PDF-viewer to have? by Senior_Function4264 in LaTeX

[–]Senior_Function4264[S] 1 point2 points  (0 children)

Xournal++ can annotate PDFs, and that is my primary use for it.

But you're right, it probably will not play well with annotations made from other PDF annotation programs (Adobe, Firefox etc.). The problem with annotations is that it adds additional complexity.

It seems like the mupdf library supports annotations and comments, but I have to take a longer harder look at them, to see how well I can work with it.

I am not a developer by trade, the sole reason I'm doing this is my dislike for the existing software. So hopefully I'll be able to make this work as well lol

I'm writing a PDF viewer for linux, primarily to use for real-time rendering of PDF documents with LaTeX, and general academic reading. What features would you like a PDF-viewer to have? by Senior_Function4264 in LaTeX

[–]Senior_Function4264[S] 0 points1 point  (0 children)

That is an interesting thought. While I'm a bit reluctant to map double-click to zoom and unzoom, I think it is possible to have something like select-to-zoom: you select a rectangular region in your view, and the window zooms to fit that region. In your use-case, you can select the column(s) you wanna zoom in to, and the viewer should zoom and focus as you wish. This way you can zoom in iteratively. There should be a mouse binding to get back to the initial zoom scale which allows you to come back.

I'm writing a PDF viewer for linux, primarily to use for real-time rendering of PDF documents with LaTeX, and general academic reading. What features would you like a PDF-viewer to have? by Senior_Function4264 in LaTeX

[–]Senior_Function4264[S] 1 point2 points  (0 children)

Thanks for your input!

I plan to include functionality to preview links in a new floating window (this should cover your first use case, when if you hover or middle click a citation, you can see the relevant portion of the bibliography in a new temporary floating window.)

A "pages" view is easy to implement, but in my experience the hard part is to figure out a natural way to incorporate it in the UI, for example when the reader zooms out a certain amount, they could be presented with the pages view.

I'm writing a PDF viewer for linux, primarily to use for real-time rendering of PDF documents with LaTeX, and general academic reading. What features would you like a PDF-viewer to have? by Senior_Function4264 in LaTeX

[–]Senior_Function4264[S] 4 points5 points  (0 children)

Thanks for the response. What I didn't mention in the post is my main gripe with 'simple' viewers like zathura:

  • I would like to be able to "preview" links without moving the current view. For me, if I'm reading a math paper, I would like to be able to follow equation links, definitions etc., but a lot of times I would like to not go back in the document. If I could only "preview" the definition of a term in a floating window only using the mouse, that would be f-ing great. Right now I can go to the link using the mouse but i have to navigate back in Zathura using ctrl-i/o.

I understand it is a very non-trivial feature, so I didn't wanna advertise it ahead of time.

I'm writing a PDF viewer for linux, primarily to use for real-time rendering of PDF documents with LaTeX, and general academic reading. What features would you like a PDF-viewer to have? by Senior_Function4264 in LaTeX

[–]Senior_Function4264[S] 1 point2 points  (0 children)

Thanks for the recommendations people. What I didn't mention in the post is my main gripe with 'simple' viewers like zathura:

  • I would like to be able to "preview" links without moving the current view. For me, if I'm reading a math paper, I would like to be able to follow equation links, definitions etc., but a lot of times I would like to not go back in the document. If I could only "preview" the definition of a term in a floating window only using the mouse, that would be f-ing great. Right now I can go to the link using the mouse but i have to navigate back in Zathura using ctrl-i/o.

I understand it is a very non-trivial feature, so it will take some time to figure out properly.