# Tag Info

0

By using the updated mpost_latexmkrc file I am able to get it to work. The other thing that had to be done was refer to my .mk files by path. This means I had to use images/strategyPattern.1 instead of just strategyPattern.1. I have updated the question to reflect this change. Updated file Here's the non-comment part of the updated mpost_latexmkrc file: ...

1

Based on Herbert's excellent answer, I have assembled the following version of a \copyfile macro. This macro is defined using shell-escape if that is available; otherwise a "poor man's version" is defined using the verbatimcopy package. It seems to work for me on Mac OS X, but since I can't as easily test it on a Windows machine, I would appreciate feedback ...

4

with \usepackage{ifplatform} and -shell-escape you have: \windowsname ‘Windows’ \notwindowsname ‘*NIX’ (when shell escape is disabled) \linuxname ‘Linux’ \macosxname ‘Mac OS X’ \cygwinname ‘Cygwin’ \unknownplatform ‘whatever is returned by uname’

3

If you use the line % !TeX TXS-program:compile = txs:///latex/[--shell-escape] at the top of the document, then you don't need any extra user command. Just compile it. Then texstudio will compile it with latex with --shell-escape (of course it will ask your permission) (even if the default build has pdflatex as the compiler) and dvi file is produced. ...

Top 50 recent answers are included