[OS X TeX] Engine for sketch

Peter Dyballa Peter_Dyballa at Web.DE
Fri Dec 7 13:07:27 EST 2007


Am 07.12.2007 um 17:56 schrieb Matthew Leingang:

> -----------
> #!/bin/sh
> # sketch.engine
>
> texfile=`basename $1 .sk`.tex
> sketch -T $1 > $texfile
> pdflatex $texfile
>
> open -a TeXShop `basename $1 .sk`.pdf
> -----------

Better:

	#!/bin/sh
	# sketch.engine
	
	basefname=`basename $1 .sk`
	sketch -T $1 > ${basefname}.tex
	pdflatex $basefname
	
	open -a TeXShop ${basefname}.pdf
	<an empty line here>

>
> Just running
>
> 	$~/Library/TeXShop/Engines/sketch.engine tet.sk
>

Did you invoke: 'chmod 755 ~/Library/TeXShop/Engines/sketch.engine' ?

Were the TeX and the PDF files created? If so, it might help to use

	open -a /Applications/TeXShop.app ${basefname}.pdf

in sketch.engine.

Wasn't sketch renamed and updated to skencil?

--
Greetings

   Pete

One person with a belief is a social power equal to ninety-nine who  
have only interests.
				– John Stuart Mill






More information about the MacOSX-TeX mailing list