[NTG-context] How do you customize the chapter number format?
I am trying to update the chapter number formatting for the chapter heading. By default the numbering is like 1 First Chapter 1.1 First Section I would like to change this to: 1.0 First Chapter 1.1 First Section Adding the following command worked, except it did not change the numbering in the table of contents: \setuphead[chapter][numbercommand=\groupedcommand{}{.0\blank[2cm]}] Any suggestions for how I change the numbering so that the 1.0 shows up in the table of contents as well? -Lance Larsen ___ 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] How do you customize the chapter number format?
Am 29.04.2013 um 20:42 schrieb Lance Larsen lance.c.lar...@gmail.com: I am trying to update the chapter number formatting for the chapter heading. By default the numbering is like 1 First Chapter 1.1 First Section I would like to change this to: 1.0 First Chapter 1.1 First Section Adding the following command worked, except it did not change the numbering in the table of contents: \setuphead[chapter][numbercommand=\groupedcommand{}{.0\blank[2cm]}] Any suggestions for how I change the numbering so that the 1.0 shows up in the table of contents as well? \define[1]\ChapterConversion {\convertnumber{Numbers}{#1}.0} \defineconversion[ChapterConversion][\ChapterConversion] \setuphead[chapter][conversion=ChapterConversion] \starttext \completecontent \chapter{First Chapter} \section{First Section} \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 ___