From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17601 Path: main.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: (Con)TeX(t), Unicode and accented characters Date: Mon, 20 Dec 2004 21:02:30 +0100 Message-ID: <41C72FD6.3030807@email.si> Reply-To: mojca.miklavec@guest.arnes.si, mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1103573265 12134 80.91.229.6 (20 Dec 2004 20:07:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Dec 2004 20:07:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 20 21:07:38 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CgTlf-0002rt-00 for ; Mon, 20 Dec 2004 21:04:31 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC9D8127C6; Mon, 20 Dec 2004 21:04:30 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18250-01; Mon, 20 Dec 2004 21:04:30 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7FAA2127AE; Mon, 20 Dec 2004 21:02:43 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC50B127AE for ; Mon, 20 Dec 2004 21:02:41 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18010-04-4 for ; Mon, 20 Dec 2004 21:02:41 +0100 (CET) Original-Received: from avs3.arnes.si (unknown [193.2.1.68]) by ronja.ntg.nl (Postfix) with ESMTP id 01C26127A1 for ; Mon, 20 Dec 2004 21:02:41 +0100 (CET) Original-Received: from localhost (avs3.arnes.si [193.2.1.68]) by avs3.arnes.si (Postfix) with ESMTP id ADC4A1D7A9D for ; Mon, 20 Dec 2004 21:02:40 +0100 (CET) Original-Received: from avs3.arnes.si ([193.2.1.68]) by localhost (avs3.arnes.si [193.2.1.68]) (amavisd-new, port 10024) with ESMTP id 81949-05 for ; Mon, 20 Dec 2004 21:02:40 +0100 (CET) Original-Received: from [141.84.30.54] (x54.vpnlmu.lrz-muenchen.de [141.84.30.54]) by avs3.arnes.si (Postfix) with ESMTP id 251A51D7A55 for ; Mon, 20 Dec 2004 21:02:33 +0100 (CET) User-Agent: Mozilla/4.5-4.75 (Windows; U; Windows NT 5.1; sl-SI; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: sl, en, en-us, de Original-To: mailing list for ConTeXt users X-Virus-Scanned: by amavisd-new at arnes.si X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17601 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17601 Here's a short version of my question: How do I enable unicode encoded characters (just normal accented latin=20 characters) to be typeset in (any font) in ConTeXt, like the=20 \usepackage[utf8]{inputenc} in LaTeX? And here the long one: ************************************************************************ I don't really understand how accented characters are typeset in=20 (Con)TeX(t). One of the main reasons for switching to LaTeX (maybe 8=20 years ago) someone mentioned was: "You don't have to worry about=20 accented characters. You can make any accented character and it will=20 work all over the world." (We actually did have lots of problems with MS=20 Word and web browsers at that time.) And it was true. But when I switched to ConTeXt I came against that problem again. In LaTeX I used \v{c}\v{s}\v{z} at first, later \usepackage{csz} ... "c"s"z (which works pretty much the same as "a"o"u in German) and finally (when someone told me about that possibility) \usepackage[utf8]{inputenc} ... =C4=8D=C5=A1=C5=BE As I didn't know how to use any other the font, I always used CMR, the=20 default, so I didn't have problems with exotic fonts either. ************************************************************************ But here we come to ConTeXt. For the German "Umlaut", \"{a}\"{o}\"{u} (=C3=A4=C3=B6=C3=BC), this was s= atisfactory: \useencoding[windows-1250] \mainlanguage[de] For \v{c}\v{s}\v{z} (=C4=8D=C5=A1=C5=BE) this wasn't the case, so a propo= sed solution=20 from another ConTeXt user was: % output=3Dpdf -translate-file=3Dcp1250cs \setupbodyfont [csr,ams,rm] What I don't really understand: why did the Chech TUG have to design=20 *their own font*, csr, (or made changes to cmr) if accented characters=20 worked perfectly already in plain TeX? The second problem: This works under Windows when typesetting in code=20 page 1250. How can I use accented characters if text is typeset in=20 Unicode (or latin2) in Linux? The third problem: How do I typeset '\v{c}' in some other font? I do=20 understand that it may not function in just any font since someone has=20 to tell the computer how the accented characters are built, but as long=20 as \v{c} works, there's no reason for \useencoding[utf8] and then continuing with unicode encoded characters not to produce the=20 desired result. Thank you, Mojca