Namespaces
Variants
Actions

Difference between revisions of "Help:HowTo EoM"

From Encyclopedia of Mathematics
Jump to: navigation, search
m
m
Line 12: Line 12:
 
[[Fancy_diagram | Here is an even more convincing Example]].
 
[[Fancy_diagram | Here is an even more convincing Example]].
  
For editing one can use the text area, which opens in the browser
+
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
 
after clicking on the "edit" button of an EoM page. However, since
 
most texts are long, it is highly recommended to use an external
 
most texts are long, it is highly recommended to use an external
Line 45: Line 45:
 
</pre>
 
</pre>
 
These entries have to be removed and replaced by appropriate $\rm\TeX$
 
These entries have to be removed and replaced by appropriate $\rm\TeX$
code, the first type represents inline code ($\rm\TeX$ representation
+
code, the first type represents inline code, i.e., $\rm\TeX$ representation
 
within single <nowiki>$</nowiki> signs, the second type represents "displayed"
 
within single <nowiki>$</nowiki> signs, the second type represents "displayed"
 
$\rm\TeX$ code within double <nowiki>$</nowiki> signs.
 
$\rm\TeX$ code within double <nowiki>$</nowiki> signs.
Line 57: Line 57:
 
described above) and replaces them by <nowiki>$_$</nowiki> (resp.
 
described above) and replaces them by <nowiki>$_$</nowiki> (resp.
 
<nowiki>$$_$$</nowiki>), prompting the user to fill in the appropriate
 
<nowiki>$$_$$</nowiki>), prompting the user to fill in the appropriate
$\rm\TeX$ code into the minibuffer of Emacs.  
+
$\rm\TeX$ code into the  
 +
[http://www.gnu.org/s/libtool/manual/emacs/Minibuffer.html#Minibuffer minibuffer of Emacs].  
  
 
After ending the $\rm\TeX$ code input with the
 
After ending the $\rm\TeX$ code input with the
Line 71: Line 72:
 
the text file, if convenient.
 
the text file, if convenient.
  
However, very often it is better to use input via the minibuffer,
+
However, it is better to  
 +
[http://www.gnu.org/s/libtool/manual/emacs/Minibuffer-Edit.html#Minibuffer-Edit edit via the minibuffer],
 
since the history capabilities of the minibuffer can very often be
 
since the history capabilities of the minibuffer can very often be
used to recall some former input (with the up- and down-keys), edit
+
used to recall some former input (with the up- and down-keys), modify
 
that slightly if necessary and insert again.
 
that slightly if necessary and insert again.

Revision as of 10:29, 19 November 2011

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=19655