[OS X TeX] Can someone please test this?

Herbert Schulz herbs at wideopenwest.com
Thu Apr 8 13:51:58 EDT 2010


On Apr 8, 2010, at 11:44 AM, Jean-Claude DE SOZA wrote:

> Bonjour Herbert,
> 
> I tried a file which compiles correctly with the Asymptote engine but not with your asym engine.
> Here is the Console log: 
> Latexmk: This is Latexmk, John Collins, 16 January 2010, version: 4.13a.
> **** Report bugs etc to John Collins <collins at phys.psu.edu>. ****
> Rule 'pdflatex': File changes, etc:
>   Non-existent destination files:
>      'asym.pdf'
> ------------
> Run number 1 of rule 'pdflatex'
> ------------
> ------------
> Running 'pdflatex --shell-escape --synctex=1 --file-line-error  "asym.tex"; if [ -e "asym".asy ] then asy "asym".asy; pdflatex --shell-escape --synctex=1 --file-line-error  "asym.tex"; fi'
> ------------
> Latexmk: applying rule 'pdflatex'...
> sh: -c: line 0: syntax error near unexpected token `fi'
> sh: -c: line 0: `pdflatex --shell-escape --synctex=1 --file-line-error  "asym.tex"; if [ -e "asym".asy ] then asy "asym".asy; pdflatex --shell-escape --synctex=1 --file-line-error  "asym.tex"; fi'
> Failure to make 'asym.pdf'
> Collected error summary (may duplicate other messages):
>  pdflatex: (Pdf)LaTeX failed to generate a log file
> Latexmk: Did not finish processing file:
>   (Pdf)LaTeX failed to generate a log file
> Latexmk: Use the -f option to force complete processing.
> Latexmk: Errors, so I did not complete making targets
> 
> You will find the two files attached here : 
> 
> 
> Cordialement,
> 
> Jean-Claude DE SOZA
> 
> Le 8 avr. 2010 à 17:31, Herbert Schulz a écrit :
> 
>> Howdy,
>> 
>> I'm not a user of Asymptote but am trying to help out someone who does use Aymptote. Would someone who uses Asymptote with TeXShop 2.33 please try out the enclosed latexmk engine? Hopefully it does all the correct compiles and bibtex/makeindex runs, etc.
>> 
>> There are two files:
>> 
>> Place the asymkrc file found in `for Asymptote/bin/tslatexmk/' into ~/Library/TeXShop/bin/tslatexmk/ and the asymk.engine file found in `for Asymptote/Engines/' into ~/Library/TeXShop/Engines/. 
>> 
>> Restart TeXShop and you can then compile using the asy engine by placing the line
>> 
>> % !TEX TS-program = asy
>> 
>> at the top of the file.
>> 
>> Please let me know whether it's doing the job correctly.
>> 
>> Good Luck,
>> 
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>> 
> 

Howdy,

Didn't get the attachments.

Could you please try this version of asymkrc? Place it in ~/Library/TeXShop/bin/tslatexmk/ replacing the previous version. I may have to go to creating a shell script to get it all done properly.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list