How do I write index entries in a book? (For Web & PDF output) #12249
Replies: 3 comments 2 replies
-
No built-in feature for that beyong "list of figures", "list of tables", etc.
Any small reproducible example?
No, it won't, especially if you use the right markup.
Use conditional content, it's there for this.
Did you check the gallery? https://quarto.org/docs/gallery/#books |
Beta Was this translation helpful? Give feedback.
-
Thanks for the guidance! I understand there is conditional content, but that's not what quite I'm looking for. I do want the same content to appear in all output formats - but naturally don't want want have to write a separate index entry for an HTML and for LaTeX... The output of the index makes sense and what I was planning to do.
For crossrefs, I was simply referring to the docs in the books section. I can write usable links, but only manually I think. I did look through a bunch of books but haven't been able to find something similar. |
Beta Was this translation helpful? Give feedback.
-
For reference, we have an open feature request for Glossay in Quarto |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm working on a book project, which actually began its life as as very large word document with hundreds of index entries which are get build using Word's index feature.
In LaTeX, I can write
... \index{Entry Text}
and then later render the index where I wish. What's the appropriate way in Quarto to define these entries in a qmd file so they show up properly on the web it?Should I be using crossrefs, or trying to start with latex and make that work with HTML output?
I think I've gathered:
Am I on the right track? If there's any examples of books I could see where there's an index, I think that'd be great.
Beta Was this translation helpful? Give feedback.
All reactions