# Tag Info

5

\write18 is executed at shipout time, when the frame has already ended, so the local definition of \mytest has been discarded. If you use \immediate\write18 you get what you want. Of course, the instruction will be executed as many times as there are overlays in the frame, so perhaps an \only instruction should be used.

1

In the whizzytex documentation it says: For instance, a typical configuration line will be: %; whizzy subsection -dvi "xdvi -s 3" It tells whizzytex to run in subsection slicing mode and use a dvi style viewer called with the command xdvi -s 3. This is also equivalent to %; whizzy subsection -dvi xdvi -s 3 since Emacs removes outer double-quotes ...

7

To enable shell escape in TeXShop:

1

This solution worked for me (with -shell-escape enabled). Thanks to @Papiro for his link! Of course, you'll have to substitute your user number for mine, if you want to include your own flair :) \documentclass{article} \usepackage{graphicx} \newcommand*{\grabto}[2]{% \IfFileExists{#2}{}{\immediate\write18{curl \detokenize{#1 -o #2}}} } ...

Top 50 recent answers are included