cdocutils.nodes
document
q)q}q(U nametypesq}q(X apache web serverqKX sourceforge development pageqKX notes about shared installationsqNX getting-mathjax-zipq KX sourceforge files pageq
KX
subversionqKX getting-mathjax-svnqKX testing your installationq
NX obtaining mathjax via an archiveqNX installationqKX mathjax download pageqKX obtaining mathjax via svnqNX installing and testing mathjaxqNX cross-domain-linkingqKX web-font linkingqKuUsubstitution_defsq}qUparse_messagesq]qUcurrent_sourceqNU
decorationqNUautofootnote_startqKUnameidsq}q(hUapache-web-serverqhUsourceforge-development-pageqhU notes-about-shared-installationsq h Ugetting-mathjax-zipq!h
Usourceforge-files-pageq"hU
subversionq#hUgetting-mathjax-svnq$h
Utesting-your-installationq%hU obtaining-mathjax-via-an-archiveq&hUinstallationq'hUmathjax-download-pageq(hUobtaining-mathjax-via-svnq)hUinstalling-and-testing-mathjaxq*hUcross-domain-linkingq+hUweb-font-linkingq,uUchildrenq-]q.(cdocutils.nodes
target
q/)q0}q1(U rawsourceq2X .. _installation:q3Uparentq4hUsourceq5cdocutils.nodes
reprunicode
q6XV /Data/Code/JavaScript/MathJax/Code/SourceForge/trunk/mathjax/docs/rst/installation.rstq7q8}q9bUtagnameq:Utargetq;U
attributesq<}q=(Uidsq>]q?Ubackrefsq@]qAUdupnamesqB]qCUclassesqD]qEUnamesqF]qGUrefidqHh'uUlineqIKUdocumentqJhh-]qKubcdocutils.nodes
section
qL)qM}qN(h2U h4hh5h8Uexpect_referenced_by_nameqO}qPhh0sh:UsectionqQh<}qR(hB]qShD]qTh@]qUh>]qV(h*h'ehF]qW(hheuhIKhJhUexpect_referenced_by_idqX}qYh'h0sh-]qZ(cdocutils.nodes
title
q[)q\}q](h2X Installing and Testing MathJaxq^h4hMh5h8h:Utitleq_h<}q`(hB]qahD]qbh@]qch>]qdhF]qeuhIKhJhh-]qfcdocutils.nodes
Text
qgX Installing and Testing MathJaxqhqi}qj(h2h^h4h\ubaubcdocutils.nodes
paragraph
qk)ql}qm(h2Xs MathJax can be loaded from a public web server or privately from your
hard drive or other local media. To use MathJax in either way, you
will need to obtain a copy of MathJax and its font package. There are
two main ways to do this: via ``svn`` or via a pre-packaged archive.
We recommend the former, as it is easier to keep your installation up
to date using ``svn``.qnh4hMh5h8h:U paragraphqoh<}qp(hB]qqhD]qrh@]qsh>]qthF]quuhIKhJhh-]qv(hgX MathJax can be loaded from a public web server or privately from your
hard drive or other local media. To use MathJax in either way, you
will need to obtain a copy of MathJax and its font package. There are
two main ways to do this: via qwqx}qy(h2X MathJax can be loaded from a public web server or privately from your
hard drive or other local media. To use MathJax in either way, you
will need to obtain a copy of MathJax and its font package. There are
two main ways to do this: via qzh4hlubcdocutils.nodes
literal
q{)q|}q}(h2X ``svn``q~h<}q(hB]qhD]qh@]qh>]qhF]quh4hlh-]qhgX svnqq}q(h2U h4h|ubah:UliteralqubhgXt or via a pre-packaged archive.
We recommend the former, as it is easier to keep your installation up
to date using qq}q(h2Xt or via a pre-packaged archive.
We recommend the former, as it is easier to keep your installation up
to date using qh4hlubh{)q}q(h2X ``svn``qh<}q(hB]qhD]qh@]qh>]qhF]quh4hlh-]qhgX svnqq}q(h2U h4hubah:hubhgX .q}q(h2X .h4hlubeubh/)q}q(h2X .. _getting-mathjax-svn:qh4hMh5h8h:h;h<}q(h>]qh@]qhB]qhD]qhF]qhHh$uhIKhJhh-]qubhL)q}q(h2U h4hMh5h8hO}qhhsh:hQh<}q(hB]qhD]qh@]qh>]q(h)h$ehF]q(hheuhIKhJhhX}qh$hsh-]q(h[)q}q(h2X Obtaining MathJax via SVNqh4hh5h8h:h_h<}q(hB]qhD]qh@]qh>]qhF]quhIKhJhh-]qhgX Obtaining MathJax via SVNqq}q(h2hh4hubaubhk)q}q(h2X The easiest way to get MathJax and keep it up to date is to use the
`subversion `_ source control system,
``svn``. Use the commandsqh4hh5h8h:hoh<}q(hB]qhD]qh@]qh>]qhF]quhIKhJhh-]q(hgXD The easiest way to get MathJax and keep it up to date is to use the
qɅq}q(h2XD The easiest way to get MathJax and keep it up to date is to use the
qh4hubcdocutils.nodes
reference
q)q}q(h2X- `subversion `_qh<}q(UnameqX
subversionqUrefuriqX http://subversion.apache.org/qh>]qh@]qhB]qhD]qhF]quh4hh-]qhgX
subversionq܅q}q(h2U h4hubah:U referencequbh/)q}q(h2X qh<}q(Urefuriqhh>]qh#ah@]qhB]qhD]qhF]qhauh4hh-]qh:h;ubhgX source control system,
q녁q}q(h2X source control system,
qh4hubh{)q}q(h2X ``svn``qh<}q(hB]qhD]qh@]qh>]qhF]quh4hh-]qhgX svnqq}q(h2U h4hubah:hubhgX . Use the commandsqq}q(h2X . Use the commandsqh4hubeubcdocutils.nodes
literal_block
r )r }r (h2Xj svn co http://mathjax.svn.sourceforge.net/svnroot/mathjax/trunk/mathjax mathjax
cd mathjax
unzip fonts.zipr h4hh5h8h:U
literal_blockr h<}r (Ulinenosr Ulanguager X shr U xml:spacer Upreserver
h>]r h@]r hB]r
hD]r hF]r uhIKhJhh-]r hgXj svn co http://mathjax.svn.sourceforge.net/svnroot/mathjax/trunk/mathjax mathjax
cd mathjax
unzip fonts.zipr r }r (h2U h4j ubaubhk)r }r (h2X to obtain and set up a copy of MathJax. (The `SourceForge development
page `_ also shows
how to do this.)r h4hh5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIKhJhh-]r (hgX. to obtain and set up a copy of MathJax. (The r r }r (h2X. to obtain and set up a copy of MathJax. (The r! h4j ubh)r" }r# (h2XQ `SourceForge development
page `_r$ h<}r% (Unamer& X SourceForge development pager' hX/ http://sourceforge.net/projects/mathjax/developr( h>]r) h@]r* hB]r+ hD]r, hF]r- uh4j h-]r. hgX SourceForge development
pager/ r0 }r1 (h2U h4j" ubah:hubh/)r2 }r3 (h2X2 r4 h<}r5 (Urefurir6 j( h>]r7 hah@]r8 hB]r9 hD]r: hF]r; hauh4j h-]r< h:h;ubhgX also shows
how to do this.)r= r> }r? (h2X also shows
how to do this.)r@ h4j ubeubhk)rA }rB (h2X4 Whenever you want to update MathJax, you can now userC h4hh5h8h:hoh<}rD (hB]rE hD]rF h@]rG h>]rH hF]rI uhIK"hJhh-]rJ hgX4 Whenever you want to update MathJax, you can now userK rL }rM (h2jC h4jA ubaubj )rN }rO (h2X cd mathjax
svn statusrP h4hh5h8h:j h<}rQ (j j X shrR j j
h>]rS h@]rT hB]rU hD]rV hF]rW uhIK(hJhh-]rX hgX cd mathjax
svn statusrY rZ }r[ (h2U h4jN ubaubhk)r\ }r] (h2XI to check if there are updates to MathJax. If MathJax needs updating,
user^ h4hh5h8h:hoh<}r_ (hB]r` hD]ra h@]rb h>]rc hF]rd uhIK)hJhh-]re hgXI to check if there are updates to MathJax. If MathJax needs updating,
userf rg }rh (h2j^ h4j\ ubaubj )ri }rj (h2Xh cd mathjax
svn update
# if fonts.zip is updated, do the following as well:
rm -rf fonts
unzip fonts.ziprk h4hh5h8h:j h<}rl (j j X shrm j j
h>]rn h@]ro hB]rp hD]rq hF]rr uhIK3hJhh-]rs hgXh cd mathjax
svn update
# if fonts.zip is updated, do the following as well:
rm -rf fonts
unzip fonts.ziprt ru }rv (h2U h4ji ubaubhk)rw }rx (h2X_ to udpate your copy of MathJax to the current release version. If the
``fonts.zip`` file has been updated, you will need to remove the old
fonts directory and unpack the new one bring your installation up to
date. If you keep MathJax updated in this way, you will be sure that
you have the latest bug fixes and new features as they become
available.ry h4hh5h8h:hoh<}rz (hB]r{ hD]r| h@]r} h>]r~ hF]r uhIK4hJhh-]r (hgXG to udpate your copy of MathJax to the current release version. If the
r r }r (h2XG to udpate your copy of MathJax to the current release version. If the
r h4jw ubh{)r }r (h2X
``fonts.zip``r h<}r (hB]r hD]r h@]r h>]r hF]r uh4jw h-]r hgX fonts.zipr r }r (h2U h4j ubah:hubhgX file has been updated, you will need to remove the old
fonts directory and unpack the new one bring your installation up to
date. If you keep MathJax updated in this way, you will be sure that
you have the latest bug fixes and new features as they become
available.r r }r (h2X file has been updated, you will need to remove the old
fonts directory and unpack the new one bring your installation up to
date. If you keep MathJax updated in this way, you will be sure that
you have the latest bug fixes and new features as they become
available.r h4jw ubeubhk)r }r (h2XC This gets you the current development copy of MathJax, which is the
"bleeding-edge" version that contains all the latest changes to
MathJax. At times, however, these may be less stable than the
"release" version. If you prefer to use the most stable version (that
may not include all the latest patches and features), user h4hh5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIK;hJhh-]r hgXC This gets you the current development copy of MathJax, which is the
"bleeding-edge" version that contains all the latest changes to
MathJax. At times, however, these may be less stable than the
"release" version. If you prefer to use the most stable version (that
may not include all the latest patches and features), user r }r (h2j h4j ubaubj )r }r (h2Xn svn co http://mathjax.svn.sourcesforge.net/svnroot/mathjax/tags/mathjax-1.0 mathajx
cd mathjax
unzip fonts.zipr h4hh5h8h:j h<}r (j j X shr j j
h>]r h@]r hB]r hD]r hF]r uhIKFhJhh-]r hgXn svn co http://mathjax.svn.sourcesforge.net/svnroot/mathjax/tags/mathjax-1.0 mathajx
cd mathjax
unzip fonts.zipr r }r (h2U h4j ubaubhk)r }r (h2X to obtain the version 1.0 release. When you wish to update to a new
release, you will need to check out a new copy of MathJax with the new
release number.r h4hh5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIKGhJhh-]r hgX to obtain the version 1.0 release. When you wish to update to a new
release, you will need to check out a new copy of MathJax with the new
release number.r r }r (h2j h4j ubaubh/)r }r (h2X .. _getting-mathjax-zip:r h4hh5h8h:h;h<}r (h>]r h@]r hB]r hD]r hF]r hHh!uhIKLhJhh-]r ubeubhL)r }r (h2U h4hMh5h8hO}r h j sh:hQh<}r (hB]r hD]r h@]r h>]r (h&h!ehF]r (hh euhIKOhJhhX}r h!j sh-]r (h[)r }r (h2X Obtaining MathJax via an archiver h4j h5h8h:h_h<}r (hB]r hD]r h@]r h>]r hF]r uhIKOhJhh-]r hgX Obtaining MathJax via an archiver r }r (h2j h4j ubaubhk)r }r (h2X Release versions of MathJax are available in archive files from the
`MathJax download page `_ or the
`SourceForge files page
`_, where you can
download the archives that you need.r h4j h5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIKQhJhh-]r (hgXD Release versions of MathJax are available in archive files from the
r r }r (h2XD Release versions of MathJax are available in archive files from the
r h4j ubh)r }r (h2X; `MathJax download page `_r h<}r (Unamer X MathJax download pager hX http://www.mathjax.org/download/r h>]r h@]r hB]r hD]r hF]r uh4j h-]r hgX MathJax download pager r }r (h2U h4j ubah:hubh/)r }r (h2X# r h<}r (Urefurir j h>]r h(ah@]r hB]r hD]r hF]r hauh4j h-]r h:h;ubhgX or the
r r
}r (h2X or the
r h4j ubh)r
}r (h2XJ `SourceForge files page
`_r h<}r (Unamer X SourceForge files pager hX. http://sourceforge.net/projects/mathjax/files/r h>]r h@]r hB]r hD]r hF]r uh4j h-]r hgX SourceForge files pager r }r (h2U h4j
ubah:hubh/)r }r (h2X1
r h<}r (Urefurir! j h>]r" h"ah@]r# hB]r$ hD]r% hF]r& h
auh4j h-]r' h:h;ubhgX4 , where you can
download the archives that you need.r( r) }r* (h2X4 , where you can
download the archives that you need.r+ h4j ubeubhk)r, }r- (h2X You should download the ``MathJax-v1.0.zip`` file, then simply unzip
it. Once the MathJax directory is unpacked, you should move it to the
desired location on your server (or your hard disk, if you are using
it locally rather then through a web server). One natural location is
to put it at the top level of your web server's hierarchy. That would
let you refer to the main MathJax file as ``/MathJax/MathJax.js`` from
within any page on your server.r. h4j h5h8h:hoh<}r/ (hB]r0 hD]r1 h@]r2 h>]r3 hF]r4 uhIKWhJhh-]r5 (hgX You should download the r6 r7 }r8 (h2X You should download the r9 h4j, ubh{)r: }r; (h2X ``MathJax-v1.0.zip``r< h<}r= (hB]r> hD]r? h@]r@ h>]rA hF]rB uh4j, h-]rC hgX MathJax-v1.0.ziprD rE }rF (h2U h4j: ubah:hubhgX\ file, then simply unzip
it. Once the MathJax directory is unpacked, you should move it to the
desired location on your server (or your hard disk, if you are using
it locally rather then through a web server). One natural location is
to put it at the top level of your web server's hierarchy. That would
let you refer to the main MathJax file as rG rH }rI (h2X\ file, then simply unzip
it. Once the MathJax directory is unpacked, you should move it to the
desired location on your server (or your hard disk, if you are using
it locally rather then through a web server). One natural location is
to put it at the top level of your web server's hierarchy. That would
let you refer to the main MathJax file as rJ h4j, ubh{)rK }rL (h2X ``/MathJax/MathJax.js``rM h<}rN (hB]rO hD]rP h@]rQ h>]rR hF]rS uh4j, h-]rT hgX /MathJax/MathJax.jsrU rV }rW (h2U h4jK ubah:hubhgX% from
within any page on your server.rX rY }rZ (h2X% from
within any page on your server.r[ h4j, ubeubeubhL)r\ }r] (h2U h4hMh5h8h:hQh<}r^ (hB]r_ hD]r` h@]ra h>]rb h%ahF]rc h
auhIKahJhh-]rd (h[)re }rf (h2X Testing your installationrg h4j\ h5h8h:h_h<}rh (hB]ri hD]rj h@]rk h>]rl hF]rm uhIKahJhh-]rn hgX Testing your installationro rp }rq (h2jg h4je ubaubhk)rr }rs (h2X^ Use the HTML files in the ``test`` directory to see if your
installation is working properly::rt h4j\ h5h8h:hoh<}ru (hB]rv hD]rw h@]rx h>]ry hF]rz uhIKchJhh-]r{ (hgX Use the HTML files in the r| r} }r~ (h2X Use the HTML files in the r h4jr ubh{)r }r (h2X ``test``r h<}r (hB]r hD]r h@]r h>]r hF]r uh4jr h-]r hgX testr r }r (h2U h4j ubah:hubhgX; directory to see if your
installation is working properly:r r }r (h2X; directory to see if your
installation is working properly:r h4jr ubeubj )r }r (h2X test/
index.html # Tests default configuration
index-images.html # Tests image-font fallback display
sample.html # Sample page with lots of pretty equationsr h4j\ h5h8h:j h<}r (j j
h>]r h@]r hB]r hD]r hF]r uhIKfhJhh-]r hgX test/
index.html # Tests default configuration
index-images.html # Tests image-font fallback display
sample.html # Sample page with lots of pretty equationsr r }r (h2U h4j ubaubhk)r }r (h2X Open these files in your browser to see that they appear to be working
properly. If you have installed MathJax on a server, use the web
address for those files rather than opening them locally. When you
view the ``index.html`` file, you should see (after a few moments) a
message that MathJax appears to be working. If not, you should check
that the files have been transferred to the server completely, that
the fonts archive has been unpacked in the correct location, and that
the permissions allow the server to access the files and folders that
are part of the MathJax directory (be sure to verify the MathJax
folder's permissions as well). Checking the server logs may help
locate problems with the installation.r h4j\ h5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIKkhJhh-]r (hgX Open these files in your browser to see that they appear to be working
properly. If you have installed MathJax on a server, use the web
address for those files rather than opening them locally. When you
view the r r }r (h2X Open these files in your browser to see that they appear to be working
properly. If you have installed MathJax on a server, use the web
address for those files rather than opening them locally. When you
view the r h4j ubh{)r }r (h2X ``index.html``r h<}r (hB]r hD]r h@]r h>]r hF]r uh4j h-]r hgX
index.htmlr r }r (h2U h4j ubah:hubhgX file, you should see (after a few moments) a
message that MathJax appears to be working. If not, you should check
that the files have been transferred to the server completely, that
the fonts archive has been unpacked in the correct location, and that
the permissions allow the server to access the files and folders that
are part of the MathJax directory (be sure to verify the MathJax
folder's permissions as well). Checking the server logs may help
locate problems with the installation.r r }r (h2X file, you should see (after a few moments) a
message that MathJax appears to be working. If not, you should check
that the files have been transferred to the server completely, that
the fonts archive has been unpacked in the correct location, and that
the permissions allow the server to access the files and folders that
are part of the MathJax directory (be sure to verify the MathJax
folder's permissions as well). Checking the server logs may help
locate problems with the installation.r h4j ubeubh/)r }r (h2X .. _cross-domain-linking:r h4j\ h5h8h:h;h<}r (h>]r h@]r hB]r hD]r hF]r hHh+uhIKxhJhh-]r ubeubhL)r }r (h2U h4hMh5h8hO}r hj sh:hQh<}r (hB]r hD]r h@]r h>]r (h h+ehF]r (hheuhIK{hJhhX}r h+j sh-]r (h[)r }r (h2X Notes about shared installationsr h4j h5h8h:h_h<}r (hB]r hD]r h@]r h>]r hF]r uhIK{hJhh-]r hgX Notes about shared installationsr r }r (h2j h4j ubaubhk)r }r (h2XO Typically, you want to have MathJax installed on the same server as
your web pages that use MathJax. There are times, however, when that
may be impractical, or when you want to use a MathJax installation at
a different site. For example, a departmental server at
``www.math.yourcollege.edu`` might like to use a college-wide
installation at ``www.yourcollege.edu`` rather than installing a
separate copy on the departmental machine. MathJax can certainly
be loaded from another server, but there is one imporant caveat ---
Firefox's same-origin security policy for cross-domain scripting.r h4j h5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIK}hJhh-]r (hgX Typically, you want to have MathJax installed on the same server as
your web pages that use MathJax. There are times, however, when that
may be impractical, or when you want to use a MathJax installation at
a different site. For example, a departmental server at
r r }r (h2X Typically, you want to have MathJax installed on the same server as
your web pages that use MathJax. There are times, however, when that
may be impractical, or when you want to use a MathJax installation at
a different site. For example, a departmental server at
r h4j ubh{)r }r (h2X ``www.math.yourcollege.edu``r h<}r (hB]r hD]r h@]r h>]r hF]r uh4j h-]r hgX www.math.yourcollege.edur r }r (h2U h4j ubah:hubhgX2 might like to use a college-wide
installation at r r }r (h2X2 might like to use a college-wide
installation at r h4j ubh{)r }r (h2X ``www.yourcollege.edu``r h<}r (hB]r hD]r h@]r h>]r hF]r uh4j h-]r hgX www.yourcollege.edur r }r
(h2U h4j ubah:hubhgX rather than installing a
separate copy on the departmental machine. MathJax can certainly
be loaded from another server, but there is one imporant caveat ---
Firefox's same-origin security policy for cross-domain scripting.r r }r
(h2X rather than installing a
separate copy on the departmental machine. MathJax can certainly
be loaded from another server, but there is one imporant caveat ---
Firefox's same-origin security policy for cross-domain scripting.r h4j ubeubhk)r }r (h2X Firefox’s interpretation of the same-origin policy is more strict than
most other browsers, and it affects how fonts are loaded with the
`@font-face` CSS directive. MathJax uses this directory to load
web-based math fonts into a page when the user doesn't have them
installed locally on their own computer. Firefox's security policy,
however, only allows this when the fonts come from the same server as
the web page itself, so if you load MathJax (and hence its web fonts)
from a different server, Firefox won't be able to access those web
fonts. In this case, MathJax will pause while waiting for the font to
download (which will never happen) and will time out after about 15
seconds for each font it tries to access. Typically that is three or
four fonts, so your Foirefox users will experience a minute or so
delay before mathematics is displayed, and then it will probably
display incorrectly because the browser doesn't have access to the
correct fonts.r h4j h5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIKhJhh-]r (hgX Firefox’s interpretation of the same-origin policy is more strict than
most other browsers, and it affects how fonts are loaded with the
r r }r (h2X Firefox’s interpretation of the same-origin policy is more strict than
most other browsers, and it affects how fonts are loaded with the
r h4j ubcdocutils.nodes
title_reference
r )r }r (h2X `@font-face`r h<}r! (hB]r" hD]r# h@]r$ h>]r% hF]r& uh4j h-]r' hgX
@font-facer( r) }r* (h2U h4j ubah:Utitle_referencer+ ubhgX/ CSS directive. MathJax uses this directory to load
web-based math fonts into a page when the user doesn't have them
installed locally on their own computer. Firefox's security policy,
however, only allows this when the fonts come from the same server as
the web page itself, so if you load MathJax (and hence its web fonts)
from a different server, Firefox won't be able to access those web
fonts. In this case, MathJax will pause while waiting for the font to
download (which will never happen) and will time out after about 15
seconds for each font it tries to access. Typically that is three or
four fonts, so your Foirefox users will experience a minute or so
delay before mathematics is displayed, and then it will probably
display incorrectly because the browser doesn't have access to the
correct fonts.r, r- }r. (h2X/ CSS directive. MathJax uses this directory to load
web-based math fonts into a page when the user doesn't have them
installed locally on their own computer. Firefox's security policy,
however, only allows this when the fonts come from the same server as
the web page itself, so if you load MathJax (and hence its web fonts)
from a different server, Firefox won't be able to access those web
fonts. In this case, MathJax will pause while waiting for the font to
download (which will never happen) and will time out after about 15
seconds for each font it tries to access. Typically that is three or
four fonts, so your Foirefox users will experience a minute or so
delay before mathematics is displayed, and then it will probably
display incorrectly because the browser doesn't have access to the
correct fonts.r/ h4j ubeubhk)r0 }r1 (h2X7 There is a solution to this, however, if you manage the server where
MathJax is installed, and if that server is running the `Apache web
server `_. In the remote server's
``MathJax/fonts/HTML-CSS/TeX/otf`` folder, create a file called
``.htaccess`` that contains the following lines: ::r2 h4j h5h8h:hoh<}r3 (hB]r4 hD]r5 h@]r6 h>]r7 hF]r8 uhIKhJhh-]r9 (hgX} There is a solution to this, however, if you manage the server where
MathJax is installed, and if that server is running the r: r; }r< (h2X} There is a solution to this, however, if you manage the server where
MathJax is installed, and if that server is running the r= h4j0 ubh)r> }r? (h2X- `Apache web
server `_r@ h<}rA (UnamerB X Apache web serverrC hX http://www.apache.org/rD h>]rE h@]rF hB]rG hD]rH hF]rI uh4j0 h-]rJ hgX Apache web
serverrK rL }rM (h2U h4j> ubah:hubh/)rN }rO (h2X rP h<}rQ (UrefurirR jD h>]rS hah@]rT hB]rU hD]rV hF]rW hauh4j0 h-]rX h:h;ubhgX . In the remote server's
rY rZ }r[ (h2X . In the remote server's
r\ h4j0 ubh{)r] }r^ (h2X" ``MathJax/fonts/HTML-CSS/TeX/otf``r_ h<}r` (hB]ra hD]rb h@]rc h>]rd hF]re uh4j0 h-]rf hgX MathJax/fonts/HTML-CSS/TeX/otfrg rh }ri (h2U h4j] ubah:hubhgX folder, create a file called
rj rk }rl (h2X folder, create a file called
rm h4j0 ubh{)rn }ro (h2X
``.htaccess``rp h<}rq (hB]rr hD]rs h@]rt h>]ru hF]rv uh4j0 h-]rw hgX .htaccessrx ry }rz (h2U h4jn ubah:hubhgX# that contains the following lines:r{ r| }r} (h2X# that contains the following lines:r~ h4j0 ubeubj )r }r (h2X}
Header set Access-Control-Allow-Origin "*"
r h4j h5h8h:j h<}r (j j
h>]r h@]r hB]r hD]r hF]r uhIKhJhh-]r hgX}
Header set Access-Control-Allow-Origin "*"
r r }r (h2U h4j ubaubhk)r }r (h2XY and make sure the permissions allow the server to read this file.
(The file's name starts with a period, which causes it to be an
"invisible" file on unix-based operating systems. Some systems,
particularly graphic user interfaces, may not allow you to create such
files, so you might need to use the command-line interface to
accomplish this.)r h4j h5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIKhJhh-]r hgXY and make sure the permissions allow the server to read this file.
(The file's name starts with a period, which causes it to be an
"invisible" file on unix-based operating systems. Some systems,
particularly graphic user interfaces, may not allow you to create such
files, so you might need to use the command-line interface to
accomplish this.)r r }r (h2j h4j ubaubhk)r }r (h2X* This file should make it possible for pages at other sites to load
MathJax from this server in such a way that Firefox will be able to
download the web-based fonts. If you want to restrict the sites that
can access the web fonts, change the ``Access-Control-Allow-Origin``
line to something like::r h4j h5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIKhJhh-]r (hgX This file should make it possible for pages at other sites to load
MathJax from this server in such a way that Firefox will be able to
download the web-based fonts. If you want to restrict the sites that
can access the web fonts, change the r r }r (h2X This file should make it possible for pages at other sites to load
MathJax from this server in such a way that Firefox will be able to
download the web-based fonts. If you want to restrict the sites that
can access the web fonts, change the r h4j ubh{)r }r (h2X ``Access-Control-Allow-Origin``r h<}r (hB]r hD]r h@]r h>]r hF]r uh4j h-]r hgX Access-Control-Allow-Originr r }r (h2U h4j ubah:hubhgX
line to something like:r r }r (h2X
line to something like:r h4j ubeubj )r }r (h2XH Header set Access-Control-Allow-Origin "http://www.math.yourcollege.edu"r h4j h5h8h:j h<}r (j j
h>]r h@]r hB]r hD]r hF]r uhIKhJhh-]r hgXH Header set Access-Control-Allow-Origin "http://www.math.yourcollege.edu"r r }r (h2U h4j ubaubhk)r }r (h2X so that only pages at ``www.math.yourcollege.edu`` will be able to
download the fonts from this site. See the open font library
discussion of `web-font linking
`_
for more details.r h4j h5h8h:hoh<}r (hB]r hD]r h@]r h>]r hF]r uhIKhJhh-]r (hgX so that only pages at r r }r (h2X so that only pages at r h4j ubh{)r }r (h2X ``www.math.yourcollege.edu``r h<}r (hB]r hD]r h@]r h>]r hF]r uh4j h-]r hgX www.math.yourcollege.edur r }r (h2U h4j ubah:hubhgX] will be able to
download the fonts from this site. See the open font library
discussion of r r }r (h2X] will be able to
download the fonts from this site. See the open font library
discussion of r h4j ubh)r }r (h2Xh `web-font linking
`_r h<}r (Unamer X web-font linkingr hXR http://openfontlibrary.org/wiki/Web_Font_linking_and_Cross-Origin_Resource_Sharingr h>]r h@]r hB]r hD]r hF]r uh4j h-]r hgX web-font linkingr r }r (h2U h4j ubah:hubh/)r }r (h2XU
r h<}r (Urefurir j h>]r h,ah@]r hB]r hD]r hF]r hauh4j h-]r h:h;ubhgX
for more details.r r }r (h2X
for more details.r h4j ubeubeubeubeh2U Utransformerr NU
footnote_refsr }r Urefnamesr }r Usymbol_footnotesr ]r Uautofootnote_refsr
]r Usymbol_footnote_refsr ]r
U citationsr ]r hJhUcurrent_liner NUtransform_messagesr ]r (cdocutils.nodes
system_message
r )r }r (h2U h<}r (hB]r Ulevelr Kh>]r h@]r Usourcer h8hD]r hF]r Uliner KUtyper UINFOr uh-]r! hk)r" }r# (h2U h<}r$ (hB]r% hD]r& h@]r' h>]r( hF]r) uh4j h-]r* hgX2 Hyperlink target "installation" is not referenced.r+ r, }r- (h2U h4j" ubah:houbah:Usystem_messager. ubj )r/ }r0 (h2U h<}r1 (hB]r2 Ulevelr3 Kh>]r4 h@]r5 Usourcer6 h8hD]r7 hF]r8 Uliner9 KUtyper: j uh-]r; hk)r< }r= (h2U h<}r> (hB]r? hD]r@ h@]rA h>]rB hF]rC uh4j/ h-]rD hgX9 Hyperlink target "getting-mathjax-svn" is not referenced.rE rF }rG (h2U h4j< ubah:houbah:j. ubj )rH }rI (h2U h<}rJ (hB]rK UlevelrL Kh>]rM h@]rN UsourcerO h8hD]rP hF]rQ UlinerR KUtyperS j uh-]rT hk)rU }rV (h2U h<}rW (hB]rX hD]rY h@]rZ h>]r[ hF]r\ uh4jH h-]r] hgX0 Hyperlink target "subversion" is not referenced.r^ r_ }r` (h2U h4jU ubah:houbah:j. ubj )ra }rb (h2U h<}rc (hB]rd Ulevelre Kh>]rf h@]rg Usourcerh h8hD]ri hF]rj Ulinerk KUtyperl j uh-]rm hk)rn }ro (h2U h<}rp (hB]rq hD]rr h@]rs h>]rt hF]ru uh4ja h-]rv hgXB Hyperlink target "sourceforge development page" is not referenced.rw rx }ry (h2U h4jn ubah:houbah:j. ubj )rz }r{ (h2U h<}r| (hB]r} Ulevelr~ Kh>]r h@]r Usourcer h8hD]r hF]r Uliner KLUtyper j uh-]r hk)r }r (h2U h<}r (hB]r hD]r h@]r h>]r hF]r uh4jz h-]r hgX9 Hyperlink target "getting-mathjax-zip" is not referenced.r r }r (h2U h4j ubah:houbah:j. ubj )r }r (h2U h<}r (hB]r Ulevelr Kh>]r h@]r Usourcer h8hD]r hF]r Uliner KQUtyper j uh-]r hk)r }r (h2U h<}r (hB]r hD]r h@]r h>]r hF]r uh4j h-]r hgX; Hyperlink target "mathjax download page" is not referenced.r r }r (h2U h4j ubah:houbah:j. ubj )r }r (h2U h<}r (hB]r Ulevelr Kh>]r h@]r Usourcer h8hD]r hF]r Uliner KQUtyper j uh-]r hk)r }r (h2U h<}r (hB]r hD]r h@]r h>]r hF]r uh4j h-]r hgX<