#12819: Fix crossreferences in latex equations
-----------------------------------------+----------------------------------
Reporter: ppurka | Owner: jason
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: misc | Resolution:
Keywords: latex cross-reference | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------+----------------------------------
Comment (by novoselt):
The performance hit is one system call (which seems to be about 0.1sec
using cache depending on the system) plus the actual running time of
LaTeX. This may seem small, but I think it can be an issue in two
situations: a heavily used server for many users and a worksheet with a
lot of latex pieces, e.g. all outputs of cells can be run through the
actual LaTeX if they are using something not supported by jsmath.
I don't have any numbers to support my concerns and I am not quite sure
how to get them, but it seems to me that latex should not be run the
second time unless necessary, because usually it is not necessary. And
sometimes two times are not sufficient.
A better solution would be to keep the crossreference data from the
previous run, so that second evaluation of the cell would make the
references work. Perhaps we can even show the warning from LaTeX about
possibly wrong references (and any other warnings for that matter). This
will make it work closer to the actual LaTeX and I expect those who use
label to know that the second run is necessary and not be surprised by
question marks.
Even better would be to support sectioning and labels and hyperlinks
across the whole worksheet, which I think would be much more useful then
references within a single sell, but I have no idea how difficult it is to
make it work this way. I imagine - not easy.
I am not volunteering to implement either of these approach and perhaps
the posted patch is just fine, I just want the reviewer who sets it to
positive review think about this issues.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12819#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.