#14714: Correct latex generated by DyckWord class
---------------------------------+------------------------------------------
Reporter: zabrocki | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.11
Component: combinatorics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: zabrocki | Merged in:
Dependencies: #14712 | Stopgaps:
---------------------------------+------------------------------------------
Old description:
> (bug reported by ncohen on ticket #13550) The latex generated by
> {{{DyckWord}}} causes an error in the command
> {{{view(DyckWord([1,0]))}}}. This was due to a parameter sent to a \draw
> command being incorrect and because the {{{tikz}}} package was added to
> the preamble late in the drawing process. The problem with the package
> being added late was fixed in #14712. This also fixes a bug where the
> peaks and valleys option is incompatible with the bounce path option.
New description:
(bug reported by ncohen on ticket #13550) The latex generated by
{{{DyckWord}}} causes an error in the command {{{view(DyckWord([1,0]))}}}.
This was due to a parameter sent to a \draw command being incorrect and
because the {{{tikz}}} package was added to the preamble late in the
drawing process. The problem with the package being added late was fixed
in #14712. This also fixes a bug where the peaks and valleys option is
incompatible with the bounce path option.
Apply: trac_14714_latex_dyckword_fix.2.patch
--
Comment (by zabrocki):
I didn't know how to test the latex output before, so I didn't add such a
test. I think this should do it.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14714#comment:8>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.