Re: [NTG-context] Section setup

2009-10-17 Thread Mojca Miklavec
Hi Mojca, I'm a type of learner by reading the sourcecode That's perfect! In ConTeXt that's pretty important. The starting point is here: http://source.contextgarden.net/tex/context/base Mojca PS: I guess you had other kind of sourcecode in mind, but the statement above is still true.

Re: [NTG-context] Section setup

2009-10-17 Thread Janneman
Martin Scholz skrev: Am Fri, 16 Oct 2009 21:06:01 +0200 schrieb Mojca Miklavec: On Tue, Oct 13, 2009 at 19:05, Martin Scholz wrote: Hi List, I'm trying to setup a new document in Context, and a newbee, so I now want to setup the section head as following § Secnum - Sectitle Where

Re: [NTG-context] Section setup

2009-10-17 Thread Wolfgang Schuster
Am 17.10.2009 um 16:58 schrieb Janneman: Maybe a more simplified solution \definehead[paragraf][section] \setuphead[paragraf][before= {\crlf \S},after=,style=bold] don't do this, before and after are meant for vertical material like \blank or \thinrule etc. Wolfgang

Re: [NTG-context] Section setup

2009-10-17 Thread Janneman
Janneman skrev: Martin Scholz skrev: Am Fri, 16 Oct 2009 21:06:01 +0200 schrieb Mojca Miklavec: On Tue, Oct 13, 2009 at 19:05, Martin Scholz wrote: Hi List, I'm trying to setup a new document in Context, and a newbee, so I now want to setup the section head as following § Secnum -

Re: [NTG-context] Section setup

2009-10-17 Thread Wolfgang Schuster
Am 17.10.2009 um 17:46 schrieb Janneman: Understood! ;-) \definehead[paragraf][section] \def\mynumbercommand#1{\bf{\S} #1 --} \define[1]\MyNumberCommand{§ #1 –} % let's use the right signs when possible :) \setuphead[paragraf][numbercommand= \mynumbercommand,alternative=inmargin]

Re: [NTG-context] Section setup

2009-10-17 Thread Aditya Mahajan
On Sat, 17 Oct 2009, Janneman wrote: \definehead[paragraf][section] \def\mynumbercommand#1{\bf{\S} #1 --} \setuphead[paragraf][numbercommand=\mynumbercommand,alternative=inmargin] \starttext \paragraf[ref]{TEST} \input tufte \stoptext Another option: \definehead[paragraph][section]

Re: [NTG-context] Section setup

2009-10-16 Thread Mojca Miklavec
On Tue, Oct 13, 2009 at 19:05, Martin Scholz wrote: Hi List, I'm trying to setup a new document in Context, and a newbee, so I now want to setup the section head as following § Secnum - Sectitle Where the § Secnum part is set up in the margin and the Sectitle over the Text is there any

Re: [NTG-context] Section setup

2009-10-16 Thread Martin Scholz
Am Fri, 16 Oct 2009 21:06:01 +0200 schrieb Mojca Miklavec: On Tue, Oct 13, 2009 at 19:05, Martin Scholz wrote: Hi List, I'm trying to setup a new document in Context, and a newbee, so I now want to setup the section head as following § Secnum - Sectitle Where the § Secnum part is set up