View Single Post
Old 07-14-2010, 10:45 AM   #7
Peter Sorotokin
speaking for myself
Peter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it is
 
Posts: 139
Karma: 2166
Join Date: Feb 2008
Location: San Francisco Bay Area
Device: PRS-505
Quote:
Originally Posted by EricDP View Post
I hadn't tried it, but it doesn't work either - not even in Sigil. It resets the counter.
XHTML 1.1 (unlike HTML 4) does not support value attribute.

Quote:
ADE is so broken it doesn't seem to implement the 'content' tag at all.
Of course, if you read OPS spec, you'd see that counter property cannot be used in this context in EPUB (remark for counter property says "[9] Must not be used within a style sheet whose @media value is other than aural"). But I am asking for too much, I know.

OPS is not really geared to truly open-ended styling. You best bet is to have some sort of transformation step (e.g. XSLT) as a part of packaging process. That would also allow you to use custom markup that can capture more semantics, which is useful for books.
Peter Sorotokin is offline   Reply With Quote