ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \definehead \setuphead new type included in a list such as TOC
@ 2011-05-26 16:15 Mathieu DUPONT
  2011-05-26 16:52 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu DUPONT @ 2011-05-26 16:15 UTC (permalink / raw)
  To: ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 639 bytes --]



Hi,
In the following example, I define 2 new heads, and I want them to :
1- inherits from Title (or Chapter would be fine)2- show in the TOC3- not be counted (CHAPTER should be 1)
Is there an option I can put into \setuphead[Abstract][] so it gets included in the TOC ?That would be the easiest way of getting the three desired results.
Thanks !

\definehead[Abstract][title]\setuphead[Abstract][]\definehead[Intro][title]\setuphead[Intro][]
\starttext
\startfrontmatter\placecontent\Abstract{ABSTRACT}\stopfrontmatter
\startbodymatter\Intro{INTRODUCTION}\chapter{CHAPTER}\stopbodymatter
\stoptext 

Mathieu

 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1399 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-27 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-26 16:15 \definehead \setuphead new type included in a list such as TOC Mathieu DUPONT
2011-05-26 16:52 ` Wolfgang Schuster
2011-05-27 14:08   ` Mathieu DUPONT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).