Re: [NTG-context] Problem with Russian letters in itemize
Am Tue, 14 Feb 2017 11:31:01 +0800 schrieb Vladimir Lomov: > So I conclude that either I'm doing something wrong (in wrong way) or > something still missing in context regarging usage of other alphabets > letters as \items. There are hundreds and thousands scripts and languages in the world. So I'm certain that quite a lot is still missing in context and think you shouldn't wonder too much. Simply sent an example of what you have done and ask that it gets added to the core if you think it would be usefull. -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with Russian letters in itemize
On 2/14/2017 4:31 AM, Vladimir Lomov wrote: Hello, ** Ulrike Fischer [2017-02-13 14:16:52 +0100]: Am Mon, 13 Feb 2017 17:24:19 +0800 schrieb Vladimir Lomov: I'm trying to use Russian (Cyrillic) letters for itemize list but without luck. Imho there is no predefined conversion, but you can define your own: http://wiki.contextgarden.net/User-Defined_Enumerations Thank you, I saw this page but was confused by other page about Enumerations (http://wiki.contextgarden.net/Enumerations) that mentions two special examples: Slovenian and Spain (and some alphabetic thing). I tried to make custom conversion command and it works, but my point was that I expected that \items will give Russian letters if I use '\mainlanguage[ru]'. I tried with 'sl' and 'es' and both give special letters. Still 'ar', 'gr' and 'kr' don't give me other than Latin letters in \items as I would expect (examples with 'sl' and 'es' work!). So I conclude that either I'm doing something wrong (in wrong way) or something still missing in context regarging usage of other alphabets letters as \items. it's a matter of completion .. in core-con.lua we need to add a vector for russian in local counters = allocate { ... so you can make one and sent it to me ... then we needs an entry in core-con.mkiv just see how slovenian is done Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with Russian letters in itemize
Hello, ** Ulrike Fischer [2017-02-13 14:16:52 +0100]: > Am Mon, 13 Feb 2017 17:24:19 +0800 schrieb Vladimir Lomov: > >> I'm trying to use Russian (Cyrillic) letters for itemize list but >> without luck. > > Imho there is no predefined conversion, but you can define your own: > > http://wiki.contextgarden.net/User-Defined_Enumerations Thank you, I saw this page but was confused by other page about Enumerations (http://wiki.contextgarden.net/Enumerations) that mentions two special examples: Slovenian and Spain (and some alphabetic thing). I tried to make custom conversion command and it works, but my point was that I expected that \items will give Russian letters if I use '\mainlanguage[ru]'. I tried with 'sl' and 'es' and both give special letters. Still 'ar', 'gr' and 'kr' don't give me other than Latin letters in \items as I would expect (examples with 'sl' and 'es' work!). So I conclude that either I'm doing something wrong (in wrong way) or something still missing in context regarging usage of other alphabets letters as \items. --- WBR, Vladimir Lomov -- Science may someday discover what faith has always known. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with Russian letters in itemize
Hi Vladimir, You may try the '\definefallbackfamily' command if you are written in another language than Russian; if the whole text is in Cyrillic, I don't have any idea how you can't achieve the itemize purpose. Since I guess you are aware about what kind of font match with cyrillic, there is something to clear with the itemizing setting. If your document is written in another language than English, test this MWE (in which I don't understand either why the numbering is not in Russian!) : definefallbackfamily [mainface] [serif] [AGGaramondCyr] [range=cyrillic] \definefontfamily [mainface] [serif] [AGGaramondCyr] \setupbodyfont[mainface] \setuplanguage[en,ru][patterns={fr, de, ru}] \starttext A sentence in Russian : Традиционная систематика лишайников оказывается во многом условна и \startitemize[a] \item первый \item второй \stopitemize \stoptext - Mail original - De: "Ulrike Fischer" À: ntg-context@ntg.nl Envoyé: Lundi 13 Février 2017 14:16:52 Objet: Re: [NTG-context] Problem with Russian letters in itemize Am Mon, 13 Feb 2017 17:24:19 +0800 schrieb Vladimir Lomov: > I'm trying to use Russian (Cyrillic) letters for itemize list but > without luck. Imho there is no predefined conversion, but you can define your own: http://wiki.contextgarden.net/User-Defined_Enumerations -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with Russian letters in itemize
Am Mon, 13 Feb 2017 17:24:19 +0800 schrieb Vladimir Lomov: > I'm trying to use Russian (Cyrillic) letters for itemize list but > without luck. Imho there is no predefined conversion, but you can define your own: http://wiki.contextgarden.net/User-Defined_Enumerations -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___