Re: [NTG-context] Need for \buildtextaccent, was Re: latest beta
On 1/17/2014 5:04 PM, Rik Kabel wrote: On 2014-01-17 06:22, Hans Hagen wrote: no, side effect of substantial optimizations (where i simply couldn't test everything ... you're probably the only user building accents) Hans It is needed to create what might otherwise be LATIN SMALL LETTER Q WITH ACUTE ACCENT as well. This is not a Unicode character, but is easily constructed as: \buildtextaccent\textacute q for use in setting, for example, this bit of Spinoza's /Tractatus Politicus/, in which it appears four times. The character was commonly used in Latin texts published from the 16th through the 19th century. The above was done with LaTeX (\csdef is from etoolbox) and the following preamble code: \DeclareTextAccent{\RKacute}{\UTFencname}{00B4} \newcommand*{\RKqacute}{\RKacute q}% LATIN SMALL LETTER Q WITH ACUTE ACCENT % The following works, instead of the above, with Linux Libertine (and %+ probably many other fonts) but does not work with the IM Fell fonts, %+ which are missing glyph 0x301, COMBINING ACUTE ACCENT: % \csdef{RKacute}#1{#1\char301} % \csdef{RKqacute}{\RKacute{q}} do we need a module with predefined 'missing from unicode' characters? - 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Need for \buildtextaccent, was Re: latest beta
On Fri, Jan 17, 2014 at 7:11 PM, Hans Hagen wrote: do we need a module with predefined 'missing from unicode' characters? I don't think so. We can end up with a neverending and always incomplete list (with theoretically unlimited number of entries), usable only to those few people who will care to contribute. In my opinion such a list is pretty much useless. Unicode already specifies that one could use q followed by combining acute. And TeX also has support for {\'q}. Everything else is private use, something that users might not even use in more than a single document. I don't see any advantage in creating an endless incomplete list. In all honesty it's a lot more useful/readable/straightforward to use {\'q} or proper Unicode in these cases. And if it's not comfortable enough for the user, he can always provide his own private definitions. Thomas and Rik most probably need just the existing mechanism to work properly. Well, it might be slightly different for Thomas where Ancient Greek has a limited set of letters, but then such a list should better be defined in an ancient greek predefined characters module. Just my 2 cents. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Need for \buildtextaccent, was Re: latest beta
On 1/17/2014 7:39 PM, Mojca Miklavec wrote: On Fri, Jan 17, 2014 at 7:11 PM, Hans Hagen wrote: do we need a module with predefined 'missing from unicode' characters? I don't think so. We can end up with a neverending and always incomplete list (with theoretically unlimited number of entries), usable only to those few people who will care to contribute. In my opinion such a list is pretty much useless. Unicode already specifies that one could use q followed by combining acute. And TeX also has support for {\'q}. Everything else is private use, something that users might not even use in more than a single document. I don't see any advantage in creating an endless incomplete list. In all honesty it's a lot more useful/readable/straightforward to use {\'q} or proper Unicode in these cases. And if it's not comfortable enough for the user, he can always provide his own private definitions. Thomas and Rik most probably need just the existing mechanism to work properly. Well, it might be slightly different for Thomas where Ancient Greek has a limited set of letters, but then such a list should better be defined in an ancient greek predefined characters module. the mechanisms works ok (i just made it a bit more efficient, not that it matters much) Just my 2 cents. it depends on to what extend such characters play a different role too and need to travel around (but as there never was any demand for that i assume 2 cents will do) 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Need for \buildtextaccent, was Re: latest beta
On 01/17/2014 07:39 PM, Mojca Miklavec wrote: Thomas and Rik most probably need just the existing mechanism to work properly. Well, it might be slightly different for Thomas where Ancient Greek has a limited set of letters, but then such a list should better be defined in an ancient greek predefined characters module. Mojca is right. These are special cases (for example metrical descriptions), and for me at least, it wouldn't make sense to predefine them since I may need slighly different definitions depending on font, purpose, etc. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Need for \buildtextaccent, was Re: latest beta
I don't think so. We can end up with a neverending and always incomplete list (with theoretically unlimited number of entries), usable only to those few people who will care to contribute. I couldn't agree more. Unicode already has mechanisms to encode just about any accented character, and OpenType has its own mechanisms to display them very accurately. It's best to use these standard features and an appropriate font. Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___