ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to hide or remove chapter e section number in subsection head and in TOC subsection head?
@ 2010-09-18 14:45 Aldo Lazich
  2010-09-18 15:14 ` luigi scarso
  0 siblings, 1 reply; 3+ messages in thread
From: Aldo Lazich @ 2010-09-18 14:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi to all.

I don't want:

8.3.2 Subsection title
8.3.2 Subsebtion title.........page no        % in TOC

but I wish:
2 Subsebtion title
2 Subsebtion title.........page no           %  in TOC

here my code (ConTeXt  ver: 2010.09.09 23:45 MKIV  fmt: 2010.9.12):
--8<----------------------------
% chapter -----> capo
% section -----> sezione
% subsection --> articolo

\definehead[capo][chapter]
\setuphead
  [capo]
  [alternative=middle,ownnumber=yes]  % yes, I need ownnumber=yes

\definehead[sezione][section]
\setuphead
  [sezione]
  [alternative=middle,ownnumber=yes]

\definehead[articolo][subsection]
\setuphead
  [articolo]
  [alternative=middle,ownnumber=yes]

\starttext

\placelist[capo,sezione,articolo][alternative=c]

\capo{CAPO I}{TITLE CAPO I}
\sezione{Sezione 1}{Title Sezione 1}
\articolo{Art. 1}{Title Art. 1}
text text text text

\articolo{Art. 2}{Title Art. 2}
text text text text
\capo{CAPO II}{TITLE CAPO II}
\sezione{Sezione 2}{Title Sezione 2}
\articolo{Art. 3}{text Art. n.3}
text text text text

\stoptext
---8<--------------------------

About indipendent section numbering, code in "http://wiki.contextgarden.net/Chapters_headers#Chapter_headers" seems don't work

Thanks
Aldo
___________________________________________________________________________________
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:[~2010-09-21 18:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-18 14:45 How to hide or remove chapter e section number in subsection head and in TOC subsection head? Aldo Lazich
2010-09-18 15:14 ` luigi scarso
2010-09-21 18:09   ` Aldo Lazich

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