From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114206 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel via ntg-context Newsgroups: gmane.comp.tex.context Subject: How to create an index that refers to multiple other books? Date: Tue, 18 Jan 2022 13:16:36 +0000 (UTC) Message-ID: <83836089.771099.1642511796159@mail.yahoo.com> References: <83836089.771099.1642511796159.ref@mail.yahoo.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1389376021741156314==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37383"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joel To: "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 18 14:17:32 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n9oMd-0009Vo-V8 for gctc-ntg-context-518@m.gmane-mx.org; Tue, 18 Jan 2022 14:17:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3951B2848ED; Tue, 18 Jan 2022 14:16:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ujZVI2BKUoCF; Tue, 18 Jan 2022 14:16:51 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 86113282D91; Tue, 18 Jan 2022 14:16:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1AC01282D91 for ; Tue, 18 Jan 2022 14:16:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id haRuAENxe5S7 for ; Tue, 18 Jan 2022 14:16:44 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.6.129.123; helo=sonic309-13.consmr.mail.bf2.yahoo.com; envelope-from=uaru99@yahoo.com; receiver= Original-Received: from sonic309-13.consmr.mail.bf2.yahoo.com (sonic309-13.consmr.mail.bf2.yahoo.com [74.6.129.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7EB4F280211 for ; Tue, 18 Jan 2022 14:16:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642511802; bh=eQ3608c5IrxA5tMxuxKIO05smU9CwPQoJn6BC90/p6Q=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=NysqFHA98e4Elk4o6kuc3ePymuOE9VAP7PAuXVs+v3MmZFWf8N0f7LJYMaoBGvCvC7zMFufOi4cwI3Yfc62J66ZQQz5evPKt6Gng8RSAsrp+Ws6wBD9mPluU+vak5qIESGyPvpGIXb3gf8wwoKz5Ki2ZocojHeK+VRh9f2CgxcBfO1IRachD+Szb7FRiu79tudXVBxQwUYgdL8UO+ZnZ6eOqXuQ+9AGlDy6PKUHqMMpEw+wPm5IR/tZ5Cqac82Iy1FjjSV+Jzc5Aglvz1qqDp6CofXYm7qKLH5zAsn38+DlfHP22Szh7y1v86qik5DrOanAqBVCcGo1s7XDRub8A3A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642511802; bh=F9V4rRI/qYnyLSNMcqiJ+KGzH4SskT6pNgK70W1JhEG=; h=X-Sonic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Nr7f7JxFdE1rJnTSX.rslZbWOmnLlI1FgYt_UkGg3lH_YGiNlvv.YwAUrf2mMS Msr83qQfYOQKIGuaMHpV4l4IgOn6fd9mXdZFP43GnMkbzL8fOwggwJNa..zLIScdeofc7gmdoNMk gXI85URpXiFlADE6kUZPCc80fnn1Aw7wiFKmfxZgje X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Tue, 18 Jan 2022 13:16:42 +0000 X-Mailer: WebService/1.1.19594 YMailNorrin X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:114206 Archived-At: --===============1389376021741156314== Content-Type: multipart/alternative; boundary="----=_Part_771098_773860524.1642511796158" ------=_Part_771098_773860524.1642511796158 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 Sta= ndards (CCSS). It is typical for a textbook to contain an index for teacher= s to check where in the textbook which standards are used. I've used the fo= llowing code to create such an index, if I simply place `\learned{}` somewh= ere containing the standard's ID, it creates a custom index entry, and `\pl= acelearned` displays that index. \defineregister[learned][compress=3Dyes] \setupregister[learned][style=3Dsansbold, textstyle=3Dslanted, n=3D1, pagen= umber=3Dyes] \starttext =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0\learned{CCSS+W.7.3} =C2=A0=C2=A0 =C2=A0\input knuth =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0\learned{CCSS+W.7.3} =C2=A0=C2=A0 =C2=A0\input knuth =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0\learned{CCSS+W.7.1} =C2=A0=C2=A0 =C2=A0\startchapter[title=3DStandards] =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0\placelearned =C2=A0=C2=A0 =C2=A0\stopchapter \stoptext This prints an index like this: Standards c CSS =C2=A0=C2=A0=C2=A0 W.7.1=C2=A0=C2=A0=C2=A0 1 =C2=A0=C2=A0=C2=A0 W.7.3=C2=A0=C2=A0=C2=A0 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 pag= es 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 =C2=A0=C2=A0=C2=A0 W.7.1=C2=A0=C2=A0=C2=A0 T 1, Wk.1 3-8, 12, Wk.2 8-9, 60-= 61=20 =C2=A0=C2=A0=C2=A0 W.7.3=C2=A0=C2=A0=C2=A0 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 =C2=A0=C2=A0=C2=A0 W.7.1 =C2=A0=C2=A0 =C2=A0Textbook: 1 =C2=A0=C2=A0 =C2=A0Workbook 1: 3-8, 12 =C2=A0=C2=A0 =C2=A0Workbook 2: 8-9, 60-61=20 =C2=A0=C2=A0=C2=A0 W.7.3 =C2=A0=C2=A0 =C2=A0Textbook: 1 =C2=A0=C2=A0 =C2=A0Workbook 1: 3-8, 12 =C2=A0=C2=A0 =C2=A0Workbook 2: 8-9, 60-61 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Workbook 3: 1-2, 54, 70, 90 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Workbook 4: 99, 102, 104 Is there any way to print an index that covers pages across multiple books? --Joel ------=_Part_771098_773860524.1642511796158 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= 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 Sta= ndards (CCSS). It is typical for a textbook to contain an index for teacher= s to check where in the textbook which standards are used. I've used the fo= llowing code to create such an index, if I simply place `\learned{}` somewh= ere containing the standard's ID, it creates a custom index entry, and `\pl= acelearned` displays that index.

\defineregister[learned][compress= =3Dyes]
\setupregister[learned][style=3Dsansbold, textstyle=3Dslanted, n= =3D1, pagenumber=3Dyes]
\starttext
       &n= bsp;\learned{CCSS+W.7.3}
    \input knuth
  =      \learned{CCSS+W.7.3}
    \input= knuth
        \learned{CCSS+W.7.1}
&nb= sp;   \startchapter[title=3DStandards]
    &nbs= p;   \placelearned
    \stopchapter
\stoptex= t

This prints an index like this:

Standards
c
CSS
&n= bsp;   W.7.1    1
    W.7.3 = ;   1

My problem is my textbook also includes four separat= e workbooks. I need the index to show my publisher that I've covered all 30= 0+ standards, so I need the index at the back of the textbook to also conta= in 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  &n= bsp; 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
&n= bsp;   W.7.1
    Textbook: 1
   &n= bsp;Workbook 1: 3-8, 12
    Workbook 2: 8-9, 60-61
&n= bsp;   W.7.3
    Textbook: 1
   &n= bsp;Workbook 1: 3-8, 12
    Workbook 2: 8-9, 60-61
&nb= sp;       Workbook 3: 1-2, 54, 70, 90
&nbs= p;       Workbook 4: 99, 102, 104

Is t= here any way to print an index that covers pages across multiple books?
=
--Joel

------=_Part_771098_773860524.1642511796158-- --===============1389376021741156314== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1389376021741156314==--