From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2922 Path: main.gmane.org!not-for-mail From: "Giuseppe Bilotta" Newsgroups: gmane.comp.tex.context Subject: Re: Italic languages Date: Sun, 8 Oct 2000 15:56:44 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <000301c03166$d7bd3360$3b400e97@nuovo> References: <002001c0306f$60bee440$685a0e97@nuovo> <3.0.6.32.20001007201544.01ecb100@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035393696 12873 80.91.224.250 (23 Oct 2002 17:21:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:21:36 +0000 (UTC) Cc: "ConTeXt" Original-To: "Tobias Burnus" , "Hans Hagen" Xref: main.gmane.org gmane.comp.tex.context:2922 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2922 > > > >> Hello, I'm using the 2000 stable ConTeXt, english interface, and I have a > >> small problem: \sp doesn't work to switch to spanish: it gives a "missing $ > >> inserted" error, and the output is a superscript rather than normal text. > >Probably it means superscript!? (I cannot find the definition). > >> So I need \SP to switch to spanish (at least, \SP does not give any error > >> message); is this "feature" signaled somewhere? > >I'm not sure whether \SP does it. > > \show\SP > Ok, \SP expand to \language [\s!sp ] so I guess that's it; now, I wonder: shouldn't the spanish tag have been "es" rather than "sp"? > >> (Btw, \sp for spanish doesn't work, \it is obviously kept for "italic" > >> rather than italian ... what's wrong with us italic-languages-speakers? :-> > >And with German speakers and \ss vs. \SS > >> Anyway, maybe some coherence in the language selection scheme ---everybody > >> using UpperCase, that is--- could be nice) > > > >Well using \language[it] works always. There are simply too many nice > >two letter commands \it, \em, \bf and simply to many languages to make > >it work consistently :-( > > from lang-ini: > > \def\dodoinstalllanguage#1#2% #2 added > {\doifundefined{#1}{\setvalue{#1}{\language[#2]}}% > \expanded{\noexpand\uppercase{\noexpand\edef\noexpand\ascii{#1}}}% > \doifundefined{\ascii}{\setvalue{\ascii}{\language[#2]}}} > > So, the lowercase one is defined if yet undefined, the uppercase is > defined, unless you redefine it for instance being an abbreviation, and as > tobias explained, the \language and \mainlanguage commands accept the > lowercase, of full name. > Giuseppe Bilotta