#14382: Fix LaTeXing of strings
--------------------------------------+-----------------------------
       Reporter:  novoselt            |         Owner:  was
           Type:  defect              |        Status:  needs_review
       Priority:  major               |     Milestone:  sage-5.11
      Component:  user interface      |    Resolution:
       Keywords:  latex               |     Merged in:
        Authors:  Andrey Novoseltsev  |     Reviewers:
Report Upstream:  N/A                 |   Work issues:
         Branch:                      |  Dependencies:
       Stopgaps:                      |
--------------------------------------+-----------------------------

Old description:

> #11498 made "ASCII-art" strings look reasonably well when displayed via
> LaTeX methods. One of the changes was damaged in #9774, resulting in
> invalid LaTeX code that works in MathJax, but not in SageTeX. Let's fix
> it again.
>
> '''Apply''' [attachment:trac_14382_fix_latex_of_strings.patch] and
> [attachment:trac_14382_doctests.patch]

New description:

 #11498 made "ASCII-art" strings look reasonably well when displayed via
 LaTeX methods. One of the changes was damaged in #9774, resulting in
 invalid LaTeX code that works in MathJax, but not in SageTeX. Let's fix it
 again.

 Apply [attachment:trac_14382-texttt.patch].

--

Comment (by jhpalmieri):

 Looks okay except that `\tt` [http://www.ctan.org/tex-archive/info/l2tabu/
 is an obsolete command], and `\texttt` should be used instead. I've
 attached a new patch which does this, along with a `delta` patch which
 shows the difference between my patch and your two patches. All tests pass
 for me and the output looks the same as with `\tt`.

--
Ticket URL: <http://trac.sagemath.org/ticket/14382#comment:32>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to