ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Redirect compilation to another .pdf?
@ 2016-04-09 20:11 Lukáš Procházka
  2016-04-09 20:51 ` Alan BRASLAU
  2016-04-09 21:47 ` Pablo Rodriguez
  0 siblings, 2 replies; 15+ messages in thread
From: Lukáš Procházka @ 2016-04-09 20:11 UTC (permalink / raw)
  To: ConTeXt

Hello,

is there a way to tell ConTeXt to generate a .pdf named otherwise instead of the name derived from file to be compiled?

Let's have A.tex to be compiled and an existing A.pdf which cannot be written into, e.g. due to being open by a viewer.

The "context.exe A.tex" fails as the A.pdf cannot be open for writing.

The "context.exe A.tex --result=A2.pdf" fails too, as Ctx tries to write into A.pdf (derived from A.tex) first and later tries to rename A.pdf to A2.pdf.

There is a way - "copy /y A.tex A2.tex & context.exe A2.tex" but it has some disadvantages - the .log, .tuc etc. will be named A2.log, A2.tuc etc., messages will refer to "A2" rather than to "A" etc.

So best seems to me to have an option to tell ConTeXt to produce a .PDF WITH A DESIRED NAME from the beginning... Is there a way to do so?

Best regards,

Lukas


-- 
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-06-06  7:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-09 20:11 Redirect compilation to another .pdf? 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
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

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).