Hi
Thank you very much for your help. I have now been able to compile and test
my changes. It didn't work first time but it wasn't far off. I have got it
working and done a diff with what I started from. You should be able to
apply this even if the source has changed (provided the changes haven't been
too drastic!).
You need to run the decompressed file through 'patch -p1' in the
WEB-INF/java directory. Eg:
gzip -dc mathdisplay.diff.gz | patch -p1
Note that my source files had unix line breaks and I haven't tried applying
it on Windows.
In any case I should make a backup of Alice.java and Maple.java first.
The change works as before. You can now send the "MathDisplay=type"
parameter to Alice where type is "html" or "latex". The default is "html".
These are case-insensitive.
Eventually it would be nice to support "mathml" too. The default would then
ideally be set according to what the browser supports. The use could be
allowed to override this using the new parameter (eg. with a drop down list
on every page).
Cheers
Alex
|