Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater

Vyatcheslav Yatskovsky wrote:

Hello,

I'm still in need of help with numberless sections.

While using front, body,and back matter sounds goos, but it makes new 
pages. \subject is perfect, but it does not appear in contents.


Most simple (if there is no other options) seems to use \subject, but 
add it to the TOC. How can I do it?


Use \writetolist, maybe:

  \subject{Whatever}
  \writelist[section]{}{Whatever}

Best wishes,
Taco




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater

Vyatcheslav Yatskovsky wrote:


...or preventing startbodymatter from making new page.



  \setupsectionblock[bodypart][page=no]

or

  \setupsectionblock[frontpart][page=no]

(I don't remember whether this is executed at the end
or the begin of the block).


Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 08:52:16 Taco Hoekwater wrote:
 Vyatcheslav Yatskovsky wrote:
  ...or preventing startbodymatter from making new page.
 
\setupsectionblock[bodypart][page=no]
 
 or
 
\setupsectionblock[frontpart][page=no]
 
 (I don't remember whether this is executed at the end
 or the begin of the block).

This is much more elegant than
   \subject{Whatever}
   \writelist[section]{}{Whatever}
repeating Whatever twice.

I will repeat here the suggestion, seconded by others, of parsing
   \section[number=no]{Whatever}
to be used notably within \startbodypart...\stopbodypart
Note that an unnumbered \section vs. \subject do not fill exactly the same 
need.


Also, while on the subject of sectionblocks, there should be some way of 
defining
\startsectionblockenvironment[bodypart]
\setuplist[chapter][label=yes]
\stopsectionblockenvironment
Presently, this does not work, and simply setting
\setuplist[chapter][label=yes]
will, of course, put the label (Chapter) everywhere in the table of contents 
including frontmatter and backmatter, that is if one also redefines
\setuplabeltext[chapter=Chapter ] % with trailing space
as this is, curiously, blank by default.

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater

Alan BRASLAU wrote:

On Monday 14 June 2010 08:52:16 Taco Hoekwater wrote:

Vyatcheslav Yatskovsky wrote:

...or preventing startbodymatter from making new page.

   \setupsectionblock[bodypart][page=no]

or

   \setupsectionblock[frontpart][page=no]

(I don't remember whether this is executed at the end
or the begin of the block).


This is much more elegant than
   \subject{Whatever}
   \writelist[section]{}{Whatever}
repeating Whatever twice.

I will repeat here the suggestion, seconded by others, of parsing
   \section[number=no]{Whatever}
to be used notably within \startbodypart...\stopbodypart
Note that an unnumbered \section vs. \subject do not fill exactly the same 
need.


Actually, I almost never use \writetolist myself, but then I usually
have special sectioning commands (in larger documents):

  \definehead[Usection][section]
  \setuphead[Usection][number=no]

  \Usection{...}

This could be wrapped in a macro if you want key=value parsing.



Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 09:54:30 Taco Hoekwater wrote:
 
 Actually, I almost never use \writetolist myself, but then I usually
 have special sectioning commands (in larger documents):
 
\definehead[Usection][section]
\setuphead[Usection][number=no]
 
\Usection{...}
 
 This could be wrapped in a macro if you want key=value parsing.

I presently use this myself, as a solution to what I consider to be a missing 
feature. It is convenient, but is not generally elegant either. Again, 
\section[number=no]{...} is quite natural and intuitive.

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater

Alan BRASLAU wrote:

On Monday 14 June 2010 09:54:30 Taco Hoekwater wrote:

Actually, I almost never use \writetolist myself, but then I usually
have special sectioning commands (in larger documents):

   \definehead[Usection][section]
   \setuphead[Usection][number=no]

   \Usection{...}

This could be wrapped in a macro if you want key=value parsing.


I presently use this myself, as a solution to what I consider to be a missing 
feature. It is convenient, but is not generally elegant either. Again, 
\section[number=no]{...} is quite natural and intuitive.


FWIW, I agree with you.

Best wishes,
Taco

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Hans Hagen

On 14-6-2010 9:39, Alan BRASLAU wrote:


\section[number=no]{Whatever}


this will not happen as the first argument is optional and reserved for 
a cross reference


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Hans Hagen


\unprotect

% already set: \setupstructurehead[chapter][appendixlabel=appendix]
%
% but was not yet hooked into:

\unexpanded\def\fullstructureheadnumber
   {\edef\currentstructureheadlabeltag{\currentstructureblock\c!label}%

\labeltexts{\structureheadparameter\currentstructureheadlabeltag}{\structurenumber}}

\protect

\starttext

\setuplabeltext[chapter=Chapter ]
\setuplabeltext[appendix=Appendix ]

\placelist[chapter][criterium=text]

\startfrontmatter
\chapter{Not numbered but in list}
\title{Not numbered and not in list}
\stopfrontmatter

\startbodymatter
\chapter{Numbered but in list}
\title{Unnumbered and not in list}
\stopbodymatter

\startappendices
\chapter{Numbered but in list}
\title{Unnumbered and not in list}
\stopappendices

\stoptext

for other tweaking using \definehead[xxx][section] ... is more suitable 
than local tweaking as one often wants to inherit features


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Peter Münster
On Mon, Jun 14 2010, Hans Hagen wrote:

 \section[number=no]{Whatever}

 this will not happen as the first argument is optional and reserved for a 
 cross reference

In mkiv, can we consider the \section commands as obsolete, since we have
now \startsection ... \stopsection ?
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Hans Hagen

On 14-6-2010 12:14, Peter Münster wrote:

On Mon, Jun 14 2010, Hans Hagen wrote:


 \section[number=no]{Whatever}


this will not happen as the first argument is optional and reserved for a
cross reference


In mkiv, can we consider the \section commands as obsolete, since we have
now \startsection ... \stopsection ?


well, not obsolete as it's convenient but it will definitely not be 
extended / changed


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 11:52:28 Hans Hagen wrote:
 On 14-6-2010 9:39, Alan BRASLAU wrote:
  \section[number=no]{Whatever}
 
 this will not happen as the first argument is optional and reserved for
 a cross reference
 
 Hans

Yes, of course!
How about \section[reference][number=no]{Whatever}?



The following is a bit verbose. It is related, but is more general than the 
subject of unnumbered sections...

I have to say that I am now a bit confused about the use of arguments in 
ConTeXt.

In LaTeX, optional arguments are contained within [] and required arguments 
are grouped within {}. However, in ConTeXt, the situation is not quite so 
clear. Take \section[reference]{Title} for example. Here, the reference is 
optional and the Title is required, so a title-less section would be 
\section{}. This is somewhat sane, even though one may well use sections 
without titles.

Contrast this with \cite (I choose this example as I just figured-out that its 
misuse was the cause of some obscure problems in a big project). We have 
\cite[key], rather then \cite{key} as in LaTeX. Is this because we may also 
have \cite[authoryear][key]? Of course, the key is not optional as one can 
hardly imagine using \cite without some sort of key, so one might expect 
usage: as remarked by \cite[authoryear]{Einstein1905}.

My error was to have reflexively used \cite{key}, and this sort-of worked so I 
did not pay it any attention. However, here and there in my document, 
references, for example \chapter[ImportantStuff]{Important stuff} were broken, 
with no obvious reason. After correcting my use of \cite[key], other 
references were suddenly fixed.

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Vyatcheslav Yatskovsky

Yes, yes, yes!
Thank you, friends )

\setupsectionblock[bodypart][page=no]
\setupsectionblock[frontpart][page=no]


--
Best Regards,
Vyatcheslav Yatskovsky
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Taco Hoekwater


Hi Alan,

Alan BRASLAU wrote:
I have to say that I am now a bit confused about the use of arguments in 
ConTeXt.


The general rule is quite straightforward:

* arguments in {} pairs are typeset material
* arguments in [] are setup instructions and metadata

Whether or not an argument is optional has nothing to
do with the used delimiters.

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Vyatcheslav Yatskovsky



How about \section[reference][number=no]{Whatever}?



Or \section[reference]{Whatever}[number=no]?

:o)

--
Best Regards,
Vyatcheslav Yatskovsky
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Wolfgang Schuster

Am 13.06.10 22:03, schrieb Vyatcheslav Yatskovsky:

Hello,

I'm still in need of help with numberless sections.

While using front, body,and back matter sounds goos, but it makes new 
pages. \subject is perfect, but it does not appear in contents.


Most simple (if there is no other options) seems to use \subject, but 
add it to the TOC. How can I do it?


\setuphead[subject][incrementnumber=list]

and

\placelist[chapter,section,subject,...]

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Vyatcheslav Yatskovsky

Thank you all for help.

Actually, I most like front/body matter without page breaks, because it 
further structures the text (the thing I adore in TeX).


--
Best Regards,
Vyatcheslav Yatskovsky
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-14 Thread Alan BRASLAU
On Monday 14 June 2010 13:17:54 Taco Hoekwater wrote:
 Hi Alan,
 
 Alan BRASLAU wrote:
  I have to say that I am now a bit confused about the use of arguments in
  ConTeXt.
 
 The general rule is quite straightforward:
 
 * arguments in {} pairs are typeset material
 * arguments in [] are setup instructions and metadata
 
 Whether or not an argument is optional has nothing to
 do with the used delimiters.

Quite logical and straightforward.

It is useful to read the manual (section 1.3):
A command is often followed by setups or by text. Setups
are placed between brackets ([]). The scope or range of
the command, the text acted upon, is placed between
curly brackets ({}).

...

I see that my reflexes have been spoiled by years of practice with LaTeX - old 
habits die hard.
Lamport (section 2.5):
Command arguments are enclosed in curly braces { and },
except for optional arguments, which are enclosed in square
brackets [ and ].

So I added a paragraph to
http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt#Command_syntax

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-13 Thread Vyatcheslav Yatskovsky

Hello,

I'm still in need of help with numberless sections.

While using front, body,and back matter sounds goos, but it makes new 
pages. \subject is perfect, but it does not appear in contents.


Most simple (if there is no other options) seems to use \subject, but 
add it to the TOC. How can I do it?


--
Best Regards,
Vyatcheslav Yatskovsky
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-13 Thread Vyatcheslav Yatskovsky


...or preventing startbodymatter from making new page.

--
Best Regards,
Vyatcheslav Yatskovsky
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-07 Thread Rogutės Sparnuotos
Vyatcheslav Yatskovsky (2010-06-07 01:23):
 
 +1 for  \section [number=no] {Introduction}
 
 This was my first guess to try, and it is so convinient!
 
 :)

This is similar to what I was (intuitively) trying out first, when
tackling this same problem last week...

Couldn't \section[]{} keep accepting the reference label in the square
brackets, and support more comma separated options (for case by case
option adjustment, as Alan mentioned)?

-- 
--  Rogutės Sparnuotos
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Removing Introduction section number

2010-06-06 Thread Vyatcheslav Yatskovsky

Hello,

It might be 100 time this question appears on the list, but I cannot 
find the answer.


I need Introduction to have no number, and next section to have number 
1, so on. My current solution gives me number 2, instead.


Please, look what should be done with my code:

\starttext
\setupindenting[yes, big, first]
\setupheads[indentnext=yes]
\setupfloats[indentnext=yes]

\setuphead[section][number=no]
\section{INTRODUCTION} % should have no number

The syllabus on each discipline is a must for successful teaching 
process organization according to the European Credit Transfer System. 
Teachers and students are to be familiarized with it. Grading system is 
an integral part of the syllabus and provides for assessment of 
student’s knowledge and skills during current, module and semester checks.


Grading procedure is performed according to the national grading scale 
and European Credit Transfer System grading scale.


\setuphead[section][number=yes]
\section{REFERENCE NOTES}  % should have number 1

\subsection{Aim of the discipline}  % 1.1

\subsection{Tasks for learning the discipline} % 1.2

\section{DISCIPLINE CONTENT}  % should have number 2

...

\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-06 Thread Wolfgang Schuster

Am 06.06.10 22:57, schrieb Vyatcheslav Yatskovsky:

Hello,

It might be 100 time this question appears on the list, but I cannot 
find the answer.


I need Introduction to have no number, and next section to have number 
1, so on. My current solution gives me number 2, instead.


1. Use \subject for the introduction.

2. Use ConTeXt’s document strcuture:

\setuphead[section][textstyle=WORD]

\starttext

\startfrontmatter

\section{Introduction}

...

\stopfrontmatter

\startbodymatter

\section{Reference notes}

...

\stopbodymatter

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-06 Thread Yury G. Kudryashov
Vyatcheslav Yatskovsky wrote:

 Hello,
 
 It might be 100 time this question appears on the list, but I cannot
 find the answer.
 
 I need Introduction to have no number, and next section to have number
 1, so on. My current solution gives me number 2, instead.
There are two cases:
1. You want Introduction in the table of contents. Then you should copy 
section to another head, and setup it with number=no (have no time to test):

\definehead[secnonum][section]
\setuphead[secnonum][number=no]
\secnonum{Introduction}

2. You don't want Intruduction in the table of contents. Then just use 
\subject{Introduction}.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-06 Thread Alan BRASLAU
On Sunday 06 June 2010 23:20:29 Yury G. Kudryashov wrote:
 1. You want Introduction in the table of contents. Then you should copy
 section to another head, and setup it with number=no (have no time to
 test):
 
 \definehead[secnonum][section]
 \setuphead[secnonum][number=no]
 \secnonum{Introduction}

This is flexible, but is this really elegant?
Would it not be better (i.e. intuitive) to be able to simply type:
\section [number=no] {Introduction}
After all, one feature that I *really* like about ConTeXt is inheritance and 
default options that can be fixed through \setupsomething, or through a case 
by case basis.



Unnumbered sections is the default within
\startfrontmatter
\stopfrontmatter

However, it is quite logical to also have unnumbered Introduction (and 
Conclusions) in the body of the work that are to appear in the table of 
contents as well.

In a work using \part, the same can apply to \chapter.

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-06 Thread Vyatcheslav Yatskovsky

There are two cases:
1. You want Introduction in the table of contents. Then you should copy
section to another head, and setup it with number=no (have no time to test):

\definehead[secnonum][section]
\setuphead[secnonum][number=no]
\secnonum{Introduction}

2. You don't want Intruduction in the table of contents. Then just use
\subject{Introduction}.


Thank you too!

I do want Introduction to be in the contents! Maybe, its easier to setup 
\subject so that it will be included, then to invent new keywords?


--
Best Regards,
Vyatcheslav Yatskovsky
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Removing Introduction section number

2010-06-06 Thread Vyatcheslav Yatskovsky


+1 for  \section [number=no] {Introduction}

This was my first guess to try, and it is so convinient!

:)


--
Best Regards,
Vyatcheslav Yatskovsky
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___