From NewWiki
FAQ Front ends
| Question: |
| I don't like the standard front end - are there other options? |
| Answer: |
Yes. there are several.
|
| 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).
KeyEventTranslations.tr:
Item[KeyEvent["q", Modifiers -> {Control, Option}],
FrontEndExecute[
FrontEndToken[
SelectedNotebook[ ],
"EvaluatorQuit",
Automatic
]
]
]
KeyEventTranslations.tr:
Item[KeyEvent["i", Modifiers -> {Command, Control}],
FrontEndExecute[
FrontEndToken[
SelectedNotebook[ ],
"InitializationCell",
"Toggle"
]
]
]
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:
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)
Activer le français (valider pour voir le résultat qui affecte le haut du notebook)
Désactiver l'anglais (valider pour voir le résultat qui affecte le haut du notebook)
Activier l'anglais (valider pour voir le résultat qui affecte le haut du notebook)
Commentaire : on pourrait mettre ces fonctions dans des boutons. Reste à gérer les espacements entre cellules...
|
article
discussion
