[NTG-context] Re: Bookmark hierarchy

2025-07-04 Thread Duncan Hothersall
Worth also looking at something like \setupsection[section-2][previousnumber=no] - see https://wiki.contextgarden.net/Command/setupsection for (some) details about how each level of hierarchy is addressable through this mechanism. Duncan On Fri, 4 Jul 2025 at 12:58, John Was wrote: > D

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread M U via ntg-context
es. \stopbuffer \startbuffer[buf:dict:xxx] The same information used multiple times. \stopbuffer \defineprocessor[proc:achilles][right={ \ss \inlinebuffer[buf:dict:achilles]}] \defineprocessor[proc:divine][right={ \ss \inlinebuffer[buf:dict:divine]}] \defineprocessor[proc:xxx][right={ \it \inlinebu

Re: [NTG-context] ntg-context Digest, Vol 180, Issue 23

2019-06-23 Thread Andres Conrado
t for ConTeXt users > Subject: [NTG-context] mkii to mkiv - section numbering with minimal > example > Message-ID: > t...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Further to my previous query about updating from mkii to m

Re: [NTG-context] mkii to mkiv - section numbering with minimal example

2019-06-23 Thread Hans Hagen
s not to prefix the part and chapter numbering, giving me this output: Part 1 Chapter 1.1 Section 1 Subsection 1.1 The line that used to achieve this result was \setupsection[section-3][previousnumber=no] and there was also \setuphead[section][partnumber=no,chapternumber=no] but neither of

[NTG-context] mkii to mkiv - section numbering with minimal example

2019-06-23 Thread Duncan Hothersall
ng me this output: Part 1 Chapter 1.1 Section 1 Subsection 1.1 The line that used to achieve this result was \setupsection[section-3][previousnumber=no] and there was also \setuphead[section][partnumber=no,chapternumber=no] but neither of these seems to work in mkiv Minimal example: \setupse

Re: [NTG-context] Latest changes in some size registers

2019-02-25 Thread Wolfgang Schuster
Martin Bruchanov schrieb am 25.02.19 um 17:39: I have just done some manual  changes to solve this:  before={\blank[1*small]} to  before={\blank[-5pt]},% Btw, is there any way to display values of these visual attributes when I need to debug "setupsection" setting? (I am usually

Re: [NTG-context] Latest changes in some size registers

2019-02-25 Thread Martin Bruchanov
I have just done some manual  changes to solve this:  before={\blank[1*small]} to  before={\blank[-5pt]},% Btw, is there any way to display values of these visual attributes when I need to debug "setupsection" setting? (I am usually changing a lot of stuff and comparing it wit

Re: [NTG-context] Assigning a variable to the list argument in \setupsection

2016-04-14 Thread Wolfgang Schuster
Michael Guravage 14. April 2016 um 09:46 Greetings, I would like to use a variable for the value of the list argument in, e.g., the \startsection command. If you compile my little example you will see that the first 'literal' assignment works, while the second 'vari

Re: [NTG-context] Assigning a variable to the list argument in \setupsection

2016-04-14 Thread Marco Patzer
On Thu, 14 Apr 2016 09:46:34 +0200 Michael Guravage wrote: > I would like to use a variable for the value of the list argument in, > e.g., the \startsection command. If you compile my little example you > will see that the first 'literal' assignment works, while the second > 'variable' assignment

[NTG-context] Assigning a variable to the list argument in \setupsection

2016-04-14 Thread Michael Guravage
Greetings, I would like to use a variable for the value of the list argument in, e.g., the \startsection command. If you compile my little example you will see that the first 'literal' assignment works, while the second 'variable' assignment does not. What am I missing here? Cheers, Michael \s

[NTG-context] Assigning a variable to the list argument in \setupsection

2016-04-14 Thread Michael Guravage
Greetings, I would like to use a variable for the value of the list argument in, e.g., the \startsection command. If you compile my little example you will see that the first 'literal' assignment works, while the second 'variable' assignment does not. What am I missing here? Cheers, Michael \s

Re: [NTG-context] How not to print the chapter number

2015-08-07 Thread Eric Détrez
Le 07-08-2015 15:04, Eric Détrez a écrit : I wish to print my texte as I Foo 1 Bar one 1.1 barbar one 1.2 barbar two 2 Bar two 2.1 foofoo one 2.2 foofoo two I don't want the Roman I printed in the numbering. With contextmark II I just added \setupsection[section-3][previousnumb

Re: [NTG-context] How not to print the chapter number

2015-08-07 Thread Tomas Hala
print my texte as # # I Foo # # 1 Bar one # # 1.1 barbar one # # 1.2 barbar two # # 2 Bar two # # 2.1 foofoo one # # 2.2 foofoo two # # I don't want the Roman I printed in the numbering. # # With contextmark II I just added # \setupsection[section-3][previousnumber=no] # but it doesn&#

[NTG-context] How not to print the chapter number

2015-08-07 Thread Eric Détrez
I wish to print my texte as I Foo 1 Bar one 1.1 barbar one 1.2 barbar two 2 Bar two 2.1 foofoo one 2.2 foofoo two I don't want the Roman I printed in the numbering. With contextmark II I just added \setupsection[section-3][previousnumber=no] but it doesn't seem to work in ma

[NTG-context] Subsection number independant of section

2014-05-02 Thread Fabrice Couvreur
Hi, I would get a dial like this : A. Section one 1. Subsection one With the code below, I get : A. Section one A. A. Subsection one \setupsection [section] [conversion=Character] \setuplabeltext [section={{},{.}}, subsection={{},{.}}] \setupsection [subsection

Re: [NTG-context] Section numbering in MkIV

2011-08-09 Thread Wolfgang Schuster
wing example gives the desired result. > > \setupsection[section-2][conversion=Romannumerals] > \setupsection[section-3][conversion=Character] > \setupsection[section-4][conversion=numbers] > \setupsection[section-5][conversion=character,previousnumber=no] > > \s

[NTG-context] Section numbering in MkIV

2011-08-09 Thread Jean-Philippe Rey
Hi everybody, I need to use the following numbering scheme for the different section levels. I Chapter I.A Section I.A.1 Sub-section a Sub-sub-section No problem with MkII, the following example gives the desired result. \setupsection[section-2][conversion=Romannumerals

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Wolfgang Schuster
t not in > the numbers of the sections and subsections (1.1.1 and not I.1.1). > > Here is the base code : > > \setuplist [chapter] [label=yes,style={\blank[0cm]}] > \setupsection[section-2][conversion=Romannumerals] > \setuplabeltext[chapter=CHAPITRE~] > > \st

[NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-22 Thread Mathieu DUPONT
: \setuplist [chapter] [label=yes,style={\blank[0cm]}]\setupsection[section-2][conversion=Romannumerals]\setuplabeltext[chapter=CHAPITRE~] \starttext \placecontent \chapter{Title of chapter}\section{Title of section}\subsection{Title of subsection} \stoptext which results in : CHAPITRE I Title of

Re: [NTG-context] section headings

2011-04-19 Thread Willi Egger
rsionset[MySet][numbers,Characters][numbers] % [per level] [default] \setupsection [chapter] [sectionconversionset=MySet] \starttext \chapter{first} \section{subfirst} \stoptext ... I thought that it must be found along these lines. However I could not get the example working properly.

Re: [NTG-context] section conversion gets lost in MKIV

2010-08-31 Thread Cedric Mauclair
> On 30-8-2010 10:34, Mojca Miklavec wrote: >> >> Dear list, >> >> Here's a minimal example that work correct in MKII, but wrong in MKIV: >> >> \setupsection >>        [chapter] >>        [conversion=Characters] >> \setupsection >&

Re: [NTG-context] section conversion gets lost in MKIV

2010-08-30 Thread Hans Hagen
On 30-8-2010 10:34, Mojca Miklavec wrote: Dear list, Here's a minimal example that work correct in MKII, but wrong in MKIV: \setupsection [chapter] [conversion=Characters] \setupsection [section] [conversion=] \starttext \chapter{first} \section{sub

[NTG-context] section conversion gets lost in MKIV

2010-08-30 Thread Mojca Miklavec
Dear list, Here's a minimal example that work correct in MKII, but wrong in MKIV: \setupsection [chapter] [conversion=Characters] \setupsection [section] [conversion=] \starttext \chapter{first} \section{subfirst} \stoptext It results in A first

Re: [NTG-context] \numstr errors out in chapter star logic

2010-06-30 Thread Tom
Three,Four,Five,Six,Seven,Eight,Nine,Te > n,Eleven] > > \setuphead[chapter] > [conversion=numstring] > How should i know you're using mkii! Replace \setuphead with \setupsection: \setupsection[chapter][conversion=numstring] Wolfgang The following example converts chapter num

Re: [NTG-context] \numstr errors out in chapter star logic

2010-06-29 Thread Tom
\setupsection[chapter][conversion=numstring] Wolfgang This change produces the desired results on the first page of each chapter but also has some, in my case, undesired side-effects. Chapter numbers in the table of contents are now spelled out (I prefer numerals in the TOC) and section numbers

Re: [NTG-context] \numstr errors out in chapter star logic

2010-06-28 Thread Tom
,Eight,Nine,Te > n,Eleven] > > \setuphead[chapter] > [conversion=numstring] > How should i know you're using mkii! Replace \setuphead with \setupsection: \setupsection[chapter][conversion=numstring] Wolfgang Sorry for not including that I'm using mkii. This code works. How do

Re: [NTG-context] \numstr errors out in chapter star logic

2010-06-28 Thread Wolfgang Schuster
ht,Nine,Te n,Eleven] \setuphead[chapter] [conversion=numstring] How should i know you're using mkii! Replace \setuphead with \setupsection: \setupsection[chapter][conversion=numstring] Wolfgang ___ If y

Re: [NTG-context] lost in documentation

2010-01-17 Thread Wolfgang Werners-Lucchini
ters { \setuphead[section-3][bodypartconversion=Character] \section{Two} } but that is not working too. At the garden page 'titles' I found { \setupsection[section-3][bodypartconversion=Character] \section{Three} } that works, but it does not correspont to the syntaxdescription in

Re: [NTG-context] lost in documentation

2010-01-16 Thread Wolfgang Schuster
; > but this does not work. I deleted the 's' from Characters > > \setuphead[section-3][bodypartconversion=Character] > > but that is not working too. > > At the garden page 'titles' I found > > \setupsection[section-3][bodypartconversion=Characte

[NTG-context] lost in documentation

2010-01-16 Thread Wolfgang Werners-Lucchini
conversion=Character] but that is not working too. At the garden page 'titles' I found \setupsection[section-3][bodypartconversion=Character] that works, but it does not correspont to the syntaxdescription in texshow-web, which is \setupsection[...][...][...,...=...,...] [...]

Re: [NTG-context] Section labels in appendices (appendixlabel=)

2009-08-26 Thread Mojca Miklavec
bel=\v!section, >>>  \v!bodypart\c!label=\v!section]       %   bijlageconversie=\Character >> >> I'm sorry, but I'm blind ... :( :( :( >> Doesn't it also say appendixlabel= here? I just don't see it how it's >> used. Maybe I should use something else but

Re: [NTG-context] Section labels in appendices (appendixlabel=)

2009-08-26 Thread Wolfgang Schuster
't it also say appendixlabel= here? I just don't see it how it's used. Maybe I should use something else but "section"? Enable the label with \setuphead, not \setupsection. Wolfgang ___ If you

Re: [NTG-context] Section labels in appendices (appendixlabel=)

2009-08-26 Thread Wolfgang Schuster
Am 24.08.2009 um 12:29 schrieb Mojca Miklavec: Hello, I have some problems interpreting the ConTeXt manual. If I want to have the appendices labeled as Appendix A: My first appendix Appendix B: My second appendix ... what is wrong with the following approach? \setupsection [section

[NTG-context] Section labels in appendices (appendixlabel=)

2009-08-24 Thread Mojca Miklavec
Hello, I have some problems interpreting the ConTeXt manual. If I want to have the appendices labeled as Appendix A: My first appendix Appendix B: My second appendix ... what is wrong with the following approach? \setupsection [section] [appendixconversion=Character

Re: [NTG-context] bugs in beta

2009-05-08 Thread Hans Hagen
tion 1.1.1 subsubsection 1.2 second subsection of first section 2 second section 2.1 first subsection of second section 2.2 second subsection of second section But now I am being difficult: \setupsection[section-3][bodypartconversion=Character] \setupsection[section-4][previousnumber=no,bodypartconvers

Re: [NTG-context] bugs in beta

2009-05-08 Thread Alan BRASLAU
et: 1 first section 1.1 first subsection of first section 1.1.1 subsubsection 1.2 second subsection of first section 2 second section 2.1 first subsection of second section 2.2 second subsection of second section But now I am being difficult: \setupsection[section-3][bodypartconversion=Character] \setups

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
, % numberstyle=bold, % ] \setupheads[separator=\LT{--}] \setupheadertexts[]%We put here because we want to define headertexts next. %\setupheadertexts[][pagenumber] \setupsection [chapter][conversion=persiannumerals] \setupsection [section][conversion=persiannumerals] \setupsection

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
, % ] \setupheads[separator=\LT{--}] \setupheadertexts[]%We put here because we want to define headertexts next. %\setupheadertexts[][pagenumber] \setupsection [chapter][conversion=persiannumerals] \setupsection [section][conversion=persiannumerals] \setupsection [subsection][conversion=persiannumerals

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
=\nowhitespace\hairline, % header=nomarking, % textstyle=bold, % numberstyle=bold, % ] \setupheads[separator=\LT{--}] \setupheadertexts[]%We put here because we want to define headertexts next. \setupheadertexts[][pagenumber] \setupsection [chapter][conversion=persiannumerals] \setupsection

Re: [NTG-context] specific document layout with ConTeXt

2008-12-28 Thread Aditya Mahajan
ex] \defineblank [section:after] [0.7ex plus 1ex minus 0ex] \setupsection [section-3] [bodypartconversion=Romannumerals, appendixconversion=Characters] \setupsection [section-4] [bodypartconversion=Character, pre

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] Kerning

2008-11-13 Thread Bart C. Wise
ng: > > > > \def\Myheader#1#2{% > > \framedtext[width=0.60\textwidth, frame=off, align=middle]{% > > \vbox{\headtext{chapter}~#1 \blank #2}}} > > > > \def\englishnumbers#1{ > > \ifcase#1 \or ONE\or TWO\or THREE\or FOUR\or FIV

Re: [NTG-context] Kerning

2008-11-13 Thread Bart C. Wise
{\headtext{chapter}~#1 \blank #2}}} > > > > \def\englishnumbers#1{ > >\ifcase#1 \or ONE\or TWO\or THREE\or FOUR\or FIVE\fi} > > \defineconversion[englishnumbers][\englishnumbers] > > > > \setupsection[chapter][conversion=englishnumbers] > > \setuphead [

Re: [NTG-context] Kerning

2008-11-13 Thread Wolfgang Schuster
=off, align=middle]{% >\vbox{\headtext{chapter}~#1 \blank #2}}} > > \def\englishnumbers#1{ >\ifcase#1 \or ONE\or TWO\or THREE\or FOUR\or FIVE\fi} > \defineconversion[englishnumbers][\englishnumbers] > > \setupsection[chapter][conversion=englishnumbers] > \setuph

Re: [NTG-context] Kerning

2008-11-12 Thread Hans Hagen
headtext{chapter}~#1 \blank #2}}} > > \def\englishnumbers#1{ > \ifcase#1 \or ONE\or TWO\or THREE\or FOUR\or FIVE\fi} > \defineconversion[englishnumbers][\englishnumbers] > > \setupsection[chapter][conversion=englishnumbers] > \setuphead [chapter][ > command=\Myhead

Re: [NTG-context] Kerning

2008-11-12 Thread Bart C. Wise
i} \defineconversion[englishnumbers][\englishnumbers] \setupsection[chapter][conversion=englishnumbers] \setuphead [chapter][ command=\Myheader, textcommand=\bfd, ] \setupheadtext[chapter=CHAPTER] % used by \headtext \starttext \chapter{Title for Chap 1} \processfile{tufte} \stoptext P.S. If th

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Steffen Wolfrum
Am 29.08.2008 um 11:18 schrieb Peter Rolf: > Steffen Wolfrum schrieb: >> Hi, >> >> sorry for my foggy post last night (02:50h ...) >> >> Hopefully this example makes it clearer: >> -- >> >> \starttext >> \showframe >> >> \de

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Peter Rolf
Steffen Wolfrum schrieb: > Hi, > > sorry for my foggy post last night (02:50h ...) > > Hopefully this example makes it clearer: > -- > > \starttext > \showframe > > \definehead[EbeneFuenf][subsubsubsection] > \setupsection[section-6][conversion=c

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Steffen Wolfrum
Hi, sorry for my foggy post last night (02:50h ...) Hopefully this example makes it clearer: -- \starttext \showframe \definehead[EbeneFuenf] [subsubsubsection] \setupsection[section-6][conversion=characters,previousnumber=yes] \def\FuenfCommand#1{#1.} \def\CurrentEbeneFuenfNumber#1#2% {\hbox

Re: [NTG-context] Passing unicode characters

2008-07-22 Thread Mehdi Omidali
efine headertexts next. %\setupheadertexts[][pagenumber] \setupsection [chapter] [conversion=persiannumerals] \setupsection [section] [conversion=persiannumerals] \setupsection [subsection] [conversion=persiannumerals] \setupsection [subsubsection] [conve

Re: [NTG-context] Passing unicode characters

2008-07-22 Thread Mehdi Omidali
I mean is more than that. In your file if I >> write 1 then it is printed as one. But I mean something like >> conversion command. For example look at the output of your file. The >> page number is 1. But what I mean is that engine prints every 1 as one >> for example. Let me

Re: [NTG-context] Passing unicode characters

2008-07-22 Thread Idris Samawi Hamid
at the output of your file. The > page number is 1. But what I mean is that engine prints every 1 as one > for example. Let me explain in a different way. I declare > \setupsection [chapter][conversion=persiannumerals] > and the engine puts persiandecimalseparator character "E8C8&

Re: [NTG-context] Passing unicode characters

2008-07-22 Thread Mehdi Omidali
. Let me explain in a different way. I declare \setupsection [chapter][conversion=persiannumerals] and the engine puts persiandecimalseparator character "E8C8" between chapter numbers and section numbers. I am not satisfied with this character and like the separator character to be a pe

Re: [NTG-context] \startfrontmatter & Co.

2008-07-18 Thread John Devereux
these commands, other > a cleaner project structure ? I used them because it lets me use \setupsection and \setupsectionblock to customise the appearance of each part, in the setup area (rather than in the document). <http://texshow.contextgarden.net/command/detail/298> <http://tex

Re: [NTG-context] urgent reference problem (full path)

2008-04-24 Thread Hans Hagen
Steffen Wolfrum wrote: > I don't know how the section number (with/without previous number) is > build internally, but I hope there could be a hack, with ... > > setupsection[...][previousnumber=yes]% so that referencing gets the > full path > > but a section-d

Re: [NTG-context] urgent reference problem (full path)

2008-04-24 Thread Wolfgang Schuster
On Thu, Apr 24, 2008 at 2:55 PM, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: > > I don't know how the section number (with/without previous number) is build > internally, but I hope there could be a hack, with ... > > setupsection[...][previousnumber=yes]% so that refere

Re: [NTG-context] urgent reference problem (full path)

2008-04-24 Thread Steffen Wolfrum
I don't know how the section number (with/without previous number) is build internally, but I hope there could be a hack, with ... setupsection[...][previousnumber=yes]% so that referencing gets the full path ... but a section-design like "previousnumber=no", made with

[NTG-context] urgent reference problem (full path)

2008-04-24 Thread Steffen Wolfrum
k you very much, Steffen \definehead[EbeneEins] [chapter] \setupsection[section-3][conversion=Characters,previousnumber=no] \setupsection[section-4][conversion=Romannumerals,previousnumber=no] \setupsection[section-5][conversion=numbers,previousnumber=no] % %\setupsection[section-3][conversion=

Re: [NTG-context] how to NOT reset subsection ONLY ??

2008-04-03 Thread Wolfgang Schuster
On Thu, Apr 3, 2008 at 10:51 AM, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: > Hi, > > > please have a look a this: > > > \setupsection[section-2][conversion=numbers] > \setupsection[section-3][conversion=numbers,previousnumber=no] > \setupsection[section-4][con

[NTG-context] how to NOT reset subsection ONLY ??

2008-04-03 Thread Steffen Wolfrum
Hi, please have a look a this: \setupsection[section-2][conversion=numbers] \setupsection[section-3][conversion=numbers,previousnumber=no] \setupsection[section-4][conversion=numbers,previousnumber=no] \setupsection[section-5][conversion=numbers,previousnumber=no] \setuphead[section

Re: [NTG-context] Sections, cross-references and separators

2008-04-01 Thread Taco Hoekwater
Try this: >> >> @@ -1,4 +1,4 @@ >> -\setupheads[separator=] %<-- this can't be right >> \setupreferencing[state=start,chapternumber=yes,global=yes] >> -\setupsection[section-1][conversion=Characters] >> -\setupsection[section-2][previousnumber=yes] >&g

Re: [NTG-context] Sections, cross-references and separators

2008-04-01 Thread Duncan Hothersall
-\setupheads[separator=] %<-- this can't be right > \setupreferencing[state=start,chapternumber=yes,global=yes] > -\setupsection[section-1][conversion=Characters] > -\setupsection[section-2][previousnumber=yes] > +\def\Mychapter#1{\convertnumber{Characters}{\getvalue{@@sesection-1}}#1} &

Re: [NTG-context] Sections, cross-references and separators

2008-03-31 Thread Taco Hoekwater
quot; at all (which is good, because its use is confusing). Try this: @@ -1,4 +1,4 @@ -\setupheads[separator=] %<-- this can't be right \setupreferencing[state=start,chapternumber=yes,global=yes] -\setupsection[section-1][conversion=Characters] -\setupsection[section-2][previousnumber=y

[NTG-context] Sections, cross-references and separators

2008-03-31 Thread Duncan Hothersall
Dear all, I am confused. Here is a minimal version of my problem: --- \setupheads[separator=] %<-- this can't be right \setupreferencing[state=start,chapternumber=yes,global=yes] \setupsection[section-1][conversion=Characters] \setupsection[section-2][previousnumber=yes] \setuph

Re: [NTG-context] Chapter number conversion to words

2008-02-08 Thread Bart C. Wise
gt; etc. > > > > I thought that I could put a conversion in the setuphead function; > > however, it doesn't appear to be supported. So how to I do the > > conversion? > > By using \setupsection, like this: > >\def\englishnumbers#1% > {\i

Re: [NTG-context] Chapter number conversion to words

2008-02-07 Thread Taco Hoekwater
> doesn't appear to be supported. So how to I do the conversion? By using \setupsection, like this: \def\englishnumbers#1% {\ifcase#1 \or One\or Two\or Three\or Four\or Five\fi} \defineconversion[englishnumbers][\englishnumbers] \setupsection[chapter][conv

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
setuppublications[options] \setupquote[options] \setupreferencelist[names][options] \setupreferencing[options] \setupregister[singular][name][options] \setuprotate[options] \setuprule[name][options] # \setups \setupscreens[options] \setupsection[name][name][options] \setupsectionbloc

Re: [NTG-context] subsection number independent of section

2007-08-27 Thread Wolfgang Schuster
only get > > , > | I. A Section Title > | > | I.A. A Subsection Title > ` > > Commend used: > > \setupsection[section-3][conversion=Romannumerals] > \setuplabeltext[section={{},{.}}] > \setuphead[section] > [style=bold,alternative=normal,textcomma

Re: [NTG-context] subsection number independent of section

2007-08-26 Thread Idris Samawi Hamid
Hi, On Sun, 26 Aug 2007 17:02:59 -0600, Michael <[EMAIL PROTECTED]> wrote: > , > | I. A Section Title > | > | A. A Subsection Title > ` > > > So far, I can only get > > , > | I. A Section Title > | > | I.A. A Subsection Title > `--

[NTG-context] subsection number independent of section

2007-08-26 Thread Michael
Hi, I am trying to write up a legal document, in which I want the numbers for section and subsection look like: , | I. A Section Title | | A. A Subsection Title ` So far, I can only get , | I. A Section Title | | I.A. A Subsection Title ` Commend used: \setupsection

Re: [NTG-context] itemize with zero start

2007-07-31 Thread Wolfgang Werners-Lucchini
serif,11pt] > \setuphead[section][style=ssb] > \setupsection[section][conversion=Romannumerals] > > \setupitemize[each][a][stopper=:] > > \definestartstop[Beweis][ > before={{\bf Beweis:}\endgraf\blank}, > after={\rightaligned{{\bf q.e.d.}}} > ] > > \startte

Re: [NTG-context] itemize with zero start

2007-07-29 Thread Wolfgang Werners-Lucchini
\eTR > \eTABLE > \stoptext Here is an other example! Remove the three-line-comment, and the error is gone! Strange what? Wolfgang - \setupbodyfont[sansserif,11pt] \setuphead[section][style=ssb] \setupsection[section][conversion=Romannumerals] \setupi

[NTG-context] broken section number

2007-04-12 Thread Wolfgang Werners-Lucchini
.}] \setupsection[section][previousnumber=no,conversion=Romannumerals] \setupsection[subsection][previousnumber=no,conversion=Characters] \setupsection[subsubsection][previousnumber=no] \starttext \section{Eins} \subsection{Zuerst} \subsubsection{Test} \subsubsection[LAB]{Test} \subsubsection{Test

Re: [NTG-context] header labels

2007-03-19 Thread Aditya Mahajan
havior: > > \mainlanguage[de] > > \setupsection[section][conversion=A] > \setuplabeltext[section={{},{.~}}] > > \starttext > > \section{Number One} > dummy > \section{Number Two} > dummy > \section{Number Three} > dummy > > \stoptext > > If you r

[NTG-context] header labels

2007-03-19 Thread Thomas A. Schmitz
Hi all, I've just hit some rather interesting interaction. I wanted my sections numbered A. Title, B. Title etc. This works, unless I choose language [deo]. Here's a short test document that demonstrates the behavior: \mainlanguage[de] \setupsection[section][conversion=A] \setu

Re: [NTG-context] A couple of questions on heads.

2007-01-03 Thread Elliot Clifton
hout > > > > the chapter number. Also, I would like to use roman numerals. > > > > > > You can separate the appendices by a section block. For example > > > > > > % appendix is already a section block. By default, a section > > > % block starts a new page,

Re: [NTG-context] A couple of questions on heads.

2007-01-03 Thread Aditya Mahajan
mple > > > > % appendix is already a section block. By default, a section > > % block starts a new page, you may not want that in a journal > > \setupsectionblock[appendix][page=] > > > > > > % Change the conversion for sections in appendices. > > \setupsection > &g

Re: [NTG-context] A couple of questions on heads.

2007-01-03 Thread Elliot Clifton
r. Also, I would like to use roman numerals. > > You can separate the appendices by a section block. For example > > % appendix is already a section block. By default, a section > % block starts a new page, you may not want that in a journal > \setupsectionblock[append

Re: [NTG-context] A couple of questions on heads.

2007-01-02 Thread Aditya Mahajan
ppendix is already a section block. By default, a section % block starts a new page, you may not want that in a journal \setupsectionblock[appendix][page=] % Change the conversion for sections in appendices. \setupsection [section-3] [appendixconversion=Romannumerals] \starttext \sectio

Re: [NTG-context] Header number separator

2006-11-15 Thread Aditya Mahajan
another approach: > [snip] This does not work with references, \in[ref] still gives . as the separator. Consider IEEE's journal and conference requirements In the head only show the current number SectionI. Subsection B. Subsubsection 3) paragraph a) While refereing

Re: [NTG-context] Header number separator

2006-11-14 Thread Aditya Mahajan
ng or not. \page % Begin Patch \setupsection[section-1][separator=.] \setupsection[section-2][separator=.] \setupsection[section-3][separator=.] \setupsection[section-4][separator=.] \setupsection[section-5][separator=.] \setupsection[section-6][separator=.] \unprotect \def\@@longsectio

Re: [NTG-context] Header number separator

2006-11-07 Thread Aditya Mahajan
c. >> >> Is there a way to achieve what I want to do? > > Yes, as long as you do not want to refer to your sections :) The > separator seems to be broken while refering anyways. I need this functionality for a project (IEEE conference style), so here is hack to get the fe

Re: [NTG-context] Header number separator

2006-11-07 Thread Aditya Mahajan
ming I'm using roman numerals for chapters, I'd like numering > of sections to be I-1, I-2, I-3, etc., of subsections to be I-1.1, > I-1.2, I-2.1, I-2.2, I-2.3, etc. > > Is there a way to achieve what I want to do? Yes, as long as you do not want to refer to your sections :

Re: [NTG-context] Roman numerals in headers

2006-10-26 Thread Marcus Vinicius Mesquita de So
\setupsection[chapter][conversion=Romannumerals](you get I, II, III, IV... )or\setupsection[chapter][conversion=romannumerals](you get i, ii, iii, iv ... )MarcusJeff Smith <[EMAIL PROTECTED]> wrote: Hi again,I've been searching through various docs in order to find how I canhave roma

Re: [NTG-context] Roman numerals in headers

2006-10-26 Thread Aditya Mahajan
On Thu, 26 Oct 2006, Jeff Smith wrote: > Hi again, > > I've been searching through various docs in order to find how I can > have roman numbering with headers (namely, chapter titles), but I've > been unsuccessful. I'm sure it's possible! How does o

[NTG-context] Different formatting of section numbers for title and references.

2006-08-16 Thread Aditya Mahajan
Hi, I want a setup in which section numbers are Roman (I, II, etc.) and subsection numbers are Character (A, B, etc. without the section number prefixed). This is easy to achieve using \setupsection[section-3][bodypartconversion=Romannumerals] \setupsection[section-4][bodypartconversion

Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Mojca Miklavec
,textstyle=bold] \setuplist[section][width=2em,numbercommand=\mysectionlistnumber,% textcommand=\mysectionlisttext] \unprotect \setupsection [\s!section-2] [\v!appendix\c!conversion=appendixconversion, \c!conversion=chapterconversion,] \protect \def\appendixconversion#1{Appendix #1}

Re: [NTG-context] How to achieve: (a) sectiontitle

2006-07-30 Thread Aditya Mahajan
On Sun, 30 Jul 2006, Steffen Wolfrum wrote: > Hi, > > I am confused about the ")" and setupsection or setuphead: > > What I need is a section that looks like this > a) text > b) text > > and a section like this > (aa) text > (bb) text > >

[NTG-context] How to achieve: (a) sectiontitle

2006-07-30 Thread Steffen Wolfrum
Hi, I am confused about the ")" and setupsection or setuphead: What I need is a section that looks like this a) text b) text and a section like this (aa) text (bb) text The conversion is clear but what about ")", resp. "(" before and ")" after the sec

Re: [NTG-context] sectionnumber conversion redux

2006-06-28 Thread Taco Hoekwater
Idris Samawi Hamid wrote: > I sent this a week ago, still awaiting help :-) Sorry, missed it. This fixes the page numbers in the headers \setupsection [section-1][conversion=Romannumerals] I do not (yet) know how to fix the TOC. > Idris > > On Tue, 20 Jun 2006 19:20:58 -0600,

[NTG-context] sectionnumber conversion redux

2006-06-27 Thread Idris Samawi Hamid
cgd #1} }} \setuphead[part][number=no, ownnumber=yes, style=\itd, textcommand=\PartTitle, placehead=yes] \setupsection [section2] [appendixconversion=Character, % Watch the capital previousnum

Re: [NTG-context] continuous numbering of subsection

2006-06-26 Thread Ulf Martin
Hi Hans Hagen schrieb: > \setuphead [chapter][resetnumber=no] > \setupsection[section][previousnumber=no] I do not quite understand the reseting mechanism. I want a lowest level section-like subdivision that has a running number which is unaffected by any of the above levels irrespect

Re: [NTG-context] continuous numbering of subsection

2006-06-25 Thread Ulf Martin
Hi Hans Hagen schrieb: > \setuphead [chapter][resetnumber=no] > \setupsection[section][previousnumber=no] Ok, I undestand. I apologise that my example was too short. I'd like to have things more flexible: If an arbitrary and irregular number of levels is introduced (sections,

Re: [NTG-context] continuous numbering of subsection

2006-06-25 Thread Hans Hagen
planation of > \setupheadnumber in the manual (p. 172) is quite obscure to me -- how do > I specify that I do not want higher levels of head to reset my numbering? > i admit that it's a bit fuzzy ... (some day i'll make this more transparent) \setuphead [chapter][r

[NTG-context] sectionnumber conversion

2006-06-20 Thread Idris Samawi Hamid
=\PartTitle, placehead=yes] \setupsection [section2] [appendixconversion=Character, % Watch the capital previousnumber=no] %\setuppagenumbering[way=bytext,partnumber=no] %\setupcombinedlist[content][partnumber=no] \starttext \startbodymatter \placecontent \part{I}{Body

Re: [NTG-context] Page Numbers in TOC; setuplabeltext

2006-06-01 Thread Aditya Mahajan
On Thu, 1 Jun 2006, Neal Lester wrote: > Is there a way to change the subsubsubsection numbers to letters? \setupsection[section-6][bodypartconversion=Character] should do the trick section-1 corresponds to part, section-2 to chapter, and so on. Adi

Re: [NTG-context] Document Structuring

2006-04-22 Thread nico
On Sat, 22 Apr 2006 12:16:10 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > nico wrote: >>> nico wrote: >>>> >>>> \setuphead[part][conversion=Romannumerals] >>>> [...] >> Ok, but then >> >> \definehead[xx][chapte

Re: [NTG-context] Document Structuring

2006-04-22 Thread Hans Hagen
gt; >>> >>>> 3. How to obtain (I,II,III,IV) for part numbering ? >>>> >>>> >>> \setupsection[section-1][conversion=Romannumerals] >>> >>> seems ok, but I would find more natural to be able to write the >>> following, >

Re: [NTG-context] Document Structuring

2006-04-22 Thread nico
On Sat, 22 Apr 2006 10:24:58 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > nico wrote: >> On Thu, 20 Apr 2006 08:34:44 +0200, Renaud AUBIN <[EMAIL PROTECTED]> >> wrote: >> >> >>> 3. How to obtain (I,II,III,IV) for part numbering ? >>>

  1   2   >