results are to be on the running path, not on 'build', ignoring --result
![](https://secure.gravatar.com/avatar/2349dcb0bed02a89d589125ccc301859.jpg?s=120&d=mm&r=g)
Hi all, I am using a Makefile to call context on a XML-file. With older versions of context I could build the PDF in a special targetdir defined in the Makefile. The call of context is a follows: pandoc $(SRC) $(CONTEXTOPTIONS) --variable include-after="<div class=backmatter><sub>Version: $(ID)</sub></div>" -o tmp.xml && contextjit --purgeall --environment=env.tex --mode=trimsize,no-coverpage tmp.xml --result=$(TARGETDIR)/$(TARGET)-$(ID).pdf But I get the error message results are to be on the running path, not on 'build', ignoring --result Is this intended? -- Das ZEN von Pandoc Bücher und E-Books einfach und professionell produzieren http://www.amazon.de/Das-ZEN-von-Pandoc-professionell/dp/1505218799/ Paperback (232 Seiten) und E-Book
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Hi all,
I am using a Makefile to call context on a XML-file.
With older versions of context I could build the PDF in a special targetdir defined in the Makefile.
The call of context is a follows:
pandoc $(SRC) $(CONTEXTOPTIONS) --variable include-after="<div class=backmatter><sub>Version: $(ID)</sub></div>" -o tmp.xml && contextjit --purgeall --environment=env.tex --mode=trimsize,no-coverpage tmp.xml --result=$(TARGETDIR)/$(TARGET)-$(ID).pdf
But I get the error message
results are to be on the running path, not on 'build', ignoring --result
Is this intended? yes as the file has to be written too and opened; keep in mind that the
On 11/28/2017 9:18 AM, Jan U. Hasecke wrote: pdf file is only one of the few files that are needed at runtime you can do: mkdir foo mtxrun --path=foo --script context ../bar.tex ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Jan U. Hasecke