daisy / ebraille

Repository for developing use cases and standard for digital braille
16 stars 5 forks source link

Preformatted formatting requirements #94

Open jrbowden opened 1 year ago

jrbowden commented 1 year ago

The normal behaviour for words in a paragraph of text is that they can wrap to fill the available line width. Sometimes, certain blocks of text must not be wrapped. Examples might include:

The standard CSS white-space: nowrap; can be used to accomplish this. Note that it is likely that the HTML pre tag will be used.

GeorgeKerscher commented 1 year ago

I do not think you want to wrap the primary structure with pre, e.g., MathML. You may want to have the EOL in a pre.

jrbowden commented 1 year ago

Thus far, MathML is not in scope. The file stores braille characters. I was thinking of cases such as say, matrix calculations, where the braille may well be deliberately set up in a particular way. Of course, "ordinary" lines of mathematics may be broken at logical points, so no need for pre for things like y = mx + c. Hope this clarifies...

bertfrees commented 3 months ago

Missing an example of this in the styling best practices document.