Skip to content

[Lectures] Remove titles from Index due to addition of index role #4

Open

Description

@jstac

I haven't looked at the indices of our PDFs in a long time.

Are they OK? Is there any easy way to improve them? All recommendations are appreciated.

Activity

  1. Harveyt47 commented on May 7, 2020

    @Harveyt47
    Member

    Hey @jstac you mentioned this to me a while ago. Since then I have been reading some of the lectures in the PDFs. I have not seen any issues regarding the indices. But I'll keep looking.

  2. jstac commented on May 7, 2020

    @jstac
    ContributorAuthor
  3. Harveyt47 commented on May 19, 2020

    @Harveyt47
    Member

    Hey @jstac are you talking about the pdf version of this https://python.quantecon.org/index_toc.html

    If so I can see it on page three

  4. jstac commented on May 19, 2020

    @jstac
    ContributorAuthor

    That's the table of contents. I'm asking about the index.

  5. mmcky commented on May 19, 2020

    @mmcky
    Contributor

    @jstac the index seems to be missing. @Harveyt47 can you research adding index back into LaTeX and we can make sure it is in https://github.com/QuantEcon/lecture-python.theme/blob/master/templates/latex.tpl

  6. mmcky commented on May 19, 2020

    @mmcky
    Contributor

    actually it should be in latex_book.tpl.

    @jstac index elements are needed in the individual lecture pdf's right?

  7. added
    bug
    on May 19, 2020
  8. AakashGfude commented on May 26, 2020

    @AakashGfude
    Member

    In case of pdfs, we have actually set all the index files in exclude patterns. So, they are avoided when building pdfs.
    Like, for example :-
    https://github.com/QuantEcon/lecture-python-advanced/blob/master/conf.py#L462

    Removing it from there, will allow index pages to be built as pdfs

  9. Harveyt47 commented on May 26, 2020

    @Harveyt47
    Member

    Thanks @AakashGfude. Would we also have to add \usepackage{imakeidx}, \makeindex and \printindex to latex_bok.tpl?

  10. AakashGfude commented on May 26, 2020

    @AakashGfude
    Member

    @Harveyt47 I don't think that will be necessary, as we create tex files for index like any other pages. We can give it a try by removing the entry of index from the config variable and seeing what the pdf output is. If it is behaving weird, then we can try using these packages you mentioned.

  11. Harveyt47 commented on May 26, 2020

    @Harveyt47
    Member

    Awesome thanks @AakashGfude I'll give removing index a try and see what happens.

  12. mmcky commented on Nov 17, 2022

    @mmcky
    Contributor

    This issue is now old. There are index items included in all book pdf.

    @jstac would you like me to organise a review of that index to see how it is lining up with the current content?

  13. mmcky commented on Jan 29, 2024

    @mmcky
    Contributor

    @jstac the index elements are looking pretty good.

    I did notice that many lecture titles are being added.

    Screenshot 2024-01-29 at 1 21 10 pm

    coming from

    # {index}`A Problem that Stumped Milton Friedman <single: A Problem that Stumped Milton Friedman>`
    

    which I think should be removed.

    But that was the old issue I found.

    • remove index roles from lecture titles
  14. changed the title [-]Review indices of PDFs[/-] [+][Lectures] Remove titles from Index due to addition of index role[/+] on Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions