diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/latexmk/example_rcfiles/README')
-rw-r--r-- | Master/texmf-dist/doc/support/latexmk/example_rcfiles/README | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/latexmk/example_rcfiles/README b/Master/texmf-dist/doc/support/latexmk/example_rcfiles/README index 816526efd8a..61aa7832dba 100644 --- a/Master/texmf-dist/doc/support/latexmk/example_rcfiles/README +++ b/Master/texmf-dist/doc/support/latexmk/example_rcfiles/README @@ -33,3 +33,30 @@ NOTES: safety against special characters in filenames. The double quotes appear not to cause problems in all situations that I have tried. +5. Note that the files for exceltex and pythontex illustrate an answer + to an issue that arises in the following generic situation: + a. A LaTeX package wants to use an external program to do some + processing. It does this by writing a control file that is used + by the external program. + b. The user is to run the external program after a first run of + latex/pdflatex (etc). It generates some files that are to be + read by a subsequent compilation of the TeX document. + c. It is desired to do the run of the external program and + to do the extra run of latex/pdflatex only when necessary. + d. Possibly there are further dependencies on files used by the + external program. + The third problem is handled nicely by latexmk's normal mechanisms, + but it is necessary to persuade it to create a suitable rule to run + the external program. A nice trick with custom dependencies, + illustrated by exceltex and pythontex examples, gets the rule set + up. The exceltex shows how dependencies on other files can be + determined. + +6. Further assistance for latexmk can be provided when style files + provide suitable messages about missing files. See the + exceltex1.sty and pythontex1.sty files for examples of what is + needed. These files are modifications of exceltex.sty and + pythontex.sty that provide the necessary assistance. (The versions + were the ones current on 30 April 2013.) + + |