Il 28/07/2016 08:45, Paolo Cavallini ha scritto:
> Hi all,
> using a default project, the Index section generates appropriate
> sections (genindex, module index, search) in html, whereas in latexpdf a
> page with Index heading and just a line for each item is shown.
> IMHO search should not be displayed in latexpdf, and the index should be
> generated. Am I wrong? Is this a known issue?
Issue found (thanks Matteo): an option is missing from conf.py
# -- Options for LaTeX output ---------------------------------------------
latex_elements = {
'babel':'\\usepackage[shorthands=off]{babel}',
Adding it solves the error and the index is correctly generated.
However, I still have an issue: the pdf has an extra page, before the
actual index, with an useless:
Indici
• genindex
if I remove from index.rst the lines:
Indici
==================
* :ref:`genindex`
the page disappears, and only the correct index is displayed.
In html, however, the index disappears in the second case.
I think the same index should be used for html and latexpdf, and only
the correct index page should always be generated, so this seems a bug:
do you agree?
Should I open tickets about this?
Thanks.
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.