[NTG-context] Indent of heading when using command option

2010-04-05 Thread Jan Pohanka
Hello, I have following code (simplified) \def\mySubject#1{#1} \setuphead[subject][style=\bfb\ss,color=HeadColor,before=,after=,textcommand={\mySubject}] When the command option is not set it works as expected and typeset the heading (subject) without any indenting, but using the command

Re: [NTG-context] Indent of heading when using command option

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 10:54, schrieb Jan Pohanka: Hello, I have following code (simplified) \def\mySubject#1{#1} \setuphead[subject][style=\bfb\ss,color=HeadColor,before=,after=,textcommand={\mySubject}] When the command option is not set it works as expected and typeset the heading (subject)

Re: [NTG-context] Indent of heading when using command option

2010-04-05 Thread Honza Pohanka
Dne Mon, 05 Apr 2010 14:06:52 +0300 Wolfgang Schuster schuster.wolfg...@googlemail.com napsal(a): Am 05.04.10 10:54, schrieb Jan Pohanka: Hello, I have following code (simplified) \def\mySubject#1{#1}

Re: [NTG-context] Indent of heading when using command option

2010-04-05 Thread Aditya Mahajan
On Mon, 5 Apr 2010, Honza Pohanka wrote: Sorry for unclear question, I have already find the solution. I missunderstood the \def macro. \def\mySubject#1{#1} works fine \def\mySubject#1{ #1 } causes problems \def\mySubject#1{%- Otherwise you get a space #1} or \def\mySubject#1% {#1}