braillespecs / braille-css

Braille CSS specification
http://braillespecs.github.io/braille-css
2 stars 1 forks source link

Named strings #17

Open bertfrees opened 9 years ago

bertfrees commented 9 years ago

Named strings

CSS obfl:marker-reference direction/scope fo:retrieve-marker retrieve-position/​retrieve-boundary
first
  1. forward/page
  2. backward/before-page
first-including-carryover/document?
start backward/before-page-content
backward/before-page
last backward/document
first-except "" if forward/page else backward/before-page
backward/sequence
forward/sequence
forward/page first-including-carryover/​page?
backward/page
first-on-page forward/page-content
last-on-page backward/page
spread-start backward/before-page-spread-content
last-on-spread backward/page-spread
forward/volume
backward/volume

See also:

Related issues:

bertfrees commented 8 years ago

start-except: Identical to start, except that the empty string is used instead of the first assignment on the page.

After thinking about it, this keyword is not very useful for page ranges after all. What we need is a last-except-start, and which can be used in combination with start. "except" denotes a set operation: all assignment that are included in last but not in start.

bertfrees commented 8 years ago

An alternative approach would be to have a dedicated keyword for a range, e.g. start-to-last. But this would mean that the "-" delimiter would be generated and therefore not configurable. I like the approach with last-except-start better.