From: Joel via ntg-context <ntg-context@ntg.nl>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Cc: Joel <uaru99@yahoo.com>
Subject: How to create an index that refers to multiple other books?
Date: Tue, 18 Jan 2022 13:16:36 +0000 (UTC) [thread overview]
Message-ID: <83836089.771099.1642511796159@mail.yahoo.com> (raw)
In-Reply-To: <83836089.771099.1642511796159.ref@mail.yahoo.com>
[-- Attachment #1.1: Type: text/plain, Size: 1904 bytes --]
I am writing a secondary textbook to be used in public schools. In my state, the textbooks must adhere to standards, such as the Common Core State Standards (CCSS). It is typical for a textbook to contain an index for teachers to check where in the textbook which standards are used. I've used the following code to create such an index, if I simply place `\learned{}` somewhere containing the standard's ID, it creates a custom index entry, and `\placelearned` displays that index.
\defineregister[learned][compress=yes]
\setupregister[learned][style=sansbold, textstyle=slanted, n=1, pagenumber=yes]
\starttext
\learned{CCSS+W.7.3}
\input knuth
\learned{CCSS+W.7.3}
\input knuth
\learned{CCSS+W.7.1}
\startchapter[title=Standards]
\placelearned
\stopchapter
\stoptext
This prints an index like this:
Standards
c
CSS
W.7.1 1
W.7.3 1
My problem is my textbook also includes four separate workbooks. I need the index to show my publisher that I've covered all 300+ standards, so I need the index at the back of the textbook to also contain details of which pages in each workbook the standards are found. How can I combine the index so it refers to all books? Something like this:
Standards
c
CSS
W.7.1 T 1, Wk.1 3-8, 12, Wk.2 8-9, 60-61
W.7.3 T 1, Wk.1 3-8, 12, Wk.2 8-9, 60-61, Wk.3 1-2, 54, 70, 90, Wk.4 99, 102, 104
...or possibly like this...
Standards
c
CSS
W.7.1
Textbook: 1
Workbook 1: 3-8, 12
Workbook 2: 8-9, 60-61
W.7.3
Textbook: 1
Workbook 1: 3-8, 12
Workbook 2: 8-9, 60-61
Workbook 3: 1-2, 54, 70, 90
Workbook 4: 99, 102, 104
Is there any way to print an index that covers pages across multiple books?
--Joel
[-- Attachment #1.2: Type: text/html, Size: 2656 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next parent reply other threads:[~2022-01-18 13:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <83836089.771099.1642511796159.ref@mail.yahoo.com>
2022-01-18 13:16 ` Joel via ntg-context [this message]
2022-01-18 13:27 ` Joel via ntg-context
2022-01-18 14:39 ` Henning Hraban Ramm via ntg-context
2022-01-19 2:17 ` Joel via ntg-context
2022-01-18 18:26 ` Hans Hagen via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83836089.771099.1642511796159@mail.yahoo.com \
--to=ntg-context@ntg.nl \
--cc=uaru99@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).