€cdocutils.nodes document q)q}q(U nametypesq}q(Xinstalling mathjax in wordpressqNXplatform-wordpressqKuUsubstitution_defsq}q Uparse_messagesq ]q Ucurrent_sourceq NU decorationq NUautofootnote_startqKUnameidsq}q(hUinstalling-mathjax-in-wordpressqhUplatform-wordpressquUchildrenq]q(cdocutils.nodes target q)q}q(U rawsourceqX.. _platform-wordpress:qUparentqhUsourceqcdocutils.nodes reprunicode qX]/Data/Code/JavaScript/MathJax/Code/SourceForge/trunk/mathjax/docs/rst/platforms/wordpress.rstq…q}qbUtagnameq Utargetq!U attributesq"}q#(Uidsq$]q%Ubackrefsq&]q'Udupnamesq(]q)Uclassesq*]q+Unamesq,]q-Urefidq.huUlineq/KUdocumentq0hh]q1ubcdocutils.nodes section q2)q3}q4(hUhhhhUexpect_referenced_by_nameq5}q6hhsh Usectionq7h"}q8(h(]q9h*]q:h&]q;h$]q<(hheh,]q=(hheuh/Kh0hUexpect_referenced_by_idq>}q?hhsh]q@(cdocutils.nodes title qA)qB}qC(hXInstalling MathJax in WordPressqDhh3hhh UtitleqEh"}qF(h(]qGh*]qHh&]qIh$]qJh,]qKuh/Kh0hh]qLcdocutils.nodes Text qMXInstalling MathJax in WordPressqN…qO}qP(hhDhhBubaubcdocutils.nodes paragraph qQ)qR}qS(hX‚These instructions assume you already have placed the MathJax files on your server (see :ref:`Installing MathJax `).qThh3hhh U paragraphqUh"}qV(h(]qWh*]qXh&]qYh$]qZh,]q[uh/Kh0hh]q\(hMXXThese instructions assume you already have placed the MathJax files on your server (see q]…q^}q_(hXXThese instructions assume you already have placed the MathJax files on your server (see q`hhRubcsphinx.addnodes pending_xref qa)qb}qc(hX(:ref:`Installing MathJax `qdhhRh U pending_xrefqeh"}qf(UreftypeqgXrefqhU reftargetqiX installationqjU refdomainqkXstdqlh$]qmh&]qnU refexplicitqoˆh(]qph*]qqh,]qrUrefdocqsUplatforms/wordpressqtuh/Kh]qucdocutils.nodes emphasis qv)qw}qx(hhdh"}qy(h(]qzh*]q{(Uxrefq|hlXstd-refq}eh&]q~h$]qh,]q€uhhbh]qhMXInstalling MathJaxq‚…qƒ}q„(hUhhwubah Uemphasisq…ubaubhMX).q†…q‡}qˆ(hX).q‰hhRubeubcdocutils.nodes enumerated_list qŠ)q‹}qŒ(hUhh3hhh Uenumerated_listqh"}qŽ(UsuffixqU.h$]qh&]q‘h(]q’Uprefixq“Uh*]q”h,]q•Uenumtypeq–Uarabicq—uh/K h0hh]q˜(cdocutils.nodes list_item q™)qš}q›(hX$Open the WordPress admin interface. qœhh‹hhh U list_itemqh"}qž(h(]qŸh*]q h&]q¡h$]q¢h,]q£uh/Nh0hh]q¤hQ)q¥}q¦(hX#Open the WordPress admin interface.q§hhšhhh hUh"}q¨(h(]q©h*]qªh&]q«h$]q¬h,]q­uh/K h]q®hMX#Open the WordPress admin interface.q¯…q°}q±(hh§hh¥ubaubaubh™)q²}q³(hXþIn the administration menu on the left, open up the `Appearance` menu and click on the `Editor` submenu option. .. image:: ../images/wp_menu.png When you click on the editor option, WordPress should open up the first stylesheet in the current theme. q´hh‹hhh hh"}qµ(h(]q¶h*]q·h&]q¸h$]q¹h,]qºuh/Nh0hh]q»(hQ)q¼}q½(hXoIn the administration menu on the left, open up the `Appearance` menu and click on the `Editor` submenu option.q¾hh²hhh hUh"}q¿(h(]qÀh*]qÁh&]qÂh$]qÃh,]qÄuh/K h]qÅ(hMX4In the administration menu on the left, open up the qÆ…qÇ}qÈ(hX4In the administration menu on the left, open up the qÉhh¼ubcdocutils.nodes title_reference qÊ)qË}qÌ(hX `Appearance`qÍh"}qÎ(h(]qÏh*]qÐh&]qÑh$]qÒh,]qÓuhh¼h]qÔhMX AppearanceqÕ…qÖ}q×(hUhhËubah Utitle_referenceqØubhMX menu and click on the qÙ…qÚ}qÛ(hX menu and click on the qÜhh¼ubhÊ)qÝ}qÞ(hX`Editor`qßh"}qà(h(]qáh*]qâh&]qãh$]qäh,]qåuhh¼h]qæhMXEditorqç…qè}qé(hUhhÝubah hØubhMX submenu option.qê…që}qì(hX submenu option.qíhh¼ubeubcdocutils.nodes block_quote qî)qï}qð(hUh"}qñ(h(]qòh*]qóh&]qôh$]qõh,]qöuhh²h]q÷cdocutils.nodes image qø)qù}qú(hX!.. image:: ../images/wp_menu.png qûh"}qü(UuriqýXimages/wp_menu.pngqþh$]qÿh&]rh(]rh*]rU candidatesr}rU*hþsh,]ruhhïh]rh Uimagerubah U block_quoterubhQ)r }r (hXhWhen you click on the editor option, WordPress should open up the first stylesheet in the current theme.r hh²hhh hUh"}r (h(]r h*]rh&]rh$]rh,]ruh/Kh]rhMXhWhen you click on the editor option, WordPress should open up the first stylesheet in the current theme.r…r}r(hj hj ubaubeubh™)r}r(hX‚In the template list on the right side of the page, click on the header file (it should be ``header.php``). .. image:: ../images/wp_templates.png This part depends slightly on how your current theme is written. In the ``header.php`` file, look for the end-of-head tag, ````. If you find it, insert .. code-block:: html just before that. Otherwise, insert the same code at the very bottom of the file. Here, ``path-to-MathJax`` should be replaced by the web-address of the main MathJax directory on your server, e.g., ``src="/mathjax/MathJax.js"``. rhh‹hhh hh"}r(h(]rh*]rh&]rh$]rh,]ruh/Nh0hh]r(hQ)r }r!(hXkIn the template list on the right side of the page, click on the header file (it should be ``header.php``).r"hjhhh hUh"}r#(h(]r$h*]r%h&]r&h$]r'h,]r(uh/Kh]r)(hMX[In the template list on the right side of the page, click on the header file (it should be r*…r+}r,(hX[In the template list on the right side of the page, click on the header file (it should be r-hj ubcdocutils.nodes literal r.)r/}r0(hX``header.php``r1h"}r2(h(]r3h*]r4h&]r5h$]r6h,]r7uhj h]r8hMX header.phpr9…r:}r;(hUhj/ubah Uliteralr<ubhMX).r=…r>}r?(hX).r@hj ubeubhî)rA}rB(hUh"}rC(h(]rDh*]rEh&]rFh$]rGh,]rHuhjh]rIhø)rJ}rK(hX&.. image:: ../images/wp_templates.png rLh"}rM(UurirNXimages/wp_templates.pngrOh$]rPh&]rQh(]rRh*]rSj}rTU*jOsh,]rUuhjAh]rVh jubah jubhQ)rW}rX(hXžThis part depends slightly on how your current theme is written. In the ``header.php`` file, look for the end-of-head tag, ````. If you find it, insertrYhjhhh hUh"}rZ(h(]r[h*]r\h&]r]h$]r^h,]r_uh/Kh]r`(hMXHThis part depends slightly on how your current theme is written. In the ra…rb}rc(hXHThis part depends slightly on how your current theme is written. In the rdhjWubj.)re}rf(hX``header.php``rgh"}rh(h(]rih*]rjh&]rkh$]rlh,]rmuhjWh]rnhMX header.phpro…rp}rq(hUhjeubah j<ubhMX% file, look for the end-of-head tag, rr…rs}rt(hX% file, look for the end-of-head tag, ruhjWubj.)rv}rw(hX ````rxh"}ry(h(]rzh*]r{h&]r|h$]r}h,]r~uhjWh]rhMXr€…r}r‚(hUhjvubah j<ubhMX. If you find it, insertrƒ…r„}r…(hX. If you find it, insertr†hjWubeubcdocutils.nodes literal_block r‡)rˆ}r‰(hXIrŠh"}r‹(UlinenosrŒ‰UlanguagerXhtmlrŽU xml:spacerUpreserverh$]r‘h&]r’h(]r“h*]r”h,]r•uhjh]r–hMXIr—…r˜}r™(hUhjˆubah U literal_blockršubhQ)r›}rœ(hXæjust before that. Otherwise, insert the same code at the very bottom of the file. Here, ``path-to-MathJax`` should be replaced by the web-address of the main MathJax directory on your server, e.g., ``src="/mathjax/MathJax.js"``.rhjhhh hUh"}rž(h(]rŸh*]r h&]r¡h$]r¢h,]r£uh/K!h]r¤(hMXZjust before that. Otherwise, insert the same code at the very bottom of the file. Here, r¥…r¦}r§(hXZjust before that. Otherwise, insert the same code at the very bottom of the file. Here, r¨hj›ubj.)r©}rª(hX``path-to-MathJax``r«h"}r¬(h(]r­h*]r®h&]r¯h$]r°h,]r±uhj›h]r²hMXpath-to-MathJaxr³…r´}rµ(hUhj©ubah j<ubhMX[ should be replaced by the web-address of the main MathJax directory on your server, e.g., r¶…r·}r¸(hX[ should be replaced by the web-address of the main MathJax directory on your server, e.g., r¹hj›ubj.)rº}r»(hX``src="/mathjax/MathJax.js"``r¼h"}r½(h(]r¾h*]r¿h&]rÀh$]rÁh,]rÂuhj›h]rÃhMXsrc="/mathjax/MathJax.js"rÄ…rÅ}rÆ(hUhjºubah j<ubhMX.…rÇ}rÈ(hX.hj›ubeubeubh™)rÉ}rÊ(hXSave the file. This should enable MathJax, so you should be able to start adding mathematical content to your pages. Use the ``config/MathJas.js`` file in the MathJax directory to configure MathJax to your needs (see :ref:`Configuring MathJax ` for details).rËhh‹hhh hh"}rÌ(h(]rÍh*]rÎh&]rÏh$]rÐh,]rÑuh/Nh0hh]rÒhQ)rÓ}rÔ(hXSave the file. This should enable MathJax, so you should be able to start adding mathematical content to your pages. Use the ``config/MathJas.js`` file in the MathJax directory to configure MathJax to your needs (see :ref:`Configuring MathJax ` for details).rÕhjÉhhh hUh"}rÖ(h(]r×h*]rØh&]rÙh$]rÚh,]rÛuh/K&h]rÜ(hMXSave the file. This should enable MathJax, so you should be able to start adding mathematical content to your pages. Use the rÝ…rÞ}rß(hXSave the file. This should enable MathJax, so you should be able to start adding mathematical content to your pages. Use the ràhjÓubj.)rá}râ(hX``config/MathJas.js``rãh"}rä(h(]råh*]ræh&]rçh$]rèh,]réuhjÓh]rêhMXconfig/MathJas.jsrë…rì}rí(hUhjáubah j<ubhMXG file in the MathJax directory to configure MathJax to your needs (see rî…rï}rð(hXG file in the MathJax directory to configure MathJax to your needs (see rñhjÓubha)rò}ró(hX*:ref:`Configuring MathJax `rôhjÓh heh"}rõ(UreftyperöXrefr÷hiX configurationrøU refdomainrùXstdrúh$]rûh&]rüU refexplicitrýˆh(]rþh*]rÿh,]rhshtuh/K&h]rhv)r}r(hjôh"}r(h(]rh*]r(h|júXstd-refreh&]rh$]r h,]r uhjòh]r hMXConfiguring MathJaxr …r }r(hUhjubah h…ubaubhMX for details).r…r}r(hX for details).rhjÓubeubaubeubeubehUU transformerrNU footnote_refsr}rUrefnamesr}rUsymbol_footnotesr]rUautofootnote_refsr]rUsymbol_footnote_refsr]rU citationsr]rh0hU current_liner NUtransform_messagesr!]r"cdocutils.nodes system_message r#)r$}r%(hUh"}r&(h(]r'Ulevelr(Kh$]r)h&]r*Usourcer+hh*]r,h,]r-Uliner.KUtyper/UINFOr0uh]r1hQ)r2}r3(hUh"}r4(h(]r5h*]r6h&]r7h$]r8h,]r9uhj$h]r:hMX8Hyperlink target "platform-wordpress" is not referenced.r;…r<}r=(hUhj2ubah hUubah Usystem_messager>ubaUreporterr?NUid_startr@KU autofootnotesrA]rBU citation_refsrC}rDUindirect_targetsrE]rFUsettingsrG(cdocutils.frontend Values rHorI}rJ(Ufootnote_backlinksrKKUrecord_dependenciesrLNU rfc_base_urlrMUhttp://tools.ietf.org/html/rNU tracebackrOKUpep_referencesrPNUstrip_commentsrQNU toc_backlinksrRUentryrSU language_coderTUenrUU datestamprVNU report_levelrWKU _destinationrXNU halt_levelrYKU strip_classesrZNhENUerror_encoding_error_handlerr[Ubackslashreplacer\Udebugr]NUembed_stylesheetr^‰Uoutput_encoding_error_handlerr_Ustrictr`U sectnum_xformraKUdump_transformsrbNU docinfo_xformrcKUwarning_streamrdNUpep_file_url_templatereUpep-%04drfUexit_status_levelrgKUconfigrhNUstrict_visitorriNUcloak_email_addressesrjˆUtrim_footnote_reference_spacerk‰UenvrlNUdump_pseudo_xmlrmNUexpose_internalsrnNUsectsubtitle_xformro‰U source_linkrpNUrfc_referencesrqNUoutput_encodingrrUutf-8rsU source_urlrtNUinput_encodingruU utf-8-sigrvU_disable_configrwNU id_prefixrxUU tab_widthryKUerror_encodingrzUUTF-8r{U_sourcer|U]/Data/Code/JavaScript/MathJax/Code/SourceForge/trunk/mathjax/docs/rst/platforms/wordpress.rstr}U generatorr~NUdump_internalsrNU pep_base_urlr€Uhttp://www.python.org/dev/peps/rUinput_encoding_error_handlerr‚j`Uauto_id_prefixrƒUidr„Udoctitle_xformr…‰Ustrip_elements_with_classesr†NU _config_filesr‡]rˆUfile_insertion_enabledr‰KU raw_enabledrŠKU dump_settingsr‹NubUsymbol_footnote_startrŒKUidsr}rŽ(hh3hh3uUsubstitution_namesr}rh h0h"}r‘(h(]r’h$]r“h&]r”Usourcer•hh*]r–h,]r—uU footnotesr˜]r™Urefidsrš}r›h]rœhasub.