cdocutils.nodes document q)q}q(U nametypesq}q(Xthe mathjax startup sequenceqNXstartup-sequenceqKuUsubstitution_defsq}q Uparse_messagesq ]q (cdocutils.nodes system_message q )q }q(U rawsourceqUUparentqcdocutils.nodes section q)q}q(hUhhUsourceqcdocutils.nodes reprunicode qXQ/Data/Code/JavaScript/MathJax/Code/SourceForge/trunk/mathjax/docs/rst/startup.rstqq}qbUexpect_referenced_by_nameq}qhcdocutils.nodes target q)q}q(hX.. _startup-sequence:qhhhhUtagnameqUtargetq U attributesq!}q"(Uidsq#]q$Ubackrefsq%]q&Udupnamesq']q(Uclassesq)]q*Unamesq+]q,Urefidq-Ustartup-sequenceq.uUlineq/KUdocumentq0hUchildrenq1]q2ubshUsectionq3h!}q4(h']q5h)]q6h%]q7h#]q8(Uthe-mathjax-startup-sequenceq9h.eh+]q:(hheuh/Kh0hUexpect_referenced_by_idq;}q)q?}q@(hXThe MathJax Startup SequenceqAhhhhhUtitleqBh!}qC(h']qDh)]qEh%]qFh#]qGh+]qHuh/Kh0hh1]qIcdocutils.nodes Text qJXThe MathJax Startup SequenceqKqL}qM(hhAhh?ubaubcdocutils.nodes paragraph qN)qO}qP(hXWhen you load ``MathJax.js`` into a web page, it configures itself and immediately begins loading the components it needs. As MathJax starts up, it uses its :ref:`signaling mechanism ` to indicate the actions that it is taking so that MathJax extensions can tie into the initialization process, and so other applications within the page can synchronize their actions with MathJax.qQhhhhhU paragraphqRh!}qS(h']qTh)]qUh%]qVh#]qWh+]qXuh/Kh0hh1]qY(hJXWhen you load qZq[}q\(hXWhen you load q]hhOubcdocutils.nodes literal q^)q_}q`(hX``MathJax.js``qah!}qb(h']qch)]qdh%]qeh#]qfh+]qguhhOh1]qhhJX MathJax.jsqiqj}qk(hUhh_ubahUliteralqlubhJX into a web page, it configures itself and immediately begins loading the components it needs. As MathJax starts up, it uses its qmqn}qo(hX into a web page, it configures itself and immediately begins loading the components it needs. As MathJax starts up, it uses its qphhOubcsphinx.addnodes pending_xref qq)qr}qs(hX,:ref:`signaling mechanism `qthhOhU pending_xrefquh!}qv(UreftypeqwXrefqxU reftargetqyXsynchronizationqzU refdomainq{Xstdq|h#]q}h%]q~U refexplicitqh']qh)]qh+]qUrefdocqUstartupquh/Kh1]qcdocutils.nodes emphasis q)q}q(hhth!}q(h']qh)]q(Uxrefqh|Xstd-refqeh%]qh#]qh+]quhhrh1]qhJXsignaling mechanismqq}q(hUhhubahUemphasisqubaubhJX to indicate the actions that it is taking so that MathJax extensions can tie into the initialization process, and so other applications within the page can synchronize their actions with MathJax.qq}q(hX to indicate the actions that it is taking so that MathJax extensions can tie into the initialization process, and so other applications within the page can synchronize their actions with MathJax.qhhOubeubhN)q}q(hX3The startup process performs the following actions:qhhhhhhRh!}q(h']qh)]qh%]qh#]qh+]quh/Kh0hh1]qhJX3The startup process performs the following actions:qq}q(hhhhubaubcdocutils.nodes bullet_list q)q}q(hUhhhhhU bullet_listqh!}q(UbulletqX-h#]qh%]qh']qh)]qh+]quh/Kh0hh1]qcdocutils.nodes list_item q)q}q(hXIt creates the ``MathJax`` variable, and defines the following subsystems: - ``MathJax.Object`` (object-oriented programming model) - ``MathJax.Callback`` (callbacks, signals, and queues) - ``MathJax.Ajax`` (file-loading and style-creation code) - ``MathJax.HTML`` (support code for creating HTML elements) - ``MathJax.Message`` (manages the menu line in the lower left) - ``MathJax.Hub`` (the core MathJax functions) qhhhNhU list_itemqh!}q(h']qh)]qh%]qh#]qh+]quh/Nh0hh1]q(hN)q}q(hXJIt creates the ``MathJax`` variable, and defines the following subsystems:qhhhhhhRh!}q(h']qh)]qh%]qh#]qh+]quh/Kh1]q(hJXIt creates the qɅq}q(hXIt creates the qhhubh^)q}q(hX ``MathJax``qh!}q(h']qh)]qh%]qh#]qh+]quhhh1]qhJXMathJaxqׅq}q(hUhhubahhlubhJX0 variable, and defines the following subsystems:qڅq}q(hX0 variable, and defines the following subsystems:qhhubeubh)q}q(hUh!}q(hX-h#]qh%]qh']qh)]qh+]quhhh1]q(h)q}q(hX6``MathJax.Object`` (object-oriented programming model)qh!}q(h']qh)]qh%]qh#]qh+]quhhh1]qhN)q}q(hhhhhhhhRh!}q(h']qh)]qh%]qh#]qh+]quh/Kh1]q(h^)q}q(hX``MathJax.Object``qh!}q(h']qh)]qh%]rh#]rh+]ruhhh1]rhJXMathJax.Objectrr}r(hUhhubahhlubhJX$ (object-oriented programming model)rr}r (hX$ (object-oriented programming model)r hhubeubahhubh)r }r (hX5``MathJax.Callback`` (callbacks, signals, and queues)r h!}r(h']rh)]rh%]rh#]rh+]ruhhh1]rhN)r}r(hj hj hhhhRh!}r(h']rh)]rh%]rh#]rh+]ruh/Kh1]r(h^)r}r(hX``MathJax.Callback``r h!}r!(h']r"h)]r#h%]r$h#]r%h+]r&uhjh1]r'hJXMathJax.Callbackr(r)}r*(hUhjubahhlubhJX! (callbacks, signals, and queues)r+r,}r-(hX! (callbacks, signals, and queues)r.hjubeubahhubh)r/}r0(hX7``MathJax.Ajax`` (file-loading and style-creation code)r1h!}r2(h']r3h)]r4h%]r5h#]r6h+]r7uhhh1]r8hN)r9}r:(hj1hj/hhhhRh!}r;(h']r<h)]r=h%]r>h#]r?h+]r@uh/Kh1]rA(h^)rB}rC(hX``MathJax.Ajax``rDh!}rE(h']rFh)]rGh%]rHh#]rIh+]rJuhj9h1]rKhJX MathJax.AjaxrLrM}rN(hUhjBubahhlubhJX' (file-loading and style-creation code)rOrP}rQ(hX' (file-loading and style-creation code)rRhj9ubeubahhubh)rS}rT(hX:``MathJax.HTML`` (support code for creating HTML elements)rUh!}rV(h']rWh)]rXh%]rYh#]rZh+]r[uhhh1]r\hN)r]}r^(hjUhjShhhhRh!}r_(h']r`h)]rah%]rbh#]rch+]rduh/Kh1]re(h^)rf}rg(hX``MathJax.HTML``rhh!}ri(h']rjh)]rkh%]rlh#]rmh+]rnuhj]h1]rohJX MathJax.HTMLrprq}rr(hUhjfubahhlubhJX* (support code for creating HTML elements)rsrt}ru(hX* (support code for creating HTML elements)rvhj]ubeubahhubh)rw}rx(hX=``MathJax.Message`` (manages the menu line in the lower left)ryh!}rz(h']r{h)]r|h%]r}h#]r~h+]ruhhh1]rhN)r}r(hjyhjwhhhhRh!}r(h']rh)]rh%]rh#]rh+]ruh/Kh1]r(h^)r}r(hX``MathJax.Message``rh!}r(h']rh)]rh%]rh#]rh+]ruhjh1]rhJXMathJax.Messagerr}r(hUhjubahhlubhJX* (manages the menu line in the lower left)rr}r(hX* (manages the menu line in the lower left)rhjubeubahhubh)r}r(hX-``MathJax.Hub`` (the core MathJax functions) rh!}r(h']rh)]rh%]rh#]rh+]ruhhh1]rhN)r}r(hX,``MathJax.Hub`` (the core MathJax functions)rhjhhhhRh!}r(h']rh)]rh%]rh#]rh+]ruh/Kh1]r(h^)r}r(hX``MathJax.Hub``rh!}r(h']rh)]rh%]rh#]rh+]ruhjh1]rhJX MathJax.Hubrr}r(hUhjubahhlubhJX (the core MathJax functions)rr}r(hX (the core MathJax functions)rhjubeubahhubehhubeubaubcdocutils.nodes comment r)r}r(hUhhhhhUcommentrh!}r(U xml:spacerUpreserverh#]rh%]rh']rh)]rh+]ruh/Kh0hh1]rubh)r}r(hUhhhhhhh!}r(hX-h#]rh%]rh']rh)]rh+]ruh/Kh0hh1]rh)r}r(hXjIt then creates the base ``MathJax.InputJax``, ``MathJax.OutputJax``, and ``MathJax.ElementJax`` objects. rhjhhhhh!}r(h']rh)]rh%]rh#]rh+]ruh/Nh0hh1]rhN)r}r(hXiIt then creates the base ``MathJax.InputJax``, ``MathJax.OutputJax``, and ``MathJax.ElementJax`` objects.rhjhhhhRh!}r(h']rh)]rh%]rh#]rh+]ruh/Kh1]r(hJXIt then creates the base rr}r(hXIt then creates the base rhjubh^)r}r(hX``MathJax.InputJax``rh!}r(h']rh)]rh%]rh#]rh+]ruhjh1]rhJXMathJax.InputJaxrr}r(hUhjubahhlubhJX, rr}r(hX, rhjubh^)r}r(hX``MathJax.OutputJax``rh!}r(h']rh)]rh%]rh#]rh+]ruhjh1]rhJXMathJax.OutputJaxr r }r (hUhjubahhlubhJX, and r r }r(hX, and rhjubh^)r}r(hX``MathJax.ElementJax``rh!}r(h']rh)]rh%]rh#]rh+]ruhjh1]rhJXMathJax.ElementJaxrr}r(hUhjubahhlubhJX objects.rr}r(hX objects.r hjubeubaubaubj)r!}r"(hUhhhhhjh!}r#(jjh#]r$h%]r%h']r&h)]r'h+]r(uh/Kh0hh1]r)ubh)r*}r+(hUhhhhhhh!}r,(hX-h#]r-h%]r.h']r/h)]r0h+]r1uh/K!h0hh1]r2h)r3}r4(hXpMathJax sets up the default configuration, and creates the signal objects used for the startup and hub actions. r5hj*hhhhh!}r6(h']r7h)]r8h%]r9h#]r:h+]r;uh/Nh0hh1]r<hN)r=}r>(hXoMathJax sets up the default configuration, and creates the signal objects used for the startup and hub actions.r?hj3hhhhRh!}r@(h']rAh)]rBh%]rCh#]rDh+]rEuh/K!h1]rFhJXoMathJax sets up the default configuration, and creates the signal objects used for the startup and hub actions.rGrH}rI(hj?hj=ubaubaubaubj)rJ}rK(hUhhhhhjh!}rL(jjh#]rMh%]rNh']rOh)]rPh+]rQuh/K$h0hh1]rRubh)rS}rT(hUhhhhhhh!}rU(hX-h#]rVh%]rWh']rXh)]rYh+]rZuh/K&h0hh1]r[h)r\}r](hXMathJax locates the ``