L'ECM suivant ne compiles plus depuis une petite quinzaine de jours. Le problème se situe entre LaTeX et asymptote. La partie asymptote compile très bien seule, avec production d'une figure dans la fenêtre OpenGL.
Code : Tout sélectionner
\documentclass[10pt]{article}
\usepackage{asymptote}
\begin{document}
\begin{asy}
import graph3 ;
import math ;
import geometry ;
import three ;
import solids ;
usepackage("calrsfs") ;
import interpolate ;
unitsize(0.5cm,0.5cm) ;
currentprojection=orthographic(
camera=(-84.5471163578594,-62.4853147647554,-37.0445122414743),
up=(-0.00833240222939481,-0.00842498313182255,0.0332281806073597),
target=(4.9737991503207e-14,0,-7.46069872548105e-14),
zoom=0.746215396636627) ;
real x = 10 ;
real h = 1200/(x*x) ;
triple pO = (0,0,0) ;
triple pA = (x,0,0) ;
triple pB = (0,x,0) ;
triple pS = (0,0,h) ;
//label("$A$",pA,S) ;
//label("$B$",pB,S) ;
//label("$O$",pO,SE) ;
//label("$S$",pS,N) ;
path3 [] aretes = {pO--pA--pS--cycle,
pO--pB--pS--cycle,
pO--pA--pB--cycle} ;
currentpen = linewidth(1bp)+rgb("0000AC") ;
surface flacon = surface(aretes) ;
draw(aretes,rgb("0000AC")+linewidth(1bp)) ;
draw(flacon,rgb("0000AC")+opacity(0.5)) ;
\end{asy}
\end{document}
Le problème se substitue en deux.
Sans les labels, la commande asy -v ECM-1.asy produit une erreur, mais on peut passer outre et la figure est quand même créée, ainsi que le document pdf.
Code : Tout sélectionner
oli-math@oli-math-UX303LN:~/Documents/Essai_Latex/Asymptote$ asy -v ECM-1.asy
Processing ECM-1
Wrote ECM-1+0.tex
Wrote ECM-1+0.prc
Wrote ECM-1.tex
oli-math@oli-math-UX303LN:~/Documents/Essai_Latex/Asymptote$ Syntax Error: Couldn't find trailer dictionary
Syntax Error: Couldn't read xref table
error: could not open document
Syntax Error: Couldn't find trailer dictionary
Syntax Error: Couldn't read xref table
error: could not open document
^C
oli-math@oli-math-UX303LN:~/Documents/Essai_Latex/Asymptote$ pdflatex ECM.tex
Bon avec les labels, c'est pire :
Code : Tout sélectionner
oli-math@oli-math-UX303LN:~/Documents/Essai_Latex/Asymptote$ asy -v ECM-1.asy
Processing ECM-1
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/.tex File ignored)
(./ECM-1_.tex (/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/size12.clo))
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/local/texlive/2016/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver (autodetected): hpdftex.
(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/local/texlive/2016/texmf-dist/tex/latex/media9/media9.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3kernel/l3pdfmode.def))
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3experimental/l3str/l3regex.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3experimental/l3str/l3tl-build.s
ty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3experimental/l3str/l3tl-analysi
s.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3experimental/l3str/l3flag.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3experimental/l3str/l3str-conver
t.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/atenddvi.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/zref-abspage.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/zref-base.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/zref-lastpage.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/media9/pdfbase.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/ocgx2/ocgbase.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/calrsfs/calrsfs.sty)
No file .aux.
pdflatex: Not writing to .aux (openout_any = p).
! I can't write on file `.aux'.
\document ...ate \openout \@mainaux \jobname .aux
\immediate \write \@mainau...
l.16 \begin{document}
(Press Enter to retry, or Control-D to exit; default file extension is `.tex')
Please type another output file name
! Emergency stop.
\document ...ate \openout \@mainaux \jobname .aux
\immediate \write \@mainau...
l.16 \begin{document}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on .log.
/usr/local/texlive/2016/texmf-dist/asymptote/plain_Label.asy: 655.6: texpath failed
oli-math@oli-math-UX303LN:~/Documents/Essai_Latex/Asymptote$ error: unknown file type
error: unknown file type
D'avance merci.
Olivier