From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22068 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: rotated accented character Date: Sun, 21 Aug 2005 20:33:10 +0200 Message-ID: <4308C8E6.5090104@wxs.nl> References: <43049201.3040802@gmail.com> <4304D012.8050700@wxs.nl> <6faad9f005082106343dfed53e@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1124649328 13021 80.91.229.2 (21 Aug 2005 18:35:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Aug 2005 18:35:28 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 21 20:35:28 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1E6ueT-0002SQ-M3 for gctc-ntg-context-518@m.gmane.org; Sun, 21 Aug 2005 20:34:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 19A7812835; Sun, 21 Aug 2005 20:34:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22524-04-28; Sun, 21 Aug 2005 20:34:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 73DD912842; Sun, 21 Aug 2005 20:34:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A6991277B for ; Sun, 21 Aug 2005 20:34:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22582-05-16 for ; Sun, 21 Aug 2005 20:33:59 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 692591283B for ; Sun, 21 Aug 2005 20:33:46 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j7LIXfRW012613 for ; Sun, 21 Aug 2005 20:33:41 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 6B32819861; Sun, 21 Aug 2005 19:44:27 +0200 (CEST) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id F283817A84 for ; Sun, 21 Aug 2005 17:44:24 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f005082106343dfed53e@mail.gmail.com> X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22068 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:22068 Mojca Miklavec wrote: >So now that I have the properly rotated letter, is it possible to do >the following: > >% U0259 LATIN SMALL LETTER SCHWA >\definecharacter schwa {\rotate[rotation=180,location=high]{\hbox{e}}} >\definecharacter schwagrave {\buildtextaccent\textgrave{\schwa}} >\schwagrave > > Hm, probably needed for old-slovenian or so: \starttext \unexpanded\def\topaccent#1#2#3#4#5% down right slantcorrection accent char {\dontleavehmode \bgroup \setbox0\hbox{#4}% \setbox2\hbox{#5}% \hbox to \wd2 \bgroup \hss\copy2\hss \hskip-\wd2 \hss\hskip#2\wd0\hskip-#3\fontdimen1\font\raise#1\hbox{#4}\hss \egroup \egroup} \def\buildtextgrave{\topaccent{0pt}{0}{15}{\textgrave}} \startencoding[default] \definecharacter schwa {\hbox{\rotate[rotation=180,location=high]{\hbox{e}}}} \definecharacter schwagrave {\buildtextgrave\schwa} \stopencoding test test \ruledhbox{\schwa} test \schwagrave test test \ruledhbox{\schwa} test \schwagrave test test \ruledhbox{\schwa} test \schwagrave \sl test test \ruledhbox{\schwa} test \schwagrave test test \ruledhbox{\schwa} test \schwagrave test test \ruledhbox{\schwa} test \schwagrave \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------