[NTG-context] How to sort list of sections?

Rik Kabel context at rik.users.panix.com
Fri Nov 8 19:44:07 CET 2019


On 11/7/2019 16:22, jdh wrote:
> I get no difference using criterium=previous   versus   criterium=local.
>
Try this extended example to see the difference:

      \setuphead[section][number=no]
      \starttext
      \startchapter[title=foo]
           \placelist[section][criterium=local,order=title]
           \startsection[title={Beta}]  \input sapolsky \stopsection
           \startsection[title={Alpha}] \input sapolsky \stopsection
      \stopchapter
      \startchapter[title=bar]
           \placelist[section][criterium=local,order=title]
           \startsection[title={Alpha}] \input sapolsky \stopsection
           \startsection[title={Delta}] \input sapolsky \stopsection
      \stopchapter
      \startchapter[title=indices]
       First local:
           \placelist[section][criterium=local,order=title]
       Now previous:
           \placelist[section][criterium=previous,order=title]
      \stopchapter
      \stoptext

-- 
Rik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20191108/6642490c/attachment.html>


More information about the ntg-context mailing list