* results are to be on the running path, not on 'build', ignoring --result
@ 2017-11-28 8:18 Jan U. Hasecke
2017-11-28 9:46 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Jan U. Hasecke @ 2017-11-28 8:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: results are to be on the running path, not on 'build', ignoring --result
2017-11-28 8:18 results are to be on the running path, not on 'build', ignoring --result Jan U. Hasecke
@ 2017-11-28 9:46 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2017-11-28 9:46 UTC (permalink / raw)
To: mailing list for ConTeXt users, Jan U. Hasecke
On 11/28/2017 9:18 AM, Jan U. Hasecke wrote:
> 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
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-28 9:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-28 8:18 results are to be on the running path, not on 'build', ignoring --result Jan U. Hasecke
2017-11-28 9:46 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).