This is actually a follow up from the other thread where I proposed a 2 column view. This afternoon I took a look at the ipdf source and partially implemented it, where "partial" means it only works with portrait view and only split the view 4 ways (for 2-column) and move in a direction like |/|. I also changed the zoom level for A4 to 300 instead of 200.
It took me a while to figure out the coordinate system, but in the end I got it to work as I intended. But I don't think I'll submit the patch because:
1. it's more of a hack than a well thought-out and well organized patch;
2. ipdf is fundamentally flawed in its way of doing zooms, and I don't think it's a good foundation to start with;
3. ipdf itself is not well designed, and the division between portrait and landscape views is also flawed, and results in redundant code for all future patches.
Seriously, I suggest someone start writing a new PDF viewer for iLiad instead of patching ipdf. Given that the size of ipdf is relatively small, just fixing 2 and 3 is almost a rewrite. While I'm at it, it'll also be super to have anti-aliased sketching like in
xournal, which, by the way, allows loading and annotating PDFs, or maybe somebody like Adam should just port it to iliad :-)
I'm attaching my 2-column ipdf binary here just in case it might be useful to somebody else. Make sure you backup /usr/bin/ipdf binary before using this to replace it. Use uparrow (I re-used the same button from jharker's fullscreen patch, I'm lazy!) to toggle column view, use normal flip to go forward and backward.