[OS X TeX] TeXShop and epstopdf font substitution

Peter Dyballa Peter_Dyballa at Web.DE
Thu Nov 11 19:07:48 EST 2004


Am 11.11.2004 um 19:38 schrieb Alan Curtis:

> So which 'epstopdf' is called by TeXShop?

Are you aware of ktrace/kdump? Once you've running a single instance of 
TeXShop you can open the TeX source and determine the pid (process id) 
of TeXShop. With this knowledge you can invoke as super-user ktrace 
with the option to follow sub-processes ("descendants"). Then you 
compile the source file. You better quit TeXShop now and invoke as 
super-user 'ktrace -C' to finish tracing. With kdump you can examine 
the ktrace output.

Another way would be to study TeXShop's source ...

First way would be:

ps -xu | grep TeXShop | grep -v grep      # first column your login 
name, second the pid
sudo ktrace -dp <pid> -f TeXShop_epstopdf.trc -t i -t n
sudo ktrace -C
sudo kdump -f TeXShop_epstopdf.trc -t i -t n | grep -v /.vol

Then you could try to read the remaining lines. If they're too much 
just invoke this command:

sudo kdump -f TeXShop_epstopdf.trc -t i -t n | grep epstopdf

Since all IO from the run is recorded in the trc file you can adapt 
your filter many times.

--
Greetings

   Pete

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list