ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Lukáš Procházka" <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Redirect compilation to another .pdf?
Date: Sun, 10 Apr 2016 21:49:01 +0200	[thread overview]
Message-ID: <op.yfpynzoaf14xzu@lkzd-2013> (raw)
In-Reply-To: <alpine.OSX.2.02.1604101202300.3098@nqv-znpobbx>

Hello,

On Sun, 10 Apr 2016 18:07:54 +0200, Aditya Mahajan <adityam@umich.edu> wrote:

> This should have worked, but for some reason it does not:
>
> context --jobname=shadow main.tex
>
> The output says:
>
> system          > files > jobname 'shadow', input './main', result 'shadow'
> .....
> mkiv lua stats  > result saved in file: shadow.pdf, compresslevel 3,
> objectcompresslevel 3
>
> but no shadow.pdf file is created.

I can fully confirm this behavior;

- the option "--jobname" is not listed when you type "context.exe" (= help), so it seems like a "hidden" option;

- but ConTeXt seems to use this option somehow, as
	"context.exe --jobname=C A.mkiv"
	produces
	"system          > files > jobname 'C', input './A.mkiv', result 'C'"
	to the console;

- but the result file is still A.pdf.

- Suggestion: would it be possible to use "--result=OutputFileName" as the name for the output stream immediately,
	i.e. not to produce "default PDF file" + rename it to "OutputFileName" (= --result),
	but to use the "OutputFileName" initially as the output stream?

I guess I explained why I'd like to use "non-default" PDF stream (to allow working with the default PDF file during the compilation)...

Best regards,

Lukas

(BTW: The PdfXChange Viewer has commands open/close PDF file similar to that of AR; unlike AR, these commands are still the same as far as I'm using PdfXCh.)

> Aditya


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2016-04-10 19:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-09 20:11 Lukáš Procházka
2016-04-09 20:51 ` Alan BRASLAU
2016-04-09 21:37   ` Pablo Rodriguez
2016-04-09 22:02     ` Jan Tosovsky
2016-04-09 21:47 ` Pablo Rodriguez
2016-04-09 22:02   ` Pablo Rodriguez
2016-04-10 10:39     ` Lukáš Procházka
2016-04-10 16:07       ` Aditya Mahajan
2016-04-10 16:22         ` Hans Hagen
2016-04-10 19:49         ` Lukáš Procházka [this message]
2016-04-10 21:43           ` Hans Hagen
2016-04-11  7:23             ` Procházka Lukáš Ing.
2016-06-06  7:21             ` Procházka Lukáš Ing.
2016-06-06  7:44               ` Hans Hagen
2016-04-10 13:09   ` Hans Hagen

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=op.yfpynzoaf14xzu@lkzd-2013 \
    --to=lpr@pontex.cz \
    --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).