I am doing all check out of documentation locally. The pdf file (also rst and html) is on my computer. Note that I just upgraded my computer. Before (Amd Phenom II, 6 cores) the Mathjax took 15 seconds to render.

On 06/06/2014 07:21 PM, Aaron Meurer wrote:
Did that include time downloading the pdf from the internet?

Aaron Meurer

On Fri, Jun 6, 2014 at 6:13 PM, Alan Bromborsky <abro...@verizon.net> wrote:
Locally on my computer (i7, 6 cores, 3.2 GHz) it took 8 seconds for the
mathjax to render.  The pdf file (928 kB) took less than a second to load
and display.
I also agree that the png display looks really bad.


On 06/06/2014 06:43 PM, Aaron Meurer wrote:
The png math looks terrible on high resolution displays, so I am -1
for that reason. It's also less accessible (e.g., screen readers
cannot do anything with it).

I don't think 15 seconds is that bad. You will wait longer than that
for a PDF to download.

Aaron Meurer

On Wed, Jun 4, 2014 at 8:49 AM, Alan Bromborsky <abro...@verizon.net>
wrote:
On 06/03/2014 11:40 AM, Ondřej Čertík wrote:
On Tue, Jun 3, 2014 at 6:16 AM, Alan Bromborsky <abro...@verizon.net>
wrote:
I am currently rewriting the documentation for the GA module and
because
of
the equations (more that even before) it has gotten ridiculous in
python-sphinx due to the speed of mathjax (it takes about 15 seconds to
render the documentation in Firefox ever time I open it) and the
limitations
of using latex macros in sphinx with mathjax rendering.
Indeed, I don't use mathjax for my notes in Sphinx precisely for the
reason you mentioned.

However, it is possible to use the latex png output, then it works
great. Maybe we
can switch to it with SymPy.

Would the following solution be acceptable -

Drastically simplify the sphinx documentation (basically limit it to
the
user interface for GA) and include all the explanatory math background
with
derivations and examples in a pdf document(s) (latex generated) linked
to
the sphinx documentation.
If we don't switch to the png printer in Sphinx, then I think this is
the only solution.

Question -

I know I can link pdf documents to the sphinx documents and I know I
can
further link other pdf documents to the primary pdf document if I open
the
primary pdf document in a pdf viewer like evince or acroread.  However,
if
the primary pdf document is opened in the Firefox pdf viewer (as would
be
done if the document is opened from the sphinx documentation) I cannot
link
to further pdf documents. Does anyone understand this problem and know
of
an
solution to it?
I think it's because Firefox is using its own pdf viewer, so perhaps
it doesn't support it.

Aaron, is there any argument against switching to the png based math?
That fixes all these problems.

Ondrej

More about link python-sphinx to pdf:

The following works (in the rst file) - :download:`GA
<../LaTeX_docs/GA.pdf>`
to open GA.pdf at the beginning.
The following does not work - :download:`GA
<../LaTeX_docs/GA.pdf#page=12>`
to open GA.pdf at page 12. However if I use - :download:`GA
<../LaTeX_docs/GA.pdf>`
in the rst file and then change - _downloads/GA.pdf
in the html file to - _downloads/GA.pdf#page=12
then the link does open on page 12. Do you know of anyway to code this
directly in the rst file?


--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/538F23FE.6020307%40verizon.net.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/53924B23.9060405%40verizon.net.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/53924DE1.3050208%40verizon.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to