Thread: PRS-600 prs-600 notes to printing
View Single Post
Old 10-23-2009, 04:36 AM   #15
cedricp
Research User
cedricp began at the beginning.
 
cedricp's Avatar
 
Posts: 17
Karma: 16
Join Date: Oct 2009
Device: PRS-600
Annot.py: new version

Hi,

Here is just a new version with a couple of bug corrected, in particular with directory name with spaces. I've also corrected the page ordering in the jarnal archive.

I put a few lines of code to extract the information about the "text annotation", even though I don't know what to do with it. The format seems to be something like:
#pdfloc(docid,page,y,x1,x2,0,col,1)
with:
y: the vertical position in (lines x 8 + 1) in the page, ignoring blank lines
x1 and x2: seems both related to the position in chars, or the displacement
col: could be related to the columns or just a flag indicating the meaning of x1 and x2.
0 and 1 are always there in my tests.

Best
cedricp is offline   Reply With Quote