Namespaces
Variants
Actions

Difference between revisions of "Help:HowTo EoM"

From Encyclopedia of Mathematics
Jump to: navigation, search
Line 95: Line 95:
  
 
MS Classification will automatically categorize the page. See  
 
MS Classification will automatically categorize the page. See  
[[Talk:EoM:This_project#Categories| here for the EoM categories]].
+
[[Talk:EoM:This_project#Categories| here for the EoM categories]] as actually set up.

Revision as of 21:03, 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 using 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 as actually set up.

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