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

2019-06-23 Thread Andres Conrado
ct: [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 mkiv, I have > solved some of

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

2019-06-23 Thread Hans Hagen
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

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

2019-06-23 Thread Duncan Hothersall
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: \setupsection

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 usuall

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

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

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 >

[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

[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

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

2015-08-07 Thread Tomas Hala
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

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][previousnumber

[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 mark IV

[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] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Wolfgang Schuster
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~] \starttext \placecontent \chapter{Title of chapter} \section{Title of section

[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

Re: [NTG-context] section headings

2011-04-19 Thread Willi Egger
,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. Willi (This is LuaTeX

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

2010-08-31 Thread Cedric Mauclair
wrote: 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

[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 1.1

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{subfirst

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

2010-06-30 Thread Tom
,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 numbers to words for the \chapter logic but also converts

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] lost in documentation

2010-01-17 Thread Wolfgang Werners-Lucchini
][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 texshow-web, which is \starttyping

[NTG-context] lost in documentation

2010-01-16 Thread Wolfgang Werners-Lucchini
=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[...][...][...,...=...,...] [...] name [...] name

Re: [NTG-context] lost in documentation

2010-01-16 Thread Wolfgang Schuster
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=Character] that works, but it does not correspont to the syntaxdescription in texshow-web, which

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

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

2009-08-26 Thread Wolfgang Schuster
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 your question is of interest to others

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

2009-08-26 Thread Mojca Miklavec
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 section? Enable the label with \setuphead, not \setupsection. Arghhh ... Where on earth did I take \setupsection from? (I was probably

[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 Alan BRASLAU
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,bodypartconversion=number] \setupsection

Re: [NTG-context] bugs in beta

2009-05-08 Thread Hans Hagen
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,bodypartconversion=number

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] 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
, % 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] specific document layout with ConTeXt

2008-12-28 Thread Aditya Mahajan
1ex minus 0ex] \setupsection [section-3] [bodypartconversion=Romannumerals, appendixconversion=Characters] \setupsection [section-4] [bodypartconversion=Character, previousnumber=no] \setupsection [section-5

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

2008-11-26 Thread luigi scarso
\definesection[nc] \setupsection[nc][conversion=Characters] \definehead[interlude][section=nc,default=chapter] \setuphead[interlude][incrementnumber=yes] \starttext \title{Contents} \placelist[chapter,interlude] \chapter{Chap 1} \interlude{Interlude 1} \chapter{Chap 2} \interlude

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

2008-11-24 Thread Sanjoy Mahajan
with '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{Contents} \placelist[chapter

Re: [NTG-context] Kerning

2008-11-13 Thread Wolfgang Schuster
\or TWO\or THREE\or FOUR\or FIVE\fi} \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

Re: [NTG-context] Kerning

2008-11-13 Thread Bart C. Wise
{% \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 FIVE\fi} \defineconversion[englishnumbers][\englishnumbers] \setupsection[chapter][conversion

Re: [NTG-context] Kerning

2008-11-13 Thread Bart C. Wise
\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=\Myheader, textcommand=\bfd, ] \setupheadtext[chapter=CHAPTER] % used

Re: [NTG-context] Kerning

2008-11-12 Thread Bart C. Wise
][\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 there's a better way to do the number-word

Re: [NTG-context] Kerning

2008-11-12 Thread Hans Hagen
} \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

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] 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=characters,previousnumber=yes] \def\FuenfCommand#1{#1

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 \definehead[EbeneFuenf][subsubsubsection] \setupsection[section-6][conversion=characters

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 period 002E

Re: [NTG-context] Passing unicode characters

2008-07-22 Thread Idris Samawi Hamid
. 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 between chapter numbers and section numbers. I am

Re: [NTG-context] Passing unicode characters

2008-07-22 Thread Mehdi Omidali
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 explain in a different way. I declare \setupsection [chapter][conversion

Re: [NTG-context] Passing unicode characters

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

Re: [NTG-context] \startfrontmatter Co.

2008-07-18 Thread John Devereux
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://texshow.contextgarden.net/command/detail/296 -- John Devereux

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

2008-04-24 Thread Steffen Wolfrum
, 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=Characters

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 ... \setuphead

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 referencing gets the full path

[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] 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][conversion=numbers,previousnumber

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

2008-04-01 Thread Taco Hoekwater
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] +\def\Mychapter#1{\convertnumber{Characters}{\getvalue{@@sesection-1}}#1

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

2008-04-01 Thread Duncan Hothersall
[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} +\defineconversion[MyChapter][\Mychapter] +\setupsection[section-2][conversion

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

2008-04-01 Thread Taco Hoekwater
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} +\defineconversion[MyChapter][\Mychapter] +\setupsection

[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] \setuphead[part

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
[options] \setupregister[singular][name][options] \setuprotate[options] \setuprule[name][options] # \setups \setupscreens[options] \setupsection[name][name][options] \setupsectionblock[name][options] \setupsorting[name][options] \setupspacing[broad|packed] \setupstrut[yes|no|cap|text] \setupsubpagenumber

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

2007-08-27 Thread Wolfgang Schuster
Title ` Commend used: \setupsection[section-3][conversion=Romannumerals] \setuplabeltext[section={{},{.}}] \setuphead[section] [style=bold,alternative=normal,textcommand=\uppercase] \setupsection[section-4][conversion=Character] How can I get what I need? Thanks. Michael

[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] 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 ` Commend used: \setupsection[section-3][conversion

Re: [NTG-context] itemize with zero start

2007-07-31 Thread Wolfgang Werners-Lucchini
][style=ssb] \setupsection[section][conversion=Romannumerals] \setupitemize[each][a][stopper=:] \definestartstop[Beweis][ before={{\bf Beweis:}\endgraf\blank}, after={\rightaligned{{\bf q.e.d.}}} ] \starttext \section{Zofff} \startBeweis \startitemize \item zack \item zong

Re: [NTG-context] itemize with zero start

2007-07-29 Thread Wolfgang Werners-Lucchini
the three-line-comment, and the error is gone! Strange what? Wolfgang - \setupbodyfont[sansserif,11pt] \setuphead[section][style=ssb] \setupsection[section][conversion=Romannumerals] \setupitemize[each][a][stopper=:] \definestartstop[Beweis][ before={{\bf

[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

[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] \setuplabeltext

Re: [NTG-context] header labels

2007-03-19 Thread Aditya Mahajan
] \setupsection[section][conversion=A] \setuplabeltext[section={{},{.~}}] \starttext \section{Number One} dummy \section{Number Two} dummy \section{Number Three} dummy \stoptext If you replace language[deo] with language[de], things work as expected. Any explanation for this behavior

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

2007-01-03 Thread Elliot Clifton
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 \section{Test} \startappendices \section{An Appendix

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

2007-01-03 Thread Aditya Mahajan
% 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 [section-3] [appendixconversion=Romannumerals

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

2007-01-03 Thread Elliot Clifton
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[appendix][page=] % Change the conversion for sections in appendices. \setupsection [section-3

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

2007-01-02 Thread Aditya Mahajan
may not want that in a journal \setupsectionblock[appendix][page=] % Change the conversion for sections in appendices. \setupsection [section-3] [appendixconversion=Romannumerals] \starttext \section{Test} \startappendices \section{An Appendix} \stopappendices \stoptext 2. I derived

Re: [NTG-context] Header number separator

2006-11-15 Thread Aditya Mahajan
\setupsection[section-3][bodypartconversion=Romannumerals] \setupsection[section-4][bodypartconversion=Character, previousnumber=no] \setupsection[section-5][bodypartconversion=numbers, previousnumber=no] \setupsection[section-6][bodypartconversion

Re: [NTG-context] Header number separator

2006-11-14 Thread Aditya Mahajan
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\@@longsectionnumber#1

Re: [NTG-context] Header number separator

2006-11-07 Thread Aditya Mahajan
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 :) The separator seems to be broken while refering anyways. \setupsection[section-2

Re: [NTG-context] Header number separator

2006-11-07 Thread Aditya Mahajan
anyways. I need this functionality for a project (IEEE conference style), so here is hack to get the feature. The referencing also works. Use with caution, can break existing macros. \setupsection[section-1][separator=-] \setupsection[section-2][separator=-] \setupsection[section-3][separator

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 one do it? \setupsection[section-2

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 roman numbering

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

2006-08-16 Thread Mojca Miklavec
\mysectionlisttext#1{% \doifelse{#1}{Lab Tasks}{\hskip-1em\bf#1\hfilll}{#1}} \setuplist[chapter][width=1em,numberstyle=bold,% numbercommand=\mychapterlistnumber,textstyle=bold] \setuplist[section][width=2em,numbercommand=\mysectionlistnumber,% textcommand=\mysectionlisttext] \unprotect \setupsection

[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

[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 sectionnumber. How and where is this called

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 The conversion is clear but what about ), resp. ( before and ) after

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, Idris Samawi

[NTG-context] sectionnumber conversion redux

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

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 irrespective

Re: [NTG-context] continuous numbering of subsection

2006-06-25 Thread Hans Hagen
admit that it's a bit fuzzy ... (some day i'll make this more transparent) \setuphead [chapter][resetnumber=no] \setupsection[section][previousnumber=no] \chapter{Section One} \section{Second Topic} \section{Third Topic} \section{Fourth Topic} \chapter{Section Two} \section{Fifth Topic

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, subsections

[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. Aditya

Re: [NTG-context] Document Structuring

2006-04-22 Thread Hans Hagen
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 ? \setupsection[section-1][conversion=Romannumerals] seems ok, but I would find more natural to be able to write the following, at least

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 ? \setupsection[section-1][conversion=Romannumerals] seems ok, but I would

Re: [NTG-context] Document Structuring

2006-04-22 Thread Hans Hagen
nico wrote: 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 ? \setupsection[section-1][conversion

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][chapter] \setupsection[\sectionofhead{chapter}][conversion=Romannumerals] \setupsection[\sectionofhead{xx

Re: [NTG-context] Document Structuring

2006-04-21 Thread nico
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 ? \setupsection[section-1][conversion=Romannumerals] seems ok, but I would find more natural to be able to write the following, at least to make the conversion local

Re: [NTG-context] chapter with letters rather than numbers?

2006-04-18 Thread Aditya Mahajan
... \stopbodymatter \startappendices ... \stopappendices \startbackmatter ... \stopbackmatter which is the right way to do things. However, if you do want to change chapter numbering, \setupsection [section-2] [bodypartconversion=Character] will do the trick. Aditya -- Aditya

Re: [NTG-context] Section Numbering

2006-02-05 Thread Taco Hoekwater
is the magic command? This will give A, B etc. section numbers. I do not know about the rest \setupsection [section-3] [bodypartconversion=Character] Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo

Re: [NTG-context] Section Numbering

2006-02-05 Thread Aditya Mahajan
B. Section 2 and so on. What is the magic command? This will give A, B etc. section numbers. I do not know about the rest \setupsection [section-3] [bodypartconversion=Character] Thanks a lot. This gives me A, B, etc. I added \setuphead[subsection] [separator=-] to get

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

2005-11-26 Thread Giuseppe Bilotta
}\empty \setupsection[#1][\c!previousnumber=\v!yes]}}% % New command preserves the value of the next sectionlevel % when resetnumber=no \def\checkpreservevalueafter#1% {\ifnum\getvalue{\??se#1\c!level}\the\nofsections \edef\preservedsection{\getvalue{\??se#1\c!after

Re: [NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Duncan Hothersall
each of these page numbering features repeated in the table of contents? Thanks. Minimal file follows. Duncan %% Tested on live.contextgarden \setupoutput[pdftex] %% change appendix numbering from Character to numbers \setupsection[section-2][appendixconversion=numbers] %% define new

Re: [NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Hans Hagen
numbering from Character to numbers \setupsection[section-2][appendixconversion=numbers] %% define new chapter-like heads for different sections \definehead[Frontchapter][chapter] \definehead[Appchapter][chapter] \definehead[Backchapter][chapter] %% set up individual content lists and labels

Re: [NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Duncan Hothersall
to Hans: %% Tested on live.contextgarden \setupoutput[pdftex] %% change appendix numbering from Character to numbers \setupsection[section-2][appendixconversion=numbers] %% define new chapter-like heads for different sections \definehead[Frontchapter][chapter] \definehead[Appchapter][chapter

  1   2   >