[tei-council] units (was Re: genetic draft)

Stuart A. Yeates syeates at gmail.com
Mon Sep 5 02:50:07 EDT 2011

On Sat, Sep 3, 2011 at 7:57 AM, Stuart A. Yeates <syeates at gmail.com> wrote:
> On Sat, Sep 3, 2011 at 2:16 AM, Lou Burnard
> <lou.burnard at retired.ox.ac.uk> wrote:
>> On 01/09/11 11:12, Stuart A. Yeates wrote:
>>> Is there a diagram anywhere of how the coordinate system works? I'm
>>> thinking of something like
>>> http://commons.oreilly.com/wiki/index.php/SVG_Essentials/Transforming_the_Coordinate_System
>> would be nice to have something like this, yes. But *much* simpler! do i
>> hear a volunteer?
> For me, personally, such as diagram (in digital or paper form) is a
> completely necessary precondition to thinking about starting work on
> any of this, so unless someone else knows of something (or has
> something in the works), then yes.

I've attempted to make a start on this, using the Whitman example and
have a question.

The @height and @width used in <patch/> do not have units, which are
not required in data.outputMeasurement attributes, which are defined
(in the standard at
) in terms of CSS3 values (at
http://www.w3.org/TR/2005/WD-css3-values-20050726/#numbers0 ). None of
these appear to define what the default is when no unit is specified,
as in the Whitman example.

CSS3 (see link above) appears to define 'px' (pixel), 'mm'
(millimeter) (and all similar measures) in terms of viewing device,
not the original image. Since we don't know anything about the viewing
device when we're marking up the text, this seems to make '%'
(percent) the only sane choice. Does that sound right?

Except it can't be right, since the numbers patches in the Whitman XML
add to more than a 100% and patches in the image are clearly not

Another possibility is that I don't understand what CSS3 means when
they say 'viewing device.' I don't seem to be able to find a solid
definition of it.


More information about the tei-council mailing list