ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug/change in definehead?
@ 2011-09-06 12:55 Steffen Wolfrum
  2011-09-06 12:59 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2011-09-06 12:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

another thing in todays beta: This small exmaple ...

\definehead[TopLevel,MyLevel] [chapter]
\setuphead[TopLevel,MyLevel]	[style=\bf,textstyle={\kerncharacters[.75]},	align=flushleft,alternative=paragraph]
\starttext
\startTopLevel[title={This is a test}]
text
\stopTopLevel
\stoptext


...  gives an error:


! Undefined control sequence.

system          > tex > error on line 14 in file uzguzguzguzg.tex: Undefined control sequence ...

 4     
 5     
 6     \definehead[TopLevel,MyLevel] [chapter]
 7     
 8     \setuphead[TopLevel,MyLevel]	[style=\bf,textstyle={\kerncharacters[.75]},	align=flushleft,alternative=paragraph]
 9     
10     
11     
12     \starttext
13     
14 >>  \startTopLevel[title={This is a test}]
15     
16     text
17     
18     \stopTopLevel
19       
20     \stoptext
21     
22     
23     
24     

l.14 \startTopLevel
                   [title={This is a test}]
? 



Is this in intended?

Steffen

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug/change in definehead?
  2011-09-06 12:55 bug/change in definehead? Steffen Wolfrum
@ 2011-09-06 12:59 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2011-09-06 12:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Steffen Wolfrum

On 6-9-2011 14:55, Steffen Wolfrum wrote:
> Hi,
>
> another thing in todays beta: This small exmaple ...
>
> \definehead[TopLevel,MyLevel] [chapter]
> \setuphead[TopLevel,MyLevel]	[style=\bf,textstyle={\kerncharacters[.75]},	align=flushleft,alternative=paragraph]
> \starttext
> \startTopLevel[title={This is a test}]
> text
> \stopTopLevel
> \stoptext

just do two \definehead's instead of combining it

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-06 12:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-06 12:55 bug/change in definehead? Steffen Wolfrum
2011-09-06 12:59 ` Hans Hagen

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