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 multi-page indexing? #21

Open
ironupiwada opened this issue Aug 30, 2024 · 7 comments
Open

Support for multi-page indexing? #21

ironupiwada opened this issue Aug 30, 2024 · 7 comments

Comments

@ironupiwada
Copy link

Is support for multi-page indexing anticipated in the future (to print, for example, 50-52)? In LaTeX, there is such a support, for example using the \index environment (an instance below cited for https://en.wikibooks.org/wiki/LaTeX/Indexing):

\index{Quantum Mechanics!History|(}
In 1901, Max Planck released his theory of radiation dependent on quantized energy.
While this explained the ultraviolet catastrophe in the spectrum of 
blackbody radiation, this had far larger consequences as the beginnings of quantum mechanics.
...
\index{Quantum Mechanics!History|)}

Optionally, is there any advanced workaround to output multi-page indexes manually with this package?

@hurzl
Copy link

hurzl commented Aug 31, 2024

And automatic f. and ff. ...
The page range is also done automatically by makeindex ...

@ironupiwada
Copy link
Author

The page range is also done automatically by makeindex ...

Well, I don't think so:

obraz

Using the latest versions of Typst (0.11.1) and in-dexter (0.5.3), I'm unable to merge multi-page indices (such as 189-194, which I intend to output). The documentation provided in the sample usage PDF doesn't offer any guidance on this issue.

hurzl added a commit to hurzl/in-dexter that referenced this issue Aug 31, 2024
Range vs. "f." or "ff." could be made optional
see RolfBremer#21
@hurzl
Copy link

hurzl commented Aug 31, 2024

Well, I don't think so:

makeindex means LaTeX

@RolfBremer
Copy link
Owner

Currently there is no support for multi page indexing in in-dexter, but the functionality is sure very nice to have.
We will have a deeper look into it. Same for "ff.", "f.".

Thanks!

@RolfBremer
Copy link
Owner

RolfBremer commented Oct 8, 2024

We just committed 0.6.0 with support for index reference ranges and continuations(f., ff.).
If no issues appear, we will submit it to the typst universe soon.

@hurzl
Copy link

hurzl commented Oct 8, 2024

It's nice to have explicit ranges, but can it find the ranges automatically like in my example?

@RolfBremer
Copy link
Owner

It's nice to have explicit ranges, but can it find the ranges automatically like in my example?

We will have a look into that as well.

@RolfBremer RolfBremer reopened this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants