We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The heading size for sections included via toctrees is rendered incorrectly in Word. Consider this example:
index.rst
************* Chapter title ************* .. toctree:: section
section.rst
Section title ============= .. toctree:: subsection
subsection.rst
Subsection title ---------------- Some text goes here.
In the resulting Word file, all headings are of the same size (namely Heading 1). This is incorrect -- they should have descending header sizes.
Heading 1
When compiling the above example to singlehtml, the resulting HTML file does have the correct descending header sizes (namely <h1>, <h2>, and <h3>).
singlehtml
<h1>
<h2>
<h3>
In contrast, when putting all the content in a single .rst file:
.rst
************* Chapter title ************* Section title ============= Subsection title ---------------- Some text goes here.
the resulting Word file does have the correct header sizes.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The heading size for sections included via toctrees is rendered incorrectly in Word. Consider this example:
index.rst
:section.rst
:subsection.rst
:Subsection title ---------------- Some text goes here.
In the resulting Word file, all headings are of the same size (namely
Heading 1
). This is incorrect -- they should have descending header sizes.When compiling the above example to
singlehtml
, the resulting HTML file does have the correct descending header sizes (namely<h1>
,<h2>
, and<h3>
).In contrast, when putting all the content in a single
.rst
file:the resulting Word file does have the correct header sizes.
The text was updated successfully, but these errors were encountered: