Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for two-page entries in table of contents #2092

Open
jodros opened this issue Aug 11, 2024 · 2 comments
Open

Support for two-page entries in table of contents #2092

jodros opened this issue Aug 11, 2024 · 2 comments
Labels
enhancement Software improvement or feature request question Ask for advice or investigate solutions

Comments

@jodros
Copy link
Contributor

jodros commented Aug 11, 2024

For example, these books have, for each chapter/section, a page number where the content itself is, and besides it is the page with its corresponding commentaries.

@Omikhleia Omikhleia added the enhancement Software improvement or feature request label Aug 11, 2024
@Omikhleia
Copy link
Member

Interesting examples. It's kind of a "niche" use case, and I can think of several ways for doing it, though it requires specific segmenting commands that go beyond a regular "book" class.

@alerque
Copy link
Member

alerque commented Aug 23, 2024

I've done something like this already. It isn't hard to stuff extra information in the TOC data entries that get saved in an info file, and then use them when typesetting the TOC.

For example I used it in a commentary on Galatians that kept track of the chapter/verse ranges covered in each chapter, then added that info to the TOC.

Given the plethora of different content could be handled this way I'm not sure what a robust higher level API would look like. SILE already provides the lower level building blocks for the to be possible to implement.

Thoughts?

@Omikhleia Omikhleia added the question Ask for advice or investigate solutions label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Software improvement or feature request question Ask for advice or investigate solutions
Projects
None yet
Development

No branches or pull requests

3 participants