Namespaces
Variants
Actions

Difference between revisions of "Help:HowTo EoM"

From Encyclopedia of Mathematics
Jump to: navigation, search
m
m
Line 2: Line 2:
 
[[Category:Encyclopedia of Mathematics quick introductions]]
 
[[Category:Encyclopedia of Mathematics quick introductions]]
  
 +
== Editing including $\rm \TeX$ code ==
 
EoM pages can be edited like any  
 
EoM pages can be edited like any  
 
[http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia Wikipedia page].
 
[http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia Wikipedia page].
 +
 
Moreover, EoM is enhanced by
 
Moreover, EoM is enhanced by
 
[http://www.mediawiki.org/wiki/Extension:MathJax MathJax].
 
[http://www.mediawiki.org/wiki/Extension:MathJax MathJax].
Line 29: Line 31:
 
for editing. See
 
for editing. See
 
[http://en.wikipedia.org/wiki/Wikipedia:Text_editor_support#Use_It.27s_All_Text.21_to_invoke_an_external_editor here] for further explanations.
 
[http://en.wikipedia.org/wiki/Wikipedia:Text_editor_support#Use_It.27s_All_Text.21_to_invoke_an_external_editor here] for further explanations.
<hr>
+
 
 +
== Re-encoding of old files ==
 +
 
 
'''Important:''' Old EoM pages have their formulas not encoded in $\rm \TeX$ but in [http://en.wikipedia.org/wiki/Portable_Network_Graphics png] images.
 
'''Important:''' Old EoM pages have their formulas not encoded in $\rm \TeX$ but in [http://en.wikipedia.org/wiki/Portable_Network_Graphics png] images.
  
Example of the same page: $\qquad$ [[Tamagawa_number | $\rm\TeX$ encoded]]  
+
Example for both encodings of the same page: $\qquad$ [[Tamagawa_number | $\rm\TeX$ encoded]]  
 
$\qquad$  
 
$\qquad$  
 
[http://www.encyclopediaofmath.org/index.php?title=Tamagawa_number&oldid=13490 png encoded]
 
[http://www.encyclopediaofmath.org/index.php?title=Tamagawa_number&oldid=13490 png encoded]
  
(You may want to look at their encoding via the "edit" button.)
+
To see all the pages already converted into $\rm\TeX$ look into this
 +
[[:Category:TeX done]]. You can look at their encoding via the "edit"
 +
button.
 +
 
  
 
'''One of the initial tasks for those pages is it to transcribe them into
 
'''One of the initial tasks for those pages is it to transcribe them into
Line 50: Line 57:
 
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.
 +
 +
== Assisting tool for $\rm \TeX$ re-encoding for Emacs ==
  
 
For the GNU Emacs editor, [[Help:Emacs_eom_macros| here is a tool which
 
For the GNU Emacs editor, [[Help:Emacs_eom_macros| here is a tool which
Line 79: Line 88:
 
used to recall some former input (with the up- and down-keys), modify
 
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.
 +
 +
== Mathematical subject classification and categorization ==
 +
 +
Here are the templates for [[Help:MSC_Templates | MSC]].
 +
Usage is easy: See the code (="Edit" button) of one of the pages in [[:Category:TeX done]]. Most of them have the MSC encoding in their very first line.
 +
 +
MS Classification will automatically categorize the page. See
 +
[[Talk:EoM:This_project#Categories| here for the EoM categories]].

Revision as of 20:56, 4 March 2012


Editing including $\rm \TeX$ code

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.

Re-encoding of old files

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

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

To see all the pages already converted into $\rm\TeX$ look into this Category:TeX done. You can 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.

Assisting tool for $\rm \TeX$ re-encoding for Emacs

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.

Mathematical subject classification and categorization

Here are the templates for MSC. Usage is easy: See the code (="Edit" button) of one of the pages in Category:TeX done. Most of them have the MSC encoding in their very first line.

MS Classification will automatically categorize the page. See here for the EoM categories.

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