Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
sachin-suresh-rapyuta opened this issue Jun 22, 2022 · 2 comments
Open
1 task done

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

sachin-suresh-rapyuta opened this issue Jun 22, 2022 · 2 comments
Labels
bad output rinohtype's output is not correct bug

Comments

@sachin-suresh-rapyuta
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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
@sachin-suresh-rapyuta sachin-suresh-rapyuta added bad output rinohtype's output is not correct bug labels Jun 22, 2022
@brechtm
Copy link
Owner

brechtm commented Jun 22, 2022

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 rinoh_documents 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?

@edzius
Copy link

edzius commented Oct 9, 2024

Hi everyone,

I've just bumped into same issue. Despite i use book or article template generated document has main heading consumed. Also i cannot see that main heading formatting in stylelog file.

PDF output:

Some text
1 Sub Heading
1.1 SubSub Heading
1.1.1 SubSubSub Heading SubSubSubSub Heading
SubSubSubSubSub Heading
Some other text

RST input:

Some text

Main Heading
############

Sub Heading
***********

SubSub Heading
==============

SubSubSub Heading
-----------------

SubSubSubSub Heading
^^^^^^^^^^^^^^^^^^^^

SubSubSubSubSub Heading
"""""""""""""""""""""""

Some other text

I'm could make a fix and a PR, however yet it's a first day i'm on rinohtype, so any guidance or hints would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bad output rinohtype's output is not correct bug
Projects
None yet
Development

No branches or pull requests

3 participants