News for hackers. Stuff that matters.
Re:My New Favorite Tool for Reviewing PDFs: Okular by tonydiep on Sunday March 24, 2019 @11:34PM (#19480147)
I just evaluated Evince, Okular, Foxit, and Acrobat for annotating PDFs.

My particular use case is to annotate emails, spreadsheet, etc., and merge them as exhibits into a legal brief.

After annotation, the other programs can export the original or it export the annotation layers but it could not give you a PDF with both the original and the annotations merged into one layer. This was a deal breaker.

With Okular you can print the PDF with the annotations as a new PDF to make sure your annotations are always visible. With the other programs the annotations are on separate layers which can get hidden on purpose or by mistake.

I found no other free program that could flatten the layers.

Okular deserves to be better known.

Re:My New Favorite Tool for Reviewing PDFs: Okular by jcelerier on Monday March 25, 2019 @03:45PM (#19486085)
> Okular deserves to be better known.

s/Okular/most KDE software/

Re:My New Favorite Tool for Reviewing PDFs: Okular by crazygringo on Monday March 25, 2019 @12:18PM (#19483870)
In theory, shouldn't every PDF viewer support printing... and both macOS and Windows 10 support printing to PDF... which flattens the layers?

Just tried it with macOS Preview and totally flattens it, the annotations pane lists nothing, I can't select/move annotations... they're permanent.

However, also just tried with Acrobat Reader on macOS, and infuriatingly after selecting the system's "Print to PDF" Acrobat pops up an error saying it doesn't support print to PDF. WTF. Why would they intentionally go out of their way to disable that?

Re:My New Favorite Tool for Reviewing PDFs: Okular by mwcremer on Monday March 25, 2019 @12:27PM (#19483955)
Re:My New Favorite Tool for Reviewing PDFs: Okular by js2 on Monday March 25, 2019 @03:51PM (#19486132)
Try CUPS-PDF. I don't know if it still works but I've used it in the past to save PDFs from programs that stubbornly refused to allow it.

https://www.cups-pdf.de/

Re:My New Favorite Tool for Reviewing PDFs: Okular by JadeNB on Monday March 25, 2019 @02:46PM (#19485478)
> Why would they intentionally go out of their way to disable that?

I hope that https://en.wikipedia.org/wiki/Intel_80486SX is a not-excessively-snarky reply by appeal to history.

Re:My New Favorite Tool for Reviewing PDFs: Okular by ubercow13 on Monday March 25, 2019 @12:52PM (#19484181)
I just tried in Evince and you can print an annotated document to flatten it just fine.
Re:My New Favorite Tool for Reviewing PDFs: Okular by tonydiep on Tuesday March 26, 2019 @04:04PM (#19495512)
Can you show me how?

I'm using Document Viewer aka Evince 3.28.2 on CentOS Linux release 7.6.1810 (Core) and I don't see an option to print the PDF with annotations.

Re:My New Favorite Tool for Reviewing PDFs: Okular by ubercow13 on Thursday March 28, 2019 @09:23AM (#19511901)
It's just the normal print option. Fill out the form, Save As with the form filled out (not sure if this is necessary), print in the main menu
Re:My New Favorite Tool for Reviewing PDFs: Okular by facto_fermented on Monday March 25, 2019 @11:09AM (#19483135)
Have you found any software for exporting annotations (especially highlighted text)? Ideally, I would want to highlight text, select graphics, and have the software let me export those to PDF or doc/odf. My use case is reviewing academic papers.

I looked into Xodo and Foxit, but they don't offer what I need.

Re:My New Favorite Tool for Reviewing PDFs: Okular by briancleland on Monday March 25, 2019 @03:17PM (#19485808)
Have you tried Zotero with the Zotfile extension?
Re:My New Favorite Tool for Reviewing PDFs: Okular by senorsmile on Monday March 25, 2019 @11:34PM (#19489094)
xournal does this.
Re:My New Favorite Tool for Reviewing PDFs: Okular by GGfpc on Monday March 25, 2019 @12:24PM (#19483922)
I really enjoy Okular, it's fast, looks good and has smooth-scrolling (looking at you Foxit). However, I have been forced to use Foxit when dealing with annotations, because a lot of times Okular simply cannot display them if they were created in other programs.
Re:My New Favorite Tool for Reviewing PDFs: Okular by sevensor on Monday March 25, 2019 @04:18PM (#19486378)
I discovered Okular late in my dissertation-writing. I was pretty thrilled to discover that it could display annotations made with Acrobat. This was my advisor's preferred way of interacting, since I was somehow not able to interest him in learning git or LaTeX. At the time it was far better than evince. I've also found that it does a better job with big complicated pdfs produced by graphviz.
Re:My New Favorite Tool for Reviewing PDFs: Okular by burtonator on Monday March 25, 2019 @12:26PM (#19483942)
Okular is actually the reason I created Polar:

https://getpolarized.io/

Well, one of the reasons.

First, if you like Okular, you're stuck if you want to run on any other platform. It doesn't work on mobile, it doesn't work on the web, doesn't work on Linux, MacOS or Windows [1]

Additionally, there were pretty severe bugs when I used it and there were 1-2 long outstanding bugs regarding annotations that weren't fixed for nearly a decade.

The main issue with PDF annotations also applies. If you use PDF annotations it means mutating the PDF which has all sorts of problems.

I've had issues where you're working on Okular or Preview or Acrobat and then try to use another app and your annotations simply don't work or the PDF is corrupted in some weird way.

Having an immutable PDF solves that problem which is the avenue I went with in Polar.

Polar supports Web + Linux + Windows + MacOS. It also supports annotation without mutating the PDF and it's VERY hackable since it's just based on Typescript - which is one of the features I wanted.

We're very close from having mobile too and just need to clean up some CSS.

Anyway.. would LOVE your feedback if you play with Polar and find it doesn't perfectly nail your use case.

I'm actively developing it now and I'm pushing 1-2 releases per week.

1. My understanding is that while it DOES work on these platforms - it doesn't work WELL on them. Last time I checked there was no download for Windows or MacOS and you had to install the full KDE for these platforms.

Re:My New Favorite Tool for Reviewing PDFs: Okular by anoncake on Monday March 25, 2019 @03:19PM (#19485835)
You found that you had to download too much bloat to use Okular so you made an Electron app? Im pretty sure you dont have to download all of KDE to use one of its apps, just the package manager and the libraries Okular uses.
Re:My New Favorite Tool for Reviewing PDFs: Okular by blattimwind on Monday March 25, 2019 @03:27PM (#19485927)
I can't confirm if this is still the case, but a couple years ago you had a web installer for KDE on Windows and I could just deselect everything except Okular and a couple other stuff I wanted and that came out to a couple hundred MB disk space overall.
Re:My New Favorite Tool for Reviewing PDFs: Okular by muxator on Monday March 25, 2019 @03:55PM (#19486171)
That was the windows installer for KDE 4, yes. I used to install it on every windows PC I had to use.

From a quick check now it is possible to install individual applications (Okular is not there):

https://community.kde.org/Windows

But it's not the same thing. At the times one was able to install the while kde4. That's a cross platform app!

Re:My New Favorite Tool for Reviewing PDFs: Okular by tsmithe on Monday March 25, 2019 @07:15PM (#19487685)
I found this, which seems to be a build of Okular for Windows: https://chocolatey.org/packages/okular

(I haven't tested it -- happy Okular Linux user here. It was linked from the site you linked, though.)

Re:My New Favorite Tool for Reviewing PDFs: Okular by m000 on Monday March 25, 2019 @05:13PM (#19486790)
The Electron bloat of Polar buys you much better cross-platform features than the KDE bloat of Okular.

Okular is ok as long as you run only linux. In theory you could run it also on macOS or Windows, but you have to jump through the hoops. That's not optimal for a productivity application.

Re:My New Favorite Tool for Reviewing PDFs: Okular by anoncake on Monday March 25, 2019 @05:46PM (#19487036)
What kind of cross-platform features does Electron provide that Okular does not have?
Re:My New Favorite Tool for Reviewing PDFs: Okular by m000 on Monday March 25, 2019 @06:15PM (#19487237)
I just told you: a friggin installer. All cross-platorm features are inconsequential if you can't easily distribute the application on multiple platforms in the first place.
Re:My New Favorite Tool for Reviewing PDFs: Okular by michaelmrose on Tuesday March 26, 2019 @12:23PM (#19493238)
Here in linux land we don't give a damn about installers. We prefer to install and update all software via a single interface.
Re:My New Favorite Tool for Reviewing PDFs: Okular by jellicle on Monday March 25, 2019 @04:12PM (#19486328)
"apt install okular" requires an extra 195 packages and 194MB of space on a Ubuntu machine I have handy.

It's not all of KDE, but...

Re:My New Favorite Tool for Reviewing PDFs: Okular by detaro on Monday March 25, 2019 @04:22PM (#19486426)
Somehow I don't find 194 MB that bad if the proposed alternative suggests a 197 MB download as "probably easiest to install", but why let details like that let an opportunity to promote your project over someone elses go to waste... If someone with a Debian box handy wants to try how much in dependencies the .deb pulls in...?
Re:My New Favorite Tool for Reviewing PDFs: Okular by dahfizz on Monday March 25, 2019 @04:29PM (#19486477)
The snap package linked in GP is also ~200MB. If you're the kind of person to be frugal with your hard drive, that's cool. But I don't think an electron app is the answer.
Re:My New Favorite Tool for Reviewing PDFs: Okular by michaelmrose on Monday March 25, 2019 @03:50PM (#19486123)
What can you possibly object to about how it runs on linux? Its wholly reasonable that kde apps all build on the same foundation rather than each one bundle their own version of libraries.

If the entire rest of your desktop happens to be based on gnome for example you end up with *doctor evil expression" HUNDREDS OF MB of extra libraries once the first time you install a kde app. Perish the thought.

Re:My New Favorite Tool for Reviewing PDFs: Okular by burtonator on Monday March 25, 2019 @04:11PM (#19486317)
Did I say something in my comment that makes it sound like Okular doesn't run amazingly well on Linux?

I was talking about if you run it on Windows or MacOS.

Re:My New Favorite Tool for Reviewing PDFs: Okular by gh02t on Monday March 25, 2019 @04:19PM (#19486390)
> First, if you like Okular, you're stuck if you want to run on any other platform. It doesn't work on mobile, it doesn't work on the web, doesn't work on Linux, MacOS or Windows

You did directly say it doesn't run on Linux. Even with your qualification I don't think that's fair. It requires the KDE libs, yes, but that's not really a high cost apart from some disk space. Apart from that, it obviously runs perfectly well even in another desktop environment. I even use it on my Chromebook.

Re:My New Favorite Tool for Reviewing PDFs: Okular by burtonator on Monday March 25, 2019 @04:53PM (#19486658)
AH!!! ok.. definitely my fault. I meant to say it's not really cross-platform and doesn't run on all platforms.

This was a big requirement for me - the ability to move between all platforms.

Re:My New Favorite Tool for Reviewing PDFs: Okular by cmurf on Monday March 25, 2019 @02:39PM (#19485394)
I'm on GNOME, go to Gnome Software, search for Okular, click Install - boom it's installed. Since it's made available via flathub.org, Okular and the shared KDE platform libraries are installed as self-contained flatpaks. To ignorant me, looks and runs like any other application.
Re:My New Favorite Tool for Reviewing PDFs: Okular by burtonator on Monday March 25, 2019 @04:56PM (#19486673)
I can't edit my comment but I screwed up and made it sound like Okular doesn't run well on Linux.

It does! It runs great on Linux. I meant to say it's not really cross-platform.

I just re-evaluated and I can't figure out how to download Okular for Windows/MacOS.

They have a Windows + MacOS page but they don't seem to actually have downloads.

Re:My New Favorite Tool for Reviewing PDFs: Okular by ognarb on Monday March 25, 2019 @07:25PM (#19487755)
Because Okular is build with Qt5 and the KDE Framework 5, Okular is with _little_ work cross-platform. There are nightly build available for Windows: https://binary-factory.kde.org/job/Okular_Nightly_win32/ I didn't try it, but I hear the Dolphin build (https://binary-factory.kde.org/job/Dolphin_Release_win64/) work well on Windows (just the terminal part is not available).
Re:My New Favorite Tool for Reviewing PDFs: Okular by Decabytes on Monday March 25, 2019 @01:32PM (#19484583)
I thought Okular was the default pdf viewer for Gnu/Linux systems with the K desktop environment?
Re:My New Favorite Tool for Reviewing PDFs: Okular by mr337 on Monday March 25, 2019 @01:49PM (#19484776)
Yeah I am super confused about that. I have been using okular for years and works on every common distro that I know of if you have KDE desktop or don't mind pulling in KDE deps.
Re:My New Favorite Tool for Reviewing PDFs: Okular by m000 on Monday March 25, 2019 @05:01PM (#19486701)
Wow! Thanks for the self-promotion :-) Polar looks perfect for an academic environment. From a quick look the only thing missing is some kind of bibliography/doi integration.
Re:My New Favorite Tool for Reviewing PDFs: Okular by burtonator on Monday March 25, 2019 @06:04PM (#19487165)
We're working on it! We parse the DOI now and we're going to implement unpaywal DOI lookup for extended metadata. It's probably going to be a few more weeks before this is fully integrated though.
Re:My New Favorite Tool for Reviewing PDFs: Okular by lainga on Monday March 25, 2019 @02:22PM (#19485177)
So why doesn't it work well on Linux?
Re:My New Favorite Tool for Reviewing PDFs: Okular by georgewsinger on Monday March 25, 2019 @03:10PM (#19485726)
Nice app. Suggestions for Polar:

- Make it so that you can /draw/ on PDFs (Okular supports this). - Create an Android app which also allows local/offline usage.

Re:My New Favorite Tool for Reviewing PDFs: Okular by burtonator on Monday March 25, 2019 @04:11PM (#19486324)
Android app is coming... drawing isn't on the short term TODO though.
Re:My New Favorite Tool for Reviewing PDFs: Okular by ognarb on Monday March 25, 2019 @01:40PM (#19484653)
Okular has a WIP mobile version for Android and Plasma mobile (with less features). The android build is broken because there isn't any icon, but running okularkirigami from the command line look great.

Also from reading the polar website, it looks like polar is more a document manager than just a document viewer.

Re:My New Favorite Tool for Reviewing PDFs: Okular by burtonator on Monday March 25, 2019 @02:11PM (#19485050)
> polar is more a document manager than just a document viewer.

It's both.. you just add the doc and double click it and you view it in polar in our PDF viewer.

Re:My New Favorite Tool for Reviewing PDFs: Okular by mistrial9 on Monday March 25, 2019 @02:25PM (#19485225)
"our PDF viewer" ? phone-home solutions fail
Re:My New Favorite Tool for Reviewing PDFs: Okular by burtonator on Monday March 25, 2019 @03:01PM (#19485637)
it's based on pdf.js ... which is developed on Mozilla. Both projects are open source. It's also free ;)
Re:My New Favorite Tool for Reviewing PDFs: Okular by TeMPOraL on Monday March 25, 2019 @05:09PM (#19486757)
> You have so many rounds of back and forth on collateral that it’s clear you don’t have strategic alignment and it’s spilling over into stifling execution.

What does this sentence even mean? Could someone ELI5 it to me?

Re:My New Favorite Tool for Reviewing PDFs: Okular by conroydave on Monday March 25, 2019 @05:21PM (#19486851)
you're changing the content so much that its clear the group doesn't have agreement on what should be created, so much that it's now spilling over to getting stuff out the door
Re:My New Favorite Tool for Reviewing PDFs: Okular by maggotbrain on Monday March 25, 2019 @05:22PM (#19486857)
I had the same reaction. I started pulling my hair out at: "There are also tons inefficient ways"...
Re:My New Favorite Tool for Reviewing PDFs: Okular by northernjames on Monday March 25, 2019 @03:32PM (#19485976)
For PDF annotating/collaboration, Xodo for the web deserves to be better known: https://www.xodo.com/app/#/

It displays/creates standard PDF annotations. You can collaborate with people online if you want, or annotate files on your computer without uploading them to a server (it uses emscripten/wasm/pnacl client side).

Re:My New Favorite Tool for Reviewing PDFs: Okular by seltzered_ on Tuesday March 26, 2019 @01:34PM (#19494107)
For those wanting to try okular on macos, it seems easier to setup via homebrew ( https://brew.sh ). The steps are:

$ brew tap kde-mac/kde

$ brew install cpanminus (needed for KDE-mac/kde/kf5-kdoctools)

$ cpanm URI

$ brew install okular

Then go make coffee while things compile.

source: https://github.com/KDE-mac/homebrew-kde

Re:My New Favorite Tool for Reviewing PDFs: Okular by johnchristopher on Monday March 25, 2019 @02:33PM (#19485315)
Okular is the only PDF reader that could handle PDF on my previous slow computer. Windows was a breeze but I always had problems with PDF on linux before I could settle for okular.

It bugs me that it's easier to select text with the underlining tool than with the select tool.

Re:My New Favorite Tool for Reviewing PDFs: Okular by blattimwind on Monday March 25, 2019 @03:29PM (#19485948)
PDFs are kinda weird because there are somehow always PDFs that slow one viewer down but usually another viewer is fine. E.g. I have PDFs where Okular takes a couple seconds to render the first page, while LLPP renders it much faster. And vice versa -- which is the confusing part.
Re:My New Favorite Tool for Reviewing PDFs: Okular by redman25 on Monday March 25, 2019 @01:58PM (#19484869)
I work in publishing and we use PDFs extensively for proofing manuscripts. If you ever need to compare across PDFs, I created a small tool for it:

https://www.parepdf.com/

Re:My New Favorite Tool for Reviewing PDFs: Okular by dfc on Monday March 25, 2019 @02:31PM (#19485297)
I really like diffpdf: http://www.qtrac.eu/diffpdf.html
Re:My New Favorite Tool for Reviewing PDFs: Okular by pmoriarty on Monday March 25, 2019 @02:28PM (#19485266)
How does okular compare to zathura (which can use mupdf or poppler as its pdf backend)?
Re:My New Favorite Tool for Reviewing PDFs: Okular by MegaDeKay on Monday March 25, 2019 @02:54PM (#19485561)
Okular is to Zathura as Acrobat Reader is to Vim. :-)
Re:My New Favorite Tool for Reviewing PDFs: Okular by Cactus2018 on Monday March 25, 2019 @12:26PM (#19483943)
My favorite tool for extracting data from PDFs: Tabula https://github.com/tabulapdf/tabula
Re:My New Favorite Tool for Reviewing PDFs: Okular by friednslip on Monday March 25, 2019 @10:15PM (#19488731)
One tool that doesn't seem to get the attention it deserves is Marginnote. I spent a bit more money than I should have on it, but in terms of reading, annotating, and making notes from PDF's I don't think there's anything else even close. I particularly love the ability to create a mindmap, flashcards for spaced repetition, and native export to evernote. https://www.marginnote.com/
Re:My New Favorite Tool for Reviewing PDFs: Okular by prolepunk on Monday March 25, 2019 @12:41PM (#19484084)
When I'm on windows I'm always puzzled about how Adobe Reader is slow and has tons of features I will never going to use. Just let me get to duplex printing dialog, adobe!!!

I mostly use Okular for navigation and printing, but it also has a great feature of letting you select area of the document and either copy selected text or image into a buffer. This doesn't sound like a lot, but it makes working with pdf documents really comfortable.

Re:My New Favorite Tool for Reviewing PDFs: Okular by ausjke on Monday March 25, 2019 @07:53PM (#19487927)
I use okular on gnome when I absolutely need to annotate the PDF, I could not find other alternatives. okular is heavy and slow but it gets the job done when it's needed. I hope calibre can support annotations one day for the file formats it supports.

99% of the time I use evince to read PDFs though.

Re:My New Favorite Tool for Reviewing PDFs: Okular by drenvuk on Monday March 25, 2019 @12:57PM (#19484226)
Okular is also wonderful for epubs if you documents ever move to that format.
Re:My New Favorite Tool for Reviewing PDFs: Okular by MegaDeKay on Monday March 25, 2019 @01:52PM (#19484810)
Okular is great for epubs in that it can show them as a single document whereas most programs break them in to chapters that can't be searched across. However, it can also be terribly slow on some epub files even on a fast PC [0]. It also has problems rendering some files that other readers like epubreader have no problem with.

[0] https://bugs.kde.org/show_bug.cgi?id=359932

Re:My New Favorite Tool for Reviewing PDFs: Okular by EvgeniyZh on Tuesday March 26, 2019 @02:42AM (#19489712)
If only there was tool which would render my annotations in TeX, it'd make reading papers so simpler. Meanwhile, Okular
Re:My New Favorite Tool for Reviewing PDFs: Okular by fithisux on Monday April 01, 2019 @06:02AM (#19541835)
Yes yes yes and I am very thankful to the KDE on Windows builds programs.
Re:My New Favorite Tool for Reviewing PDFs: Okular by bctnry on Monday March 25, 2019 @09:24PM (#19488443)
Okular is awesome for reading .djvu file as well. Love it.
Re:My New Favorite Tool for Reviewing PDFs: Okular by emgee_1 on Monday March 25, 2019 @09:11PM (#19488378)
On Emacs use pdftools. Qed.
Re:My New Favorite Tool for Reviewing PDFs: Okular by michaelmrose on Tuesday March 26, 2019 @01:54PM (#19494343)
I love emacs but pdftools is kind of meh. You need it for pdf tools and a different addon to read epubs that works differently.

Then it uses a lot of memory, scrolls a little slow, and doesn't remember your place in a document.

Zathura remembers your place and reads epubs and pdfs while using less ram. Conversion between epubs and pdf seems to preserve the text but often results in ugly docs that are less pleasant to read so a good solution needs to support both.

I would love someone to improve document reading to the point where I COULD use emacs for document reading.

Re:My New Favorite Tool for Reviewing PDFs: Okular by nilsocket on Monday March 25, 2019 @12:26PM (#19483940)
I used to use Okular before.

Even now when ever I try to use it, it is slow, and e eating up a lot of ram, scrolling doesn't look smooth enough. Whenever loading a new page, load time is clearly visible it used to work fine back in 2017.

My main desktop environment is KDE Plasma but I use evince for now while reading.

Re:My New Favorite Tool for Reviewing PDFs: Okular by maggotbrain on Monday March 25, 2019 @05:20PM (#19486844)
This is a terribly written article. Needs some serious editing.

"You have so many rounds of back and forth on collateral that it’s clear you don’t have strategic alignment and it’s spilling over into stifling execution. Hate to say it, but the tools aren’t the problem here."

What does this even mean???