Re: [NTG-context] Bug? Counters inherit chapter number

2012-01-16 Thread Wolfgang Schuster
r] > \incrementnumber[examplecounter] > \getnumber[examplecounter] > \incrementnumber[examplecounter] > \stopchapter > \stoptext > > The second example has an empty chapter heading followed by "1. 1.1 1.2 1.3". > > This is on version: 2011.11.29. Apologies if this is ha

[NTG-context] Bug? Counters inherit chapter number

2012-01-16 Thread Felix Ingram
plecounter] \getnumber[examplecounter] \incrementnumber[examplecounter] \getnumber[examplecounter] \incrementnumber[examplecounter] \getnumber[examplecounter] \incrementnumber[examplecounter] \stopchapter \stoptext The second example has an empty chapter heading followed by "1. 1.1 1.2 1.3".

Re: [NTG-context] Beta: bug in \setuphead[chapter]

2012-01-03 Thread Otared Kavian
; I didn't get exactly what you mean, but saying either of the following: >> >> \setuphead[chapter][header=high,align=middle] >> or >> \setuphead[chapter][align=middle,header=high] >> or >> \setuphead[chapter][align=middle, >> heade

Re: [NTG-context] Beta: bug in \setuphead[chapter]

2012-01-03 Thread Aditya Mahajan
On Tue, 3 Jan 2012, Otared Kavian wrote: On 3 janv. 2012, at 08:38, Wolfgang Schuster wrote: […] You need a command after “align=middle” because you assign “middle ” (with a space) to the align key. I didn't get exactly what you mean, but saying either of the following: I have not checked

Re: [NTG-context] Beta: bug in \setuphead[chapter]

2012-01-03 Thread Wolfgang Schuster
exactly what you mean, but saying either of the following: > > \setuphead[chapter][header=high,align=middle] > or > \setuphead[chapter][align=middle,header=high] > or > \setuphead[chapter][align=middle, >header=high] > or > \setuphead[cha

Re: [NTG-context] Beta: bug in \setuphead[chapter]

2012-01-03 Thread Otared Kavian
On 3 janv. 2012, at 08:38, Wolfgang Schuster wrote: > […] > You need a command after “align=middle” because you assign “middle ” (with a > space) to the align key. Hi Wolfgang, I didn't get exactly what you mean, but saying either of the following: \setuphead[chapte

Re: [NTG-context] Beta: bug in \setuphead[chapter]

2012-01-02 Thread Wolfgang Schuster
Am 03.01.2012 um 06:41 schrieb Otared Kavian: > Dear Hans, dear all, > > My best wishes to all the community for this New Year! > With the latest beta, \setuphead[chapter] has a strange behavior: the order > of two keys seems to be important… > More precisely > > \se

[NTG-context] Beta: bug in \setuphead[chapter]

2012-01-02 Thread Otared Kavian
Dear Hans, dear all, My best wishes to all the community for this New Year! With the latest beta, \setuphead[chapter] has a strange behavior: the order of two keys seems to be important… More precisely \setuphead [chapter] [header=high, align=middle ] results in

Re: [NTG-context] Custom chapter footer

2012-01-01 Thread Wolfgang Schuster
Am 01.01.2012 um 22:39 schrieb Andreas Harder: > Hi Hans, > > the following used to work. Has the syntax changed? This has to be changed in page-txt.mkvi: \def\resetlayouttextlines % public {\csname\??layouttextsreset\v!top \endcsname \csname\??layouttextsreset\v!header\endcsname \cs

[NTG-context] Custom chapter footer

2012-01-01 Thread Andreas Harder
Hi Hans, the following used to work. Has the syntax changed? \definetext[chapter][footer][pagenumber] \setuphead [chapter][footer=chapter] \starttext \chapter{test} \stoptext ! Undefined control sequence. Regards Andreas

Re: [NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
Thanks Wolfgang - that works as expected. I'm trying to create a table from the headings (as previously mentioned). Something like this: \setuplist[chapter][criterium=all,alternative=command,command=\MySummaryTable,before={\setupTABLE[frame=on]\bTABLE\bTABLEbody},after={\eTABLEbody\e

Re: [NTG-context] \placelist after \chapter

2011-12-12 Thread Wolfgang Schuster
Am 12.12.2011 um 13:04 schrieb Felix Ingram: > Hi all, > > I can't seem to get a list placed after a numbered heading. For example: > > \starttext > \title{First one} > \placelist[chapter] > \chapter{Second one} > \placelist[chapter] % This won't be placed

[NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
Hi all, I can't seem to get a list placed after a numbered heading. For example: \starttext \title{First one} \placelist[chapter] \chapter{Second one} \placelist[chapter] % This won't be placed \stoptext Is this something I should be able to do? The reason I ask is that I'm look

Re: [NTG-context] chapter please ignore part

2011-11-09 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 08 Nov 2011 22:24:17 -0700, Wolfgang Schuster wrote: \definestructureresetset[continue][0,0][1] \setuphead[sectionresetset=continue] Both esoteric and fascinating! Thanks!! Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shīʿī Studies Department of P

Re: [NTG-context] chapter please ignore part

2011-11-08 Thread Wolfgang Schuster
Am 08.11.2011 um 22:45 schrieb Idris Samawi Hamid ادريس سماوي حامد: > Dear Knights, > > I seem to remember there was a way to do this, but I can't find it. This is > what i want: > > Part Foo > > 1 Chapter One > > 2 Chapter Two > > Part Foo Moo

[NTG-context] chapter please ignore part

2011-11-08 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Knights, I seem to remember there was a way to do this, but I can't find it. This is what i want: Part Foo 1 Chapter One 2 Chapter Two Part Foo Moo 3 Chapter Three 4 Chapter Four But what I always get is, obviously Part Foo 1 Chapter One 2 Chapter Two Part Foo Moo 1 Ch

Re: [NTG-context] Question about chapter headings

2011-10-25 Thread Hans Hagen
On 25-10-2011 08:55, Peter Münster wrote: On Tue, Oct 25 2011, Alasdair McAndrew wrote: \def\chap#1#2{Chapter #1\crlf #2} \def\chap#1#2{\vbox{Chapter #1\crlf #2}} or: \defineheadplacement[MyHead][vertical]#1#2% {\vbox{Chapter #1\crlf #2}} which helps the calling code to make some

Re: [NTG-context] Question about chapter headings

2011-10-25 Thread Wolfgang Schuster
Am 25.10.2011 um 08:55 schrieb Peter Münster: > On Tue, Oct 25 2011, Alasdair McAndrew wrote: > >> \def\chap#1#2{Chapter #1\crlf #2} > > \def\chap#1#2{\vbox{Chapter #1\crlf #2}} Use uppercase or camelcase for self defined command and the chapter string can be set with label

Re: [NTG-context] Question about chapter headings

2011-10-25 Thread Alasdair McAndrew
Thanks very much! (I'm embarrassed - I should have been able to work that one out for myself...) -Alasdair On Tue, Oct 25, 2011 at 5:55 PM, Peter Münster wrote: > On Tue, Oct 25 2011, Alasdair McAndrew wrote: > > > \def\chap#1#2{Chapter #1\crlf #2} > > \def\chap#1#2{\

Re: [NTG-context] Question about chapter headings

2011-10-24 Thread Peter Münster
On Tue, Oct 25 2011, Alasdair McAndrew wrote: > \def\chap#1#2{Chapter #1\crlf #2} \def\chap#1#2{\vbox{Chapter #1\crlf #2}} -- Peter ___ If your question is of interest to others as well, please add

[NTG-context] Question about chapter headings

2011-10-24 Thread Alasdair McAndrew
I'm trying to set up a chapter heading which looks like this: Chapter 4 This is the fourth chapter That is, there are two lines, one of which says "Chapter" followed by its number, and the next which is the chapter title. What is the easiest way to do this? I've tried \

Re: [NTG-context] Only show section numbering for \chapter?

2011-07-26 Thread Khaled Hosny
On Tue, Jul 26, 2011 at 10:29:40PM +0200, Wolfgang Schuster wrote: > > Am 26.07.2011 um 17:48 schrieb Khaled Hosny: > > > Hello all, > > > > I'm trying to only show section numbering for chapter, both in the > > section head and content list. I tried sev

Re: [NTG-context] Only show section numbering for \chapter?

2011-07-26 Thread Wolfgang Schuster
Am 26.07.2011 um 17:48 schrieb Khaled Hosny: > Hello all, > > I'm trying to only show section numbering for chapter, both in the > section head and content list. I tried several combinations of > number=yes|no, sectionnumber=yes|no but I either get numbering for all >

[NTG-context] Only show section numbering for \chapter?

2011-07-26 Thread Khaled Hosny
Hello all, I'm trying to only show section numbering for chapter, both in the section head and content list. I tried several combinations of number=yes|no, sectionnumber=yes|no but I either get numbering for all or none. I tried using \title and \subject by they don't show in the conte

Re: [NTG-context] From \chapter to \startchapter \stopchapter

2011-07-15 Thread Hans Hagen
On 15-7-2011 12:41, Cecil Westerhof wrote: Instead of only pdf I also need to generate XHTML. For this I need to use \startchapter and \stopchapter instead of \chapter. When it is like: \chapter{A descriptive title} I have to change it to: \startchapter[title=A descriptive title

[NTG-context] From \chapter to \startchapter \stopchapter

2011-07-15 Thread Cecil Westerhof
Instead of only pdf I also need to generate XHTML. For this I need to use \startchapter and \stopchapter instead of \chapter. When it is like: \chapter{A descriptive title} I have to change it to: \startchapter[title=A descriptive title] . . . \stopchapter But how do I

Re: [NTG-context] Continuous chapter numbering without prefixes in documents with parts

2011-07-07 Thread Julian Becker
I need (if >> I >> didn't miss anything): >> >> I added the line: >> \setuphead[chapter][chaptersegments=chapter] >> which indeed got rid of the chapter number prefix. >> Still, the chapter numbering gets reset in each new part. How can I avoid >> t

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

2011-07-06 Thread Cecil Westerhof
2011/7/6 Pontus Lurcock > On Wed 06 Jul 2011, Cecil Westerhof wrote: > > > What I mean. I have something like: > > > > \chapter{General description} > > . > > . > > This is explained in chapters 7 to 12. > > . > > . > > \chapter{another

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

2011-07-06 Thread luigi scarso
iption of the >> > functionalities will be given. >> > >> > For this document it is not a real problem. (I do not expect the chapter >> > structure to change often.) But it would be nicer to get the chapter >> > numbers >> > auto generated. Is th

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

2011-07-06 Thread Pontus Lurcock
On Wed 06 Jul 2011, Cecil Westerhof wrote: > What I mean. I have something like: > > \chapter{General description} > . > . > This is explained in chapters 7 to 12. > . > . > \chapter{another} > . > . > \chapter{first explaining} % this is (now) chapter 7

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

2011-07-06 Thread Cecil Westerhof
ocument it is not a real problem. (I do not expect the chapter > > structure to change often.) But it would be nicer to get the chapter > numbers > > auto generated. Is this possible? > I (and I suppose others) don't understand your question. > Does not \chapter work ? >

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

2011-07-06 Thread luigi scarso
On Wed, Jul 6, 2011 at 10:48 AM, Cecil Westerhof wrote: > At the moment I have the following in my document: >     In the chapters 7 to 12 a more in depth description of the > functionalities will be given. > > For this document it is not a real problem. (I do not expect the chap

[NTG-context] How to get the chapter number

2011-07-06 Thread Cecil Westerhof
At the moment I have the following in my document: In the chapters 7 to 12 a more in depth description of the functionalities will be given. For this document it is not a real problem. (I do not expect the chapter structure to change often.) But it would be nicer to get the chapter numbers

Re: [NTG-context] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Thomas Schmitz
On Fri, 1 Jul 2011 15:33:07 +0200 Julian Becker wrote: Thank you Thomas, and sorry for not having performed a proper search priorly. Still, the thread you refered me to only provides half of what I need (if I didn't miss anything): I added the line: \setuphead[chapter][chapterseg

Re: [NTG-context] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Julian Becker
Thank you Thomas, and sorry for not having performed a proper search priorly. Still, the thread you refered me to only provides half of what I need (if I didn't miss anything): I added the line: \setuphead[chapter][chaptersegments=chapter] which indeed got rid of the chapter number prefix.

Re: [NTG-context] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Thomas Schmitz
On Fri, 1 Jul 2011 15:02:22 +0200 Julian Becker wrote: Does anybody know how to implement a continuous numbering of chapters in documents with several parts? More specifically: how can I achieve the following numbering scheme (with unprefixed chapter numbers): I First part 1 Chapter one 2

[NTG-context] Continuous chapter numbering without prefixes in documents with parts

2011-07-01 Thread Julian Becker
Does anybody know how to implement a continuous numbering of chapters in documents with several parts? More specifically: how can I achieve the following numbering scheme (with unprefixed chapter numbers): I First part 1 Chapter one 2 Chapter two II Second part 3 Chapter three I tried

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-19 Thread Mathieu Dupont
Thanks ! It's done, except for \startchapter, as I did not figure out how to create a new page... Mathieu Subject: Re: [NTG-context] No chapter prefixes in section numbers From: schuster.wolfg...@googlemail.com Date: Sun, 19 Jun 2011 10:02:34 +0200 CC: mathieudup...@hotmail.com To

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-19 Thread Wolfgang Schuster
Am 03.06.2011 um 21:43 schrieb Mathieu DUPONT:Is there an exhaustive list of all the parameters the \setuphead function can take ?Neither the 2011 ConTeXt Commands Manual nor the Wiki Command Reference page mention this one (sectionsegments).Where can I find all the parameters one ConTeXt command c

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-06 Thread Wolfgang Schuster
Am 06.06.2011 um 01:20 schrieb Mathieu Dupont: > Ok, thank you very much for the great work Wolfgang ! > > For now I guess I could look at the source code of a command to find out its > properties (I am not familiar with TeX but maybe I can figure out a few > things). Yes but it isn’t so easy

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-05 Thread Mathieu Dupont
d the script of a command. Can you help me out ? Thanks ! Mathieu From: schuster.wolfg...@googlemail.com Date: Sat, 4 Jun 2011 14:35:04 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] No chapter prefixes in section numbers Am 03.06.2011 um 21:43 schrieb Mathieu DUPONT:Is there an exhau

Re: [NTG-context] Chapter name in new line

2011-06-04 Thread Marco
> If you don't want to use framedtext (cfr wolfgang) > \setuplabeltext [en] [chapter=Chapter~] > \def\MyChapter#1#2{\vbox{#1\blank#2}} > \setuphead [chapter] [command=\MyChapter] > > \starttext > \chapter{Foo Bar} > \stoptext Thanks to both of y

Re: [NTG-context] Chapter name in new line

2011-06-04 Thread luigi scarso
On Sat, Jun 4, 2011 at 4:24 PM, Marco wrote: > How can I get the chapter name in a new line, like: > > Chapter 1 > Foo Bar > > The following yields to “Chapter1Foo Bar”. > > \setuplabeltext [en] [chapter=Chapter~] > \def\MyChapter#1#2{#1\blank#2} > \setuphead

Re: [NTG-context] Chapter name in new line

2011-06-04 Thread Wolfgang Schuster
Am 04.06.2011 um 16:24 schrieb Marco: > How can I get the chapter name in a new line, like: > > Chapter 1 > Foo Bar > > The following yields to “Chapter1Foo Bar”. > > \setuplabeltext [en] [chapter=Chapter~] > \def\MyChapter#1#2{#1\blank#2} \define[2]\MyChapter

[NTG-context] Chapter name in new line

2011-06-04 Thread Marco
How can I get the chapter name in a new line, like: Chapter 1 Foo Bar The following yields to “Chapter1Foo Bar”. \setuplabeltext [en] [chapter=Chapter~] \def\MyChapter#1#2{#1\blank#2} \setuphead [chapter] [command=\MyChapter] \starttext \chapter{Foo Bar} \stoptext Marco

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-04 Thread Wolfgang Schuster
Am 03.06.2011 um 21:43 schrieb Mathieu DUPONT: > > Is there an exhaustive list of all the parameters the \setuphead function can > take ? > > Neither the 2011 ConTeXt Commands Manual nor the Wiki Command Reference page > mention this one (sectionsegments). > > Where can I find all the parame

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-03 Thread Mathieu DUPONT
! Mathieu > From: schuster.wolfg...@googlemail.com > Date: Thu, 2 Jun 2011 05:28:02 +0200 > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] No chapter prefixes in section numbers > > > Am 02.06.2011 um 02:28 schrieb Aditya Mahajan: > > > Hi, > > &g

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-02 Thread Aditya Mahajan
On Thu, 2 Jun 2011, Wolfgang Schuster wrote: Am 02.06.2011 um 02:28 schrieb Aditya Mahajan: Hi, I do not want chapter number to be prefixed in section and subsection numbers. Thus, \starttext \chapter{One} \section{Two} \subsection{Three} \stoptext should give: 1 One 1 Two 1.1 Three

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-01 Thread Wolfgang Schuster
Am 02.06.2011 um 02:28 schrieb Aditya Mahajan: > Hi, > > I do not want chapter number to be prefixed in section and subsection > numbers. Thus, > > \starttext > \chapter{One} > \section{Two} > \subsection{Three} > \stoptext > > should give: > > 1 O

[NTG-context] No chapter prefixes in section numbers

2011-06-01 Thread Aditya Mahajan
Hi, I do not want chapter number to be prefixed in section and subsection numbers. Thus, \starttext \chapter{One} \section{Two} \subsection{Three} \stoptext should give: 1 One 1 Two 1.1 Three How to achieve that? I tried \setuphead[section][prefixset=none] but to no affect. Aditya

Re: [NTG-context] How can I put the chapter head and chapter number in a line

2011-06-01 Thread Marco
> \setuphead[chapter][alternative=middle] \setuphead[chapter][align=middle] Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / h

[NTG-context] How can I put the chapter head and chapter number in a line

2011-05-31 Thread m00nlight
Hi, every one. I am currently write a paper and want to place the chapter and the chapter number in a line with no break line but the example followed \setuphead[chapter][alternative=middle] \starttext \chapter{One} \input knuth \chapter{Two} \input knuth \chapter {Three} \input knuth

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Mathieu DUPONT
No, I had tried that.The problem is obviously caused by all the layers of patching, which I need though. Mathieu > Date: Fri, 27 May 2011 16:00:36 +0200 > From: alan.bras...@cea.fr > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] TOC : Chapter title under its numb

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Alan Braslau
"interaction=sectionnumber" rather than "interaction=all" doesn't seem to help here... Alan On Fri, May 27, 2011 at 09:33:53AM -0400, Mathieu DUPONT wrote: > > As for the interaction patching, in the following example I can't figure out > how to have,

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Mathieu DUPONT
As for the interaction patching, in the following example I can't figure out how to have, for the chapter lines, only "CHAPTER 1" being the interaction and not "the title" + "the dots line" + "the page number", as it is the case with this code.Th

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Alan Braslau
On Thu, May 26, 2011 at 08:16:21PM +0200, Wolfgang Schuster wrote: > > Am 26.05.2011 um 18:48 schrieb Alan Braslau: > > > \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,interaction=all] > > > > Almost works. Almost in that all lines get ind

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Wolfgang Schuster
Am 26.05.2011 um 18:48 schrieb Alan Braslau: > \define[3]\ChapterList > {\vbox{\par\noindent\currentlistsymbol#1\crlf#2\enspace\listdots\enspace#3}} Your \par is useless here because we’re in a box. > \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,intera

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Alan Braslau
his: > > \setupinteraction[state=start] > > \define[3]\ChapterList > {\vbox{#1\crlf#2\hfill#3}} > > \setuplist > [chapter] > [alternative=vertical, >command=\ChapterList, >interaction=all] > > \starttext > > \completecontent >

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Wolfgang Schuster
uplist [chapter] [alternative=vertical, command=\ChapterList, interaction=all] \starttext \completecontent \chapter{One} \chapter{Two} \stoptext I guess i should take a closer look at “horizontal” and “vertical” because the label key has no effect for them. Wo

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Alan Braslau
On Tue, May 24, 2011 at 01:42:41PM +0200, Wolfgang Schuster wrote: > > Am 24.05.2011 um 00:59 schrieb Mathieu DUPONT: > > > Hi, > > Is there a simple way to obtain the following result in the table of > content : > > Contents >

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-26 Thread Mathieu DUPONT
Until then, this works fine for me now.Thank you ! Mathieu From: schuster.wolfg...@googlemail.com Date: Thu, 26 May 2011 06:23:08 +0200 To: ntg-context@ntg.nl CC: pra...@wxs.nl Subject: Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter Am 25.05.20

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-26 Thread Hans Hagen
On 26-5-2011 6:23, Wolfgang Schuster wrote: Am 25.05.2011 um 22:08 schrieb Mathieu DUPONT: It bugs on the \leftskip command. Any idea why ? I forgot that \listparameter can’t handle arguments in braces (e.g. \listparameter{before}), this is a real limitation and i hope Hans is going to chang

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 22:08 schrieb Mathieu DUPONT: > It bugs on the \leftskip command. > Any idea why ? I forgot that \listparameter can’t handle arguments in braces (e.g. \listparameter{before}), this is a real limitation and i hope Hans is going to change this. \unprotect \define[3]\ChapterList

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Mathieu DUPONT
.edlistparameter \c!order } \doendoflist \stoplistrefe... ... l.49 ? Mathieu From: schuster.wolfg...@googlemail.com Date: Wed, 25 May 2011 20:51:14 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] TOC : margin size doesn't reset if next sec

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Wolfgang Schuster
ection, > there is no problem. > But if (as shown here) the next "section" (after a subsection) is a chapter, > it becomes shifted to the right (its margin is 1.25cm). > Is there something I could add to my command \ChapterList to "reset" the > margin to

[NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Mathieu DUPONT
section" (after a subsection) is a chapter, it becomes shifted to the right (its margin is 1.25cm).Is there something I could add to my command \ChapterList to "reset" the margin to 0cm ?Thanks ! \setuplabeltext[chapter=CHAPTER~] \define[3]\ChapterList{ \blank \par\noindent

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
Things are getting much clearer now.Thank you ! Mathieu From: schuster.wolfg...@googlemail.com Date: Tue, 24 May 2011 16:20:13 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] TOC : Chapter title under its number (separate lines) Am 24.05.2011 um 16:13 schrieb Mathieu

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Wolfgang Schuster
> > I am starting to think there is something mysterious with this \blank > command... Not really, the commands just ends the last line and inserts a blank line. When you don’t want an empty line you can define the chapter entry as: \define[3]\ChapterList {\par\noindent\currentlist

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
... Mathieu From: schuster.wolfg...@googlemail.com Date: Tue, 24 May 2011 16:04:44 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] TOC : Chapter title under its number (separate lines) Am 24.05.2011 um 15:33 schrieb Mathieu DUPONT:If now I add the line : \setupcombinedlist[content

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Wolfgang Schuster
Am 24.05.2011 um 15:33 schrieb Mathieu DUPONT: > > If now I add the line : > > \setupcombinedlist[content][alternative=c] > > it doesn't add the dots to the chapter lines anymore, > and I can't add > > \setuplist[chapter][alternative=c] > > since t

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
If now I add the line : \setupcombinedlist[content][alternative=c] it doesn't add the dots to the chapter lines anymore,and I can't add \setuplist[chapter][alternative=c] since the "alternative" parameter is already taken by the new "command" Is there a way to add t

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
That was very useful !! Again, thank you very much Wolfgang ! Mathieu From: schuster.wolfg...@googlemail.com Date: Tue, 24 May 2011 13:42:41 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] TOC : Chapter title under its number (separate lines) Am 24.05.2011 um 00:59

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Wolfgang Schuster
Am 24.05.2011 um 00:59 schrieb Mathieu DUPONT: > Hi, > > Is there a simple way to obtain the following result in the table of content : > > Contents > CHAPTER 1 > Title of chapter2 > 1.1Title of section 2 > > (the chapt

Re: [NTG-context] getmarking and empty chapter number

2011-05-23 Thread Oliver Buerschaper
> %D \macros > %D {doiftextelse, doiftext} > %D > %D When \type {\doifelse} cum suis hopelessly fail, for > %D instance because we pass data, we can fall back on the next > %D macro: > %D > %D \starttyping > %D \doiftextelse {data} {then branch} {else branch} > %D \doiftext {data} {then branc

Re: [NTG-context] getmarking and empty chapter number

2011-05-23 Thread Aditya Mahajan
ng[section]}] [{\doifsomething{\getmarking[chapternumber]}{\getmarking[chapternumber]\enskip}\getmarking[chapter]}] [] -- When this encounters an unnumbered \startchapter (say in the front matter) then this \doifsomething should detect this void and in particular not insert the \enskip. For s

[NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-23 Thread Mathieu DUPONT
Hi, Is there a simple way to obtain the following result in the table of content : ContentsCHAPTER 1Title of chapter21.1Title of section2 (the chapter title underneath its number and left aligned, just like everything else) The following code used to

[NTG-context] getmarking and empty chapter number

2011-05-23 Thread Oliver Buerschaper
pternumber]}{\getmarking[chapternumber]\enskip}\getmarking[chapter]}] [] -- When this encounters an unnumbered \startchapter (say in the front matter) then this \doifsomething should detect this void and in particular not insert the \enskip. For some reason the space ends up in the PDF nevertheles

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

2011-05-23 Thread Mathieu DUPONT
Ok, me too, now that MkIV is correctly installed with TexShop... Thank you very much Wolfgang ! Mathieu From: schuster.wolfg...@googlemail.com Date: Mon, 23 May 2011 20:07:25 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Roman numbers for chapters in chapter lines but not

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

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT: > This code : > > \setuplabeltext[chapter=CHAPITRE~] > \definestructureconversionset[mathieu][numbers,Romannumerals][numbers] > \setuphead[chapter][sectionconversionset=mathieu] > \setuplist[chapter][label=yes,width=7e

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

2011-05-23 Thread Mathieu DUPONT
This code : \setuplabeltext[chapter=CHAPITRE~]\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]\setuphead[chapter][sectionconversionset=mathieu]\setuplist[chapter][label=yes,width=7em] \starttext \placecontent \chapter{Title of chapter}\section{Title of section}\subsection

Re: [NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-23 Thread Mathieu DUPONT
Effectively, now that I've installed MkIV, I get the output I expected. Thank you very much, Wolfgang ! Mathieu ___ If your question is of interest to others as well, plea

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

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 04:33 schrieb Mathieu DUPONT: > > Hi, > > I am trying to obtain the following result : > > CHAPITRE I Title of chapter > 1.1 Title of section > 1.1.1 Title of subsection > > In other words, I need my chapter numbers to be in roman number, bu

Re: [NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 04:06 schrieb Mathieu DUPONT: > Hi, > > The following code : > > \setuplabeltext[chapter=CHAPTER~] > \setuplabeltext[appendix=APPENDIX~] > \setuplist [chapter] [label=yes,style={\blank[0cm]}] > > \starttext > > \completecontent

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

2011-05-22 Thread Mathieu DUPONT
Hi, I am trying to obtain the following result : CHAPITRE I Title of chapter1.1 Title of section1.1.1 Title of subsection In other words, I need my chapter numbers to be in roman number, but not in the numbers of the sections and subsections (1.1.1 and not I.1.1). Here is the base code

[NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-22 Thread Mathieu DUPONT
Hi, The following code : \setuplabeltext[chapter=CHAPTER~]\setuplabeltext[appendix=APPENDIX~]\setuplist [chapter] [label=yes,style={\blank[0cm]}] \starttext \completecontent \chapter{Title of a chapter} \startappendices\chapter{Title of an appendix}\stopappendices \stoptext results in

Re: [NTG-context] Bibliography question: one list of references per chapter and one overall list

2011-05-04 Thread Taco Hoekwater
I have a question regarding reference lists: I would like to have one > list per chapter (which are original research papers), but also one big list > at the end of > the thesis, as a separate chapter, containing all unique references in whole > thesis. > > At the moment, I'm using

[NTG-context] Bibliography question: one list of references per chapter and one overall list

2011-05-02 Thread Renald Buter
Hello all, I am currently making up my thesis in ConTeXt. And I am thoroughly impressed with the professional looking result I already have, although I have only recently started using ConTeXt. Now, I have a question regarding reference lists: I would like to have one list per chapter (which

Re: [NTG-context] chapter and section titles in margin of each page

2011-04-01 Thread C.
That seems to Work. Grid alignment does also work, as long as the whitespace before and after section/chapter heads is a multiple of lineheight. Thank you. > -Ursprüngliche Nachricht- > Von: Wolfgang Schuster [mailto:schuster.wolfg...@googlemail.com] > Gesendet: Donnerstag, 31.

Re: [NTG-context] chapter and section titles in margin of each page

2011-03-31 Thread Wolfgang Schuster
] \setuppagenumbering[alternative=doublesided] \setuptexttexts[margin][][\setups{text a}][\setups{text b}][] \startsetups[text a] \framed [frame=off, offset=0pt, width=broad, height=\vsize, align={high,flushleft}, top={\blank[12*line]}] {\getmarking[chapter]} \stopsetups \startse

[NTG-context] chapter and section titles in margin of each page

2011-03-31 Thread C.
Hello, this is nice: http://wiki.contextgarden.net/Headers_and_Footers#Marginal_headings_and_cent ered_headings However, the text in the margin has not the same interlinespace as the main text and that looks weird. See http://i52.tinypic.com/91rc.png The only solution I came up with is using \fram

Re: [NTG-context] How to get the style definitions from \chapter, \section, \subsection

2011-03-19 Thread Wolfgang Schuster
Am 19.03.2011 um 17:21 schrieb Cecil Westerhof: > The style of chapter is significant bigger as the style from section, but it > looks like the style from section and subsection are about the same. I have a > workaround with the following: > \setuphead[section][before={

[NTG-context] How to get the style definitions from \chapter, \section, \subsection

2011-03-19 Thread Cecil Westerhof
The style of chapter is significant bigger as the style from section, but it looks like the style from section and subsection are about the same. I have a workaround with the following: \setuphead[section][before={\blank[3*big] \testpage[15]}] \setuphead[subsection][before={\blank[big

Re: [NTG-context] header text for each page of a chapter

2011-03-07 Thread Milton Galo Patricio Inostroza Aguilera
I'm still working on my issue without success :-(. I've posted my pdf document [1]...if somebody could help me it will great for me =D. The principal idea is to customize the name of the chapter (the header text), "Tarjeta de Crédito", to show the header text like the light b

[NTG-context] header text for each page of a chapter

2011-03-05 Thread Milton Galo Patricio Inostroza Aguilera
Hi, I need that the name of a chapter appears in each page that belongs of it. For that, I use the following code: \definepagebreak [mychapterpagebreak] [yes,header] \setuphead [chapter] [page=mychapterpagebreak, placehead=no] \setupheadertexts[][chapter

Re: [NTG-context] how to make chapter starts from odd page always?

2011-02-27 Thread Jeong Dalyoung
Dear Hans and Wolfgang, Thank you for the help. The contents of a book is already fixed and nowI tired to make a book in a better shape. Best regards, Dalyoung ___ If your question is of interest to others as well

Re: [NTG-context] how to make chapter starts from odd page always?

2011-02-26 Thread Wolfgang Schuster
Am 24.02.2011 um 15:32 schrieb Jeong Dalyoung: > Dear all, > > I'd like to start every chapter starts from an odd page. > page=right or page=left doesn't affect the page setting. > I tried it using pagenumbering, but not succeed. > I also want to put "counti

Re: [NTG-context] how to make chapter starts from odd page always?

2011-02-25 Thread Hans Hagen
On 24-2-2011 3:32, Jeong Dalyoung wrote: \setuphead[chapter][page=odd] - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69

[NTG-context] how to make chapter starts from odd page always?

2011-02-24 Thread Jeong Dalyoung
Dear all, I'd like to start every chapter starts from an odd page. page=right or page=left doesn't affect the page setting. I tried it using pagenumbering, but not succeed. I also want to put "counting" + pagenumber at the header of everypage. How to make it work?

Re: [NTG-context] Setting starting chapter number

2011-02-23 Thread Tom
: Re: [NTG-context] Setting starting chapter number Am 23.02.2011 um 05:34 schrieb Tom: I have the need to start a document on a chapter number greater than 1 but cannot find the command that sets the starting chapter number. I assume that such a command exists and have probably overlooked the

Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-23 Thread Tom
I can actually use this for books that don't have chapter titles because I like how it appears with a font like Iwona-light. Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@n

<    2   3   4   5   6   7   8   9   10   11   >