Dear list,

I have the following sample (sample.tex):

  \setuppagenumbering[alternative=doublesided]
  \setuphead[chapter][reference=ch\namedheadnumber{chapter}]
  \starttext
    \dorecurse{5}{%
      \startchapter[title={Chapter \namedheadnumber{chapter}}]
        \dorecurse{\randomnumber{10}{50}}
          {\input zapf\par}
      \stopchapter}
  \stoptext

I get no page numbers from:

  context --pages=ch3 sample.tex

BTW, sample.tuc contains:

 {
  ["metadata"]=6,
  ["numberdata"]=10,
  ["references"]={
   ["block"]="bodypart",
   ["internal"]=4,
   ["realpage"]=29,
   ["reference"]="ch3",
   ["section"]=4,
  },

Which is the right way to invoke "context --pages=[reference]" or what
am I missing here?

Many thanks for your help,

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to