ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to set the name of outputfile using a value defined in the source
@ 2018-09-21  8:09 J Huisman
  2018-09-21  8:30 ` Henri Menke
  0 siblings, 1 reply; 12+ messages in thread
From: J Huisman @ 2018-09-21  8:09 UTC (permalink / raw)
  To: ntg-context

Hi all,

I'm getting back to using ConTeXt after a couple of years, so I might
be missing something obvious...

I would like to add an I.D. code to the name of my outputfile, but
since this will be used in an automated environment I would like to
load the ID-code from the source file.

MWE: test.tex

\starttext

\def\idcode{something}

Some text, whatever.

\stoptext

If I typeset with: context text --result=test-idcode the result is
obviously "test-idcode.pdf", but I want to get a file name:
"test-something.pdf"
Is this possible?

Thanks,

Jelle
___________________________________________________________________________________
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] 12+ messages in thread

end of thread, other threads:[~2018-09-21 12:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-21  8:09 how to set the name of outputfile using a value defined in the source J Huisman
2018-09-21  8:30 ` Henri Menke
2018-09-21  8:44   ` Taco Hoekwater
2018-09-21  8:48     ` J Huisman
2018-09-21  9:00       ` Taco Hoekwater
2018-09-21  8:59     ` luigi scarso
2018-09-21  9:06       ` Taco Hoekwater
2018-09-21 10:05         ` luigi scarso
2018-09-21 10:44           ` Hans Hagen
2018-09-21 10:48             ` luigi scarso
2018-09-21 10:25     ` Hans Hagen
2018-09-21 12:43   ` Procházka Lukáš Ing.

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