I used \doifmode and friends for selection of mode dependent code.
dr. Hans van der Meer
> On 1 Mar 2019, at 01:24, Hans Hagen wrote:
>
> On 2/28/2019 11:29 AM, Procházka Lukáš Ing. wrote:
>> Hello,
>> I'm struggling with using modes to make a part of the text conditional.
>> Here is my code:
On 2/28/2019 11:29 AM, Procházka Lukáš Ing. wrote:
Hello,
I'm struggling with using modes to make a part of the text conditional.
Here is my code:
\def\b#1{\startmode[#1]}
\def\e{\stopmode}
% \enablemode[100] % For optional usage
\starttext
A
\b{100} % Should be start of some cond
Hello Aditya,
thanks for the code, I'll try something like that.
Best regards,
Lukas
On Thu, 28 Feb 2019 12:54:06 +0100, Aditya Mahajan wrote:
On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote:
Hello,
I'm struggling with using modes to make a part of the text conditional.
Here is my code
On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote:
Hello,
I'm struggling with using modes to make a part of the text conditional.
Here is my code:
\def\b#1{\startmode[#1]}
\def\e{\stopmode}
% \enablemode[100] % For optional usage
\starttext
A
\b{100} % Should be start of some conditional
Hello,
I'm struggling with using modes to make a part of the text conditional.
Here is my code:
\def\b#1{\startmode[#1]}
\def\e{\stopmode}
% \enablemode[100] % For optional usage
\starttext
A
\b{100} % Should be start of some conditional text from here ...
B
\e % ... to here
\s