From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114207 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: How to create an index that refers to multiple other books? Date: Tue, 18 Jan 2022 13:27:59 +0000 (UTC) Message-ID: <397011194.769157.1642512479502@mail.yahoo.com> References: <83836089.771099.1642511796159.ref@mail.yahoo.com> <83836089.771099.1642511796159@mail.yahoo.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6690138664724978639==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18320"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joel To: Joel via ntg-context Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 18 14:28:56 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 1n9oXf-0004VU-Bm for gctc-ntg-context-518@m.gmane-mx.org; Tue, 18 Jan 2022 14:28:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0026528597B; Tue, 18 Jan 2022 14:28:13 +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 cRmIdjW0baxn; Tue, 18 Jan 2022 14:28:12 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E6752282D91; Tue, 18 Jan 2022 14:28:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 11008282D91 for ; Tue, 18 Jan 2022 14:28:10 +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 ufzjA92htVRm for ; Tue, 18 Jan 2022 14:28:08 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=74.6.132.41; helo=sonic306-2.consmr.mail.bf2.yahoo.com; envelope-from=uaru99@yahoo.com; receiver= Original-Received: from sonic306-2.consmr.mail.bf2.yahoo.com (sonic306-2.consmr.mail.bf2.yahoo.com [74.6.132.41]) (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 A82AF280211 for ; Tue, 18 Jan 2022 14:28:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642512485; bh=VbGkQDsyV/1yz1KKwm+ODUchUhpOMSNXKXBClWWLQ7Y=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject:Reply-To; b=dj7ZB5sTyo+kZFkmZ4HXMRrXSfa4LouzSBOPGMOsbwbl2SZDh10Q63Bv4mhQw7R6oglj7A29yVCByhymaTejFxieEHNq/TpEwxvi7nPhIVwBdX4qTuXBqdySs+Elr0tD0B2POnnM7N/VZmKAr2SQZuJW07CMwEDYeslzGorFo+6nrkzg80M1/LX+jIG0Z3JlFEIAbmoJUT6emJSEMnczwKC19PFFShbuxoJ08xkOzxynBvvhXcQGjAGTK92SeR9RTZjR+k262RNUdY3CGPf+oEgXm6psmdXwZwza241UBHixpa1G6teGBZ9kN0+iNi6dUqIUruQMvNJExbHLqSYYow== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642512485; bh=8gifsnoTb3jFqU2V3xBIyLITqI9YW9PLyx/t/7bw41y=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1GzFS5d4wUgHtpxMglHSLI7Xqshz7.d96Ppq05xkWj89U3eLRRdHEOD.GFBk VNVeZNHnUt1LKfguM5Vaoj70o5MM4wv1o8DSdue5FKSK42G.XcsfOheAj0tTfWmVVcZVj4bc8Gcj lhbAlqUicHwyqbQeN8OWXT71D5l7HXDGDQ0ee_aDvJ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Tue, 18 Jan 2022 13:28:05 +0000 In-Reply-To: <83836089.771099.1642511796159@mail.yahoo.com> 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:114207 Archived-At: --===============6690138664724978639== Content-Type: multipart/alternative; boundary="----=_Part_769156_195071012.1642512479500" ------=_Part_769156_195071012.1642512479500 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable One possible solution I see, since the textbooks and workbooks share the s= ame macros, formatting, fonts, etc. is to just render them as a single file= , resetting the page number at the start of each new book, then later use p= dfjam to split the files, but I'm not sure how the index could tell readers= which of the five "page 5's" (for example) the index is referring to. --Jo= el On Tuesday, January 18, 2022, 06:19:01 AM MST, Joel via ntg-context wrote: =20 =20 I am writing a secondary textbook to be used in public schools. In my stat= e, the textbooks must adhere to standards, such as the Common Core State St= andards (CCSS). It is typical for a textbook to contain an index for teache= rs to check where in the textbook which standards are used. I've used the f= ollowing code to create such an index, if I simply place `\learned{}` somew= here containing the standard's ID, it creates a custom index entry, and `\p= lacelearned` 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 ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net archive=C2=A0 : https://bitbucket.org/phg/context-mirror/commits/ wiki=C2=A0 =C2=A0 : http://contextgarden.net ___________________________________________________________________________= ________ =20 ------=_Part_769156_195071012.1642512479500 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
One possible solution = I see, since the textbooks and workbooks share the same macros, formatting,= fonts, etc. is to just render them as a single file, resetting the page nu= mber at the start of each new book, then later use pdfjam to split the file= s, but I'm not sure how the index could tell readers which of the five "pag= e 5's" (for example) the index is referring to. --Joel

=20
=20
On Tuesday, January 18, 2022, 06:19:01 AM MST, Joel via= ntg-context <ntg-context@ntg.nl> wrote:


I am writing a secondary textbook to be used in public sc= hools. In my state, the textbooks must adhere to standards, such as the Com= mon 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 ind= ex entry, and `\placelearned` displays that index.

\defineregister= [learned][compress=3Dyes]
\setupregister[learned][style=3Dsansbold, text= style=3Dslanted, n=3D1, pagenumber=3Dyes]
\starttext
   &nb= sp;    \learned{CCSS+W.7.3}
    \input knu= th
        \learned{CCSS+W.7.3}
 &= nbsp;  \input knuth
        \learned{= CCSS+W.7.1}
    \startchapter[title=3DStandards]
 = ;       \placelearned
    \stopc= hapter
\stoptext

This prints an index like this:

Standards=
c
CSS
    W.7.1    1
  = ;  W.7.3    1

My problem is my textbook also inc= ludes 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 text= book 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&nb= sp;   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<= br>    Workbook 1: 3-8, 12
    Workbook 2:= 8-9, 60-61
    W.7.3
    Textbook: 1<= br>    Workbook 1: 3-8, 12
    Workbook 2:= 8-9, 60-61
        Workbook 3: 1-2, = 54, 70, 90
        Workbook 4: 99, 10= 2, 104

Is there any way to print an index that covers pages across m= ultiple books?

--Joel

__= ___________________________________________________________________________= ______
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  : <= a href=3D"http://www.pragma-ade.nl " rel=3D"nofollow" target=3D"_blank">htt= p://www.pragma-ade.nl / http://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/=
wiki    : http://contextgarden.net
_____________________= ______________________________________________________________
------=_Part_769156_195071012.1642512479500-- --===============6690138664724978639== 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== --===============6690138664724978639==--