Re: [NTG-context] Getting the filename which is being typeset

2020-12-05 Thread Axel Kielhorn
> Am 04.12.2020 um 10:04 schrieb Hans Hagen : > > On 12/4/2020 8:02 AM, Axel Kielhorn wrote: >>> Am 01.12.2020 um 18:23 schrieb Wolfgang Schuster >>> : >>> >>> The following example shows the output of all commands: >>> >>> \starttext >>> \starttabulate [|T|T|] >>> \NC \type{\jobname}

Re: [NTG-context] Getting the filename which is being typeset

2020-12-04 Thread Hans Hagen
On 12/4/2020 8:02 AM, Axel Kielhorn wrote: Am 01.12.2020 um 18:23 schrieb Wolfgang Schuster : The following example shows the output of all commands: \starttext \starttabulate [|T|T|] \NC \type{\jobname} \NC \jobname \NC\NR \NC \type{\jobfilename} \NC \jobfilename

Re: [NTG-context] Getting the filename which is being typeset

2020-12-03 Thread Axel Kielhorn
> Am 01.12.2020 um 18:23 schrieb Wolfgang Schuster > : > > The following example shows the output of all commands: > > \starttext > \starttabulate [|T|T|] > \NC \type{\jobname} \NC \jobname \NC\NR > \NC \type{\jobfilename} \NC \jobfilename \NC\NR > \NC

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Hans Hagen
On 12/1/2020 6:55 PM, Otared Kavian wrote: Hi Wolfgang, Thank you for your explanations: I am wondering whether this kind of information could go into the wiki, and if yes what would be an appropriate title for that page (of course I'll do it). However the two commands \inputfilesuffix

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Otared Kavian
Hi Wolfgang, Thank you for your explanations: I am wondering whether this kind of information could go into the wiki, and if yes what would be an appropriate title for that page (of course I'll do it). However the two commands \inputfilesuffix \jobfilesuffix put inside the file « myfile.tex

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Wolfgang Schuster
Otared Kavian schrieb am 01.12.2020 um 18:10: Thanks Hraban, this might be also useful and I'll keep it somewhere on my mind, but for the project I was asking my question \jobname is enough. Best regards: Otared On 1 Dec 2020, at 17:33, Henning Hraban Ramm wrote: Am 01.12.2020 um 16:20

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Otared Kavian
Thanks Hraban, this might be also useful and I'll keep it somewhere on my mind, but for the project I was asking my question \jobname is enough. Best regards: Otared > On 1 Dec 2020, at 17:33, Henning Hraban Ramm wrote: > > > >> Am 01.12.2020 um 16:20 schrieb Otared Kavian : >> >> Thanks

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Henning Hraban Ramm
> Am 01.12.2020 um 16:20 schrieb Otared Kavian : > > Thanks Tomás! Indeed \jobname does the job :-) In case you need the current component file in a project environment: \currentcomponent Hraban ___ If your

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Otared Kavian
Thanks Tomás! Indeed \jobname does the job :-) Best regards: Otared > On 1 Dec 2020, at 15:25, Tomas Hala wrote: > > Hi Otared, > > try \jobname. > > Best wishes, > > Tomáš > > > Tue, Dec 01, 2020 ve 02:45:18PM +0100 Otared Kavian napsal(a): > # Hi everyone, > # > # I have to typeset a

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Tomas Hala
Hi Otared, try \jobname. Best wishes, Tomáš Tue, Dec 01, 2020 ve 02:45:18PM +0100 Otared Kavian napsal(a): # Hi everyone, # # I have to typeset a few files which get each an input file named in a certain way. For instance, a file named « myfile.tex » in which another file named «

[NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Otared Kavian
Hi everyone, I have to typeset a few files which get each an input file named in a certain way. For instance, a file named « myfile.tex » in which another file named « myfile-buffer.tex » is used as an \input file, as in % content of myfile.tex % \starttext This is a test. \input