doc: pdf: Use single column for the index
The index at the end of the PDF document can contain pretty long strings that don't fit in the default 2-column layout. This commit makes the index use a single-column. Note: this relies on LaTeX package idxlayout which should already be included in the packages recommended for installation in our instructions. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
2938856cac
commit
abc334016f
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ latex_elements = {
|
|||
"papersize": "a4paper",
|
||||
"maketitle": open(ZEPHYR_BASE / "doc" / "_static" / "latex" / "title.tex").read(),
|
||||
"preamble": open(ZEPHYR_BASE / "doc" / "_static" / "latex" / "preamble.tex").read(),
|
||||
"makeindex": r"\usepackage[columns=1]{idxlayout}\makeindex",
|
||||
"fontpkg": textwrap.dedent(r"""
|
||||
\usepackage{noto}
|
||||
\usepackage{inconsolata-nerd-font}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue