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
This is rather a suggestion for the manual: Add bookmarks for letter groups of the index to for easier navigation.
I've played with the code from the repro and it seems to work just fine. As my git foo is poor, I'll currently not be doing a PR, but will describe what I did.
build.lua
Add the line
indexstyle = "pgfmanual-index.ist"
And change docfiles to
docfiles =
{
"RELEASE_NOTES.md", "description.html", -- Part of the release script
"color.cfg", "pgfmanual.cfg", "images", "plots", "pgfmanual-index.ist", "*.tex" -- Build the manual
}
(added pgfmanual-index.ist)
pgf/doc/generic/pgf/pgfmanual-en-main-body.tex
Replace the line
\usepackage{imakeidx}
by
\usepackage{makeidx}
(you're building using l3build which runs makeindex so there is no need for imakeidx)
Add .ist file
In the same folder as pgfmanual.tex add the file pgfmanual-index.idx with the contents
By default l3build uses gind.ist which has a different look than the makeindex default (which is what the imakeidx uses), the style above just adjusts the makeindex defaults a bit in order to add bookmarks to each letter group, but will not print them (feel free to adjust this) so the printed index will look just like it does in the current release.
The text was updated successfully, but these errors were encountered:
Version
3.1.10
Details
This is rather a suggestion for the manual: Add bookmarks for letter groups of the index to for easier navigation.
I've played with the code from the repro and it seems to work just fine. As my git foo is poor, I'll currently not be doing a PR, but will describe what I did.
build.lua
Add the line
And change
docfiles
to(added
pgfmanual-index.ist
)pgf/doc/generic/pgf/pgfmanual-en-main-body.tex
Replace the line
by
(you're building using
l3build
which runsmakeindex
so there is no need forimakeidx
)Add .ist file
In the same folder as
pgfmanual.tex
add the filepgfmanual-index.idx
with the contentsThen compile the manual using
By default
l3build
usesgind.ist
which has a different look than themakeindex
default (which is what theimakeidx
uses), the style above just adjusts the makeindex defaults a bit in order to add bookmarks to each letter group, but will not print them (feel free to adjust this) so the printed index will look just like it does in the current release.The text was updated successfully, but these errors were encountered: