From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20271 Path: news.gmane.org!not-for-mail From: "Denis Pinsard" Newsgroups: gmane.comp.tex.context Subject: Re: Problem with \mainlanguage[fr] and javascript Date: Mon, 09 May 2005 14:15:12 +0200 Message-ID: References: <427E7B99.60408@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1115640689 23917 80.91.229.2 (9 May 2005 12:11:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 May 2005 12:11:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon May 09 14:11:23 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 1DV74z-0002A7-0l for gctc-ntg-context-518@m.gmane.org; Mon, 09 May 2005 14:09:46 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B173A127F3; Mon, 9 May 2005 14:17:02 +0200 (CEST) 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 02990-01; Mon, 9 May 2005 14:17:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 40506127EB; Mon, 9 May 2005 14:15:15 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AEB6C127EB for ; Mon, 9 May 2005 14:15:13 +0200 (CEST) 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 02684-05-2 for ; Mon, 9 May 2005 14:15:12 +0200 (CEST) Original-Received: from grove.numericable.net (grove.numericable.net [80.236.3.112]) by ronja.ntg.nl (Postfix) with ESMTP id D4BF2127A5 for ; Mon, 9 May 2005 14:15:12 +0200 (CEST) Original-Received: (qmail 15547 invoked from network); 9 May 2005 12:15:12 -0000 Original-Received: from unknown (HELO brehat.mshome.net) ([85.68.18.94]) (envelope-sender ) by grove.numericable.net (qmail-ldap-1.03) with SMTP for ; 9 May 2005 12:15:12 -0000 Original-To: "mailing list for ConTeXt users" In-Reply-To: <427E7B99.60408@wxs.nl> User-Agent: Opera M2/7.54 (Win32, build 3865) 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: news.gmane.org gmane.comp.tex.context:20271 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20271 Le Sun, 08 May 2005 22:50:33 +0200, Hans Hagen a =E9crit: > Denis Pinsard wrote: >> Hello, >> The following code doesn't work with the fr option. >> It seems that there is interferences with javascript features. >> Any idea to solve this problem is welcome. >> Thank you in advance. >> \mainlanguage[fr] >> \setupinteraction[state=3Dstart] >> \definefield [Help] [check] [HelpSetup] [helpinfo] [helpinfo] >> \setupfields[reset] >> \setupfield[HelpSetup][option=3D{readonly,hidden}] >> \definesymbol [helpinfo] [SomeHelpText] >> \starttext >> \fitfield[Help] >> \goto {Help} [JS(Toggle_Hide{Help})]. >> \stoptext > > this works ok in my version; what version do you run? Sorry, in the email I have forgotten two commands : \useencoding[ffr] \enableregime[il1] \mainlanguage[fr] \setupinteraction[state=3Dstart] \definefield [Help] [check] [HelpSetup] [helpinfo] [helpinfo] \setupfields[reset] \setupfield[HelpSetup][option=3D{readonly,hidden}] \definesymbol [helpinfo] [SomeHelpText] \starttext \fitfield[Help] R=E9sultat: \goto {Help} [JS(Toggle_Hide{Help})]. \stoptext It seems that the problem comes from \useencoding[ffr]. (TeXExec version is 5.2.4). This same command causes also a compilation error when I want to use the fp package for floating operations : \useencoding [ffr] \enableregime[il1] \mainlanguage[fr] \input fp.tex \starttext \FPadd\result{4}{5} R=E9sultat: \result \stoptext Thank you for your help. --=20 Denis.