Animation, asymptote et animate

Tout ce qui concerne le langage Asymptote. Ce langage est utilisable sur le forum via les balises asy.
[participation réservée aux utilisateurs inscrits]
Règles du forum
Merci de soigner la rédaction de vos messages et de consulter ce sujet avant de poster. Pensez également à utiliser la fonction recherche du forum.
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Animation, asymptote et animate

Message non lu par rebouxo »

Bonjour à tous. Je suis en train de faire un diaporama sur le volume du cylindre de révolution. Je pense pouvoir refaire un solide de révolution grâce à ce post, mais j'aimerais bien montrer l'approximation avec des cylindres de hauteur faible. Et ça je ne sais pas faire. Enfin surtout le coup de l'animation, car les cylindres je pense que ce n'est pas trop compliqué. Après, le coup de l'animation, là... Enfin quoique, comment je fais pour donner le rayon $f(x)$ de mon disque ?

Malheureusement je ne sais pas faire cela. J'en appelle encore à vous.

Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

Bonjour Olivier,

Bon alors je ne suis pas sûr du tout d'avoir compris ce que tu voulais faire... mais je tente quelque chose :D

Code : Tout sélectionner

size(7cm,0);
import solids;
import animate;
settings.tex="pdflatex";
settings.outformat="pdf";
settings.render=0;
settings.prc=false;
currentprojection = orthographic(50,70,20);

real r=1;  // rayon du cylindre
animation Anim;

axes3("$x$","$y$","$z$",min=O,max=(2,2,5),Arrow3);
draw(cylinder(O,r,4,axis=Z),invisible); // pour fixer la taille max de l'image
Anim.add();

for (real h=0.05; h<=4; h+=.05) { // modifier les valeurs pour changer le nombre d'images
save();
revolution Cyl=cylinder(O,r,h,axis=Z);
draw(surface(Cyl),red+opacity(.85));
Anim.add();
restore();
}

erase();

label(Anim.pdf("controls",delay=30)); // une image toutes les 30 ms
VolCyl.pdf
(805.12 Kio) Téléchargé 315 fois
Christophe

PS : Pour les animations, il y a un paragraphe dans le démarrage rapide (lien dans ma signature)
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Animation, asymptote et animate

Message non lu par rebouxo »

Salut Christophe, merci de te pencher sur mon problème.

Bon donc je me suis mal exprimé.

Considérons une fonction $f$ définie sur un intervalle $[a;b]$. Faisons tourner $f$ autour de l'axe $(Ox)$ cela donne un solide de révolution. Mon but et de calculer le volume de ce solide.

Pour cela je voudrais approcher le solide par des cylindres, de hauteur $dx$, centré en $x$ et de rayon $f(x)$. De là je calcule le volume d'un de mes solides : $\pi f(x)^2 dx$ et puis j'en déduis mon volume. Finalement, faire ce que l'on fait avec des rectangles en dimension 2, pour introduire l'aire sous une courbe.

Ce que je voudrais faire c'est faire varier le nombre de cylindres de $1$ à $100$ mettons pour montrer la convergence. Je me dis qu'en deuxième temps, il me faudrait une figure figée avec le volume, un cylindre de hauteur $dx$.


Ah et en plus, il faut faire cela pour que cela fonctionne en TeX+dvips+ps2pdf ! :D Par contre j'ai l'impression que l'animation à l'air très simple à indiquer ? import animate et trois commandes, c'est cela ?
Est-ce plus clair ?

Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

rebouxo a écrit :Est-ce plus clair ?
Olivier
Oui, beaucoup plus clair... mais beaucoup moins facile :mrgreen:
Je passe la main pour ce soir !

Christophe
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Animation, asymptote et animate

Message non lu par rebouxo »

chellier a écrit :
rebouxo a écrit :Est-ce plus clair ?
Olivier
Oui, beaucoup plus clair... mais beaucoup moins facile :mrgreen:
Je passe la main pour ce soir !

Christophe
Ah Caramba ! :D

Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

Me revoilà (en espérant avoir compris cette fois :mrgreen: )

Code : Tout sélectionner

import solids;
import animate;
settings.tex="pdflatex";
settings.outformat="pdf";
size(0,7cm);
currentprojection=perspective(0,5,10,up=Y);
settings.prc=false;
settings.render=2;
pen color=green;
real alpha=240;
// Cylindre avec bases
revolution cylindre(triple c=O, real r, real h, triple axis=Z)
{
  triple C=c+r*perp(axis);
  axis=h*unit(axis);
  return revolution(c,c--C--C+axis--c+axis,axis);
}

real f(real x) {return x^2;}
pair F(real x) {return (x,f(x));}
triple F3(real x) {return (x,f(x),0);}

real xm=2; // xmax
real h=f(xm); // hauteur totale
path p=graph(F,0,xm,n=10,operator ..);
path3 p3=path3(p);

animation Anim;

// pas forcément nécessaire...
render render=render(compression=0,merge=true);

draw(surface(revolution(p3,Y,0,alpha)),color,render);
draw(cylinder(O,2.5,h+.5,axis=Y),invisible); // pour fixer la taille de l'image
xaxis3(Label("$x$",1),Arrow3);
yaxis3(Label("$y$",1),ymax=4.25,dashed,Arrow3);
Anim.add();

for(int n=1; n<=20; n+=1){ // 20 cylindres au max, à changer si besoin
save();
for (int i=1;i<=n;i+=1) {
draw(surface(shift((i-1)*(h/n)*Y)*(cylindre(O,sqrt(i*h/n),h/n,axis=Y))),red+opacity(.5),render);
}
Anim.add();
restore();
}

erase();

label(Anim.pdf("controls",delay=750)); // une image toutes les 750 ms
ApproxCyl.pdf
(1.02 Mio) Téléchargé 311 fois
Dans cet exemple je m'en sort car je connais la fonction réciproque de la fonction carrée... À voir avec un solide quelconque.

Christophe
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Animation, asymptote et animate

Message non lu par rebouxo »

Presque parfait. Je pense que tu t'es compliqué la vie, en faisant tourné ton solide autour de l'axe des $y$. J'avais bien précisé que la rotation se faisait autour de l'axe des $x$. Bon je devrais m'en tirer avec cet exemple.

Je reviens cet après-midi, ne fais rien je regarde si j'arrive à modifier ton exemple.

Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

rebouxo a écrit :Presque parfait. Je pense que tu t'es compliqué la vie, en faisant tourné ton solide autour de l'axe des $y$.
En effet :? Le rayon des cylindres est plus facile à trouver.
rebouxo a écrit :Je reviens cet après-midi, ne fais rien je regarde si j'arrive à modifier ton exemple.

Olivier
Allez un dernier exemple, après il faut que je prépare mes cours de TS, ça va bien m'occuper, c'est la première fois que j'ai ce niveau...

Code : Tout sélectionner

import solids;
import animate;
settings.tex="pdflatex";
settings.outformat="pdf";
size(7cm,0);
currentprojection=perspective(6,0,10,up=Y);
settings.prc=false;
settings.render=2;
pen color=green;
real alpha=-250;
// Cylindre avec bases
revolution cylindre(triple c=O, real r, real h, triple axis=Z)
{
  triple C=c+r*perp(axis);
  axis=h*unit(axis);
  return revolution(c,c--C--C+axis--c+axis,axis);
}

real f(real x) {return x+sin(x);}

real xm=6; // xmax
//real h=f(xm); // hauteur totale
path p=graph(f,0,xm,n=20,operator ..);
path3 p3=path3(p);

animation Anim;

// pas forcément nécessaire...
render render=render(compression=0,merge=true);

draw(surface(revolution(p3,X,alpha,50)),color,render);
draw(cylinder(O,f(xm+.25),xm+.25,axis=X),invisible); // pour fixer la taille de l'image
xaxis3(Label("$x$",1),xmax=6.5,dashed,Arrow3);
yaxis3(Label("$y$",1),Arrow3);
Anim.add();

for(int n=1; n<=20; n+=1){
save();
for (int i=1;i<=n;i+=1) {
draw(surface(shift((i-1)*(xm/n)*X)*(cylindre(O,f(i*xm/n),xm/n,axis=X))),red+opacity(.75),render);
}
Anim.add();
restore();
}

erase();

label(Anim.pdf("controls",delay=750)); // une image toutes les 750 ms
ApproxCylV2.pdf
(1.07 Mio) Téléchargé 316 fois
Christophe
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Animation, asymptote et animate

Message non lu par rebouxo »

Bon là c'est bon. Tu as déjà fait une application du calcul intégrale pour tes TS :D .

Bon chez moi ! Ça marche pas©
Après avoir perdu un peu de temps avec latexmk (j'ai fini par trouvé la liste des choses à rajouter dans le .latexmkrc) je lance la compile :
Première erreur : libread.so.5, bon ça c'est résolu, un petit lien symbolique qui pointe vers libread.so.6 et qui c'est le chef.
Deuxième erreur : installé glib, OK c'est fait.
Troisième erreur : ah mon brave monsieur, je peux pas vous faire votre animation en passant par latex, il me faut pdflatex. Bon, qu'à cela ne tienne, on fera autrement. Je suppose que je peux produire des figure volume_xx.eps avec asymptote, non ? Mais ce n'est pas urgent.
Quatrième erreur : Rule 'cusdep asy pdf volume-1', function 'asy' failed with return code = 256.
Là, je suis bien content, j'en fait quoi de l'erreur 256 ?

Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

Je n'utilise que très rarement latexmk, et je ne mets presque jamais mon code asy dans mon fichier tex, mais j'ai fais un essai. Le code suivant compile sans erreur chez moi avec compilation pdflatex+asy+pdflatex (pas essayé avec latexmk)

Code : Tout sélectionner

\documentclass[a4paper,10 pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[francais]{babel}
\usepackage[inline]{asymptote}
\usepackage{animate}
\begin{document}

\begin{center}
\begin{asy}
import solids;
import animate;
settings.tex="pdflatex";
settings.outformat="pdf";
size(7cm,0);
currentprojection=perspective(6,0,10,up=Y);
settings.prc=false;
settings.render=2;
pen color=green;
real alpha=-250;
// Cylindre avec bases
revolution cylindre(triple c=O, real r, real h, triple axis=Z)
{
  triple C=c+r*perp(axis);
  axis=h*unit(axis);
  return revolution(c,c--C--C+axis--c+axis,axis);
}

real f(real x) {return x+sin(x);}

real xm=6; // xmax
path p=graph(f,0,xm,n=20,operator ..);
path3 p3=path3(p);

animation Anim;

// pas forcément nécessaire...
render render=render(compression=0,merge=true);

draw(surface(revolution(p3,X,alpha,50)),color,render);
draw(cylinder(O,f(xm+.25),xm+.25,axis=X),invisible); // pour fixer la taille de l'image
xaxis3(Label("$x$",1),xmax=6.5,dashed,Arrow3);
yaxis3(Label("$y$",1),Arrow3);
Anim.add();

for(int n=1; n<=20; n+=1){
save();
for (int i=1;i<=n;i+=1) {
draw(surface(shift((i-1)*(xm/n)*X)*(cylindre(O,f(i*xm/n),xm/n,axis=X))),red+opacity(.75),render);
}
Anim.add();
restore();
}

erase();

label(Anim.pdf("controls",delay=750,keep=!settings.inlinetex)); // une image toutes les 750 ms
\end{asy}
\end{center}
\end{document}
As-tu toujours les mêmes erreurs avec ce code ?

Christophe

Edit : Ça compile aussi avec latexmk

Code : Tout sélectionner

latexmk -pdf monfichier.tex
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Animation, asymptote et animate

Message non lu par rebouxo »

J'ai appelé mon fichier V_bis.tex. Quand je lui demande asy V_bis, il ne le trouve pas.
Je te mets les insultes d'asymptote :

Code : Tout sélectionner

asy V_bis-1
/usr/local/texlive/2011/texmf/asymptote/three.asy: 2976.13: runtime: to support onscreen rendering, please install glut library, run ./configure, and recompile 
latex se plaint de ne pas trouver un V_bis-1.tex.

Si je lance latexmk, j'obtiens l'erreur précédente :

Code : Tout sélectionner

Latexmk: Missing input file: 'V_bis-1.tex' from line
  'Package asymptote Warning: file `V_bis-1.tex' not found on input line 59.'
Latexmk: Log file says output to 'V_bis.dvi'
Latexmk: All targets (V_bis.dvi) are up-to-date
Olivier
Asymptote, c'est très bien, mais c'est très loin d'être terminé :oops:
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

Je récapitule :
1/ ton fichier avec le code que j'ai donné en dernier s'appelle V_bis.tex
2/ tu te places dans le répertoire contenant le fichier et tu compiles par (attention, ne pas oublier l'option -pdf)

Code : Tout sélectionner

latexmk -pdf V_bis.tex
3/ tu obtiens l'erreur citée
C'est bien ça ?

Quelle version de latexmk as-tu ?

Christophe
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Animation, asymptote et animate

Message non lu par rebouxo »

chellier a écrit :Je récapitule :
1/ ton fichier avec le code que j'ai donné en dernier s'appelle V_bis.tex
2/ tu te places dans le répertoire contenant le fichier et tu compiles par (attention, ne pas oublier l'option -pdf)

Code : Tout sélectionner

latexmk -pdf V_bis.tex

Code : Tout sélectionner

Latexmk: Missing input file: 'V_bis-1.tex' from line
  'Package asymptote Warning: file `V_bis-1.tex' not found on input line 59.'
Latexmk: Log file says output to 'V_bis.pdf'
Latexmk: All targets (V_bis.pdf) are up-to-date
chellier a écrit : 3/ tu obtiens l'erreur citée
C'est bien ça ?

Quelle version de latexmk as-tu ?

Christophe
4.26. Mais honnêtement je ne pense pas que le problème vienne de latexmk. C'est asymptote qui renvoie une erreur.

Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

J'ai bien les mêmes warning que toi, mais la compilation va bien jusqu'au bout. C'est normal qu'il ne trouve pas le fichier au début vu qu'il vérifie si la figure existe ou a été modifiée.
Je te mets quand même le log si tu veux comparer :

Code : Tout sélectionner

$ latexmk -pdf V_bis.tex 
Latexmk: This is Latexmk, John Collins, 16 January 2010, version: 4.13a.
**** Report bugs etc to John Collins <collins at phys.psu.edu>. ****
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': Rules & subrules not known to be previously run:
   pdflatex
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  "V_bis.tex"'
------------
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./V_bis.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/lm/lmodern.sty)
(/var/lib/texmf/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)
*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg)))
(/usr/share/texmf-texlive/tex/latex/carlisle/scalefnt.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/local/share/texmf/tex/latex/asymptote/asymptote.sty
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/color.sty
(/etc/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)))
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/catchfile.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty)))
(/home/chellier/texmf/tex/latex/animate/animate.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/ifdraft.sty)
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty)
(/home/chellier/texmf/tex/latex/animate/animfp.sty)
(/usr/share/texmf/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)) (./V_bis.aux) (/usr/share/texmf/tex/latex/lm/t1lmr.fd)
(/usr/share/texmf/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)

Package asymptote Warning: file `V_bis-1.tex' not found on input line 59.

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./V_bis.aux) ){/usr/sha
re/texmf/fonts/enc/dvips/lm/lm-ec.enc}</usr/share/texmf/fonts/type1/public/lm/l
mr10.pfb>
Output written on V_bis.pdf (1 page, 17653 bytes).
Transcript written on V_bis.log.
Latexmk: Missing input file: 'V_bis-1.tex' from line
  'Package asymptote Warning: file `V_bis-1.tex' not found on input line 59.'
Latexmk: Log file says output to 'V_bis.pdf'
=== Creating rule for 'cusdep asy tex V_bis-1'
Latexmk: applying rule 'cusdep asy tex V_bis-1'...
Rule 'cusdep asy tex V_bis-1': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'V_bis-1.asy'
   Non-existent destination files:
      'V_bis-1.tex'
------------
Run number 1 of rule 'cusdep asy tex V_bis-1'
------------
For rule 'cusdep asy tex V_bis-1', running '&do_cusdep( asy )' ...
   **** Warning:  Default viewing OC config dictionary has /BaseState /OFF

   **** This file had errors that were repaired or ignored.
   **** The file was produced by: 
   **** >>>> pdfTeX-1.40.10 <<<<
   **** Please notify the author of the software that produced this
   **** file that it does not conform to Adobe's published PDF
   **** specification.

Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'V_bis-1.tex'
      'V_bis.aux'
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 2 of rule 'pdflatex'
------------
------------
Running 'pdflatex  "V_bis.tex"'
------------
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./V_bis.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/lm/lmodern.sty)
(/var/lib/texmf/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)
*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg)))
(/usr/share/texmf-texlive/tex/latex/carlisle/scalefnt.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/local/share/texmf/tex/latex/asymptote/asymptote.sty (./V_bis.pre
(./V_bis-1.pre (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
(/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty))
*hyperref using default driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def)
(/usr/share/texmf-texlive/tex/latex/hyperref/puenc.def)
(/home/chellier/texmf/tex/latex/movie15.sty
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty)
(/usr/share/texmf-texlive/tex/latex/oberdiek/ifdraft.sty)
(/usr/share/texmf-texlive/tex/latex/ms/everyshi.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp.sty
`Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich
(/usr/share/texmf-texlive/tex/latex/fp/defpattern.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-basic.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-addons.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-snap.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-exp.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-trigo.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-pas.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-random.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-eqn.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-upn.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-eval.sty)))
(/home/chellier/texmf/tex/latex/animate/animate.sty
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty)
(/home/chellier/texmf/tex/latex/animate/animfp.sty)
(/usr/share/texmf/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)))) (/usr/share/texmf-texlive/tex/latex/graphics/color.sty
(/etc/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)))
(/usr/share/texmf-texlive/tex/generic/oberdiek/catchfile.sty)) (./V_bis.aux)
(/usr/share/texmf/tex/latex/lm/t1lmr.fd)
(/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./V_bis.out)
(./V_bis.out) ABD: EveryShipout initializing macros
(/usr/share/texmf/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (./V_bis-1.tex <./_V_bis-1.pdf> <1> <./_V_bis-1.pdf> <2> <./_V_bis-1.pdf>
<3> <./_V_bis-1.pdf> <4> <./_V_bis-1.pdf> <5> <./_V_bis-1.pdf> <6> <./_V_bis-1.
pdf> <7> <./_V_bis-1.pdf> <8> <./_V_bis-1.pdf> <9> <./_V_bis-1.pdf> <10> <./_V_
bis-1.pdf> <11> <./_V_bis-1.pdf> <12> <./_V_bis-1.pdf> <13> <./_V_bis-1.pdf>
<14> <./_V_bis-1.pdf> <15> <./_V_bis-1.pdf> <16> <./_V_bis-1.pdf> <17> <./_V_bi
s-1.pdf> <18> <./_V_bis-1.pdf> <19> <./_V_bis-1.pdf> <20> <./_V_bis-1.pdf>
<21>) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./V_bis.aux) ){/u
sr/share/texmf/fonts/enc/dvips/lm/lm-ec.enc}</usr/share/texmf/fonts/type1/publi
c/lm/lmr10.pfb>
Output written on V_bis.pdf (1 page, 915458 bytes).
Transcript written on V_bis.log.
Latexmk: Log file says output to 'V_bis.pdf'
Removing no-longer-needed dependent 'V_bis-1.tex' from rule 'pdflatex'
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'V_bis.aux'
      'V_bis.out'
      'V_bis.pre'
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 3 of rule 'pdflatex'
------------
------------
Running 'pdflatex  "V_bis.tex"'
------------
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./V_bis.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/lm/lmodern.sty)
(/var/lib/texmf/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)
*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg)))
(/usr/share/texmf-texlive/tex/latex/carlisle/scalefnt.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/local/share/texmf/tex/latex/asymptote/asymptote.sty (./V_bis.pre
(./V_bis-1.pre (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
(/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty))
*hyperref using default driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def)
(/usr/share/texmf-texlive/tex/latex/hyperref/puenc.def)
(/home/chellier/texmf/tex/latex/movie15.sty
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty)
(/usr/share/texmf-texlive/tex/latex/oberdiek/ifdraft.sty)
(/usr/share/texmf-texlive/tex/latex/ms/everyshi.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp.sty
`Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich
(/usr/share/texmf-texlive/tex/latex/fp/defpattern.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-basic.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-addons.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-snap.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-exp.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-trigo.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-pas.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-random.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-eqn.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-upn.sty)
(/usr/share/texmf-texlive/tex/latex/fp/fp-eval.sty)))
(/home/chellier/texmf/tex/latex/animate/animate.sty
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty)
(/home/chellier/texmf/tex/latex/animate/animfp.sty)
(/usr/share/texmf/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)))) (/usr/share/texmf-texlive/tex/latex/graphics/color.sty
(/etc/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)))
(/usr/share/texmf-texlive/tex/generic/oberdiek/catchfile.sty)) (./V_bis.aux)
(/usr/share/texmf/tex/latex/lm/t1lmr.fd)
(/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./V_bis.out)
(./V_bis.out) ABD: EveryShipout initializing macros
(/usr/share/texmf/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (./V_bis-1.tex <./_V_bis-1.pdf> <1> <./_V_bis-1.pdf> <2> <./_V_bis-1.pdf>
<3> <./_V_bis-1.pdf> <4> <./_V_bis-1.pdf> <5> <./_V_bis-1.pdf> <6> <./_V_bis-1.
pdf> <7> <./_V_bis-1.pdf> <8> <./_V_bis-1.pdf> <9> <./_V_bis-1.pdf> <10> <./_V_
bis-1.pdf> <11> <./_V_bis-1.pdf> <12> <./_V_bis-1.pdf> <13> <./_V_bis-1.pdf>
<14> <./_V_bis-1.pdf> <15> <./_V_bis-1.pdf> <16> <./_V_bis-1.pdf> <17> <./_V_bi
s-1.pdf> <18> <./_V_bis-1.pdf> <19> <./_V_bis-1.pdf> <20> <./_V_bis-1.pdf>
<21>) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./V_bis.aux) ){/u
sr/share/texmf/fonts/enc/dvips/lm/lm-ec.enc}</usr/share/texmf/fonts/type1/publi
c/lm/lmr10.pfb>
Output written on V_bis.pdf (1 page, 915458 bytes).
Transcript written on V_bis.log.
Latexmk: Log file says output to 'V_bis.pdf'
Latexmk: All targets (V_bis.pdf) are up-to-date
Par contre, vu un de tes messages précédents, tu as peut-être un problème de librairie avec glut, ce qui serait plus inquiétant.
rebouxo a écrit : Olivier
Asymptote, c'est très bien, mais c'est très loin d'être terminé :oops:
\begin{mauvaisefoi}
Chez moi ça marche tout le temps :shock:
\end{mauvaisefoi}

Christophe
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Animation, asymptote et animate

Message non lu par rebouxo »

La compilation asymptote ne passe pas. Après que le lancement ait été effectué, il n'y a rien pendant un certain temps, puis le message d'erreur.

mon log :

Code : Tout sélectionner

Latexmk: This is Latexmk, John Collins, 9 August 2011, version: 4.26.
**** Report bugs etc to John Collins <collins at phys.psu.edu>. ****
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': Rules & subrules not known to be previously run:
   pdflatex
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex   "V_bis.tex"'
------------
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
entering extended mode
(./V_bis.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
 icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
 lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2011/texmf-dist/tex/latex/lm/lmodern.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/frenchb.ldf
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.def)
*************************************
* Local config file frenchb.cfg used
*
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/frenchb.cfg)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/carlisle/scalefnt.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2011/texmf/tex/latex/asymptote/asymptote.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2011/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/catchfile.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2011/texmf-dist/tex/latex/animate/animate.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/ifdraft.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/animate/animfp.sty)
(/usr/local/texlive/2011/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)) (./V_bis.aux) (/usr/local/texlive/2011/texmf-dist/tex/latex/lm/t1lmr.fd)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))

Package asymptote Warning: file `V_bis-1.tex' not found on input line 60.

[1{/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./V_bis.aux) ){/usr/local/texlive/2011/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc
}</usr/local/texlive/2011/texmf-dist/fonts/type1/public/lm/lmr10.pfb>
Output written on V_bis.pdf (1 page, 23461 bytes).
Transcript written on V_bis.log.
Latexmk: Missing input file: 'V_bis-1.tex' from line
  'Package asymptote Warning: file `V_bis-1.tex' not found on input line 60.'
Latexmk: Log file says output to 'V_bis.pdf'
=== Creating rule for 'cusdep asy tex V_bis-1'
Latexmk: applying rule 'cusdep asy tex V_bis-1'...
Rule 'cusdep asy tex V_bis-1': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'V_bis-1.asy'
   Non-existent destination files:
      'V_bis-1.tex'
------------
Run number 1 of rule 'cusdep asy tex V_bis-1'
------------
For rule 'cusdep asy tex V_bis-1', running '&do_cusdep( asy )' ...
/usr/local/texlive/2011/texmf/asymptote/three.asy: 2976.13: runtime: to support onscreen rendering, please install glut library, run ./configure, and recompile
Rule 'cusdep asy tex V_bis-1', function 'asy'
   failed with return code = 256
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'V_bis.aux'
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 2 of rule 'pdflatex'
------------
------------
Running 'pdflatex   "V_bis.tex"'
------------
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
entering extended mode
(./V_bis.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
 icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
 lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2011/texmf-dist/tex/latex/lm/lmodern.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/frenchb.ldf
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.def)
*************************************
* Local config file frenchb.cfg used
*
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/frenchb.cfg)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/carlisle/scalefnt.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2011/texmf/tex/latex/asymptote/asymptote.sty (./V_bis.pre)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2011/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/catchfile.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2011/texmf-dist/tex/latex/animate/animate.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/ifdraft.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/animate/animfp.sty)
(/usr/local/texlive/2011/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)) (./V_bis.aux) (/usr/local/texlive/2011/texmf-dist/tex/latex/lm/t1lmr.fd)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))

Package asymptote Warning: file `V_bis-1.tex' not found on input line 60.

[1{/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./V_bis.aux) ){/usr/local/texlive/2011/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc
}</usr/local/texlive/2011/texmf-dist/fonts/type1/public/lm/lmr10.pfb>
Output written on V_bis.pdf (1 page, 23461 bytes).
Transcript written on V_bis.log.
Latexmk: Missing input file: 'V_bis-1.tex' from line
  'Package asymptote Warning: file `V_bis-1.tex' not found on input line 60.'
Latexmk: Log file says output to 'V_bis.pdf'
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'V_bis.aux'
      'V_bis.pre'
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 3 of rule 'pdflatex'
------------
------------
Running 'pdflatex   "V_bis.tex"'
------------
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
entering extended mode
(./V_bis.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
 icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
 lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2011/texmf-dist/tex/latex/lm/lmodern.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/frenchb.ldf
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/babel.def)
*************************************
* Local config file frenchb.cfg used
*
(/usr/local/texlive/2011/texmf-dist/tex/generic/babel/frenchb.cfg)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/carlisle/scalefnt.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2011/texmf/tex/latex/asymptote/asymptote.sty (./V_bis.pre)
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2011/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/catchfile.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2011/texmf-dist/tex/latex/animate/animate.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/ifdraft.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/animate/animfp.sty)
(/usr/local/texlive/2011/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)) (./V_bis.aux) (/usr/local/texlive/2011/texmf-dist/tex/latex/lm/t1lmr.fd)
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty))
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))

Package asymptote Warning: file `V_bis-1.tex' not found on input line 60.

[1{/usr/local/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./V_bis.aux) ){/usr/local/texlive/2011/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc
}</usr/local/texlive/2011/texmf-dist/fonts/type1/public/lm/lmr10.pfb>
Output written on V_bis.pdf (1 page, 23461 bytes).
Transcript written on V_bis.log.
Latexmk: Missing input file: 'V_bis-1.tex' from line
  'Package asymptote Warning: file `V_bis-1.tex' not found on input line 60.'
Latexmk: Log file says output to 'V_bis.pdf'
Latexmk: All targets (V_bis.pdf) are up-to-date
Collected error summary (may duplicate other messages):
  cusdep asy tex V_bis-1: Command for 'cusdep asy tex V_bis-1' gave return code 256
Latexmk: Use the -f option to force complete processing.
Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

Quand tu compiles cet exemple par asy -V, est-ce qu'une fenêtre s'ouvre toute seule, avec la figure manipulable ?

Code : Tout sélectionner

size(5cm,0);
import three;

draw(unitcube,red);
Si ce n'est pas le cas, il y a un problème d'installation d'asymptote, surement des paquets manquants, mais là, il faudra attendre d'autres spécialistes :oops:

Christophe
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Animation, asymptote et animate

Message non lu par rebouxo »

chellier a écrit :Quand tu compiles cet exemple par asy -V, est-ce qu'une fenêtre s'ouvre toute seule, avec la figure manipulable ?

Code : Tout sélectionner

size(5cm,0);
import three;

draw(unitcube,red);
Si ce n'est pas le cas, il y a un problème d'installation d'asymptote, surement des paquets manquants, mais là, il faudra attendre d'autres spécialistes :oops:

Christophe
Hier soir j'ai essayé avec la configuration texlive2010 (et donc une autre version d'asymptote a priori fonctionnel) et cela merdoyer pareil.

Bon, après m'avoir demandé (très poliment d'installer gv) j'ai bien une figure, mais elle n'est pas manipulable, vu que c'est un eps.

Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

J'ai réalisé aujourd'hui que tu utilises la version d'asymptote de la distribution texlive. Le dernier conseil que je te donne c'est d'en installer une autre en compilant les sources (méthodes sur le wiki ou dans le démarrage rapide). Mais là, il faut se lancer!

Personnellement je compile toujours avec la méthode du démarrage rapide (sur ubuntu) et je n'ai jamais rencontré de gros problèmes avec asymptote...

Christophe
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Animation, asymptote et animate

Message non lu par rebouxo »

OK. On va arrêter là. IL faut d'abord que je passe à Ubuntu. Probablement la semaine du 27 août. On en reparlera alors.

Merci pour tous tes conseils.

Elle vraiment si mal foutue que cela la version asymptote de TeXlive ?

Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
chellier
Modérateur honoraire
Modérateur honoraire
Messages : 355
Inscription : samedi 25 juillet 2009, 12:25
Localisation : Le Creusot
Contact :

Re: Animation, asymptote et animate

Message non lu par chellier »

rebouxo a écrit :Merci pour tous tes conseils.
Merci, mais pour ce qui est installation, ça dépasse mes compétences...
rebouxo a écrit : Elle vraiment si mal foutue que cela la version asymptote de TeXlive ?
Y en a qui ont essayé, ils ont eu des problèmes :wink:
J'en suis toujours à texlive 2009, alors si d'autres utilisateurs pouvaient témoigner... Il y a pas grand monde pendant ces vacances :shock:

À tout hasard, est-ce que les paquets freeglut et freeglut-dev sont installés sur ta machine (pour freeglut-dev il me semble que c'est qu'en cas de compilation des sources, mais qui sait) ?
Et sinon, as-tu essayé la version d'asymptote des dépôts?

Christophe
Répondre
  • Sujets similaires
    Réponses
    Vues
    Dernier message