Opened 8 years ago
Closed 7 years ago
#683 closed defect (fixed)
[with patch] bug in "latex?" in the notebook
Reported by: | was | Owned by: | boothby |
---|---|---|---|
Priority: | major | Milestone: | sage-2.8.12 |
Component: | notebook | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
-- The response to `latex?' seems to be out of date. %latex The equation y^2 = x^3 + x defines an elliptic curve. We have 2006 = SAGE{factor(2006)}. I thought it was a great credit to SAGE that when I edited the sample input in what seemed the obvious way, enclosing the math in $$ and changing SAGE to \sage, that it worked as expected.
Ah, you've found a bug. What happens is that all SAGE documentation
is de-texed before displaying in the notebook (in plain text format). Unfortunately
this detexing makes the documentation for latex appear completely
wrong!
The solution is probably to come up with a notation to tell SAGE not
to do the detexing.
Attachments (1)
Change History (4)
comment:1 Changed 7 years ago by was
- Milestone changed from sage-2.9.1 to sage-2.8.12
Changed 7 years ago by ncalexan
comment:2 Changed 7 years ago by ncalexan
- Summary changed from bug in "latex?" in the notebook to [with patch] bug in "latex?" in the notebook
comment:3 Changed 7 years ago by mabshoff
- Resolution set to fixed
- Status changed from new to closed
applied to 2.8.12.rc0
Note: See
TracTickets for help on using
tickets.
683,989: add 'nodetex' directive to docstrings: doesn't strip (la)tex code from docstrings.
The first line of a docstring is parsed as a comma-separated list of
directives (no whitespace in directives!). For example:
If 'nodetex' is one of the directives, then no (la)tex code is stripped from
the docstring. The model was the 'nodoctest' directive already found at the
top of a file.