[OS X TeX] running asymptote within TeXShop

Murray Eisenberg murrayeisenberg at gmail.com
Mon Nov 20 16:46:25 CET 2017


Aha! With \listfiles I found that, for reasons unknown, I had an older version of asymptote.sty, from 2011, in /usr/local/texlive/texmf-local/tex/latex/asymptote.

Removing that whole folder allowed use of the current version, asymptote.sty 2016/11/26 v1.33. Which allowed successful typesetting.

Thank you!


> On 20 Nov2017, at 10:33 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
>> On Nov 20, 2017, at 9:08 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>> On 19 Nov2017, at 4:51 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>>> 
>>>> On Nov 19, 2017, at 3:34 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>>>> 
>>>> I have he asymptotemk engine active in TeXShop 3.89. I copied file ~/Library/TeXShop/Engines/Inactive/Sample.tex to my ~/Documents folder and tried to typeset that copy Sample.tex using the asymptotemk engine.
>>>> 
>>>> I get the error(s) indicated in the console output extract shown below.  What’s wrong?
>>>> 
>>>> Transcript written on sampleAsy.log.
>>>> ===========Latexmk: Missing input file: 'sampleAsy-1.pdf' from line
>>>> 'Package asymptote Warning: file `sampleAsy-1.pdf' not found on input line 71.'
>>>> Latexmk: Missing input file: 'sampleAsy-1.pdf' from line
>>>> 'Package asymptote Warning: file `sampleAsy-1.pdf' not found on input line 71.'
>>>> ===========Latexmk: Missing input file: 'sampleAsy-2.pdf' from line
>>>> 'Package asymptote Warning: file `sampleAsy-2.pdf' not found on input line 87.'
>>>> Latexmk: Missing input file: 'sampleAsy-2.pdf' from line
>>>> 'Package asymptote Warning: file `sampleAsy-2.pdf' not found on input line 87.'
>>>> ===========Latexmk: Missing input file: 'sampleAsy-3.pdf' from line
>>>> 'Package asymptote Warning: file `sampleAsy-3.pdf' not found on input line 111.'
>>>> Latexmk: Missing input file: 'sampleAsy-3.pdf' from line
>>>> 'Package asymptote Warning: file `sampleAsy-3.pdf' not found on input line 111.'
>>>> Latexmk: Log file says output to 'sampleAsy.pdf'
>>>> Rule 'cusdep asy pdf sampleAsy-3': File changes, etc:
>>>>  Changed files, or newly in use since previous run(s):
>>>>     'sampleAsy-3.asy'
>>>>  Non-existent destination files:
>>>>     'sampleAsy-3.pdf'
>>> 
>>> 
>>> The Sample/tex file found in ~/Library/TeXShop/Engines/Inactive/Asymptote (not directly in the Inactive folder) is quite old and it appears that `asy` has changed a bit over that time period and is having a problem compiling one of the figures (the one in sampleAsy-2). Since that failed the asmyptotemk engine quits.
>>> 
>>> If you want to test the asymptotemk engine get the latexusage.tex file found in `~/Library/TeXShop/Engines/Inactive/Latexmk/platexmkrc samples/for asymptote' (without the quotes of course) and change the engine to asymptotemk and compile. YOu might want to copy that whole folder to your desktop and use that file along with the associated platexmkrc file in that folder and typeset it directly.
>>> 
>> 
>> From ~/Library/TeXShop/Engines/Inactive/Latexmk/platexmkrc samples/for asymptote I copied both files latexusage.tex and platexmkrc to a folder of mine. When in TeXShopI typeset latexusage.tex with asymptotemk, I get an error:
>> 
>>   ./latexusage-1.tex: 29: Undefined control sequence.
>>   \ASYaligned ..7}\setbox \ASYbox \hbox {\ASYdimen
>>                                                                                     =\ht \ASYbox \advance \ASY…
>>   l.29 …23941,60.549297)(-0.500000,-5.00000){$A$)
>>                                                                                     %
>> I then continued in batch mode (q). The .pdf produced was defective in several ways. (I’ll try to attach the pdf, but as I recall the mailing list excises those.)
>> 
>> <latexusage.pdf>
> 
> Howdy,
> 
> I certainly don't know why you are having a problem since it compiles fine here. Please put the line \listfiles at the top of the file and compile again. Then check against this list:
> 
> *File List*
> article.cls    2014/09/29 v1.4h Standard LaTeX document class
>  size12.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
> asymptote.sty    2016/11/26 v1.33 Asymptote style file for LaTeX
>  keyval.sty    2014/10/28 v1.15 key=value parser (DPC)
>  ifthen.sty    2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
>   color.sty    2016/07/10 v1.1e Standard LaTeX Color (DPC)
>   color.cfg    2016/01/02 v1.6 sample color configuration
>  pdftex.def    2017/06/24 v1.0g Graphics/color driver for pdftex
> graphicx.sty    2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)
> graphics.sty    2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR)
>    trig.sty    2016/01/03 v1.10 sin cos tan (DPC)
> graphics.cfg    2016/06/04 v1.11 sample graphics configuration
>   ifpdf.sty    2017/03/15 v3.2 Provides the ifpdf switch
> ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
> catchfile.sty    2016/05/16 v1.7 Catch the contents of a file (HO)
> infwarerr.sty    2016/05/16 v1.4 Providing info/warning/error messages (HO)
> ltxcmds.sty    2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
> etexcmds.sty    2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
> ifluatex.sty    2016/05/16 v1.4 Provides the ifluatex switch (HO)
> supp-pdf.mkii
> epstopdf-base.sty    2016/05/15 v2.6 Base part for package epstopdf
>  grfext.sty    2016/05/16 v1.2 Manage graphics extensions (HO)
> kvdefinekeys.sty    2016/05/16 v1.4 Define keys (HO)
> kvoptions.sty    2016/05/16 v3.12 Key value format for package options (HO)
> kvsetkeys.sty    2016/05/16 v1.17 Key value parser (HO)
> pdftexcmds.sty    2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO)
> epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
> epstopdf.cfg
> ***********
> 
> for old file versions. Also check the log file to make sure you are not getting interference from an old copy of a file in your personal texmf tree.
> 
> PS: You can either use the asymptotemk engine or, with that platexmkrc file in the same folder, simply us the pdflatexmk engine. It should compile either way.
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 

---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20171120/37366a25/attachment-0001.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list