[cstex] podivne chovanie asymptote

beerb beerb at frcatel.fri.uniza.sk
Fri Mar 17 09:49:02 CET 2017


zdravim,

zacal som pouzivat novy pc a zarazilo ma chovanie latexovych suborov s 
asy (s animaciami), ktore mi predtym chodili.

Momentalne v programe texworks mi fungovali a ked som ich spustal z 
prikazoveho riadku, hlasili chybu.
Potom som zistil, ze sa vzdy volala ina verzia asymptote (nainstaloval 
som si 2.40), cesty v path boli prehodene.

texlive2015  pouziva 2.35 a texlive2016 (skusal som v debiane - ale aj 
tu som musel na konci tex prekladat 2x) 2.38 - tu to fungovalo

ale ked som prelozil asy subory verziou 2.40 (resp. 2.39), tak potom 
pdflatex hlasil chybu

! Undefined control sequence.
\ASYaligned ...7}\setbox \ASYbox \hbox {\ASYdimen
                                                   =\ht \ASYbox \advance 
\ASY...
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                   %
a vygenoraval aj iny subor *-1.pre (vlozil tam nejake vsuvky s luatexom).

Pre zaujimavost posielam jednoduchy subor (aj so sprievodnymi subormi), 
kde to nefungovalo.

S pozdravom beerb




-------------- next part --------------
A non-text attachment was scrubbed...
Name: _aa-1.pdf
Type: application/pdf
Size: 3496 bytes
Desc: not available
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/20170317/32c08d56/attachment-0006.pdf>
-------------- next part --------------
\relax 
\providecommand\zref at newlabel[2]{}
\providecommand\AtEndDvi at Check{}
\AtEndDvi at Check
\zref at newlabel{LastPage}{\default{}\page{1}\abspage{1}}
-------------- next part --------------
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/W32TeX) (preloaded format=pdflatex 2015.8.19)  17 MAR 2017 09:32
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**./aa.tex
(./aa.tex
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m> and hyphenation patterns for 79 languages loaded.
(c:/texlive/2015/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(c:/texlive/2015/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(c:/texlive/2015/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

(c:/texlive/2015/texmf-dist/tex/latex/latexconfig/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.

(c:/texlive/2015/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX

(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
)
(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
\Gread at gobject=\count87
)
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.
)
(c:/texlive/2015/texmf-dist/tex/latex/animate/animate.sty
Package: animate 2015/06/19 PDF animations from files and inline graphics

(c:/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV at toks@=\toks14
)
(c:/texlive/2015/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
)
(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
)
(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/atbegshi.sty
Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO)
)
(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/ifdraft.sty
Package: ifdraft 2008/08/11 v1.3 Detect class options draft and final (HO)
)
(c:/texlive/2015/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2014/10/28 v4.3 Infix arithmetic (KKT,FJ)
\calc at Acount=\count88
\calc at Bcount=\count89
\calc at Adimen=\dimen103
\calc at Bdimen=\dimen104
\calc at Askip=\skip43
\calc at Bskip=\skip44
LaTeX Info: Redefining \setlength on input line 80.
LaTeX Info: Redefining \addtolength on input line 81.
\calc at Ccount=\count90
\calc at Cskip=\skip45
)
(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/atenddvi.sty
Package: atenddvi 2007/04/17 v1.1 At end DVI hook (HO)

(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/zref-abspage.sty
Package: zref-abspage 2012/04/04 v2.24 Module abspage for zref (HO)

(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/zref-base.sty
Package: zref-base 2012/04/04 v2.24 Module base for zref (HO)

(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)

(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
(etexcmds)             that some package has redefined \expanded.
(etexcmds)             In the latter case, load this package earlier.
))
(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
)
(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf at primitive is available.
Package pdftexcmds Info: \pdf at ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/auxhook.sty
Package: auxhook 2011/03/04 v1.3 Hooks for auxiliary files (HO)
)
Package zref Info: New property list: main on input line 759.
Package zref Info: New property: default on input line 760.
Package zref Info: New property: page on input line 761.
)
\c at abspage=\count91
Package zref Info: New property: abspage on input line 62.
)
(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/zref-lastpage.sty
Package: zref-lastpage 2012/04/04 v2.24 Module lastpage for zref (HO)

(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/atveryend.sty
Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO)
Package atveryend Info: \enddocument detected (standard20110627).
)
Package zref Info: New property list: LastPage on input line 55.
))
(c:/texlive/2015/texmf-dist/tex/latex/animate/animfp.sty
Package: animfp 2009/07/23 fixed point addition for animate.sty
\afp at xs=\count92
\afp at xia=\count93
\afp at xib=\count94
\afp at xfa=\count95
\afp at xfb=\count96
\afp at rega=\count97
\afp at regb=\count98
\afp at regs=\count99
)
(c:/texlive/2015/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2014/10/28 v1.0p Standard LaTeX Graphics (DPC,SPQR)

(c:/texlive/2015/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(c:/texlive/2015/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 94.
)
(c:/texlive/2015/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count100
\scratchdimen=\dimen105
\scratchbox=\box26
\nofMPsegments=\count101
\nofMParguments=\count102
\everyMPshowfont=\toks15
\MPscratchCnt=\count103
\MPscratchDim=\dimen106
\MPnumerator=\count104
\makeMPintoPDFobject=\count105
\everyMPtoPDFconversion=\toks16
)
\@anim at box=\box27
\@anim at measbox=\box28
\@anim at tmpdima=\dimen107
\@anim at tmpdimb=\dimen108
\@anim at ocnum=\count106
\@anim at num=\count107
\@anim at curframe=\count108
\@anim at curframe@zb=\count109
\@anim at resizeflags=\count110
\@anim at skipfram=\count111
\@anim at mulframecnt=\count112
\@anim@@tmlnfile=\read1
\@anim at tmpcnt=\count113
\c@@anim at ltxcnt=\count114
\@anim at curlayer=\count115
\@anim at lineno=\count116
\@anim at curfield=\count117
\@anim at begin=\toks17
\@anim at end=\toks18
\@anim@@resizeflags=\count118
) (c:/texlive/2015/texmf-dist/tex/latex/asymptote/asymptote.sty
Package: asymptote 2015/05/10 v1.29 Asymptote style file for LaTeX
 (./aa.pre
(./aa-1.pre (c:/texlive/2015/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
\Gin at req@height=\dimen109
\Gin at req@width=\dimen110
)))
\ASYbox=\box29
\c at asy=\count119
\AsyStream=\write3
\AsyPreStream=\write4

(c:/texlive/2015/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
(c:/texlive/2015/texmf-dist/tex/generic/oberdiek/catchfile.sty
Package: catchfile 2011/03/01 v1.6 Catch the contents of a file (HO)
)
\openout4 = `aa.pre'.

) (./aa.aux)
\openout1 = `aa.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 8.
LaTeX Font Info:    ... okay on input line 8.
\AtBeginShipoutBox=\box30

(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf

(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)
)
(c:/texlive/2015/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
)
Package grfext Info: Graphics extension search list:
(grfext)             [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext)             \AppendGraphicsExtensions on input line 452.

(c:/texlive/2015/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
\openout3 = `aa-1.asy'.


(./aa-1.tex <./_aa-1.pdf> <1> <./_aa-1.pdf> <2> <./_aa-1.pdf> <3> <./_aa-1.pdf>
<4> <./_aa-1.pdf> <5>
! Undefined control sequence.
\ASYaligned ...7}\setbox \ASYbox \hbox {\ASYdimen 
                                                  =\ht \ASYbox \advance \ASY...
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                  %
? 
! Missing number, treated as zero.
<to be read again> 
                   \advance 
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                  %
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \advance 
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                  %
? 
! Undefined control sequence.
\ASYaligned ...en =\ht \ASYbox \advance \ASYdimen 
                                                  by\dp \ASYbox \kern #3\wd ...
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                  %
? 
! You can't use `the letter b' after \advance.
\ASYaligned ...n =\ht \ASYbox \advance \ASYdimen b
                                                  y\dp \ASYbox \kern #3\wd \...
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                  %
? 
! Missing number, treated as zero.
<to be read again> 
                   \kern 
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                  %
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \kern 
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                  %
? 
! Undefined control sequence.
\ASYaligned ...n #3\wd \ASYbox \raise #4\ASYdimen 
                                                  \box \ASYbox }\setbox \ASY...
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                  %
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \box 
l.13 ...autoplay,loop,palindrome]{4}{_aa-1}{0}{4}}
                                                  %
? 
)
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 34.
Package atenddvi Info: Last page = 1.
 [1

{c:/texlive/2015/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
Package atveryend Info: Executing hook `AfterLastShipout' on input line 34.
 (./aa.aux)
Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 34.
Package atveryend Info: Empty hook `AtEndAfterFileList' on input line 34.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 34.
 ) 
Here is how much of TeX's memory you used:
 3076 strings out of 493091
 44799 string characters out of 6138531
 129038 words of memory out of 5000000
 6519 multiletter control sequences out of 15000+600000
 3938 words of font info for 15 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 48i,5n,69p,324b,189s stack positions out of 5000i,500n,10000p,200000b,80000s
<c:/texlive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb><c:/texl
ive/2015/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb>
Output written on aa.pdf (1 page, 23019 bytes).
PDF statistics:
 63 PDF objects out of 1000 (max. 8388607)
 35 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 103 words of extra memory for PDF output out of 10000 (max. 10000000)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: aa.pdf
Type: application/pdf
Size: 23019 bytes
Desc: not available
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/20170317/32c08d56/attachment-0007.pdf>
-------------- next part --------------
\InputIfFileExists {\jobname -1.pre}{}{}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aa.tex
Type: text/x-tex
Size: 450 bytes
Desc: not available
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/20170317/32c08d56/attachment-0004.bin>
-------------- next part --------------
if(!settings.multipleView) settings.batchView=false;
settings.tex="pdflatex";
settings.inlinetex=true;
deletepreamble();
defaultfilename="aa-1";
if(settings.render < 0) settings.render=4;
settings.outformat="";
settings.inlineimage=true;
settings.embed=true;
settings.toolbar=false;
viewportmargin=(2,2);

int n=4;

import graph;
usepackage("animate");
settings.tex="pdflatex";
import animation;

size(0cm,5cm);

animation a;

for(int i=0; i <= n; ++i) {
save();

draw((0,0)--(i,i));

a.add();
restore();
}
erase();
label(a.pdf(delay=250,"autoplay,loop,palindrome",multipage=false));

-------------- next part --------------
\usepackage{ifluatex}\ifluatex
\ifx\pdfpagewidth\undefined\let\pdfpagewidth\paperwidth\fi
\ifx\pdfpageheight\undefined\let\pdfpageheight\paperheight\fi\else
\let\paperwidthsave\paperwidth\let\paperwidth\undefined
\usepackage{graphicx}
\let\paperwidth\paperwidthsave\fi
\usepackage{animate}
\def\ASYprefix{}
\long\def\ASYbase#1#2{\leavevmode\setbox\ASYbox=\hbox{#1}%\ASYdimen=\ht\ASYbox%
\setbox\ASYbox=\hbox{#2}\lower\ASYdimen\box\ASYbox}
\long\def\ASYaligned(#1,#2)(#3,#4)#5#6#7{\leavevmode%
\setbox\ASYbox=\hbox{#7}%
\setbox\ASYbox\hbox{\ASYdimen=\ht\ASYbox%
\advance\ASYdimen by\dp\ASYbox\kern#3\wd\ASYbox\raise#4\ASYdimen\box\ASYbox}%
\setbox\ASYbox=\hbox{#5\wd\ASYbox 0pt\dp\ASYbox 0pt\ht\ASYbox 0pt\box\ASYbox#6}%
\hbox to 0pt{\kern#1pt\raise#2pt\box\ASYbox\hss}}%
\long\def\ASYalignT(#1,#2)(#3,#4)#5#6{%
\ASYaligned(#1,#2)(#3,#4){%
\special{pdf:q #5 0 0 cm}%
}{%
\special{pdf:Q}%
}{#6}}
\long\def\ASYalign(#1,#2)(#3,#4)#5{\ASYaligned(#1,#2)(#3,#4){}{}{#5}}
\def\ASYraw#1{#1}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aa-1.tex
Type: text/x-tex
Size: 487 bytes
Desc: not available
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/20170317/32c08d56/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aa-1_0.pdf
Type: application/pdf
Size: 2388 bytes
Desc: not available
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/20170317/32c08d56/attachment-0008.pdf>


More information about the csTeX mailing list