LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Caret in Maple 10 (https://www.linuxquestions.org/questions/linux-software-2/caret-in-maple-10-a-415465/)

trolf 02-14-2006 05:47 PM

Caret in Maple 10
 
I'm not able to type a caret (character ^, that is) in Maple 10. I'm using FVWM2, but the problem occurs in other WMs, too. Maple clearly gets some input, but is it not visible, and it doesn't have the same effects as a caret does. There's no whitespace on the place of the caret, but whenever I've tried to input a caret, I have to type one character after the caret before I can continue typing as usual, and that character doesn't get shown.

Does this have something to do with that I'm using a Scandinavian keyboard? There's no problems in inputting carets in other applications. Oh,almost forgot, that a caret gets shown if I copy it from another application and paste it into a Maple document.

Thanks!

ntubski 02-14-2006 06:53 PM

It looks to me that the caret puts you into superscript mode, so you can type an exponent. You can press the down arrow to get back to normal input. Just to make sure this isn't some keyboard issue, try opening in classic worksheet (option -cw) to see if you still have trouble with the caret.

trolf 02-14-2006 07:13 PM

Thanks for the tip. The caret works in classic worksheet.

But in default mode I still can't get carets to show (or to input superscripts). For example, if I type "x^" Maple displays just "x", and if I press 2 after "x^" nothing happens. If I press 2 again Maple displays "x2". I can press up, down, left, right or whatever once after I've typed "x^2", and Maple shows nothing new. And Maple doesn't indicate in anyway that it'd be expecting a superscript (while, for example, if I choose a definite integral from the expression list Maple displays the integral symbol and clearly shows when I'm entering lower or upper limit of the integral).

ntubski 02-15-2006 02:39 PM

Hmm, I don't have the same behaviour. Maybe it's a configutration thing. Try moving .xmaple10rc to _xmaple10rc and see if it makes any difference. I'm afraid I can't think of anything else.

trolf 02-15-2006 04:52 PM

This seems actually to be a Java related problem. Some versions of JREs can't handle dead keys (like ~, ^ and ` on my keyboard) properly with all keyboard sets. If I could only make Maple work with some other JRE than the one distributed with it.

trolf 02-15-2006 05:41 PM

Solved. I modified xorg.conf so that:
Code:

Section "InputDevice"
Identifier  "Keyboard0"
--something--       
Option      "XkbVariant" "nodeadkeys"
EndSection

Now I can't type letters with ^ or ~, but that shouldn't cause any problems.

Seron 09-05-2007 04:18 PM

In my case I have both a Swedish keyboard and need to be able to use dead keys. To my surprise it worked by making Maple 11 use Sun Java 1.6.0.02. I did this by redirecting the jre directory to the Sun Java jre directory using a symbolic link like so:

Code:

$ cd maple11
$ mv jre.IBM_INTEL_LINUX/ jre.IBM_INTEL_LINUX.old
$ ln -ns /opt/sun-jdk-1.6.0.02/jre jre.IBM_INTEL_LINUX



All times are GMT -5. The time now is 01:01 AM.