> I imagine that these cells will respect vertical alignment for the row. And if
> it sounds reasonable, they will respect horizontal alignment with left ->
> right-ragged, right -> left-ragged, and center -> justified.
My inclination would be to no-indent the first paragraph, and indent subsequent
paragraphs. Maybe at the low-end of indentation to minimize even worse
hypenation and word-spacing, given the scarcity of width. Bringhurst (recently
dis-credited here) says at least 1 en (2.3.2). Too many columns like this coul
end up looking horrid, so some education could be part of the sample article.
(See Bully Pulpit nearby.)
I don't feel a need for left-ragged/center/right-ragged, especially because some
other more global halign is in play. I suspect as a practical matter you might
spend more time defeating/overriding the row/col/tabular setting on many
paragraph cells? But I haven't even built one practical example. ;-)
Remember that we have side-by-side for some of this.
It feels to me like a width specification belongs on a column or a tabular, but
not on a row or a cell. Orthogonal to your valign project. But coding this
up will likely tell.
Sound good?
"pulque"?
If you are interested in this issue and have CSS and/or jquery tricks up your sleeve, let me know your thoughts.
What if your example was authored with the first column set as a column of
paragraphs with width 20% (say)? How would that look/behave? Close to what
also happens in PDF?
In other words, is there a way to author that avoids the scenario described and
which can be expected to be future-proof?
In other words - author gives textwidth percentages, you compute resuting
percentages with yur knowledge of how CSS "thinks".
I can send in-progress XSL for this approach. (I think I just read that
flexboxes let you just give unit-less numbers and it sorts all this out for you.)
Planning to continue table features, and paragraph-style cells are next. But what should XML look like for these? LaTeX handles paragraph cells as a kind of horizontal alignment option, as many of you know. To me, what "feels" right though is to make a cell be a paragraph cell just by virtue of having a <p> inside it. So that would be a cell-based approach rather than the column-based approach LaTeX uses.
In all cases, an author must specify some kind of width. Either a width for the cell (or column) that has a paragraph, or perhaps give a width for the whole table and then paragraph cell widths are determined by divvying up available space equally. Widths can be absolute (4cm, 20em, ...) or relative (30%, 0.25).
I imagine that these cells will respect vertical alignment for the row. And if it sounds reasonable, they will respect horizontal alignment with left -> right-ragged, right -> left-ragged, and center -> justified.
As a reminder, a table has a tabular child. The tabular can optionally have empty col children with attributes. And the tabular has row children, which have cell children.
So what would good XML source look like for paragraph cells?
1. If I give no specification of table columns holding paragraphs, will all
output be identical to current status quo? If not, what changes? (Perhaps
other than removing current soft-wrapping).
2. Where does 536px come from? I think we have 600px across the screen.
Generally, I don't care if a table/image/side-by-side goes as wide as the entire
physical screen, since real estate is so precious. Or we have itty-bitty
margins (not ~5%). But I also don't want to upset the fidelity of text chunks
between print and screen, which is remarkably good.
So this is a general question and should not delay your work. Just code it with
a variable, so it is a one-line change later. From my recent sidebyside and
image work, I've been trying to figure out if browsers/CSS/MBX is constraining
widths of figures, etc, some. I'd like to squeeze out as much width as we can -
it is precious. ;-)
3. I need this NOW for a table of short text phrases I just built. (My turn to
beg.) ;-)