Re: [NTG-context] Different counters for titles

2013-09-03 Thread Hans Hagen
that you can use different rendering. In fact the topmost levels are : \definesection[section-1] % part \definesection[section-2] % chapter \definesection[section-3] % section \definesection[section-4] % subsection \definesection[section-5] % subsubsection \definesection[section-6] % subsubsubsecti

Re: [NTG-context] [***SPAM***] heading in margin -> strange extra vertical spaces

2013-05-04 Thread Wolfgang Schuster
n my minimum example below the first paragraph shows how it should look >> like in the pdf-file; the second paragraph is with a heading in the >> margin. >> >> Can anyone tell me, >> >> a) how to get rid of the unwanted extra vertical space? > &

Re: [NTG-context] [***SPAM***] heading in margin -> strange extra vertical spaces

2013-05-04 Thread Marco Patzer
the pdf-file; the second paragraph is with a heading in the > margin. > > Can anyone tell me, > > a) how to get rid of the unwanted extra vertical space? You can use a custom headalternative setup: \definesection [section-8] \definehead [myheader] [] [alternati

[NTG-context] [***SPAM***] heading in margin -> strange extra vertical spaces

2013-05-04 Thread Zenlima
in the margin. Can anyone tell me, a) how to get rid of the unwanted extra vertical space? b) Why is the line-break in the margin of the second paragraph different than above? Thanks, H. --8<--- \definesection[sectio

Re: [NTG-context] Section upper part

2010-12-14 Thread luigi scarso
On Tue, Dec 14, 2010 at 12:09 PM, Aditya Mahajan wrote: > On Tue, 14 Dec 2010, luigi scarso wrote: > >> In mkii can I define a section before \part, ie something like >> \definesection[section-0] >> \definehead[book][section=section-0] >> >> (part is &g

Re: [NTG-context] Section upper part

2010-12-14 Thread Aditya Mahajan
On Tue, 14 Dec 2010, luigi scarso wrote: In mkii can I define a section before \part, ie something like \definesection[section-0] \definehead[book][section=section-0] (part is \definehead[part][section=section-1] ) ?TIA Half in jest, half serious: \definehead[book][section=section-1

[NTG-context] Section upper part

2010-12-14 Thread luigi scarso
In mkii can I define a section before \part, ie something like \definesection[section-0] \definehead[book][section=section-0] (part is \definehead[part][section=section-1] ) ?TIA -- luigi ___ If your question is of

Re: [NTG-context] chapter-like headings with separate numbering

2008-11-26 Thread luigi scarso
hat at every chapter there is a reset of the alphabetical counter > > \definesection[nc] > \setupsection[nc][conversion=Characters] > \definehead[interlude][section=nc,default=chapter] > \setuphead[interlude][incrementnumber=yes] > > \starttext > > \title{Contents} > \pla

[NTG-context] chapter-like headings with separate numbering

2008-11-24 Thread Sanjoy Mahajan
th 'A' instead of 'B'. Is there a missing key=value pair, or is the approach completely wrong? \definesection[nc] \setupsection[nc][conversion=Characters] \definehead[interlude][section=nc,default=chapter] \setuphead[interlude][incrementnumber=yes] \starttext \title{Con

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Å uklje
tions and settings] \defineprofile[names][names] \defineprogram[name][text][text] # \definepushbutton # \definepushsymbol \definerawfont[name][file][settings] \definereference[name][references] \definereferenceformat[name][options] \definereferencelist[name][settings] \defineregister[singular][plural] \definerule[nam

Re: [NTG-context] No partial contents for parts after the first

2005-11-28 Thread Hans Hagen
and until the first chapter of the new part is started we are in chapter 0 for that part, not in chapter 'last-chapter-from-previous-part'. Can this be fixed? Ok, I came up with a solution that seems to work: \def\definesection[#1]% {\doifundefined{\??se#1}

Re[2]: [NTG-context] No partial contents for parts after the first

2005-11-26 Thread Giuseppe Bilotta
in the previous one > anymore. So for example when starting a new part (with > resetnumber=no), and until > the first chapter of the new part is started we are in > chapter 0 for that part, not in chapter > 'last-chapter-from-previous-part'. > Can this be fixe

Re: [NTG-context] Using newly defined sections

2005-09-09 Thread Christopher Creutzig
Elliot Clifton wrote: > sectioning. I understand that it is possible to create a new type of > section using \definesection and setup section but how do I insert an > instance of my new section into my documents? With predefined sections > I can use commands such as \section, \chapter,

[NTG-context] Using newly defined sections

2005-09-02 Thread Elliot Clifton
Hi, I'm a ConTeXt newbie. I've read the read the chapter of the manual on sectioning. I understand that it is possible to create a new type of section using \definesection and setup section but how do I insert an instance of my new section into my documents? With predefined sections

Re: [NTG-context] widow and orphan control

2005-03-30 Thread Hans Hagen
27;s \testpage[noflines][dimensions] normally you will indeed use a value of 5 or 6 (whitespacee + title of two lines + whitespace + first line of paragraph) i don't know how you place titles, but why not: \definesection[mytitle][subsubsubsubsubject] \mytitle{...} because

[NTG-context] Re: subsubsubsection

2004-10-31 Thread Patrick Gundlach
Hi, > According to the manual I did it like that: > \definesection[section-6] > \setupsection[section-6][conversion=characters,previousnumber=no] > \definehead[LevelFive][section-6] \definehead[LevelFive][section=section-6] Patrick (and please post a minimal but complete example

[NTG-context] subsubsubsection

2004-10-31 Thread Steffen Wolfrum
Hi, I have to typeset a document with 5 heading levels. So I wanted to create a subsubsubsection (section-6). But it doesn't work. According to the manual I did it like that: \definesection[section-6] \setupsection[section-6][conversion=characters,previousnumber=no] \definehead[Leve

[NTG-context] Re: Grid, section, grid=top

2004-05-28 Thread Patrick Gundlach
is to set the topskip to strutheight (something > \setupinterlinespace[top=.72]) Hmm, no effect I can see. I don't remember why I used the \definesection stuff. ------ \showgrid \definesection [foo] \setupsection [foo] [previousnumbe

Re: [NTG-context] Two questions about \subject vs \section

2004-02-23 Thread Hans Hagen
? The tex/context/base/*.tex files don't seem to contain \definehead commands for these, so I assume they must be done in a different way internally? \definesection cum suis Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.

Re: [NTG-context] XML command synonyms

2003-09-25 Thread Willi Egger
> wrtiting > > the same code twice? > > Though the following does not yet really work the solution must be looked > for in the following instructions to Context: > > \definesection[] > \setupsection[][subsubsubsubsection] %th

Re: [NTG-context] XML command synonyms

2003-09-25 Thread Willi Egger
ode twice? Though the following does not yet really work the solution must be looked for in the following instructions to Context: \definesection[] \setupsection[][subsubsubsubsection] %the section inherits the settings of subsubsubsubsection