Alexander R. Pruss proposes:

> extending the Plucker format to allow for "exact anchors", 
> i.e., named anchors that go not just to the beginning of 
> the referenced paragraph but to the exact text position.

I need some clarification on how this should work.
Please tell me when my assumptions become wrong:

(1)  A plucker document contains many records, and
each record is an entire "page".  The distinction between
individual paragraphs is not visible to the palm itself.

(2)  Right now, an anchor (or bookmark?) points to
a page and a paragraph.  The viewer tracks paragraph 
boundaries as it reads the text (and intercepts "characters"
that are really meant to change formatting, like underline).

You would prefer to point to a page and character offset,
and not have to worry about paragraph counting.

(3)  
The paragraph counter is already large enough to
point to individual characters (or else we would need
to break the page).

Somewhere (version number?  new record type?) there 
will be an indication of which type of offset is used.  
Can the link types be mixed in one document?

Would it be any more backwards compatible to 
keep the paragraph offset correct and add an
extra field for character offset to the url records?
If so, is there any (dis)advantage to making this 
offset from the start-of-paragraph instead of from 
the start-of-page?  This seems less fragile to me,
but it might be more complicated for the 
viewer.

(4)  What counts in determining the character
offset?  Are all characters 1?  Even multi-byte
characters?  Does the font matter?  Does white
space collapse?  Does formatting information
(like "start bold") count?  Is this the uncompressed
character count, rather than the bytes-as-stored?

You do want characters, instead of bytes or
offset, correct?

(5)  Will you need information on the size of the
anchor, to underline it or anything?  Should the
parser request any special decoration for anchor 
targets?

-jJ
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to