On 18-8-2010 2:20, Oliver Buerschaper wrote:
the fact that you have pieces in mkii is a side effect of dvitomp turning dvi output in mp pictures; in the process it combines glyphs that have no kerning and whatever spacing becomes shifts
Oh, I didn't know the pieces used to come about by accident... actually, by a rather favourable accident if I may add :-)
Well, it all depends on kerning. So 'abc' can become 'a' 'b' 'c' or 'ab' 'c' or 'a' 'bc' or 'abc' depending on the kerning pairs. IN math it depends on the spacing of math characters.
in mkiv the text is treated as a whole and that will not change
That's rather bad news... then essentially MetaPost is a lost case for retouching digital typography it seems. Will have to switch to Illustrator (with the Scriptographer plugin) for these tasks. Sadly, batch processing and TeX integration will be gone with that alternative.
so, if in mkiv you want pieces, you need to textext each snippet that you want as such
Alright... in that case how would I make sure that all glyph positions are kept if my TeX material is, say, some complex formula? How could I find the baseline with textext?
see mp.mplib for all those anchor points 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 -----------------------------------------------------------------