From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
"Jan U. Hasecke" <juh+ntg-context@mailbox.org>
Subject: Re: results are to be on the running path, not on 'build', ignoring --result
Date: Tue, 28 Nov 2017 10:46:09 +0100 [thread overview]
Message-ID: <673ac2fa-9635-eaf4-2104-a70c04bf3adb@wxs.nl> (raw)
In-Reply-To: <41d3028a-746e-e5cf-b659-a50837ff9bf8@mailbox.org>
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
___________________________________________________________________________________
prev parent reply other threads:[~2017-11-28 9:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-28 8:18 Jan U. Hasecke
2017-11-28 9:46 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=673ac2fa-9635-eaf4-2104-a70c04bf3adb@wxs.nl \
--to=pragma@wxs.nl \
--cc=juh+ntg-context@mailbox.org \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).