! LaTeX Error: File `asymptote.sty' not found

Pour les problèmes liés à l'installation et au fonctionnement de Pyromaths.

Modérateur : Développeurs

raimundoguimaraes1
Messages : 8
Inscription : 19 oct. 2018, 20:08

! LaTeX Error: File `asymptote.sty' not found

Message par raimundoguimaraes1 » 19 oct. 2018, 20:30

in the attempt to create PDF file the following errors appear:

=======================================================
(/usr/share/texlive/texmf-dist/tex/latex/numprint/numprint.sty
Package: numprint 2012/08/20 v1.39 Print numbers (HH)
\c@nprt@mantissa@digitsbefore=\count119
\c@nprt@mantissa@digitsafter=\count120
\c@nprt@exponent@digitsbefore=\count121
\c@nprt@exponent@digitsafter=\count122
\nprt@digitwidth=\skip72
\nprt@sepwidth=\skip73
\nprt@decimalwidth=\skip74
\nprt@blockwidth=\skip75
\nprt@digittoks=\toks27
\nprt@pretoks=\toks28
\nprt@posttoks=\toks29
\nprt@thisdigit=\count123
\nprt@curpos=\count124
\nprt@rndpos=\count125
\c@nprt@digitsfirstblock=\count126
\c@nprt@blockcnt=\count127
\c@nprt@cntprint=\count128

No configuration file `numprint.cfg' found.)

======================================================


But processing continues


But in the end the file not generated because of the asymptote.sty file, and unable to install said file

It follows the end in the log file, and reports that only the files:

exercise.aux exercise.fls exercise.log exercise.tex exercise.fdb_latexmk latexmkrc

follows the end of the log file:
================================================
(/usr/share/texlive/texmf-dist/tex/latex/mathtools/mhsetup.sty
Package: mhsetup 2010/01/21 v1.2a programming setup (MH)
)
LaTeX Info: Thecontrolsequence`\('isalreadyrobust on input line 129.
LaTeX Info: Thecontrolsequence`\)'isalreadyrobust on input line 129.
LaTeX Info: Thecontrolsequence`\['isalreadyrobust on input line 129.
LaTeX Info: Thecontrolsequence`\]'isalreadyrobust on input line 129.
\g_MT_multlinerow_int=\count172
\l_MT_multwidth_dim=\dimen261
\origjot=\skip79
\l_MT_shortvdotswithinadjustabove_dim=\dimen262
\l_MT_shortvdotswithinadjustbelow_dim=\dimen263
\l_MT_above_intertext_sep=\dimen264
\l_MT_below_intertext_sep=\dimen265
\l_MT_above_shortintertext_sep=\dimen266
\l_MT_below_shortintertext_sep=\dimen267
)

! LaTeX Error: File `asymptote.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.27 \usepackage
{tkz-tab}^^M
*** (cannot \read from terminal in nonstop modes)


Here is how much of TeX's memory you used:
14510 strings out of 493030
237287 string characters out of 6136259
354104 words of memory out of 5000000
17822 multiletter control sequences out of 15000+600000
4709 words of font info for 16 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
43i,0n,51p,591b,439s stack positions out of 5000i,500n,10000p,200000b,80000s
No pages of output.

raimundoguimaraes1
Messages : 8
Inscription : 19 oct. 2018, 20:08

Re: ! LaTeX Error: File `asymptote.sty' not found

Message par raimundoguimaraes1 » 19 oct. 2018, 20:41

The error occurs at line 71 of the utiliser / view.py file
=====================
with Fiche(parametres) as fiche:
fiche.write_pdf()
=====================

Analyzing I discovered that the exception fires at line 117 of the {env} /lib/python3.5/site-packages/pyromaths/outils/System.py file
======================
else:
subprocess.run(
["latexmk", "-silent", self.basename],
cwd=self.workingdir,
)
subprocess.run(
["latexmk", "-silent", "-c"],
cwd=self.workingdir,
)
========================
Use "virtualenv"


Avatar de l’utilisateur
Jérôme
Administrateur - Site Admin
Messages : 1120
Inscription : 26 août 2006, 13:10
Localisation : Nantes
Contact :

Re: ! LaTeX Error: File `asymptote.sty' not found

Message par Jérôme » 20 oct. 2018, 10:59

Hi,

what is your operating system ? You should have asymptote installed if you have followed the instructions on the site.
Pyromaths génère des fiches d'exercices et leur corrigé en toute simplicité.
Un programme multi-plateformes libre et gratuit sous licence GPL

Répondre