View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000993 | MetaPost | bug | public | 2016-10-31 10:15 | 2016-11-25 11:42 |
Reporter | toby | Assigned To | luigi scarso | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | texlive 2016 | OS | macos | OS Version | 10.12.1 |
Product Version | 1.890 | ||||
Summary | 0000993: Cannot assign to transform variable | ||||
Description | Cannot assign directly to transform variables. This appears to be some form of parsing error. | ||||
Steps To Reproduce | This program: show mpversion; pair P; P = (a,b); show P; color R; R = (d,e,f); show R; cmykcolor C; C = (g,h,i,j); show C; transform T; T = (k,l,m,n,o,p); show T; end gives This is MetaPost, version 1.9991 (TeX Live 2016) (kpathsea version 6.2.2) (/usr/local/texlive/2016/texmf-dist/metapost/base/mpost.mp (/usr/local/texlive/2016/texmf-dist/metapost/base/plain.mp Preloading the plain mem file, version 1.005) ) (./t.mp >> "1.9991" >> (xpart P,ypart P) >> (redpart R,greenpart R,bluepart R) >> (cyanpart C,magentapart C,yellowpart C,blackpart C) ! Missing `)' has been inserted. <to be read again> , l.5 transform T; T = (k,l,m,n, o,p); show T; ? Same program adapted for luamplib causes seg fault 11 | ||||
Additional Information | Something similar was discussed in the maiking list http://www.tug.org/pipermail/metapost/2016-October/003159.html so I checked out the latest svn level and recompiled, but I still get the same fault. | ||||
Tags | No tags attached. | ||||
|
I don't see a seg. fault in mplib with the example. |
|
Here's a lualatex example: \RequirePackage{luatex85} \documentclass[border=5mm]{standalone} \usepackage{luamplib} \begin{document} \mplibtextextlabel{enable} \begin{mplibcode} beginfig(1); transform G; G = (a,b,c,d,e,f); show G; endfig; \end{mplibcode} \end{document} output: (from screen, no log is produced) This is LuaTeX, Version 0.95.0 (TeX Live 2016) restricted system commands enabled. (./t.tex LaTeX2e <2016/03/31> patch level 3 Babel <3.9r> and hyphenation patterns for 1 language(s) loaded. (/usr/local/texlive/2016/texmf-dist/tex/generic/luatex85/luatex85.sty) (/usr/local/texlive/2016/texmf-dist/tex/latex/standalone/standalone.cls Document Class: standalone 2015/07/15 v1.2 Class to compile TeX sub-files stand alone (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty) (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty) (/usr/local/texlive/2016/texmf-dist/tex/latex/xkeyval/xkeyval.sty (/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/xkvutils.tex (/usr/local/texlive/2016/texmf-dist/tex/generic/xkeyval/keyval.tex)))) (/usr/local/texlive/2016/texmf-dist/tex/latex/standalone/standalone.cfg) (/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10.clo))) (/usr/local/texlive/2016/texmf-dist/tex/luatex/luamplib/luamplib.sty) (./t.aux) Segmentation fault: 11 |
|
can you check luatex from experimental ? |
|
Latest luatex from experimental looks ok, i.e. it shows the right error message and it doesn't give a seg. fault. Note that if t is a transform then it cannot initialize with a six-upla (e.g. t := (0,0,1,0,0,1) ; ) as we can do with rgb and cmyk type --- this is by design. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-31 10:15 | toby | New Issue | |
2016-11-03 10:39 | luigi scarso | Note Added: 0001652 | |
2016-11-03 10:40 | luigi scarso | Note Edited: 0001652 | |
2016-11-03 10:53 | toby | Note Added: 0001653 | |
2016-11-03 11:33 | luigi scarso | Note Added: 0001654 | |
2016-11-24 18:26 | luigi scarso | Note Added: 0001656 | |
2016-11-25 11:42 | luigi scarso | Status | new => closed |
2016-11-25 11:42 | luigi scarso | Assigned To | => luigi scarso |
2016-11-25 11:42 | luigi scarso | Resolution | open => fixed |