Re: [NTG-context] Testing value of a \def

2018-02-08 Thread Procházka Lukáš Ing .
Great, thank you! Lukas On Thu, 08 Feb 2018 11:06:29 +0100, Wolfgang Schuster wrote: Procházka Lukáš Ing. 8. Februar 2018 um 10:50 Hello, I'm trying to test whether value of \jobname is "Test"; I suppose it should be as the file name

Re: [NTG-context] Testing value of a \def

2018-02-08 Thread Wolfgang Schuster
Procházka Lukáš Ing. 8. Februar 2018 um 10:50 Hello, I'm trying to test whether value of \jobname is "Test"; I suppose it should be as the file name is "Test.mkiv". But the code: \starttext \jobname \doifelse{\jobname}{Test}{Yes}{No} \def\T{Test}

[NTG-context] Testing value of a \def

2018-02-08 Thread Procházka Lukáš Ing .
Hello, I'm trying to test whether value of \jobname is "Test"; I suppose it should be as the file name is "Test.mkiv". But the code: \starttext \jobname \doifelse{\jobname}{Test}{Yes}{No} \def\T{Test} \ifx\jobname\T True\else False\fi \ctxcommand{doifelse("\jobname" ==