brechtm / rinohtype

The Python document processor
http://www.mos6581.org/rinohtype
GNU Affero General Public License v3.0
499 stars 59 forks source link

Title from index.rst file is not generating in PDF #338

Open sachin-suresh-rapyuta opened 2 years ago

sachin-suresh-rapyuta commented 2 years ago

Is there an existing issue for this?

PDF produced by rinohtype


Test content here Test content here Test content hereTest content hereTest content hereTest content here Test content here Test content hereTest content hereTest content hereTest content hereTest content here Test content hereTest content hereTest content hereTest content here Test content hereTest content hereTest content hereTest content here.

Source files

Welcome to Test project's documentation!

Test content here Test content here Test content hereTest content hereTest content hereTest content here Test content here Test content hereTest content hereTest content hereTest content hereTest content here Test content hereTest content hereTest content hereTest content here Test content hereTest content hereTest content hereTest content here.

.. toctree:: :maxdepth: 2 :caption: Contents:

testfile1 testfile2

Versions

rinoh 0.5.4 (2022-06-17)

sphinx-build 3.2.1

Python 3.8.10
brechtm commented 2 years ago

Where are you expecting the title of the root_doc to appear? On the title page or in front of the body text (after the table of contents)?

Perhaps a None value (not very intuitive, though) for title in the _rinohdocuments dicts could instruct rinohtype to use the title of the root document. This would be similar to an "empty" (whatever that means) title value in latex_documents?