[OS X TeX] running asymptote within TeXShop

Herbert Schulz herbs at wideopenwest.com
Sun Nov 19 17:07:31 EST 2017


> 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'

Howdy,

Here's more info! Those two files are ALMOST the same. There is a line in the latexusage.tex file (which is the one that compiles properly) that says

To support latexmk, 3D figures should specify inline=true.

and, indeed, the asymptote package is loaded with that option in that file; \usepackage[inline]{asymptote}. If you do that the Sample.tex file does typeset.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)





More information about the MacOSX-TeX mailing list