ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: How to create an index that refers to multiple other books?
Date: Tue, 18 Jan 2022 15:39:20 +0100	[thread overview]
Message-ID: <d0983bdf-108e-cb35-6895-3fb90acc98f6@fiee.net> (raw)
In-Reply-To: <397011194.769157.1642512479502@mail.yahoo.com>

Am 18.01.22 um 14:27 schrieb Joel via ntg-context:
> 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 number at the start of each new book, then 
> later use pdfjam 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. --Joel

In this case, you could use \part per workbook and use 
pageprefixsegments in \setupregister to add the part number in front of 
the page number.

Otherwise, I guess it would be possible to read the .tuc files of the 
other products to create index entries. (Some Lua programming; shouldn’t 
bee too hard, but still way over my head.)

Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2022-01-18 14:39 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
2022-01-18 13:27   ` Joel via ntg-context
2022-01-18 14:39     ` Henning Hraban Ramm via ntg-context [this message]
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=d0983bdf-108e-cb35-6895-3fb90acc98f6@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).