Texlive 2016 et Asymptote

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 :

[Résolu] Texlive 2016 et Asymptote

Message non lu par rebouxo »

J'ai installé Texlive 2016 et donc la version asymptote qui vient avec.

Depuis j'ai un soucis avec les labels.

Code : Tout sélectionner

% !-*-coding:utf-8-*-
\documentclass[french,10pt]{article}
 
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[pdftex,final]{attachfile2}
\usepackage[attach]{asymptote}
\usepackage{kpfonts}

\begin{document}

On considère le cube $ABCDEFGH$ d'arête $3$ représenté par la figure
  \ref{fig_STD2A_16Fa}.
  \begin{figure}[!h]
    \centering
    \begin{asy}
      import graph ; 
      import math ; 
      import geometry ;
      usepackage("calrsfs") ;  
      texpreamble("\usepackage[utf8]{inputenc}");
      import interpolate ;
      unitsize(1cm,1cm) ; 
      
      
      real xmin = -1, xmax = 5 ; 
      real ymin = -1, ymax = 5 ; 
      real xStep = 1, xsubStep = xStep/1 ;
      real yStep = 1, ysubStep = yStep/1 ;

      point pA=(0,0) ;
      point pB=(3,0) ;
      point pC = rotate(-90,pB)*pA ;
      point pD = rotate(90,pA)*pB ;
      point pE=(1,1) ;
      point pF = shift(pE-pA)*pB ;
      point pG = shift(pE-pA)*pC ;
      point pH = shift(pE-pA)*pD ;
      path[] faces = pA--pB--pC--pD--cycle^^pB--pF--pG--pC--cycle^^pC--pD--pH--pG--cycle ; 
      path[] aretesPointi = pA--pE--pH^^pE--pF ;
      currentpen = linewidth(1bp)+rgb("0000AC") ;
      draw(faces) ;
      //label("$ A $",pA,SW) ;
      //label("$ B $",pB,SE) ;
      //label("$ C $",pC,E) ;
      //label("$ D $",pD,W) ;
      //label("$ E $",pE,W) ;
      //label("$ F $",pF,E) ;
      //label("$ G $",pG,NE) ;
      //label("$ H $",pH,NW) ;

      // voyons 
      draw(aretesPointi,dashed) ;

      // Si il y a un graphe de fonction, le mettre avant cette ligne
      limits((xmin,ymin),(xmax,ymax),Crop) ;

      pen styloOli = 1bp+gray+dotted ;

      xaxis(BottomTop,p=bp+grey,//
      ticks=Ticks("%",
      extend=true,//
      Step=xStep,//
      step=xsubStep,//
      pTick=styloOli,
      ptick=styloOli,
      Size=2mm,
      size=0mm)) ;
      yaxis(LeftRight,p=bp+grey,//
      ticks=Ticks("%",
      extend=true,
      Step=yStep,
      step=ysubStep,
      pTick=styloOli,
      ptick=styloOli)); 

         \end{asy}
  \caption{}\label{fig_STD2A_16Fa}
  \end{figure}
  
\end{document}
Si vous décommettez les labels, la figure n'est plus centrée et la numérotation des figures disparaît. Il n'y a pas d'erreur à la compilation et je n'ai pas vu de procédure particulière dans la doc d'asymptote.

[EDIT : ] le log avec label montre un float trop large :
// LaTeX Warning: Float too large for page by 269.44806pt on input line 84.

C'est asymptote qui ne calcule pas bien la bbbox ?
[EDIT 2 : ] J'ai ouvert la figure Essai-1.pdf produite par asymptote. Elle est sur une page A4. Le problème vient bien d'Asymptote.

[EDIT 3 :] Bon un asy -f pdf -vvv Essai-*.asy donne le log suivant :

Code : Tout sélectionner

kpsewhich --var-value=TEXMFMAIN
/usr/local/texlive/2016/texmf-dist
kpsewhich --var-value=ASYMPTOTE_HOME

Using configuration directory /home/oli-math/.asy
Using history /home/oli-math/.asy/history
Welcome to Asymptote version 2.38
cd /home/oli-math/Documents/Essai_Latex
Processing Essai-1
Loading plain from /usr/local/texlive/2016/texmf-dist/asymptote/plain.asy
Including plain_constants from /usr/local/texlive/2016/texmf-dist/asymptote/plain_constants.asy
Loading version from /usr/local/texlive/2016/texmf-dist/asymptote/version.asy
Including plain_strings from /usr/local/texlive/2016/texmf-dist/asymptote/plain_strings.asy
Including plain_pens from /usr/local/texlive/2016/texmf-dist/asymptote/plain_pens.asy
Including plain_paths from /usr/local/texlive/2016/texmf-dist/asymptote/plain_paths.asy
Including plain_filldraw from /usr/local/texlive/2016/texmf-dist/asymptote/plain_filldraw.asy
Including plain_margins from /usr/local/texlive/2016/texmf-dist/asymptote/plain_margins.asy
Including plain_picture from /usr/local/texlive/2016/texmf-dist/asymptote/plain_picture.asy
Loading plain_scaling from /usr/local/texlive/2016/texmf-dist/asymptote/plain_scaling.asy
Loading simplex from /usr/local/texlive/2016/texmf-dist/asymptote/simplex.asy
Loading plain_bounds from /usr/local/texlive/2016/texmf-dist/asymptote/plain_bounds.asy
Including plain_scaling from /usr/local/texlive/2016/texmf-dist/asymptote/plain_scaling.asy
Including plain_prethree from /usr/local/texlive/2016/texmf-dist/asymptote/plain_prethree.asy
Including plain_Label from /usr/local/texlive/2016/texmf-dist/asymptote/plain_Label.asy
Including plain_shipout from /usr/local/texlive/2016/texmf-dist/asymptote/plain_shipout.asy
Including plain_xasy from /usr/local/texlive/2016/texmf-dist/asymptote/plain_xasy.asy
Including plain_arcs from /usr/local/texlive/2016/texmf-dist/asymptote/plain_arcs.asy
Including plain_boxes from /usr/local/texlive/2016/texmf-dist/asymptote/plain_boxes.asy
Including plain_markers from /usr/local/texlive/2016/texmf-dist/asymptote/plain_markers.asy
Including plain_arrows from /usr/local/texlive/2016/texmf-dist/asymptote/plain_arrows.asy
Including plain_debugger from /usr/local/texlive/2016/texmf-dist/asymptote/plain_debugger.asy
Loading Essai-1.asy from Essai-1.asy
Loading graph from /usr/local/texlive/2016/texmf-dist/asymptote/graph.asy
Loading math from /usr/local/texlive/2016/texmf-dist/asymptote/math.asy
Loading graph_splinetype from /usr/local/texlive/2016/texmf-dist/asymptote/graph_splinetype.asy
Loading graph_settings from /usr/local/texlive/2016/texmf-dist/asymptote/graph_settings.asy
Loading geometry from /usr/local/texlive/2016/texmf-dist/asymptote/geometry.asy
Loading markers from /usr/local/texlive/2016/texmf-dist/asymptote/markers.asy
pdflatex -jobname=Essai \scrollmode
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.


*
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{calrsfs}
\usepackage{kpfonts}
\newbox\ASYbox
\newdimen\ASYdimen
\def\ASYprefix{}
\long\def\ASYbase#1#2{\leavevmode\setbox\ASYbox=\hbox{#1}%\ASYdimen=\ht\ASYbox%
\setbox\ASYbox=\hbox{#2}\lower\ASYdimen\box\ASYbox}
\usepackage{graphicx}
\begin{document}
\makeatletter%
\let\ASYencoding\f@encoding%
\let\ASYfamily\f@family%
\let\ASYseries\f@series%
\let\ASYshape\f@shape%
\makeatother%
\fontsize{12}{14.4}\selectfont

(Please type a command or say `\end')
*
*(/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/base/inputenc.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/omsenc.dfu)))
*(/usr/local/texlive/2016/texmf-dist/tex/latex/calrsfs/calrsfs.sty)
*(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/kpfonts.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ts1enc.def
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ts1enc.dfu)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsopn.sty)))
*
*
*
*
*
*(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/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))))
No file Essai.aux.
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/omljkp.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/omsjkp.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/omxjkp.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpexa.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ot1jkp.fd)
(/usr/local/texlive/2016/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/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/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
*
*
*
*
*
*
*
*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$ A $}

(/usr/local/texlive/2016/texmf-dist/tex/latex/calrsfs/OMSrsfs.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpmia.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpsya.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpsyb.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpsyc.fd)
*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(8.496pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.334pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\fontsize{12}{14.4}\selectfont


*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$ B $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(7.5pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\fontsize{12}{14.4}\selectfont


*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$ C $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(8.94pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.334pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.19199pt)dim

*\fontsize{12}{14.4}\selectfont


*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$ D $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(9.76799pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\fontsize{12}{14.4}\selectfont


*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$ E $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(7.88399pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\fontsize{12}{14.4}\selectfont


*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$ F $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(7.48799pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\fontsize{12}{14.4}\selectfont


*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$ G $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(9.024pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.334pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.35999pt)dim

*\fontsize{12}{14.4}\selectfont


*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$ H $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(10.36798pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\fontsize{12}{14.4}\selectfont


*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(0.0pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(0.0pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.0pt)dim

*\fontsize{12}{14.4}\selectfont


*(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%


*(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{$ A $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(8.496pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.334pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\setbox\ASYbox=\hbox{$ B $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(7.5pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\setbox\ASYbox=\hbox{$ C $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(8.94pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.334pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.19199pt)dim

*\setbox\ASYbox=\hbox{$ D $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(9.76799pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\setbox\ASYbox=\hbox{$ E $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(7.88399pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\setbox\ASYbox=\hbox{$ F $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(7.48799pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*\setbox\ASYbox=\hbox{$ G $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(9.024pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.334pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.35999pt)dim

*\setbox\ASYbox=\hbox{$ H $}


*(Please type a command or say `\end')
*\immediate\write16{>dim(\the\wd\ASYbox)dim}
>dim(10.36798pt)dim

*\immediate\write16{>dim(\the\ht\ASYbox)dim}
>dim(8.05798pt)dim

*\immediate\write16{>dim(\the\dp\ASYbox)dim}
>dim(0.09299pt)dim

*gs -q -dNOPAUSE -dBATCH -P -dSAFER -sDEVICE=pdfwrite -dEPSCrop -dSubsetFonts=true -dEmbedAllFonts=true -dMaxSubsetPct=100 -dPDFSETTINGS=/prepress -dCompatibilityLevel=1.4 -dAutoRotatePages=/None -g612x792 -dDEVICEWIDTHPOINTS=171.079 -dDEVICEHEIGHTPOINTS=171.079 -sOutputFile=Essai-1_0.pdf Essai-1_0.eps
pdflatex \nonstopmode\input Essai-1_.tex
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.

(./Essai-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/base/inputenc.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/calrsfs/calrsfs.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/kpfonts.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ts1enc.def
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ts1enc.dfu)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/amsmath/amsopn.sty)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/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/graphics/color.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/color.cfg))
No file Essai-1_.aux.
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/omljkp.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/omsjkp.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/omxjkp.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpexa.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ot1jkp.fd)
(/usr/local/texlive/2016/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/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/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
<Essai-1_0.pdf, id=1, 171.72156pt x 171.72156pt> <use Essai-1_0.pdf>
(/usr/local/texlive/2016/texmf-dist/tex/latex/calrsfs/OMSrsfs.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpmia.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpsya.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpsyb.fd)
(/usr/local/texlive/2016/texmf-dist/tex/latex/kpfonts/ujkpsyc.fd) [1{/usr/local
/texlive/2016/texmf-var/fonts/map/pdftex/updmap/pdftex.map} <./Essai-1_0.pdf>]
(./Essai-1_.aux) )</usr/local/texlive/2016/texmf-dist/fonts/type1/public/kpfont
s/jkpmi.pfb>
Output written on Essai-1_.pdf (1 page, 5335 bytes).
Transcript written on Essai-1_.log.
Wrote Essai-1.pdf
Il y a un problème de gestion des fontes : cela explique que le problème apparaisse avec les labels. Pourquoi la compilation passe-t-elle par un du postscript ? Alors que je demande un pdf ?

Une idée ?

D'avance merci
Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Texlive 2016 et asymptote

Message non lu par rebouxo »

Je poursuis mes investigations...

Le code suivant est l'asy d'une figure dans un .tex. Si je compile cette figure avec le //settings.tex décommenté j'ai bien une figure avec la bonne taille.
Le code fonctionne aussi parfaitement avec un settings.tex="latex". Tout ce passe comme si la compilation en pdflatex n'était pas prise en compte.

Bref, là je ne comprends pas ce qui se passe.

Code : Tout sélectionner

if(!settings.multipleView) settings.batchView=false;
//settings.tex="pdflatex";
defaultfilename="bac-25";
if(settings.render < 0) settings.render=4;
settings.outformat="";
settings.inlineimage=false;
settings.embed=false;
settings.toolbar=true;

import graph ;
import math ;
import geometry ;
usepackage("calrsfs") ;
import interpolate ;

unitsize(1cm,1cm) ;
point pA=(1,0.5) ;
point pB=(3.7,0.5) ;
point pC=(0.6,2.2) ;

triangle ABC = triangle(pA, pB, pC) ;

label(ABC) ;
show(Lc="$3$",La="$4$",Lb="$2$",ABC) ;

currentpen = linewidth(1bp)+rgb("0000AC") ;
draw(ABC) ;

Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
OG
Modérateur spécialisé
Modérateur spécialisé
Messages : 2293
Inscription : lundi 12 mars 2007, 11:20
Localisation : Rouen

Re: Texlive 2016 et asymptote

Message non lu par OG »

Salut Olivier

D'autres personnes ont aussi des pbs avec Texlive 2016 et asymptote.
http://tex.stackexchange.com/questions/ ... pdf-output
et ici
https://sourceforge.net/p/asymptote/dis ... /98f943a2/

A+
O.G.
rebouxo
Modérateur honoraire
Modérateur honoraire
Messages : 6962
Inscription : mercredi 15 février 2006, 13:18
Localisation : le havre
Contact :

Re: Texlive 2016 et asymptote

Message non lu par rebouxo »

Bonjour Olivier

J'avais pourtant recherché des problèmes. Bon, celui de StackExchange est trop récent, mais l'autre, je l'ai point trouvé.
Si j'ai bien compris, le problème est réglé, reste à espérer une mise à jour de TeXlive.

Et bonnes vacances
Olivier
A line is a point that went for a walk. Paul Klee.
Par solidarité, pas de MP.
Répondre
  • Sujets similaires
    Réponses
    Vues
    Dernier message