On 6-5-2011 10:00, Mojca Miklavec wrote:
We were originally preparing the example for XeTeX (which behaves very weird anyway) and I would like to know how to typeset Ethiopic text in ConTeXt.
Let's forget about xetex then. It's not that complex to add to mkiv as we have mechanisms in place for it. What is the otf language / script code?
The basic requirements are:
- Words may be split after any character (character = syllable; it's in the range "1200-"139F), but not before word/sentence dividers. (We have hyphenation patterns, but one could just as well use some other mechanism to break.)
- "1361 and "1362 are word dividers and sentence dividers.
- One doesn't use spaces when writing.
Like in cjk.
- In output one should get something like space (approximately the same width) before and something like space after word/sentence divider, except that the "space" before divider should not be breakable; I highly suspect that the amount of space before/after dividers depends on the font being used, but I may be wrong.
so let's visualize that: [1200][1200][1200][1361][1200][1200][1200][1362][1200][1200][1200] valid breakpoints: [1200] [1200] [1200][nbsp][1200] [1200] [1200][nbsp][1200] [1200] [1200] Is that okay? How about spaces in the input (end of lines introduce them)?
- Text should be nicely justified (I wonder if microtypography would also help).
That is independent of the logic.
I'm attaching a sample text that does approximately what I expect it to do, but I would like to avoid active characters, make the space before and after divider of equal size and I'm not sure what is the most appropriate approach in ConTeXt. The example also leaves a bit too much whitespace after dividers that end the line.
Nothing attached. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------