[NTG-context] Part numbers
Hi all, I have a document with parts and chapters. I'd like to number the chapters continuously through the whole document. Figured out this has to be done with \definestructureresetset instead of the resetnumber=no option in \setuphead. But I don't want to include the number of the part in chapters and sections. How do I do that? Cheers, Tim % Used to be: \setuphead[part][resetnumber=no] \defineresetset[default][1,0][1]% do not reset chapters after parts, reset anything else \starttext \part{ONE} \chapter{one} \chapter{two} \part{TWO} \chapter{three} \chapter{four} \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] Part numbers
On 08/11/2013 03:08 PM, Tim Steenvoorden wrote: Hi all, I have a document with parts and chapters. I'd like to number the chapters continuously through the whole document. Figured out this has to be done with \definestructureresetset instead of the resetnumber=no option in \setuphead. But I don't want to include the number of the part in chapters and sections. How do I do that? Hi Tim, I think this is what you need: \definestructureresetset[default][1,0,1][1] \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=chapter:section] \starttext \completecontent \dorecurse{5}{\part{Part} \dorecurse{2}{\chapter{Chapter} \dorecurse{2}{\section{Section \stoptext I hope it helps, Pablo -- http://www.ousia.tk ___ 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] Small caps from otf in luatex.
On Sat, 10 Aug 2013 19:24:17 +0200 Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de wrote: Hi John! ···date: 2013-08-10, Saturday···from: john Culleton··· I have asked everywhere else to no avail. In (plain) luatex how do I specify the small cap version of an otf font? I use context for non-fiction but pdftex and now luatex for fiction. Plain uses a feature syntax similar to Xetex___s: \font \foo = file:Iwona-Regular.otf:+smcp \foo whatever \bye the expression after the second colon is the same as ___smcp=yes___ in Context. Multiple definitions are separated by semicola, e.g.: \font \foo = file:Iwona-Regular.otf:+smcp;mode=base;+tlig Best regards, Philipp Thanks! Now my latest book project can move forward. I never thought to look in xetex for an answer about luatex. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: Create Book Covers with Scribus available at http://www.booklocker.com/books/4055.html ___ 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] Wrong font size in footer
Hi, There is bug in which the font style of the page leaks into the footer style. Here is a minimal example: \setupfootertexts[This is a footer \the\lineheight ] \setuppapersize[A6] \definestartstop[test][style=\tfx] \starttext \subject {Normal page} \input knuth \subject {Wrong footer size} \starttest \dorecurse{2}{\input knuth \par} \stoptest \stoptext As the output indicates, the font size of the footer on the first two pages is 12.068pt while that of the third page is 14.481pt. Aditya ___ 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 ___