brechtm / rinohtype

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

The word 'documentation' is appended to the project title #339

Closed sachin-suresh-rapyuta closed 2 years ago

sachin-suresh-rapyuta commented 2 years ago

Is there an existing issue for this?

PDF produced by rinohtype

Test project docu- mentation

This is how the word 'documentation' also breaks into next line.

Source files

conf.py

# -- Project information -----------------------------------------------------

project = 'Test project'
copyright = '2022, Sachin'
author = 'Sachin'

extensions = [
    'rinoh.frontend.sphinx'
]

rinoh_documents = [dict(doc='index',        # top-level file (index.rst)
                        target='manual',
                        template='rinohtype.rtt',
                        logo='_static/rr-logo-vertical2022-1100px-transp.png')]   # output file (manual.pdf)

Versions

rinoh 0.5.4 (2022-06-17)

sphinx-build 3.2.1

Python 3.8.10
brechtm commented 2 years ago

Here, rinohtype basically mimics the LaTeX builder's behaviour. By default, the title on the title page is project documentation (project is defined in conf.py). You can override the title by adding a title entry in the rinoh_documents dictionary.