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 texts. \define[2

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

[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 \def\chap#1#2{Chapter #1

[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 content list. I

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

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

2011-07-07 Thread Julian Becker
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 that? Excuse me for sounding a bit grumpy, but please make

[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] How to get the chapter number

2011-07-06 Thread luigi scarso
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 ? -- luigi

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

2011-07-06 Thread Cecil Westerhof
. 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 this possible? I (and I suppose others) don't understand your question. Does not \chapter work ? Sorry, communication is not my strong

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 . . \chapter{last explaining} % this is (now

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

2011-07-06 Thread luigi scarso
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 auto generated. Is this possible? I (and I suppose others) don't understand

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

2011-07-06 Thread Cecil Westerhof
2011/7/6 Pontus Lurcock p...@talvi.net 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

[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] 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 becker.jul...@gmail.com 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

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. Still

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

2011-07-01 Thread Thomas Schmitz
[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 that? Excuse me for sounding a bit grumpy, but please make complete minimal examples. Which means they should be compilable, see http

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

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: ntg

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 as

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

2011-06-05 Thread Mathieu Dupont
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 exhaustive

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 parameters

[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] 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 {\framed[frame=off,width=broad,align

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

2011-06-04 Thread luigi scarso
On Sat, Jun 4, 2011 at 4:24 PM, Marco net...@lavabit.com 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 [chapter] [command=\MyChapter

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 you. Added to the wiki. Marco

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, I do not want chapter number to be prefixed in section

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

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

2011-06-01 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] 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 / http

[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] 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 One 1 Two 1.1 Three How to achieve that? I tried

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 indented by one level, and then the page

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.The example is minimal, but I left everything I am afraid

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, for the chapter lines, only CHAPTER 1 being

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 number (separate lines

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

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.2011 um

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 CHAPTER 1 Title of chapter2

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

2011-05-26 Thread Wolfgang Schuster
[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. Wolfgang

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

2011-05-26 Thread Alan Braslau
] \define[3]\ChapterList {\vbox{#1\crlf#2\hfill#3}} \setuplist [chapter] [alternative=vertical, command=\ChapterList, interaction=all] \starttext \completecontent \chapter{One} \chapter{Two} \stoptext I guess i should take a closer look at “horizontal

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,interaction=all

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

2011-05-25 Thread Mathieu DUPONT
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\currentlistsymbol\crlf #2\enspace

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

2011-05-25 Thread Wolfgang Schuster
, 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 0cm ? Thanks ! \setuplabeltext[chapter=CHAPTER~] \define[3

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

2011-05-25 Thread Mathieu DUPONT
is a chapter Am 25.05.2011 um 20:21 schrieb Mathieu DUPONT:In the following example, I set the margin for subsections to 1.25cm, in order for the subsection number to be aligned with the titles of sections.If the next section after a subsection is a section or another subsection

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 : 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 section2 (the chapter title underneath its number and left

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 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 the dots option within my new

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 the alternative parameter is already taken by the new

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
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\currentlistsymbol\crlf#2\enspace\listdots\enspace#3

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] getmarking and empty chapter number

2011-05-24 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 branch} %D

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 \chapter{Title of a chapter} \startappendices

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, but not in the numbers of the sections

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,

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] 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=7em] \starttext \placecontent

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

[NTG-context] getmarking and empty chapter number

2011-05-23 Thread Oliver Buerschaper
]}{\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 nevertheless :-( Any

[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

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

2011-05-23 Thread Aditya Mahajan
]}] [{\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 some reason

[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

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

2011-05-04 Thread Taco Hoekwater
: 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 the bib module. This works perfectly if I compile every single

[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

[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

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

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

[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] 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={\blank[3*big] \testpage

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 blue text Tarjeta de

[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

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 counting + pagenumber at the header of everypage

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? Here is my setting. Corrections

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...@ntg.nl

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

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

2011-02-22 Thread Wolfgang Schuster
Am 22.02.2011 um 01:18 schrieb Tom: The code that follows works fine in MKII but doesn't stretch the chapter title in MKIV. What must I change? Also, I want to convert the chapter number to text before stretching it. Has anything been done to the routines that convert numerals to alpha

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

2011-02-22 Thread Tom
as the chapter number, so that is not a solution. I couldn't find documentation for \structuretitle and \structurenumber and am completely lost. 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

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

2011-02-22 Thread Wolfgang Schuster
. However, I want to stretch the title as well as the chapter number, so that is not a solution. I couldn't find documentation for \structuretitle and \structurenumber and am completely lost. Use the ConTeXt minimals or use a more pleasant layout for your headers, the stretched titles don’t look very

[NTG-context] Setting starting chapter number

2011-02-22 Thread 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 right one. Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com

Re: [NTG-context] Setting starting chapter number

2011-02-22 Thread Wolfgang Schuster
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 right one. http://wiki.contextgarden.net

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

2011-02-21 Thread Tom
Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com The code that follows works fine in MKII but doesn't stretch the chapter title in MKIV. What must I change? Also, I want to convert the chapter number to text before stretching it. Has anything been done to the routines

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-16 Thread Tom
for chapter titles via the passing of arguments containing the chapter title and number. Numerous attempts at that have resulted in abject failure. I am clearly missing something. Can't you use MkIV, it has better support for tracking? Wolfgang

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-16 Thread Cedric Mauclair
-Original Message- Am 15.02.2011 um 01:45 schrieb Tom: Follows is some code that executes. The lines immediately following \starttext create a sample of the desired output format. However, I want to accomplish similar results for chapter titles via the passing of arguments containing the chapter

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-16 Thread John McGarrachan
. The lines immediately following \starttext create a sample of the desired output format. However, I want to accomplish similar results for chapter titles via the passing of arguments containing the chapter title and number. Numerous attempts at that have resulted in abject failure. I am clearly

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-16 Thread Aditya Mahajan
: the setups for chapter and section stoppers and referencing has changed. You have much more flexibility now, but need to adapt your style files accordingly. - Metapost: It is no longer possible to change the color of a label in metapost. (You can set it up at TeX level, so this is not a limitation

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-15 Thread Wolfgang Schuster
Am 15.02.2011 um 01:45 schrieb Tom: Follows is some code that executes. The lines immediately following \starttext create a sample of the desired output format. However, I want to accomplish similar results for chapter titles via the passing of arguments containing the chapter title

[NTG-context] Chapter Command causes ToC to not display correctly

2011-02-14 Thread Tom
] \definetypeface [mainface] [mm] [math] [palatino][default] \definetypeface [pagenumber] [ss] [sans] [iwona-light] [default] \definetypeface [dedication] [rm] [serif] [chancery] [default] \setupbodyfont[mainface] %\starthiding %Chapter number only - not appropriate for frontmatter \def

[NTG-context] Stretching chapter titles - MKII

2011-02-14 Thread Tom
Follows is some code that executes. The lines immediately following \starttext create a sample of the desired output format. However, I want to accomplish similar results for chapter titles via the passing of arguments containing the chapter title and number. Numerous attempts at that have

Re: [NTG-context] Stretching chapter titles - MKII

2011-02-14 Thread Hans Hagen
On 15-2-2011 1:45, Tom wrote: Follows is some code that executes. The lines immediately following \starttext create a sample of the desired output format. However, I want to accomplish similar results for chapter titles via the passing of arguments containing the chapter title and number

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Andreas Harder
line chapter head and got a solution.\chapter{\tfd Title \\ \tfc subtitle}Then, in the table of contents, it also listed as a big fonts.How to make the contents with a normal fonts?I tried \setuplist[style=normal, textstyle=normal], but no differences.Best regards

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Jeong Dalyoung
Dear Andreas, Thank you for your code. I'll try it. The other day, Wolfgang suggested me the same page in wiki. But, It looks a little bit complicate, so I use another simple method. Now, it is the time to look at it once more. Thanks again. best regards, Dalyoung

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Wolfgang Schuster
command has two arguments, the first is used for the chapter argument like title, reference, bookmark etc. and the second argument, which is optional, for your own values, like author, subtitle etc. You can now access these values in your own chapter layout with \structurevariable for the normal

[NTG-context] chapter head and placelist

2011-02-04 Thread Jeong Dalyoung
Dear all, The otherday, I asked about three line chapter head and got a solution. \chapter{\tfd Title \\ \tfc subtitle} Then, in the table of contents, it also listed as a big fonts. How to make the contents with a normal fonts? I tried \setuplist[style=normal, textstyle=normal

Re: [NTG-context] Comment on new Page Design Chapter for new manual.

2011-01-28 Thread Taco Hoekwater
Hi John, On 01/27/2011 11:41 PM, John Culleton wrote: The question of page dimensions can be very confusing for the raw beginner. I suggest the something like the following as a lead in: Thanks, duly noted. I'll keep this in mind for the next revision. Best wishes, Taco

Re: [NTG-context] Comment on new Page Design Chapter for new manual.

2011-01-28 Thread Hans Hagen
On 27-1-2011 11:41, John Culleton wrote: The question of page dimensions can be very confusing for the raw beginner. I suggest the something like the following as a lead in: --- For a printed page we really have to deal with three different

[NTG-context] Comment on new Page Design Chapter for new manual.

2011-01-27 Thread John Culleton
The question of page dimensions can be very confusing for the raw beginner. I suggest the something like the following as a lead in: --- For a printed page we really have to deal with three different sets of dimensions. The body of the text

Re: [NTG-context] empty page before chapter and part

2010-12-12 Thread Emanuele Sacco
=no] \setupheadertexts[][part][chapter][] You can replace this block \setupbackgrounds[state=repeat] \setupbackgrounds[header][text][background=whatever] \defineoverlay[whatever][{\framed[width=\overlaywidth,height=\overlayheight,frame=off,bottomframe=on]{}}] \couplepage[chapter][before

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