From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4137 Path: main.gmane.org!not-for-mail From: "Giuseppe Bilotta" Newsgroups: gmane.comp.tex.context Subject: Re: ROT13 and alike Date: Mon, 19 Feb 2001 23:45:32 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <010d01c09ac5$f9db2f60$a3ccfea9@nuovo> References: <3.0.6.32.20010219112004.0180d100@server-1> 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 1035394829 23269 80.91.224.250 (23 Oct 2002 17:40:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:40:29 +0000 (UTC) Cc: "ConTeXt" Original-To: "Hans Hagen" Xref: main.gmane.org gmane.comp.tex.context:4137 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4137 > Given that this secret society is okay i can provide a better solution. > > \starttext > > \startmapping[rot13] > \definecasemaps 65 to 77 lc +13 uc +13 > \definecasemaps 78 to 90 lc -13 uc -13 > \definecasemaps 97 to 109 lc +13 uc +13 > \definecasemaps 110 to 122 lc -13 uc -13 > \stopmapping > > \def\ToRotThirteen #1{{\enablemapping[rot13]\lowercase{#1}}} > \def\FromRotThirteen#1{{\enablemapping[rot13]\uppercase{#1}}} > > Ecco una prova di alfabeto carbonaro. > > \ToRotThirteen{Ecco una prova di alfabeto carbonaro.} > > \FromRotThirteen{\ToRotThirteen{Ecco una prova di alfabeto carbonaro.}} > I hate you :-) Why must things always be this simple? I lose all the pleasure of trying to program it in TeX ... :-) Thank you. Giuseppe Bilotta Using Microsoft products is like having sex without condoms---but much less pleasurable