You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Lectures] Remove titles from Index due to addition of index role #4
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.
@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.
Activity
Harveyt47 commentedon May 7, 2020
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.
jstac commentedon May 7, 2020
I don't see actually an index, now that I look:
https://python-intro.quantecon.org/_downloads/pdf/quantitative_economics_with_python.pdf
Am I missing something?
Harveyt47 commentedon May 19, 2020
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
jstac commentedon May 19, 2020
That's the table of contents. I'm asking about the index.
mmcky commentedon May 19, 2020
@jstac the
indexseems to be missing. @Harveyt47 can you research addingindexback into LaTeX and we can make sure it is in https://github.com/QuantEcon/lecture-python.theme/blob/master/templates/latex.tplmmcky commentedon May 19, 2020
actually it should be in latex_book.tpl.
@jstac
indexelements are needed in the individual lecture pdf's right?AakashGfude commentedon May 26, 2020
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
Harveyt47 commentedon May 26, 2020
Thanks @AakashGfude. Would we also have to add
\usepackage{imakeidx},\makeindexand\printindexto latex_bok.tpl?AakashGfude commentedon May 26, 2020
@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
indexfrom the config variable and seeing what the pdf output is. If it is behaving weird, then we can try using these packages you mentioned.Harveyt47 commentedon May 26, 2020
Awesome thanks @AakashGfude I'll give removing
indexa try and see what happens.mmcky commentedon Nov 17, 2022
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
indexto see how it is lining up with the current content?mmcky commentedon Jan 29, 2024
@jstac the index elements are looking pretty good.
I did notice that many lecture titles are being added.
coming from
which I think should be removed.
But that was the old issue I found.
indexroles from lecture titles[-]Review indices of PDFs[/-][+][Lectures] Remove titles from Index due to addition of index role[/+]