iRex Forum Forum Index iRex Forum

 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reading documents with two-columns: another suggestion

 
Post new topic   Reply to topic    iRex Forum Forum Index -> iPDF Viewer
View previous topic :: View next topic  
Author Message
daudi



Joined: 12 Aug 2007
Posts: 237
Location: Newcastle upon Tyne,UK

PostPosted: Tue Sep 04, 2007 1:14 pm    Post subject: Reading documents with two-columns: another suggestion Reply with quote

Hi there,

I read a lot of scientific articles that are usually set out in two-column format. I have tried using fullscreen mode to read whole pages and, while it is possible, after several hours I get a headache because the fonts are too small (or my eyes are too old---take your pick).

Zooming and panning seems to be the way to go for me and I am still working on getting my technique right so that I don't need to make too many strokes of the stylus. There are two things that could help me.

i) A way of telling ipdf that a document is set out in two-column mode so that ipdf knows how to navigate through the 4 quarters of a page in logical order. This would mean that I would not need to use the stylus. Please forgive me for going on about this as I've mentioned this a few times in other posts, but for completeness I thought it should come here.

ii) The second approach I've just hit on today is to mark the center of the page with a cross with a circle around it, like a target. This makes it much easier to zoom to the correct depth and then to pan around the page without getting lost. I can do this manually by adding a scribble to each page, but I was wondering how easy it would be to have a built-in way to do this, i.e. display a target that marks the exact centre of a page.

Thanks.

Daudi
_________________
My thoughts as I considered whether or not to buy an Iliad and things I've learned after getting one: http://davepublic.pbwiki.com/Great+expectations
Back to top
View user's profile Send private message
daudi



Joined: 12 Aug 2007
Posts: 237
Location: Newcastle upon Tyne,UK

PostPosted: Tue Sep 04, 2007 3:31 pm    Post subject: Reply with quote

Well, I don't know how to modify the code for the ipdf, but I do know quite a bit about latex so I have created a little script that adds a center target to each page of a PDF file so I don't have to scribble by hand. Probably a nasty hack, but it's the best I can do for now.

Now to see if this really works for me.

Daudi
_________________
My thoughts as I considered whether or not to buy an Iliad and things I've learned after getting one: http://davepublic.pbwiki.com/Great+expectations
Back to top
View user's profile Send private message
wpd



Joined: 23 Aug 2007
Posts: 10

PostPosted: Tue Sep 04, 2007 4:19 pm    Post subject: Reading documents with more columns: ipdf patch Reply with quote

Hi Daudi,

I have the same itch, but a different approach: I modified ipdf-svn23-rjenhanced070612 to have an columnadvance function on the toolbar. It works like this:
- select continuous mode
- zoom in on the column
- toggle columnadvance on toolbar (I nicked the start_reading icon)
- mark column width with stylus
- use flipbar to advance
- both columnmode and width are saved in the manifests

I whipped this up quite quick and there is a lot I don't like at this point:
- renderThread will throw the page you are looking at away because it is the oldest in the cache
- cpu throttling seems unaware of renderthread actions
- zoom on the column and mark the column should be one action, but the zooming makes the columnwidth imprecise
- algorithm to determine if there is another column or not has too many knobs in it still - doing the right thing is hard without actual column detection. portrait works ok, but landscape is "hard to enjoy" Smile
- portrait and landscape algorithm should be merged (they are equivalent)

Code, patch against ipdf-2.10-rjenhanced and stripped arm exe for 2.10.2 are at http://www.xs4all.nl/~wpd/iliad/20070904/. Note that the exe syslogs columnadvance debugs - which is painless if you do not have syslogd running.

Ideas, bugs and fixes are much appreciated.


Last edited by wpd on Tue Sep 04, 2007 7:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
daudi



Joined: 12 Aug 2007
Posts: 237
Location: Newcastle upon Tyne,UK

PostPosted: Tue Sep 04, 2007 4:36 pm    Post subject: Reply with quote

wpd,

This is exactly the sort of feature I am looking for! I'll see if I can get time tonight to try it.

Thank you!

Daudi
_________________
My thoughts as I considered whether or not to buy an Iliad and things I've learned after getting one: http://davepublic.pbwiki.com/Great+expectations
Back to top
View user's profile Send private message
tribble



Joined: 04 Aug 2006
Posts: 645
Location: Bonn, Germany

PostPosted: Tue Sep 04, 2007 4:50 pm    Post subject: Reply with quote

This sounds very interesting. I will have to try this out. Thanks for your work.
_________________

www.justread.de - Die neue Art zu lesen
offizieller iRex Reseller in Deutschland
Back to top
View user's profile Send private message Visit poster's website
jharker



Joined: 25 Apr 2007
Posts: 281
Location: Rochester, NY, USA

PostPosted: Tue Sep 04, 2007 7:14 pm    Post subject: Reply with quote

Very nice work... I'll check it out when I've got a second! My usual approach to reading articles (which I do often) is to use fullscreen/landscape mode. But this could be better!

Another improvement for your "to-do" list might be a three-column mode, as some medical journals (and others?) use three columns...

I wouldn't spend too much time on unifying the landscape/portrait code, as tempting as it is. Smile I believe iRex is supposed to be working on a unified backend document displayer that will allow "plugins" for viewing different file types. So ultimately, much of the pdf viewer will be replaced anyway, I think...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iRex Forum Forum Index -> iPDF Viewer All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


You can find our complete guidelines here.
Powered by phpBB © 2001, 2005 phpBB Group