From: "Denis Pinsard" <denis.pinsard@modulonet.fr>
Subject: Re: Problem with \mainlanguage[fr] and javascript
Date: Mon, 09 May 2005 14:15:12 +0200 [thread overview]
Message-ID: <opsqicbm0r2e1zkg@brehat.mshome.net> (raw)
In-Reply-To: <427E7B99.60408@wxs.nl>
Le Sun, 08 May 2005 22:50:33 +0200, Hans Hagen <pragma@wxs.nl> a écrit:
> 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=start]
>> \definefield [Help] [check] [HelpSetup] [helpinfo] [helpinfo]
>> \setupfields[reset]
>> \setupfield[HelpSetup][option={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=start]
\definefield [Help] [check] [HelpSetup] [helpinfo] [helpinfo]
\setupfields[reset]
\setupfield[HelpSetup][option={readonly,hidden}]
\definesymbol [helpinfo] [SomeHelpText]
\starttext
\fitfield[Help]
Résultat: \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ésultat: \result
\stoptext
Thank you for your help.
--
Denis.
prev parent reply other threads:[~2005-05-09 12:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-27 15:09 Denis Pinsard
2005-05-08 20:50 ` Hans Hagen
2005-05-09 12:15 ` Denis Pinsard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=opsqicbm0r2e1zkg@brehat.mshome.net \
--to=denis.pinsard@modulonet.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).