[OS X TeX] Texshop + Curcuit Macros

Peter Dyballa Peter_Dyballa at Web.DE
Fri Dec 22 09:17:12 EST 2006

Am 22.12.2006 um 14:26 schrieb Martin Henning:

> Thanx for the hint, that already works! Is there documentation  
> about all this shell stuff?

In the TeX Book? Available on CTAN.

> E.g. now  have to compile twice, because the m4/pic-Compile seems  
> to take place though .tex goes on compiling and therefore including  
> the already existent (old) version - have to compile twice to see  
> the actual output. What i'm looking for would be an option to wait  
> for the shell command to finish... seems to me it doesn't wait?

	\write18{m4 /Users/tix/Desktop/CM/pgf.m4 /Users/tix/Desktop/CM/ 
libcct.m4 ./rc.m4 | dpic -g > rc.tex}
	\write18{mysleep.sh 20}

And mysleep.sh determines which TeX process has created it, sends  
this process a STOP signal, sleeps for <argument> seconds, then sends  
the TeX process a CONT signal.

Could be a way. More complete would be to wait for a semaphore file  
to show up, for example ...

Mit friedvollen Grüßen


Der Bezug einer Zeitung oder der Kauf eines Buches gibt niemand das  
Recht, an die Verfasserinnen von Artikeln oder Büchern dreiste Briefe  
zu schreiben.
                                             (Friedrich Sieburg)

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list