[NTG-context] Section/head with separate numbering and references

2012-10-26 Thread Jason Brown
Hello, I'm working on a document with both chapter/section numbering, and a 'topic' whose numbers are sequential across the entire document. I found a solution to enable this from a 2003 thread in the archives (Creating list with separate numbering, 15 April 2003), but I can't seem to get

[NTG-context] Error with \section name

2012-10-05 Thread Rogers, Michael K
I encountered a strange error. If the section name contains iffer then an error is produced, with some joke-like comments. Minimal example: \starttext \chapter{One} \section{iffer} \stoptext The original title was Differentiating an integral but I kept taking away until I got to iffer

Re: [NTG-context] Error with \section name

2012-10-05 Thread Rogers, Michael K
Actually it happens with the text iffer: \starttext iffer \stoptext On Oct 5, 2012, at 9:44 PM, Rogers, Michael K mrog...@emory.edu wrote: I encountered a strange error. If the section name contains iffer then an error is produced, with some joke-like comments. Minimal example

[NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
Hello ConTeXist. Is there possibility view all subsubsection number (ie in format 2.3.4 - it mean with section and also subsection number) without \section{} and \subsection{} command using previously? I need to start a separate section number from a certain number (inserted into an existing

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Wolfgang Schuster
Am 15.09.2012 um 11:46 schrieb Jaroslav Hajtmar hajt...@gyza.cz: Hello ConTeXist. Is there possibility view all subsubsection number (ie in format 2.3.4 - it mean with section and also subsection number) without \section{} and \subsection{} command using previously? I need to start

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
15.09.2012 um 11:46 schrieb Jaroslav Hajtmarhajt...@gyza.cz: Hello ConTeXist. Is there possibility view all subsubsection number (ie in format 2.3.4 - it mean with section and also subsection number) without \section{} and \subsection{} command using previously? I need to start a separate section

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Sietse Brouwer
subsubsection number (ie in format 2.3.4 - it mean with section and also subsection number) without \section{} and \subsection{} command using previously? I need to start a separate section number from a certain number (inserted into an existing document) Thanx Jaroslav Hajtmar Here is my

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
number (ie in format 2.3.4 - it mean with section and also subsection number) without \section{} and \subsection{} command using previously? I need to start a separate section number from a certain number (inserted into an existing document) Thanx Jaroslav Hajtmar Here is my example

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
sections, so I did not there yet. Thanks again Jaroslav Dne 15.9.2012 12:37, Wolfgang Schuster napsal(a): Am 15.09.2012 um 11:46 schrieb Jaroslav Hajtmarhajt...@gyza.cz: Hello ConTeXist. Is there possibility view all subsubsection number (ie in format 2.3.4 - it mean with section

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Aditya Mahajan
. Is there possibility view all subsubsection number (ie in format 2.3.4 - it mean with section and also subsection number) without \section{} and \subsection{} command using previously? I need to start a separate section number from a certain number (inserted into an existing document) Thanx Jaroslav

Re: [NTG-context] View all numbers of sub(...)section

2012-09-15 Thread Jaroslav Hajtmar
Aditya, thankx, BUT here is correction of my previous statement: Wolfgang's solution: \setuphead [section, subsection] [placehead = hidden] works correctly and does not insert any vertical space!!! Unfortunately, it works in my minimal example only, but in my real application, this option does

[NTG-context] Adaptive section structuring

2012-09-13 Thread Marco Patzer
, the second one a section, etc. \starttext \startstructure [title=Alpha] \startstructure [title=Beta] \startstructure [title=Gamma] \stopstructure \stopstructure \stopstructure \stoptext This would ease moving around sections, which might end up as subsections and vice

Re: [NTG-context] Adaptive section structuring

2012-09-13 Thread Hans Hagen
the first structure would become the chapter, the second one a section, etc. \starttext \startstructure [title=Alpha] \startstructure [title=Beta] \startstructure [title=Gamma] \stopstructure \stopstructure \stopstructure \stoptext This would ease moving around sections

Re: [NTG-context] Adaptive section structuring

2012-09-13 Thread Wolfgang Schuster
Am 13.09.2012 um 11:07 schrieb Marco Patzer home...@lavabit.com: Is there something like an adaptive structure code which keeps track of the nesting level? In this example the first structure would become the chapter, the second one a section, etc. \startstructurelevel [title=first lower

[NTG-context] Table of Contents Section Numbering

2012-07-10 Thread Malte Harder
and simply count up from 1, so the first section has number 2 instead of 1.1 and so on. Is this a temporary bug or did something change that needs specific setup? Thanks in advance! Malte ___ If your question

Re: [NTG-context] Table of Contents Section Numbering

2012-07-10 Thread Henning Hraban Ramm
2012/7/10 Malte Harder m...@malteharder.de: Dear all, I'm quite new to ConTeXt and I'm just trying to set up a template for my first project. I'm using MkIV and the ConTeXt Standalone nightlies. I've encountered the problem that I was not able to create a table of contents (neither

[NTG-context] placecontent after section command

2012-06-05 Thread Jan Pohanka
Hello, This example works as expected \starttext \subject{Contents} \placecontent \section{One} \section{Two} \stoptext but when I replace \subject with \section like this \starttext \section{Contents} \placecontent \section{One} \section{Two} \stoptext the contents are not printed out

Re: [NTG-context] placecontent after section command

2012-06-05 Thread Hans Hagen
On 5-6-2012 08:52, Jan Pohanka wrote: Hello, This example works as expected \starttext \subject{Contents} \placecontent \section{One} \section{Two} \stoptext here you get a list if all at the previous level (being the document) but when I replace \subject with \section like this \starttext

Re: [NTG-context] placecontent after section command

2012-06-05 Thread Jan Pohanka
here you get a list if the entries below \section{Content} and there are one; lists by default are local add [criterium=text] to get a complete document based list thank you for clarification best regards Jan

Re: [NTG-context] How to get info about current [sub-...]section?

2012-04-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
] \starttext \section{A} \starttabulate \NC Number \EQ \structurenumber \NC\NR \NC Title \EQ \structuretitle \NC\NR \stoptabulate \subsection{Aa} \starttabulate \NC Number \EQ \structurenumber \NC\NR \NC Title \EQ \structuretitle \NC\NR \stoptabulate \subsubsection{Aaa} \starttabulate \NC Number

[NTG-context] How to get info about current [sub-...]section?

2012-04-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, suppose having the following code: \starttext \section{A} \subsection{Aa} \subsubsection{Aaa} Here, in -- % How to get info about current [sub-...]section - texts 1.1.1 and Aaa? \stoptext Is there a way how to get info about the current [sub-...]section

Re: [NTG-context] How to get info about current [sub-...]section?

2012-04-16 Thread Wolfgang Schuster
Am 16.04.2012 um 12:15 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, suppose having the following code: \starttext \section{A} \subsection{Aa} \subsubsection{Aaa} Here, in -- % How to get info about current [sub-...]section - texts 1.1.1 and Aaa

Re: [NTG-context] How to get info about current [sub-...]section?

2012-04-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Perfect, thank you! Best regards, Lukas On Mon, 16 Apr 2012 12:26:52 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \defineconversionset[default][n,n,a,r,n][n] \starttext \section{A} \starttabulate \NC Number \EQ \structurenumber \NC\NR \NC Title \EQ

[NTG-context] Section, number as a prefix of itemize list

2012-03-25 Thread Jaroslav Hajtmar
Hello all, can somehow insert the chapter (section, subsection, ...) number as a prefix of itemize list? Thanx Jaroslav Example show exactly what I mean: \section{First section} \startitemize \item aaa \item bbb \item ccc \stopitemize \section{Second section} \startitemize \item ddd

Re: [NTG-context] Section, number as a prefix of itemize list

2012-03-25 Thread Wolfgang Schuster
Am 25.03.2012 um 10:36 schrieb Jaroslav Hajtmar: Hello all, can somehow insert the chapter (section, subsection, ...) number as a prefix of itemize list? Thanx Jaroslav Example show exactly what I mean: \section{First section} \startitemize \item aaa \item bbb \item ccc

Re: [NTG-context] Section, number as a prefix of itemize list

2012-03-25 Thread Jaroslav Hajtmar
numbering of items. \starttext \setupitemize[each][n,broad][prefix=yes] \section{First section} \startitemize[n][stopper=)] \item aaa \item bbb \item ccc \stopitemize \subsection{First subsection} \startitemize[n][stopper=)] \item aaa \item bbb \item ccc \stopitemize \section{Second section

Re: [NTG-context] Section, number as a prefix of itemize list

2012-03-25 Thread Wolfgang Schuster
Am 25.03.2012 um 11:36 schrieb Jaroslav Hajtmar: Thanx Wolfgang. How easy! Can I also put subsection (subsubsection) number to the prefix too? It is possible eventually set the depth level? For example: \setupitemize[each][n,broad][prefix=yes, depthlevel=3] You can change the section

Re: [NTG-context] Section, number as a prefix of itemize list

2012-03-25 Thread Jaroslav Hajtmar
set the depth level? For example: \setupitemize[each][n,broad][prefix=yes, depthlevel=3] You can change the section levels with the “prefixsegments” key but first you have to enable prefixes for all levels (default is to show only the chapter prefix). \setupitemize[each][3*broad][prefix

Re: [NTG-context] Section, number as a prefix of itemize list

2012-03-25 Thread Jaroslav Hajtmar
Hello Wolfgang. Once again I return to this topic. I send an example thatbehaves strangely. It's a bad set of values, or error ConTeXt? Thanx Jaroslav \starttext \setupitemize[each][width=3em,prefix=yes,prefixset=all] \section{Section} \subsection{Subsection} \startitemize[n] \item A \item

Re: [NTG-context] Section, number as a prefix of itemize list

2012-03-25 Thread Wolfgang Schuster
Am 25.03.2012 um 16:05 schrieb Jaroslav Hajtmar: Hello Wolfgang. Once again I return to this topic. I send an example thatbehaves strangely. It's a bad set of values, or error ConTeXt? The output is correct because the prefix is only added in front of the normal number. I guess you want in

Re: [NTG-context] Line Wrapping/Hyphenation in Chapter/Section Headings

2012-03-17 Thread Wolfgang Schuster
Am 16.03.2012 um 23:34 schrieb Malte Stien: Wolfgang, Use ?align={flushleft,nothyphenated}?. You mean as in \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin, align={flushleft, nothyphenated}] I tried that and it has no effect. I also found this article here:

Re: [NTG-context] Line Wrapping/Hyphenation in Chapter/Section Headings

2012-03-17 Thread Malte Stien
Hi Wolfgang, Use also the broad keyword for align which makes ConTeXt more tolerant to break the line with ragged text. That did the trick. Thank you so much. Regards, Malte. ___ If your question is of interest

[NTG-context] Line Wrapping/Hyphenation in Chapter/Section Headings

2012-03-16 Thread Malte Stien
Hi all, I seem to have a problem with line wrapping/hyphenation in chapter/section headings. I have a chapter heading Technical Definitions, Acronyms and Abbreviations. When I setup my chapter headings as follows \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin] the heading

Re: [NTG-context] Line Wrapping/Hyphenation in Chapter/Section Headings

2012-03-16 Thread Wolfgang Schuster
Am 16.03.2012 um 12:09 schrieb Malte Stien: Hi all, I seem to have a problem with line wrapping/hyphenation in chapter/section headings. I have a chapter heading Technical Definitions, Acronyms and Abbreviations. When I setup my chapter headings as follows \setuphead[chapter][style

Re: [NTG-context] Line Wrapping/Hyphenation in Chapter/Section Headings

2012-03-16 Thread Malte Stien
/Section Headings (Malte Stien) 2. Re: Line Wrapping/Hyphenation in Chapter/Section Headings (Wolfgang Schuster) 3. Integration of all the information around ConTeXt (Jan Heinen) 4. more indenting (Alan Braslau) 5. Footnotes in combinations don't work? (Proch?zka Luk?? Ing

[NTG-context] Length of section line in a table of contents

2012-02-29 Thread Charles
Hi, In the following example, the section titles are long. In the table of contents, the section titles are written like normal paragraph (ending at the rightmost, with the page number). With an older version of Context beta (about a year ago), the paragraphs with the section title were

Re: [NTG-context] bibliography: @ELECTRONIC entries not shown in references section

2011-12-10 Thread Paul Menzel
Am Mittwoch, den 25.05.2011, 16:36 +0200 schrieb Hans Hagen: On 25-5-2011 3:56, Paul Menzel wrote: On So, 2011-05-22 at 19:12 +0200, Hans Hagen wrote: On 22-5-2011 6:57, Paul Menzel wrote: The question still remains if `@ELECTRONIC` are not allowed or if this is an error. it's more

Re: [NTG-context] Hide section content

2011-11-20 Thread Wolfgang Schuster
sections that have `review=no` should not be displayed. What is the best way of achieving this? In particular, can we have an option that'll let us say: \setuphead[section][placebody=hidden] (analogous to placehead=hidden). To hide the content of the section you can use this (maybe a buffer

Re: [NTG-context] Hide section content

2011-11-20 Thread Aditya Mahajan
with --mode=review, I want that all sections that have `review=no` should not be displayed. What is the best way of achieving this? In particular, can we have an option that'll let us say: \setuphead[section][placebody=hidden] (analogous to placehead=hidden). To hide the content of the section

[NTG-context] Hide section content

2011-11-19 Thread Aditya Mahajan
. What is the best way of achieving this? In particular, can we have an option that'll let us say: \setuphead[section][placebody=hidden] (analogous to placehead=hidden). Aditya ___ If your question is of interest

Re: [NTG-context] [solved] Metafun manual section titles

2011-11-14 Thread Romain Diss
Hi, On 14.11.2011, Andreas Harder wrote: On 13.11.2011, at 23:24, Romain Diss wrote: I'm trying to make some section titles which look like the ones of the metafun manual: title and number underlined [...] you can try something like this: [...] Thank you very much. It works perfectly

[NTG-context] Metafun manual section titles

2011-11-13 Thread Romain Diss
Hello, I'm trying to make some section titles which look like the ones of the metafun manual: title and number underlined, with number in margin. I thougth it would not be too hard but I can't do it. Actually, I'm using a frame with an overlay with a \startuniqueMPgraphic to underline

Re: [NTG-context] Metafun manual section titles

2011-11-13 Thread Andreas Harder
On 13.11.2011, at 23:24, Romain Diss wrote: Hello, I'm trying to make some section titles which look like the ones of the metafun manual: title and number underlined, with number in margin. I thougth it would not be too hard but I can't do it. Actually, I'm using a frame

[NTG-context] issue with section title and numbers in margin

2011-10-29 Thread Pablo Rodríguez
Hi there, I would like to get section titles that have aalt (actually, smcp and onum) and numbers in margin. It works fine with the following code: \setuphead[section][style=\sc\os,alternative=inmargin] \starttext \section{This is a title} \input{knuth} \stoptext But in-margin numbers don't

Re: [NTG-context] issue with section title and numbers in margin

2011-10-29 Thread Wolfgang Schuster
Am 29.10.2011 um 19:29 schrieb Pablo Rodríguez: Hi there, I would like to get section titles that have aalt (actually, smcp and onum) and numbers in margin. It works fine with the following code: \setuphead[section][style=\sc\os,alternative=inmargin] \starttext \section

Re: [NTG-context] issue with section title and numbers in margin

2011-10-29 Thread Pablo Rodríguez
On 10/29/2011 07:51 PM, Wolfgang Schuster wrote: Am 29.10.2011 um 19:29 schrieb Pablo Rodríguez: But in-margin numbers don't work when adding OT features: \usemodule[simplefonts][size=12pt] \setmainfont[TeX Gyre Pagella] \definefontfeature[scttitle][default][aalt=yes] \setuphead[section

[NTG-context] MetaFun manual: Incorrect label of ordinate axis on page 382, section 9.3 drawing functions (was: Confusion with `function()` and `xyscaled`)

2011-10-23 Thread Paul Menzel
Dear MetaFun folks, Am Freitag, den 21.10.2011, 01:14 +0200 schrieb Paul Menzel: looking at the example for grid and functions in the MetaFun manual [1] section 9.3 drawoptions(withpen pencircle scaled .25pt withcolor .5white) ; draw hlingrid(0, 20, .2, 20cm, 10cm

Re: [NTG-context] A special case: hiding section head information in the text but still keeping the TOC entry

2011-10-18 Thread Hans Hagen
On 18-10-2011 06:21, Wolfgang Schuster wrote: Am 17.10.2011 um 23:39 schrieb Willi Egger: Hi all, I had to deal with a special case. In my document there are only sections and subsections. The section titles are placed in a different place than they naturally would occur according

[NTG-context] A special case: hiding section head information in the text but still keeping the TOC entry

2011-10-17 Thread Willi Egger
Hi all, I had to deal with a special case. In my document there are only sections and subsections. The section titles are placed in a different place than they naturally would occur according to the coding in the text. What I needed to do is to hide the section title, having no placeholder

Re: [NTG-context] A special case: hiding section head information in the text but still keeping the TOC entry

2011-10-17 Thread Wolfgang Schuster
Am 17.10.2011 um 23:39 schrieb Willi Egger: Hi all, I had to deal with a special case. In my document there are only sections and subsections. The section titles are placed in a different place than they naturally would occur according to the coding in the text. What I needed to do

Re: [NTG-context] Include section number in reference

2011-10-16 Thread Marco
On 2011-10-15 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: [Description of \setupreferencestructureprefix] wikified Marco ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Include section number in reference

2011-10-15 Thread Wolfgang Schuster
an example) I can also provide the entry from my command reference (no yet in the PDF): \setupreferencestructureprefix[.1.][.2.][..,.3.,..] optional 1. IDENTIFIER (float, formula, figure, SECTION (e.g. section, subsection, …), …) 2. number, page, title, text

Re: [NTG-context] Include section number in reference

2011-10-14 Thread Marco
On 2011-10-13 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \setupreferencestructureprefix[default][prefixsegments=2:*] Thanks. Wikified. (Although without explanations, just an example) Marco ___ If

Re: [NTG-context] Include section number in reference

2011-10-14 Thread Wolfgang Schuster
reference (no yet in the PDF): \setupreferencestructureprefix[.1.][.2.][..,.3.,..] optional 1. IDENTIFIER (float, formula, figure, SECTION (e.g. section, subsection, …), …) 2. number, page, title, text or default 3. prefix = yes (default

Re: [NTG-context] Include section number in reference

2011-10-13 Thread Marco
Does anyone have an idea? What I do at the moment is that I manually reference my sections. But I'm convinced, there's a neat solution for that. Regards Marco Patzer ___ If your question is of interest to

Re: [NTG-context] Include section number in reference

2011-10-13 Thread Wolfgang Schuster
Am 13.10.2011 um 22:36 schrieb Marco: Does anyone have an idea? What I do at the moment is that I manually reference my sections. But I'm convinced, there's a neat solution for that. \setupreferencestructureprefix[default][prefixsegments=2:*] Wolfgang

[NTG-context] Include section number in reference

2011-10-12 Thread Marco
Hi, the example below leads to: I Foo A Bar subsection A What I need is: I Foo A Bar subsection I.A How to convince \in… to include the section element? % \definestructureconversionset [myset] [ Romannumerals, Romannumerals, Romannumerals, Character

[NTG-context] metafun manual: Typo on page 382, section 9.3 drawing functions

2011-10-12 Thread Paul Menzel
Dear ConTeXt folks, I am sorry to bother you with these kind of messages. On page 382 of the Metafun manual [1] (Fr 08 Okt 2010 13:44:26 CEST) it should be In this case the pairs (log(x), x) and … so (log(x), x) instead of (x, x). Thanks, Paul [1]

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Wolfgang Schuster
that returns the name of a counter for the current section (that can then be used by \laststructurecounter)? Is there any other way to find the number of sections at the current depth. For example, this document ~~~ \section {one} \subsection{1} \subsection{2} \subsection{3

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Aditya Mahajan
with sections. Is there a macro or a lua function that returns the name of a counter for the current section (that can then be used by \laststructurecounter)? Is there any other way to find the number of sections at the current depth. For example, this document ~~~ \section {one} \subsection{1

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Wolfgang Schuster
cannot find the name of the counter associated with sections. Is there a macro or a lua function that returns the name of a counter for the current section (that can then be used by \laststructurecounter)? Is there any other way to find the number of sections at the current depth

Re: [NTG-context] Counter for section heads

2011-10-07 Thread Aditya Mahajan
On Fri, 7 Oct 2011, Wolfgang Schuster wrote: \setuphead[section][textstyle=\tt,page=yes] \starttext \dorecurse{2} {\section{[[#1]]} \dorecurse{\numexpr#1+2\relax} {\subsection{[[#1-##1]]} \starttabulate \NC First \EQ \somenamedheadnumber{subsection}{first} \NC\NR \NC

[NTG-context] Counter for section heads

2011-10-06 Thread Aditya Mahajan
section (that can then be used by \laststructurecounter)? Is there any other way to find the number of sections at the current depth. For example, this document ~~~ \section {one} \subsection{1} \subsection{2} \subsection{3} ~~~ has one section at depth 1 and three sectons at depth 2. Aditya

Re: [NTG-context] Table headers and section titles

2011-09-15 Thread Felix Ingram
it. Still not sure how to determine the table width, but we only have a few tables and they are fairly constant in size, so I might just fake it. The next problem I have is with section headings. For each section heading we are required to include a box that contains some meta information

[NTG-context] Table headers and section titles

2011-09-13 Thread Felix Ingram
either. 2. Draw the framed fill to the width of the table and then position it behind the table header (which is actually how it gets done in Word). However, I don't know how to determine the table width, or how to accurately position the frame. The next problem I have is with section headings

[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

Re: [NTG-context] about suppressing prefix in section number

2011-07-17 Thread Jeong Dalyoung
Dear Wolfgang, Thank you for the solutions. But for the question 2, I didn't explain well what I want to. Actually, the codes \def\circlednum#1{\uchar{36}{95+#1}} \defineconversion[cnum][\circlednum] working well by saying that \startitemize[cnum][stopper=] ... And, your suggested method

Re: [NTG-context] about suppressing prefix in section number

2011-07-17 Thread Wolfgang Schuster
Am 17.07.2011 um 13:16 schrieb Jeong Dalyoung: Dear Wolfgang, Thank you for the solutions. But for the question 2, I didn't explain well what I want to. Actually, the codes \def\circlednum#1{\uchar{36}{95+#1}} \defineconversion[cnum][\circlednum] working well by saying that

Re: [NTG-context] about suppressing prefix in section number

2011-07-17 Thread Jeong Dalyoung
Dear Wolfgang, \setupitemgroup[ltxitm][3][circlednumber,packed][stopper=] It is working. It depends on the fonts. Also, \def\circlednum#1{\uchar{36}{95+#1}} \defineconversion[cnum][\circlednum] \defineitemgroup[txitm][levels=5] % \setupitemgroup[txitm][1][R] \setupitemgroup[txitm][2][a]

[NTG-context] about suppressing prefix in section number

2011-07-16 Thread Jeong Dalyoung
Hi, Here are a few questions. 1. The output of \section{one} \section{two} is 1.1 one 1.2 two But is it possible to suppress the prefix chapter number like 1 one 2 two ? 2. When defining custom itemgroup, we can set each level using the predefined item headers, like n, r, 1, 2

Re: [NTG-context] about suppressing prefix in section number

2011-07-16 Thread Wolfgang Schuster
Am 17.07.2011 um 02:04 schrieb Jeong Dalyoung: Hi, Here are a few questions. 1. The output of \section{one} \section{two} is 1.1 one 1.2 two But is it possible to suppress the prefix chapter number like 1 one 2 two \setuphead[section][sectionsegments=section] 2

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] writing the name of the section on all the pages

2011-06-15 Thread Julian Becker
: is it possible to decide of the placement of the overlay and its alignment? With your example the section name is centered both horizontally and vertically. I'd like to flush it right at least. In many cases you can replace your overlay with a layer (\setlayer etc.) but in your case you can

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

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] 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 : 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] bibliography: @ELECTRONIC entries not shown in references section

2011-05-25 Thread Paul Menzel
On So, 2011-05-22 at 19:12 +0200, Hans Hagen wrote: On 22-5-2011 6:57, Paul Menzel wrote: The question still remains if `@ELECTRONIC` are not allowed or if this is an error. it's more that @ELECTRONIC is not defined Ok, neither does it appear in the Wikipedia article [1]. Who is

Re: [NTG-context] bibliography: @ELECTRONIC entries not shown in references section

2011-05-25 Thread Hans Hagen
On 25-5-2011 3:56, Paul Menzel wrote: On So, 2011-05-22 at 19:12 +0200, Hans Hagen wrote: On 22-5-2011 6:57, Paul Menzel wrote: The question still remains if `@ELECTRONIC` are not allowed or if this is an error. it's more that @ELECTRONIC is not defined Ok, neither does it appear in the

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

2011-05-25 Thread 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, there is no problem.But if (as shown here) the next section (after

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 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 Mathieu DUPONT
} \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 section

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] 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] 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
\chapter{Title of chapter} \section{Title of section} \subsection{Title of subsection} \stoptext results in : CHAPITRE I Title of chapter I.I Title of section I.I.I Title of subsection Now everything is in Roman ! Not for me, i tested my example and got the output you described

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

2011-05-23 Thread Mathieu DUPONT
but not in section lines 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] bibliography: @ELECTRONIC entries not shown in references section (was: current status, Wiki page Bibliography, [[error 2]] and bibltx)

2011-05-22 Thread Paul Menzel
] instead of \placepublications[criterium=all]. Thank you for the suggestion. Since the entry `@ELECTRONIC…` is not referenced in the sample text it is now not placed in the references section. The question still remains if `@ELECTRONIC` are not allowed or if this is an error. Thanks, Paul

Re: [NTG-context] bibliography: @ELECTRONIC entries not shown in references section

2011-05-22 Thread Hans Hagen
On 22-5-2011 6:57, Paul Menzel wrote: The question still remains if `@ELECTRONIC` are not allowed or if this is an error. it's more that @ELECTRONIC is not defined Hans - Hans Hagen |

[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] writing the name of the section on all the pages

2011-05-20 Thread Wolfgang Schuster
Am 19.05.2011 um 23:59 schrieb alexan...@stdin.fr: Thanks again, it works very well. However I still have one question: is it possible to decide of the placement of the overlay and its alignment? With your example the section name is centered both horizontally and vertically. I'd like

[NTG-context] writing the name of the section on all the pages

2011-05-19 Thread Alexandre Leray
Hi, how could I write the name of the current \section or \subject in the outer margin, with a rotation of 90°? Best, Alex -- stdin Alexandre Leray graphic and media design http://stdin.fr/ Munthofstraat 27 1060 Bruxelles

Re: [NTG-context] writing the name of the section on all the pages

2011-05-19 Thread Marco
how could I write the name of the current \section or \subject in the outer margin, with a rotation of 90°? \setupbackgrounds [state=repeat] \defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}] \setupbackgrounds [text] [rightmargin] [background=side] Marco

Re: [NTG-context] writing the name of the section on all the pages

2011-05-19 Thread Alexandre Leray
I write the name of the current \section or \subject in the outer margin, with a rotation of 90°? \setupbackgrounds [state=repeat] \defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}] \setupbackgrounds [text] [rightmargin] [background=side] Marco

<    1   2   3   4   5   6   7   8   9   >