Namespaces
Variants
Actions

Help:HowTo EoM

From Encyclopedia of Mathematics
Revision as of 13:19, 11 January 2012 by Ulf Rehmann (talk | contribs)
Jump to: navigation, search


EoM pages can be edited like any Wikipedia page. Moreover, EoM is enhanced by MathJax. Therefore, one can encode mathematics using arbitrary $\rm \TeX$ or $\rm \LaTeX$ code.

That is, you type $e^{2\pi i} = 1$ in order to get $e^{2\pi i} = 1$. Here is an even more convincing Example.

For editing one can use the text area, which is opened in the browser after clicking on the "edit" button of an EoM page. However, since most texts are long, it is highly recommended to use an external editor. Comments on various editors can be found here.

EoM allows to use the "It's all text" add-on. This software can be installed in many browsers. If installed, near the wiki edit field there appears a small blue button, and clicking on that button pops up your favored editor window with the whole content of the text area, ready for editing. See here for further explanations.


Important: Old EoM pages have their formulas not encoded in $\rm \TeX$ but in png images.

Example of the same page: $\qquad$ $\rm\TeX$ encoded $\qquad$ png encoded

(You may want to look at their encoding via the "edit" button.)

One of the initial tasks for those pages is it to transcribe them into $\rm \TeX$.

In the png-encoded pages there are two types of encodings:

  • <img align= ... file.png ... />
  • <table class= ... file.png ... </table>

These entries have to be removed and replaced by appropriate $\rm\TeX$ code, the first type represents inline code, i.e., $\rm\TeX$ representation within single $ signs, the second type represents "displayed" $\rm\TeX$ code within double $ signs.

For the GNU Emacs editor, here is a tool which helps with this task.

If the macro is installed and the wiki text file for an old EoM page with png images is displayed in some Emacs buffer, then one keystroke (Ctrl-. = control key and .-key) removes all the png encodings (as described above) and replaces them by $_$ (resp. $$_$$), prompting the user to fill in the appropriate $\rm\TeX$ code into the minibuffer of Emacs.

After ending the $\rm\TeX$ code input with the Enter-key Emacs will insert that code into the wiki text file, jumping to the next instance and prompting the user again, etc.

The macro has re-entry capabilities: If input is interrupted, it can be called again, and it will continue with the next string $_$ (resp. $$_$$).

So within an interruption, the formulas can be filled directly into the text file, if convenient.

However, it is better to edit via the minibuffer, since the history capabilities of the minibuffer can very often be used to recall some former input (with the up- and down-keys), modify that slightly if necessary and insert again.

How to Cite This Entry:
HowTo EoM. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=HowTo_EoM&oldid=19672