Miktex Trying To Use Asymptotewithtexmakertex Latex Vrogue
Note: I initially asked this question on TeX Stack Exchange, but unfortunately, I did not receive a response. I am reposting it here to get help from a broader community. Here is the link to the original post: https://tex.stackexchange.com/questions/700578/asymptote-code-generates-asy-files-but-asymptote-execution-fails This question further explores an issue that was previously addressed in one of my earlier inquiries on TeX.SE: https://tex.stackexchange.com/questions/700514/asymptote-error-missing-pdf-file-during-compilation I am encountering a peculiar issue when working with my LaTeX document that includes Asymptote code.
The LaTeX compilation appears to generate the necessary.asy files, but when I attempt to execute Asymptote separately on these files, I encounter difficulties. Here's the setup and the steps I have taken: - I am using a Windows operating system. - I have successfully installed LaTeX, Asymptote, and Ghostscript, and have verified that all three are included in my system's PATH. - I use the -shell-escape option when compiling my LaTeX document.
The LaTeX compilation log suggests that the Asymptote code is being executed correctly, as I observe the generation of a PDF file (asymptote-latex-1.pdf). However, when I try to run Asymptote manually on the generated.asy files, it does not work. I have tried using the following commands to run Asymptote: asy "C:\Users\twill\OneDrive\Desktop\ASYMPTOTE\output-directory\asymptote-latex-1.asy" asy C:\Users\twill\asymptote-latex-*.asy Despite this, I encounter issues, and Asymptote does not seem to process the files correctly. The specific error message I am facing is: failed to create directory /.asy..
The log of the LaTeX compilation does not provide any error messages related to Asymptote. Has anyone encountered a similar issue where the LaTeX compilation generates.asy files, but Asymptote execution on these files fails? I would greatly appreciate any insights, troubleshooting steps, or solutions to ensure that the Asymptote code processes the.asy files correctly. Thank you for your assistance.
MWE: (Credit: https://tex.stackexchange.com/questions/537967/filename-1-pdf-not-found-asymptote) \documentclass{article} \usepackage{graphicx} \usepackage{asymptote} \begin{document} \begin{asy} size(200); pen[] p={red,green,blue,magenta}; path g=(0,0){dir(45)}..(1,0)..(1,1)..(0,1)..cycle; tensorshade(g,p); dot(g); \end{asy} \end{document} log: This is pdfTeX, Version 3.141592653-2.6-1.40.25 (MiKTeX 23.5) (preloaded format=pdflatex 2023.8.22) 6 NOV 2023 10:25 entering extended mode restricted \write18 enabled. %&-line parsing enabled.
**C:/Users/twill/OneDrive/Desktop/ASYMPTOTE/asymptote-latex.tex (C:/Users/twill/OneDrive/Desktop/ASYMPTOTE/asymptote-latex.tex LaTeX2e patch level 1 L3 programming layer (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/base\article.cls Document Class: article 2023/05/17 v1.4n Standard LaTeX document class (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/base\size10.clo File: size10.clo 2023/05/17 v1.4n Standard LaTeX file (size option) ) \c@part=\count185 \c@section=\count186 \c@subsection=\count187 \c@subsubsection=\count188 \c@paragraph=\count189 \c@subparagraph=\count190 \c@figure=\count191 \c@table=\count192 \abovecaptionskip=\skip48 \belowcaptionskip=\skip49 \bibindent=\dimen140 ) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphicx.sty Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/graphics\keyval.sty Package: keyval 2022/05/29 v1.15 key=value parser (DPC) \KV@toks@=\toks17 ) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphics.sty Package: graphics 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/graphics\trig.sty Package: trig 2021/08/11 v1.11 sin cos tan (DPC) ) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/graphics-cfg\graphics.c fg File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration ) Package graphics Info: Driver file: pdftex.def on input line 107.
(C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/graphics-def\pdftex.def File: pdftex.def 2022/09/22 v1.2b Graphics/color driver for pdftex )) \Gin@req@height=\dimen141 \Gin@req@width=\dimen142 ) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/asymptote\asymptote.sty Package: asymptote 2021/12/29 v1.37 Asymptote style file for LaTeX (asymptote-latex.pre) \ASYbox=\box51 \ASYdimen=\dimen143 \c@asy=\count193 \AsyStream=\write3 \AsyPreStream=\write4 (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/base\ifthen.sty Package: ifthen 2022/04/13 v1.1d Standard LaTeX ifthen package (DPC) ) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/generic/iftex\ifpdf.sty Package: ifpdf 2019/10/25 v3.4 ifpdf legacy package. Use iftex instead. (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/generic/iftex\iftex.sty Package: iftex 2022/02/03 v1.0f TeX engine tests )) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/generic/iftex\ifxetex.sty Package: ifxetex 2019/10/25 v0.7 ifxetex legacy package. Use iftex instead.
) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/generic/catchfile\catchfile.s ty Package: catchfile 2019/12/09 v1.8 Catch the contents of a file (HO) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/generic/infwarerr\infwarerr.s ty Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO) ) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/generic/ltxcmds\ltxcmds.sty Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO) ) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/generic/etexcmds\etexcmds.sty Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO) )) \openout4 = `asymptote-latex.pre'. ) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/l3backend\l3backend-pdf tex.def File: l3backend-pdftex.def 2023-04-19 L3 backend support: PDF output (pdfTeX) \l__color_backend_stack_int=\count194 \l__pdf_internal_box=\box52 ) (asymptote-latex.aux) \openout1 = `asymptote-latex.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4. LaTeX Font Info:...
okay on input line 4. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4. LaTeX Font Info:... okay on input line 4. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4. LaTeX Font Info:... okay on input line 4. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4. LaTeX Font Info:... okay on input line 4. LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 4. LaTeX Font Info:... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4. LaTeX Font Info:... okay on input line 4. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4. LaTeX Font Info:... okay on input line 4. (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/context/base/mkii\supp-pdf.mk ii [Loading MPS to PDF converter (version 2006.09.02).] \scratchcounter=\count195 \scratchdimen=\dimen144 \scratchbox=\box53 \nofMPsegments=\count196 \nofMParguments=\count197 \everyMPshowfont=\toks18 \MPscratchCnt=\count198 \MPscratchDim=\dimen145 \MPnumerator=\count199 \makeMPintoPDFobject=\count266 \everyMPtoPDFconversion=\toks19 ) (C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/epstopdf-pkg\epstopdf-b ase.sty Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 85.
(C:\Users\twill\AppData\Local\Programs\MiKTeX\tex/latex/00miktex\epstopdf-sys.c fg File: epstopdf-sys.cfg 2021/03/18 v2.0 Configuration of epstopdf for MiKTeX )) \openout3 = `asymptote-latex-1.asy'. File: asymptote-latex-1.pdf Graphic file (type pdf) Package pdftex.def Info: asymptote-latex-1.pdf used on input line 11. (pdftex.def) Requested size: 200.7495pt x 131.06934pt.
[1 {C:/Users/twill/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map} ] (asymptote-latex.aux) *********** LaTeX2e patch level 1 L3 programming layer *********** ) Here is how much of TeX's memory you used: 1800 strings out of 475503 31543 string characters out of 5761834 1916248 words of memory out of 12000000 23078 multiletter control sequences out of 15000+600000 558069 words of font info for 36 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 62i,5n,65p,256b,139s stack positions out of 10000i,1000n,20000p,200000b,200000s Output written on asymptote-latex.pdf (1 page, 9798 bytes). PDF statistics: 13 PDF objects out of 1000 (max.
8388607) 0 named destinations out of 1000 (max. 500000) 6 words of extra memory for PDF output out of 10000 (max. 10000000)
People Also Asked
- MikTeX%3A%20Trying%20to%20use%20Asymptote%20with%20Texmaker%20-%20LaTeX%20Stack%20Exchange
- LaTeX%20usage%20%28Asymptote%3A%20the%20Vector%20Graphics%20Language%29
- Issue%20with%20Asymptote%20Execution%20in%20LaTeX%3A%20%22failed%20to%20create%20directory...
- asymptote%20-%20MiKTeX
- asymptote%20%7C%20Problem%20in%20Texmaker%20-%20LaTeX.org
- Asymptote%20-.tex%20and.asy%20files%20%B7%20MiKTeX%20miktex%20%B7%20Discussion%20%231399
MikTeX%3A%20Trying%20to%20use%20Asymptote%20with%20Texmaker%20-%20LaTeX%20Stack%20Exchange%3F
MWE%3A%20%28Credit%3A%20https%3A//tex.stackexchange.com/questions/537967/filename-1-pdf-not-found-asymptote%29%20%5Cdocumentclass%7Barticle%7D%20%5Cusepackage%7Bgraphicx%7D%20%5Cusepackage%7Basymptote%7D%20%5Cbegin%7Bdocument%7D%20%5Cbegin%7Basy%7D%20size%28200%29%3B%20pen%5B%5D%20p%3D%7Bred%2Cgreen%2Cblue%2Cmagenta%7D%3B%20path%20g%3D%280%2C0%29%7Bdir%2845%29%7D..%281%2C0%29..%281%2C1%29..%280%2C1%29..cycle%3B%20tensorshade%28g%2Cp%29%3B%20dot%28g%29%3B%20%5Cend%7Basy%7D%20%5Cend%7Bdocument%7D%20log%3A%20This%20is%20pdfTeX%2C%20Version%203.141592653-2.6-1.40.25%20%28MiKT...
LaTeX%20usage%20%28Asymptote%3A%20the%20Vector%20Graphics%20Language%29%3F
The%20log%20of%20the%20LaTeX%20compilation%20does%20not%20provide%20any%20error%20messages%20related%20to%20Asymptote.%20Has%20anyone%20encountered%20a%20similar%20issue%20where%20the%20LaTeX%20compilation%20generates.asy%20files%2C%20but%20Asymptote%20execution%20on%20these%20files%20fails%3F%20I%20would%20greatly%20appreciate%20any%20insights%2C%20troubleshooting%20steps%2C%20or%20solutions%20to%20ensure%20that%20the%20Asymptote%20code%20processes%20the.asy%20files%20correctly.%20Thank%20you%20for%20your%20assistance...
Issue%20with%20Asymptote%20Execution%20in%20LaTeX%3A%20%22failed%20to%20create%20directory...%3F
The%20LaTeX%20compilation%20log%20suggests%20that%20the%20Asymptote%20code%20is%20being%20executed%20correctly%2C%20as%20I%20observe%20the%20generation%20of%20a%20PDF%20file%20%28asymptote-latex-1.pdf%29.%20However%2C%20when%20I%20try%20to%20run%20Asymptote%20manually%20on%20the%20generated.asy%20files%2C%20it%20does%20not%20work.%20I%20have%20tried%20using%20the%20following%20commands%20to%20run%20Asymptote%3A%20asy%20%22C%3A%5CUsers%5Ctwill%5COneDrive%5CDesktop%5CASYMPTOTE%5Coutput-directory%5Casymptote-latex-1.asy%22%20asy%20C%3A...
asymptote%20-%20MiKTeX%3F
%28C%3A%5CUsers%5Ctwill%5CAppData%5CLocal%5CPrograms%5CMiKTeX%5Ctex/latex/00miktex%5Cepstopdf-sys.c%20fg%20File%3A%20epstopdf-sys.cfg%202021/03/18%20v2.0%20Configuration%20of%20epstopdf%20for%20MiKTeX%20%29%29%20%5Copenout3%20%3D%20%60asymptote-latex-1.asy%27.%20File%3A%20asymptote-latex-1.pdf%20Graphic%20file%20%28type%20pdf%29%20Package%20pdftex.def%20Info%3A%20asymptote-latex-1.pdf%20used%20on%20input%20line%2011.%20%28pdftex.def%29%20Requested%20size%3A%20200.7495pt%20x%20131.06934pt.
asymptote%20%7C%20Problem%20in%20Texmaker%20-%20LaTeX.org%3F
The%20log%20of%20the%20LaTeX%20compilation%20does%20not%20provide%20any%20error%20messages%20related%20to%20Asymptote.%20Has%20anyone%20encountered%20a%20similar%20issue%20where%20the%20LaTeX%20compilation%20generates.asy%20files%2C%20but%20Asymptote%20execution%20on%20these%20files%20fails%3F%20I%20would%20greatly%20appreciate%20any%20insights%2C%20troubleshooting%20steps%2C%20or%20solutions%20to%20ensure%20that%20the%20Asymptote%20code%20processes%20the.asy%20files%20correctly.%20Thank%20you%20for%20your%20assistance...