Opened 6 years ago

Closed 6 years ago

#14714 closed defect (fixed)

Correct latex generated by DyckWord class

Reported by: zabrocki Owned by: sage-combinat
Priority: major Milestone: sage-5.11
Component: combinatorics Keywords:
Cc: ncohen, stumpc5 Merged in: sage-5.11.rc0
Authors: Mike Zabrocki Reviewers: Travis Scrimshaw, Christian Stump
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #14712 Stopgaps:

Description (last modified by zabrocki)

(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.patch

Attachments (1)

trac_14714_latex_dyckword_fix.patch (5.0 KB) - added by zabrocki 6 years ago.

Download all attachments as: .zip

Change History (21)

comment:1 Changed 6 years ago by zabrocki

  • Component changed from PLEASE CHANGE to combinatorics
  • Owner changed from tbd to sage-combinat
  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 6 years ago by zabrocki

There were a couple of bugs going on here

bug 1 - there were a couple of places producing the latex line width=2px when it should read line width=2 (and there should be no px). This has an easy fix.

bug 2 - seemed to be a little more subtle and I feel like I discovered how to fix it, but others will also waste time trying to figure this out if something else isn't changed (either the documentation or the code for latex).

when _latex_file_ produces code it does it in the following order:

  1. create latex header/preamble
  2. latex each object in a list
  3. latex end document

However what we were assuming in view(DyckWord([1,0])) is that we would edit the preamble when the object was latex'ed to add the tikz package. This caused an error the first time that view was called, but the second time that view was called the tikz package was in the header and so it worked fine.

I found out that the way to make this work properly is to ensure that the tikz package is added to the preamble when the DyckWord is created in the __init___ method. This seems a little overkill since it seems that any time you call a DyckWord into creation, it adds the tikz package into the preamble even if you never latex a DyckWord object.

Minimum fix of this problem should document that latex.add_package_to_preamble_if_available should be called before an object that requires the package is latexed (that is, the method _latex_ should never call the function latex.add_package_to_preamble_if_available, it should always be done in the __init__). I checked and the only other code that uses the latex.add_package_to_preamble_if_available is graphs and it is also the case that the tikz package is added in the __init__ method.

I will add a patch which corrects these bugs shortly.

comment:3 Changed 6 years ago by zabrocki

This patch fixes the problem, but I will look tomorrow and see if I need to add/edit more doc tests.

comment:4 Changed 6 years ago by ncohen

Helloooooooooooooooo !!

Actually I wrote in #14712 something which fixes this LaTeX problem. It was actually while writing it that I found this bug with DyckWord?. When #14712 is applied you can add the calls to add_preamble to the ._latex_() function and everything goes fine.

Sorry, I should have mentionned it. But I did not know that I would fix this problem at that time :-/

Nathann

comment:5 Changed 6 years ago by zabrocki

  • Dependencies set to #14712

Awesome. This is exactly a change that I had done in a separate patch but I didn't want to muck around with misc/latex.py in a patch fixing DyckWord. It took me much longer to find the problem than I would have liked. I'll update the patch so that it doesn't move the latex.add_package_to_preamble_if_available line.

comment:6 Changed 6 years ago by zabrocki

  • Description modified (diff)
  • Status changed from new to needs_review

I made a few changes to the latex output so that the bounce path will be displayed if peaks and valleys are displayed too (bug fix: these two options were not compatible before)

I made a few aesthetic choices in these changes. bounce path is a different color than the peak/valley points. the valleys and peaks are filled and drawn below the path rather than on top

comment:7 Changed 6 years ago by stumpc5

Could you maybe add a doctest checking that the problem reported on this ticket is indeed fixed? I'd then give it a positive review. Thanks, Christian

comment:8 Changed 6 years ago by zabrocki

  • Description modified (diff)

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.

comment:9 Changed 6 years ago by tscrim

  • Authors changed from zabrocki to Mike Zabrocki

I uploaded a review patch which added an extra doctest (based on the first version), apparently about the same time you did Mike. Christian, feel free to choose what (one or both) doctests you prefer.

comment:10 Changed 6 years ago by zabrocki

I will merge the two patches because they each check something different. Mine checks that the latex output is accepted by the latex engine, Travis' checks the output with a bounce path and peak/valley points.

comment:11 Changed 6 years ago by zabrocki

  • Description modified (diff)

I combined Travis' patch and mine and rearranged the tests so that an error is raised if #14712 is not applied, but that it passes if it is.

comment:12 Changed 6 years ago by tscrim

  • Reviewers set to Travis Scrimshaw, Christian Stump
  • Status changed from needs_review to positive_review

Now we are just waiting on #14712. Thanks Mike.

comment:13 Changed 6 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-pending

comment:14 Changed 6 years ago by tscrim

  • Milestone changed from sage-pending to sage-5.11

comment:15 Changed 6 years ago by jdemeyer

  • Status changed from positive_review to needs_work
sage -t --long devel/sage/sage/combinat/dyck_word.py
**********************************************************************
File "devel/sage/sage/combinat/dyck_word.py", line 708, in sage.combinat.dyck_word.DyckWord_class._latex_
Failed example:
    _run_latex_(file, engine="pdflatex")
Expected:
    'pdf'
Got:
    Error: PDFLaTeX does not seem to be installed.  Download it from
    ctan.org and try again.
    'Error'
**********************************************************************

comment:16 Changed 6 years ago by jdemeyer

Even on some systems with pdflatex (but possibly an outdated version):

sage -t --long devel/sage/sage/combinat/dyck_word.py
**********************************************************************
File "devel/sage/sage/combinat/dyck_word.py", line 708, in sage.combinat.dyck_word.DyckWord_class._latex_
Failed example:
    _run_latex_(file, engine="pdflatex")
Expected:
    'pdf'
Got:
    An error occurred.
    This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2007.2.11)  20 JUN 2013 12:27
    entering extended mode
     %&-line parsing enabled.
    **\nonstopmode \input{temp.tex}
    (./temp.tex (/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
    (/usr/local/texlive/2007/texmf-dist/tex/latex/base/size10.clo
    File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
    )
    \c@part=\count79
    \c@section=\count80
    \c@subsection=\count81
    \c@subsubsection=\count82
    \c@paragraph=\count83
    \c@subparagraph=\count84
    \c@figure=\count85
    \c@table=\count86
    \abovecaptionskip=\skip41
    \belowcaptionskip=\skip42
    \bibindent=\dimen102
    )
    (/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsmath.sty
    Package: amsmath 2000/07/18 v2.13 AMS math features
    \@mathmargin=\skip43
    <BLANKLINE>
    For additional information on amsmath, use the `?' option.
    (/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amstext.sty
    Package: amstext 2000/06/29 v2.01
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsgen.sty
    File: amsgen.sty 1999/11/30 v2.0
    \@emptytoks=\toks14
    \ex@=\dimen103
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsbsy.sty
    Package: amsbsy 1999/11/29 v1.2d
    \pmbraise@=\dimen104
    )
    (/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsopn.sty
    Package: amsopn 1999/12/14 v2.01 operator names
    )
    \inf@bad=\count87
    LaTeX Info: Redefining \frac on input line 211.
    \uproot@=\count88
    \leftroot@=\count89
    LaTeX Info: Redefining \overline on input line 307.
    \classnum@=\count90
    \DOTSCASE@=\count91
    LaTeX Info: Redefining \ldots on input line 379.
    LaTeX Info: Redefining \dots on input line 382.
    LaTeX Info: Redefining \cdots on input line 467.
    \Mathstrutbox@=\box26
    \strutbox@=\box27
    \big@size=\dimen105
    LaTeX Font Info:    Redeclaring font encoding OML on input line 567.
    LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
    \macc@depth=\count92
    \c@MaxMatrixCols=\count93
    \dotsspace@=\muskip10
    \c@parentequation=\count94
    \dspbrk@lvl=\count95
    \tag@help=\toks15
    \row@=\count96
    \column@=\count97
    \maxfields@=\count98
    \andhelp@=\toks16
    \eqnshift@=\dimen106
    \alignsep@=\dimen107
    \tagshift@=\dimen108
    \tagwidth@=\dimen109
    \totwidth@=\dimen110
    \lineht@=\dimen111
    \@envbody=\toks17
    \multlinegap=\skip44
    \multlinetaggap=\skip45
    \mathdisplay@stack=\toks18
    LaTeX Info: Redefining \[ on input line 2666.
    LaTeX Info: Redefining \] on input line 2667.
    )
    (/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amssymb.sty
    Package: amssymb 2002/01/22 v2.2d
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amsfonts.sty
    Package: amsfonts 2001/10/25 v2.2f
    \symAMSa=\mathgroup4
    \symAMSb=\mathgroup5
    LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
    (Font)                  U/euf/m/n --> U/euf/b/n on input line 132.
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphicx.sty
    Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/keyval.sty
    Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
    \KV@toks@=\toks19
    )
    (/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphics.sty
    Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/trig.sty
    Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
    )
    (/usr/local/texlive/2007/texmf/tex/latex/config/graphics.cfg
    File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
    )
    Package graphics Info: Driver file: pdftex.def on input line 90.
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pdftex-def/pdftex.def
    File: pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
    \Gread@gobject=\count99
    ))
    \Gin@req@height=\dimen112
    \Gin@req@width=\dimen113
    )
    (/usr/local/texlive/2007/texmf-dist/tex/latex/base/inputenc.sty
    Package: inputenc 2006/05/05 v1.1b Input encoding file
    \inpenc@prehook=\toks20
    \inpenc@posthook=\toks21
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/base/utf8.def
    File: utf8.def 2006/03/30 v1.1i UTF-8 support for inputenc
    Now handling font encoding OML ...
    ... no UTF-8 mapping file for font encoding OML
    Now handling font encoding T1 ...
    ... processing UTF-8 mapping file for font encodingT1
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1enc.dfu
    File: t1enc.dfu 2006/03/30 v1.1i UTF-8 support for inputenc
       defining Unicode char U+00A1 (decimal 161)
       defining Unicode char U+00A3 (decimal 163)
       defining Unicode char U+00AB (decimal 171)
       defining Unicode char U+00BB (decimal 187)
       defining Unicode char U+00BF (decimal 191)
       defining Unicode char U+00C0 (decimal 192)
       defining Unicode char U+00C1 (decimal 193)
       defining Unicode char U+00C2 (decimal 194)
       defining Unicode char U+00C3 (decimal 195)
       defining Unicode char U+00C4 (decimal 196)
       defining Unicode char U+00C5 (decimal 197)
       defining Unicode char U+00C6 (decimal 198)
       defining Unicode char U+00C7 (decimal 199)
       defining Unicode char U+00C8 (decimal 200)
       defining Unicode char U+00C9 (decimal 201)
       defining Unicode char U+00CA (decimal 202)
       defining Unicode char U+00CB (decimal 203)
       defining Unicode char U+00CC (decimal 204)
       defining Unicode char U+00CD (decimal 205)
       defining Unicode char U+00CE (decimal 206)
       defining Unicode char U+00CF (decimal 207)
       defining Unicode char U+00D0 (decimal 208)
       defining Unicode char U+00D1 (decimal 209)
       defining Unicode char U+00D2 (decimal 210)
       defining Unicode char U+00D3 (decimal 211)
       defining Unicode char U+00D4 (decimal 212)
       defining Unicode char U+00D5 (decimal 213)
       defining Unicode char U+00D6 (decimal 214)
       defining Unicode char U+00D8 (decimal 216)
       defining Unicode char U+00D9 (decimal 217)
       defining Unicode char U+00DA (decimal 218)
       defining Unicode char U+00DB (decimal 219)
       defining Unicode char U+00DC (decimal 220)
       defining Unicode char U+00DD (decimal 221)
       defining Unicode char U+00DE (decimal 222)
       defining Unicode char U+00DF (decimal 223)
       defining Unicode char U+00E0 (decimal 224)
       defining Unicode char U+00E1 (decimal 225)
       defining Unicode char U+00E2 (decimal 226)
       defining Unicode char U+00E3 (decimal 227)
       defining Unicode char U+00E4 (decimal 228)
       defining Unicode char U+00E5 (decimal 229)
       defining Unicode char U+00E6 (decimal 230)
       defining Unicode char U+00E7 (decimal 231)
       defining Unicode char U+00E8 (decimal 232)
       defining Unicode char U+00E9 (decimal 233)
       defining Unicode char U+00EA (decimal 234)
       defining Unicode char U+00EB (decimal 235)
       defining Unicode char U+00EC (decimal 236)
       defining Unicode char U+00ED (decimal 237)
       defining Unicode char U+00EE (decimal 238)
       defining Unicode char U+00EF (decimal 239)
       defining Unicode char U+00F0 (decimal 240)
       defining Unicode char U+00F1 (decimal 241)
       defining Unicode char U+00F2 (decimal 242)
       defining Unicode char U+00F3 (decimal 243)
       defining Unicode char U+00F4 (decimal 244)
       defining Unicode char U+00F5 (decimal 245)
       defining Unicode char U+00F6 (decimal 246)
       defining Unicode char U+00F8 (decimal 248)
       defining Unicode char U+00F9 (decimal 249)
       defining Unicode char U+00FA (decimal 250)
       defining Unicode char U+00FB (decimal 251)
       defining Unicode char U+00FC (decimal 252)
       defining Unicode char U+00FD (decimal 253)
       defining Unicode char U+00FE (decimal 254)
       defining Unicode char U+00FF (decimal 255)
       defining Unicode char U+0102 (decimal 258)
       defining Unicode char U+0103 (decimal 259)
       defining Unicode char U+0104 (decimal 260)
       defining Unicode char U+0105 (decimal 261)
       defining Unicode char U+0106 (decimal 262)
       defining Unicode char U+0107 (decimal 263)
       defining Unicode char U+010C (decimal 268)
       defining Unicode char U+010D (decimal 269)
       defining Unicode char U+010E (decimal 270)
       defining Unicode char U+010F (decimal 271)
       defining Unicode char U+0110 (decimal 272)
       defining Unicode char U+0111 (decimal 273)
       defining Unicode char U+0118 (decimal 280)
       defining Unicode char U+0119 (decimal 281)
       defining Unicode char U+011A (decimal 282)
       defining Unicode char U+011B (decimal 283)
       defining Unicode char U+011E (decimal 286)
       defining Unicode char U+011F (decimal 287)
       defining Unicode char U+0130 (decimal 304)
       defining Unicode char U+0131 (decimal 305)
       defining Unicode char U+0132 (decimal 306)
       defining Unicode char U+0133 (decimal 307)
       defining Unicode char U+0139 (decimal 313)
       defining Unicode char U+013A (decimal 314)
       defining Unicode char U+013D (decimal 317)
       defining Unicode char U+013E (decimal 318)
       defining Unicode char U+0141 (decimal 321)
       defining Unicode char U+0142 (decimal 322)
       defining Unicode char U+0143 (decimal 323)
       defining Unicode char U+0144 (decimal 324)
       defining Unicode char U+0147 (decimal 327)
       defining Unicode char U+0148 (decimal 328)
       defining Unicode char U+014A (decimal 330)
       defining Unicode char U+014B (decimal 331)
       defining Unicode char U+0150 (decimal 336)
       defining Unicode char U+0151 (decimal 337)
       defining Unicode char U+0152 (decimal 338)
       defining Unicode char U+0153 (decimal 339)
       defining Unicode char U+0154 (decimal 340)
       defining Unicode char U+0155 (decimal 341)
       defining Unicode char U+0158 (decimal 344)
       defining Unicode char U+0159 (decimal 345)
       defining Unicode char U+015A (decimal 346)
       defining Unicode char U+015B (decimal 347)
       defining Unicode char U+015E (decimal 350)
       defining Unicode char U+015F (decimal 351)
       defining Unicode char U+0160 (decimal 352)
       defining Unicode char U+0161 (decimal 353)
       defining Unicode char U+0162 (decimal 354)
       defining Unicode char U+0163 (decimal 355)
       defining Unicode char U+0164 (decimal 356)
       defining Unicode char U+0165 (decimal 357)
       defining Unicode char U+016E (decimal 366)
       defining Unicode char U+016F (decimal 367)
       defining Unicode char U+0170 (decimal 368)
       defining Unicode char U+0171 (decimal 369)
       defining Unicode char U+0178 (decimal 376)
       defining Unicode char U+0179 (decimal 377)
       defining Unicode char U+017A (decimal 378)
       defining Unicode char U+017B (decimal 379)
       defining Unicode char U+017C (decimal 380)
       defining Unicode char U+017D (decimal 381)
       defining Unicode char U+017E (decimal 382)
       defining Unicode char U+200C (decimal 8204)
       defining Unicode char U+2013 (decimal 8211)
       defining Unicode char U+2014 (decimal 8212)
       defining Unicode char U+2018 (decimal 8216)
       defining Unicode char U+2019 (decimal 8217)
       defining Unicode char U+201A (decimal 8218)
       defining Unicode char U+201C (decimal 8220)
       defining Unicode char U+201D (decimal 8221)
       defining Unicode char U+201E (decimal 8222)
       defining Unicode char U+2030 (decimal 8240)
       defining Unicode char U+2031 (decimal 8241)
       defining Unicode char U+2039 (decimal 8249)
       defining Unicode char U+203A (decimal 8250)
       defining Unicode char U+2423 (decimal 9251)
    )
    Now handling font encoding OT1 ...
    ... processing UTF-8 mapping file for font encodingOT1
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/base/ot1enc.dfu
    File: ot1enc.dfu 2006/03/30 v1.1i UTF-8 support for inputenc
       defining Unicode char U+00A1 (decimal 161)
       defining Unicode char U+00A3 (decimal 163)
       defining Unicode char U+00B8 (decimal 184)
       defining Unicode char U+00BF (decimal 191)
       defining Unicode char U+00C5 (decimal 197)
       defining Unicode char U+00C6 (decimal 198)
       defining Unicode char U+00D8 (decimal 216)
       defining Unicode char U+00DF (decimal 223)
       defining Unicode char U+00E6 (decimal 230)
       defining Unicode char U+00EC (decimal 236)
       defining Unicode char U+00ED (decimal 237)
       defining Unicode char U+00EE (decimal 238)
       defining Unicode char U+00EF (decimal 239)
       defining Unicode char U+00F8 (decimal 248)
       defining Unicode char U+0131 (decimal 305)
       defining Unicode char U+0141 (decimal 321)
       defining Unicode char U+0142 (decimal 322)
       defining Unicode char U+0152 (decimal 338)
       defining Unicode char U+0153 (decimal 339)
       defining Unicode char U+2013 (decimal 8211)
       defining Unicode char U+2014 (decimal 8212)
       defining Unicode char U+2018 (decimal 8216)
       defining Unicode char U+2019 (decimal 8217)
       defining Unicode char U+201C (decimal 8220)
       defining Unicode char U+201D (decimal 8221)
    )
    Now handling font encoding OMS ...
    ... processing UTF-8 mapping file for font encodingOMS
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/base/omsenc.dfu
    File: omsenc.dfu 2006/03/30 v1.1i UTF-8 support for inputenc
       defining Unicode char U+00A7 (decimal 167)
       defining Unicode char U+00B6 (decimal 182)
       defining Unicode char U+00B7 (decimal 183)
       defining Unicode char U+2020 (decimal 8224)
       defining Unicode char U+2021 (decimal 8225)
       defining Unicode char U+2022 (decimal 8226)
    )
    Now handling font encoding OMX ...
    ... no UTF-8 mapping file for font encoding OMX
    Now handling font encoding U ...
    ... no UTF-8 mapping file for font encoding U
       defining Unicode char U+00A9 (decimal 169)
       defining Unicode char U+00AA (decimal 170)
       defining Unicode char U+00AE (decimal 174)
       defining Unicode char U+00BA (decimal 186)
       defining Unicode char U+02C6 (decimal 710)
       defining Unicode char U+02DC (decimal 732)
       defining Unicode char U+200C (decimal 8204)
       defining Unicode char U+2026 (decimal 8230)
       defining Unicode char U+2122 (decimal 8482)
       defining Unicode char U+2423 (decimal 9251)
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
    Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/base/t1enc.def
    File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
    LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
    x)
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
    ) (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
    Package: pgfrcs 2006/10/26 v1.10 (rcs-revision 1.14)
    ))
    Package: pgf 2006/10/11 v1.10 (rcs-revision 1.7)
     (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
    Package: pgfsys 2006/10/16 v1.10 (rcs-revision 1.19)
    \pgf@x=\dimen114
    \pgf@y=\dimen115
    \pgf@xa=\dimen116
    \pgf@ya=\dimen117
    \pgf@xb=\dimen118
    \pgf@yb=\dimen119
    \pgf@xc=\dimen120
    \pgf@yc=\dimen121
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
    File: pgf.cfg 2006/10/11  (rcs-revision 1.2)
    )
    Package pgfsys Info: Driver file for pgf: pgfsys-pdftex.def on input line 845.
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.d
    ef
    File: pgfsys-pdftex.def 2006/10/23  (rcs-revision 1.14)
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
    df.def
    File: pgfsys-common-pdf.def 2006/10/16  (rcs-revision 1.7)
    )))
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.
    code.tex
    File: pgfsyssoftpath.code.tex 2006/10/16  (rcs-revision 1.4)
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.
    code.tex
    File: pgfsysprotocol.code.tex 2006/10/16  (rcs-revision 1.4)
    )) (/usr/local/texlive/2007/texmf-dist/tex/latex/xcolor/xcolor.sty
    Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf/tex/latex/config/color.cfg
    File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
    )
    Package xcolor Info: Driver file: pdftex.def on input line 225.
    Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
    Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
    Package xcolor Info: Model `RGB' extended on input line 1353.
    Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
    Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
    Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
    Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
    Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
    Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
    Package: pgfcore 2006/10/11 v1.10 (rcs-revision 1.4)
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcoremath.code
    .tex
    File: pgfcoremath.code.tex 2006/10/15  (rcs-revision 1.3)
    \c@pgf@counta=\count100
    \c@pgf@countb=\count101
    \c@pgf@countc=\count102
    \c@pgf@countd=\count103
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.co
    de.tex
    File: pgfcorepoints.code.tex 2006/10/16  (rcs-revision 1.7)
    \pgf@picminx=\dimen122
    \pgf@picmaxx=\dimen123
    \pgf@picminy=\dimen124
    \pgf@picmaxy=\dimen125
    \pgf@pathminx=\dimen126
    \pgf@pathmaxx=\dimen127
    \pgf@pathminy=\dimen128
    \pgf@pathmaxy=\dimen129
    \pgf@tempdim=\dimen130
    \c@pgf@tempcount=\count104
    \pgf@xx=\dimen131
    \pgf@xy=\dimen132
    \pgf@yx=\dimen133
    \pgf@yy=\dimen134
    \pgf@zx=\dimen135
    \pgf@zy=\dimen136
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconst
    ruct.code.tex
    File: pgfcorepathconstruct.code.tex 2006/10/16  (rcs-revision 1.6)
    \pgf@path@lastx=\dimen137
    \pgf@path@lasty=\dimen138
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage
    .code.tex
    File: pgfcorepathusage.code.tex 2006/10/16  (rcs-revision 1.7)
    \pgf@shorten@end@additional=\dimen139
    \pgf@shorten@start@additional=\dimen140
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.co
    de.tex
    File: pgfcorescopes.code.tex 2006/10/23  (rcs-revision 1.20)
    \pgfpic=\box28
    \pgf@hbox=\box29
    \pgf@layerbox@main=\box30
    \pgf@picture@serial@count=\count105
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicst
    ate.code.tex
    File: pgfcoregraphicstate.code.tex 2006/10/16  (rcs-revision 1.6)
    \pgflinewidth=\dimen141
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransform
    ations.code.tex
    File: pgfcoretransformations.code.tex 2006/10/11  (rcs-revision 1.4)
    \pgf@pt@x=\dimen142
    \pgf@pt@y=\dimen143
    \pgf@pt@temp=\dimen144
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.cod
    e.tex
    File: pgfcorequick.code.tex 2006/10/11  (rcs-revision 1.2)
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.c
    ode.tex
    File: pgfcoreobjects.code.tex 2006/10/11  (rcs-revision 1.2)
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathproce
    ssing.code.tex
    File: pgfcorepathprocessing.code.tex 2006/10/16  (rcs-revision 1.5)
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.co
    de.tex
    File: pgfcorearrows.code.tex 2006/10/16  (rcs-revision 1.6)
    )
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.cod
    e.tex
    File: pgfcoreshade.code.tex 2006/10/16  (rcs-revision 1.7)
    \pgf@max=\dimen145
    \pgf@sys@shading@range@num=\count106
    )))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/basiclayer/pgfbaseshapes.sty
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfbaseshapes.co
    de.tex
    Package: pgfbaseshapes 2006/10/16 v1.10 (rcs-revision 1.16)
    \pgfnodeparttextbox=\box31
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/basiclayer/pgfbaseplot.sty
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfbaseplot.code
    .tex
    Package: pgfbaseplot 2006/10/16 v1.10 (rcs-revision 1.5)
    \pgf@plotwrite=\write3
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/basiclayer/pgfbaseimage.sty
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfbaseimage.cod
    e.tex
    Package: pgfbaseimage 2006/10/16 v1.10 (rcs-revision 1.5)
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/basiclayer/pgfbaselayers.sty
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfbaselayers.co
    de.tex
    Package: pgfbaselayers 2006/10/16 v1.10 (rcs-revision 1.5)
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/basiclayer/pgfbasesnakes.sty
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfbasesnakes.co
    de.tex
    Package: pgfbasesnakes 2006/10/16 v1.10 (rcs-revision 1.10)
    \pgfsnakeremainingdistance=\dimen146
    \pgfsnakecompleteddistance=\dimen147
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/basiclayer/pgfbasepatterns.st
    y
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/basiclayer/pgfbasepatterns.
    code.tex
    Package: pgfbasepatterns 2006/10/16 v1.10 (rcs-revision 1.9)
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
    -0-65.sty
    Package: pgfcomp-version-0-65 2006/10/11 v1.10 (rcs-revision 1.4)
    \pgf@nodesepstart=\dimen148
    \pgf@nodesepend=\dimen149
    )) (/usr/local/texlive/2007/texmf-dist/tex/latex/tools/calc.sty
    Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
    \calc@Acount=\count107
    \calc@Bcount=\count108
    \calc@Adimen=\dimen150
    \calc@Bdimen=\dimen151
    \calc@Askip=\skip46
    \calc@Bskip=\skip47
    LaTeX Info: Redefining \setlength on input line 75.
    LaTeX Info: Redefining \addtolength on input line 76.
    \calc@Ccount=\count109
    \calc@Cskip=\skip48
    )
    (/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
    Package: pgffor 2006/10/16 v1.10 (rcs-revision 1.5)
    \pgffor@iter=\dimen152
    \pgffor@skip=\dimen153
    )) (/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.sty
    Package: xkeyval 2006/11/18 v2.5f package option processing (HA)
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.tex
    \XKV@toks=\toks22
    \XKV@depth=\count110
    File: xkeyval.tex 2006/11/18 v2.5f key=value parser (HA)
    ))
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/frontendlayer/tikz.code.tex
    Package: tikz 2006/10/17 v1.10 (rcs-revision 1.68)
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothan
    dlers.code.tex
    File: pgflibraryplothandlers.code.tex 2006/10/16 v1.10 (rcs-revision 1.8)
    \pgf@plot@mark@count=\count111
    \pgfplotmarksize=\dimen154
    )
    \tikz@lastx=\dimen155
    \tikz@lasty=\dimen156
    \tikz@lastxsaved=\dimen157
    \tikz@lastysaved=\dimen158
    \tikzleveldistance=\dimen159
    \tikzsiblingdistance=\dimen160
    \tikz@figbox=\box32
    \tikz@tempbox=\box33
    \tikztreelevel=\count112
    \tikznumberofchildren=\count113
    \tikznumberofcurrentchild=\count114
    \tikz@fig@count=\count115
    \tikz@expandcount=\count116
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/libraries/pgflibrarytikztop
    aths.code.tex
    File: pgflibrarytikztopaths.code.tex 2006/10/16 v1.10 (rcs-revision 1.5)
    )))
    No file temp.aux.
    \openout1 = `temp.aux'.
    <BLANKLINE>
    LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 38.
    LaTeX Font Info:    ... okay on input line 38.
    LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 38.
    LaTeX Font Info:    ... okay on input line 38.
    LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 38.
    LaTeX Font Info:    ... okay on input line 38.
    LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 38.
    LaTeX Font Info:    ... okay on input line 38.
    LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 38.
    LaTeX Font Info:    ... okay on input line 38.
    LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 38.
    LaTeX Font Info:    ... okay on input line 38.
    (/usr/local/texlive/2007/texmf-dist/tex/context/base/supp-pdf.tex
    [Loading MPS to PDF converter (version 2006.09.02).]
    \scratchcounter=\count117
    \scratchdimen=\dimen161
    \scratchbox=\box34
    \nofMPsegments=\count118
    \nofMParguments=\count119
    \MPscratchCnt=\count120
    \MPscratchDim=\dimen162
    \MPnumerator=\count121
    \everyMPtoPDFconversion=\toks23
    )
    LaTeX Font Info:    Try loading font information for U+msa on input line 40.
     (/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/umsa.fd
    File: umsa.fd 2002/01/19 v2.2g AMS font definitions
    )
    LaTeX Font Info:    Try loading font information for U+msb on input line 40.
    <BLANKLINE>
    (/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/umsb.fd
    File: umsb.fd 2002/01/19 v2.2g AMS font definitions
    )
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.41   \draw[line width=2,color=red,fill=red]
                                                  (2, 0) circle (0.21);
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.41 ...,color=red,fill=red] (2, 0) circle (0.21);
    <BLANKLINE>
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.42   \draw[line width=2,color=red,fill=red]
                                                  (6, 2) circle (0.21);
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.42 ...,color=red,fill=red] (6, 2) circle (0.21);
    <BLANKLINE>
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.43   \draw[line width=2,color=red,fill=red]
                                                  (11, 1) circle (0.21);
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.43 ...color=red,fill=red] (11, 1) circle (0.21);
    <BLANKLINE>
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.44   \draw[line width=2,color=red,fill=red]
                                                  (1, 1) circle (0.21);
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.44 ...,color=red,fill=red] (1, 1) circle (0.21);
    <BLANKLINE>
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.45   \draw[line width=2,color=red,fill=red]
                                                  (5, 3) circle (0.21);
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.45 ...,color=red,fill=red] (5, 3) circle (0.21);
    <BLANKLINE>
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.

    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.46   \draw[line width=2,color=red,fill=red]
                                                  (8, 4) circle (0.21);
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.46 ...,color=red,fill=red] (8, 4) circle (0.21);
    <BLANKLINE>
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.47   \draw[line width=2,color=red,fill=red]
                                                  (12, 2) circle (0.21);
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.47 ...color=red,fill=red] (12, 2) circle (0.21);
    <BLANKLINE>
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.48 ...nded corners=1, color=green, line width=4]
                                                       (0, 0) -- (1, 1) -- (2, 0...
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.48 ...nded corners=1, color=green, line width=4]
                                                       (0, 0) -- (1, 1) -- (2, 0...
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.48 ...nded corners=1, color=green, line width=4]
                                                       (0, 0) -- (1, 1) -- (2, 0...
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.48 ... (11, 1) -- (12, 2) -- (13, 1) -- (14, 0);
    <BLANKLINE>
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.50 ...nded corners=1, color=black, line width=2]
                                                       (0, 0) -- (1, 1) -- (2, 0...
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.50 ...nded corners=1, color=black, line width=2]
                                                       (0, 0) -- (1, 1) -- (2, 0...
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.50 ...nded corners=1, color=black, line width=2]
                                                       (0, 0) -- (1, 1) -- (2, 0...
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    ! Illegal unit of measure (pt inserted).
    <to be read again> 
                       !
    l.50 ... (11, 1) -- (12, 2) -- (13, 1) -- (14, 0);
    <BLANKLINE>
    Dimensions can be in units of em, ex, in, pt, pc,
    cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
    I'll assume that you meant to say pt, for printer's points.
    To recover gracefully from this error, it's best to
    delete the erroneous units; e.g., type `2' to delete
    two letters. (See Chapter 27 of The TeXbook.)
    <BLANKLINE>
    [1
    <BLANKLINE>
    {/usr/local/texlive/2007/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
    (./temp.aux) ) 
    Here is how much of TeX's memory you used:
     5625 strings out of 94073
     86578 string characters out of 1162984
     148249 words of memory out of 1500000
     8754 multiletter control sequences out of 10000+50000
     7645 words of font info for 25 fonts, out of 1200000 for 2000
     645 hyphenation exceptions out of 8191
     46i,5n,46p,364b,539s stack positions out of 5000i,500n,6000p,200000b,5000s
    {/usr/local/texlive/2007/texmf-dist/fonts/enc/dvips/cm-super/cm-s
    uper-t1.enc}</usr/local/texlive/2007/texmf-dist/fonts/type1/public/cm-super/sfb
    x1440.pfb>
    Output written on temp.pdf (1 page, 5283 bytes).
    PDF statistics:
     11 PDF objects out of 1000 (max. 8388607)
     0 named destinations out of 1000 (max. 131072)
     1 words of extra memory for PDF output out of 10000 (max. 10000000)
    <BLANKLINE>
    <BLANKLINE>
    'Error latexing slide.'
**********************************************************************

Changed 6 years ago by zabrocki

comment:17 Changed 6 years ago by zabrocki

I removed the test which actually ran the latex on a file. This would have caught a bug that was corrected in #14712 (the header was generated in an unexpected order), but only on machines where the function _run_latex_ can be executed on pdflatex. No other generated latex seems to be tested this way, but most likely because such tests are impossible to pass on all machines.

comment:18 Changed 6 years ago by zabrocki

  • Status changed from needs_work to needs_review

comment:19 Changed 6 years ago by tscrim

  • Status changed from needs_review to positive_review

I think the test should be removed since it is machine dependent, as it should be (I always love doctests that fail on a diff machine). Back to positive review.

comment:20 Changed 6 years ago by jdemeyer

  • Merged in set to sage-5.11.rc0
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.