From NewWiki

FAQ Front ends


Question:
I don't like the standard front end - are there other options?

Answer:
Yes. there are several.
    • Use mathematica.el which is an emacs front end.
    • Use JMath which is a text front end.
    • Write your own using MathLink. Some example code is provided with Mathematica to help you use MathLink.
    • Use WITM to give a web based front end.
    • UNIX users may use a vim front end.
    • Leibniz is a front end for the Mac.

If you know of another front end, please add here.


Question:
Can I use a web browser as a front end?
Answer:
Yes. The Wolfram Research product webMathemtica allows applications to be written in Mathematica which can be accessed from a web server. It is not designed to allow full access to Mathematica.

WITM which is open-source provides access to Mathematica over a browser. WITM is especially useful for mobile devices. There is more information about providing access via mobile devices (not just with a browser) in the mobile FAQ


Question:
How do I modify the front end to add new keyboard shortcuts?
Answer:
(mathgroup May 2005, trevor baca:)

i've been mucking around in KeyEventTranslations.tr setting up keyboard shortcuts recently and i've learned that front end tokens are pretty cool. the wolfram page:http://documents.wolfram.com/v5/FrontEnd/FrontEndTokens gives pretty good docs.

anyway, here are three that i had to work a little to get going (with good help from the mathgroup, as always).

  • for a quit kernel keyboard shortcut, add the following to
 KeyEventTranslations.tr:
       Item[KeyEvent["q", Modifiers -> {Control, Option}],
               FrontEndExecute[
                       FrontEndToken[
                                SelectedNotebook[ ],
                                "EvaluatorQuit",
                                Automatic
                       ]
               ]
       ]

  • for an initialization cell toggle keyboard shortcut (repeated from previous thread), add the following to
KeyEventTranslations.tr:
      Item[KeyEvent["i", Modifiers -> {Command, Control}],
               FrontEndExecute[
                       FrontEndToken[
                               SelectedNotebook[ ],
                               "InitializationCell",
                               "Toggle"
                       ]
               ]
       ]

  • for a save as package keyboard shortcut, add the following to
KeyEventTranslations.tr:
       Item[KeyEvent["k", Modifiers -> {Control, Option}], SaveRenameSpecial["Package"]]

Question:
I want to write multilingual text in a notebook, in such a way that readers can choose their languages.
Answer:
Here is the basic idea of a solution, proposed by Thierry Verdel:

Un titre

A title

Une cellule contenant du texte en français

A cell with an english content

4 commandes pour activer ou désactiver le français ou l'anglais

Pour que cela fonctionne il faut d'abord avoir "tagger" les cellules (ci-dessous) en français ou en anglais.

Désactiver le français (valider pour voir le résultat qui affecte le haut du notebook)

NotebookLocate["french"] ;

SetOptions[NotebookSelection[InputNotebook[]], CellOpenFalse, ShowCellBracketFalse]

Activer le français (valider pour voir le résultat qui affecte le haut du notebook)

NotebookLocate["french"] ;

SetOptions[NotebookSelection[InputNotebook[]], CellOpenTrue, ShowCellBracketTrue]

Désactiver l'anglais (valider pour voir le résultat qui affecte le haut du notebook)

NotebookLocate["english"] ;

SetOptions[NotebookSelection[InputNotebook[]], CellOpenFalse, ShowCellBracketFalse]

Activier l'anglais (valider pour voir le résultat qui affecte le haut du notebook)

NotebookLocate["english"] ;

SetOptions[NotebookSelection[InputNotebook[]], CellOpenTrue, ShowCellBracketTrue]

Commentaire : on pourrait mettre ces fonctions dans des boutons. Reste à gérer les espacements entre cellules...


Created by Mathematica  (July 5, 2005) Valid XHTML 1.1!
Dowload notebook and look at hidden details with front end "Show expression" or any text editor.
Contributors to this Page The 3 contributors to this page (ordered by date of first contribution):
User Latest Contribution # Contributions
1. drkirkby Sun 2 Jul 2006 05:57:49 8
2. Alba Tue 5 Jul 2005 02:32:13 16
3. LucB Sat 7 May 2005 12:27:00 2

This page was created by drkirkby on Sun 2 Jul 2006 05:53:13 and last updated by drkirkby on Sun 2 Jul 2006 05:57:49
Retrieved from FAQ Front ends .
Personal tools