From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5619 Path: main.gmane.org!not-for-mail From: Olya Briginets Newsgroups: gmane.comp.tex.context Subject: Re: Getting property values (and problem defining accents) Date: Thu, 13 Sep 2001 02:01:50 +0300 Sender: owner-ntg-context@let.uu.nl Message-ID: <3B9FE95E.7C27E258@ukrpost.net> References: <3B9C0BFE.A11BE481@ukrpost.net> <5.1.0.14.1.20010910231125.026abee8@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1035396200 3188 80.91.224.250 (23 Oct 2002 18:03:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:03:20 +0000 (UTC) Original-To: ConTeXt mailing list Xref: main.gmane.org gmane.comp.tex.context:5619 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5619 Hello Hans, Hans Hagen wrote: > >I use the following simple command for debugging purposes: > > > > \def\thevalue#1#2#3{\csname @@#1#2#3\endcsname} > > > >but maybe there exists a more advanced interface? > > thos is probably ok for your purpose, although it depends a bit on what you > want to show but in most cases this is ok, but keep in mind that low level > deep down is dutch [still, but it's slowly changing] > > \unprotected \def\thevalue#1#2% > {\csname @@#1\csname\k!prefix!#2\endcsname\endcsname} > > is also a way to handle it, in which case the interface is the current one, > > why do you need this? I used it to check some values like \thevalue{la}{ua}{status} or \thevalue{la}{ua}{encoding} to ensure that language is installed properly, because I had troubles defining some characters. Specifically, I have a problem defining accented glyphs. I try to use \defineaccent command: \defineaccent " {\cyrillicE} {\cyrillicYO} But this works only if one writes exactly \"\cyrillicE, which does not make sense, as symbols are usually entered as 8bit (via different regimes). Analogously, the example from enco-ini: \defineaccent ' {\dotlessi} 237 works if used as \'\dotlessi, not as \'\i. But \dotlessi is usually inputed as \i, which is the intended way to use it? Is there a way to \defineindirectaccent or something alike, which will expand the next token? Olya PS. I hope to send some working support of russian and ukrainian languages in couple of days.