Dear Sphinx users,

I want to have documentation in both html and pdf formats. While all works 
fine for html, for LaTeX I have to use things like

.. raw:: latex
    \chapter{Manual} 

.. only:: latex
     .. include:: yarsync.1.md

because otherwise section hierarchy is wrong.

I filled the bug at https://github.com/sphinx-doc/sphinx/issues/11097, you 
can find more details there.

Do you have any suggestions how to produce a proper hierarchy (it works 
fine in html and epub)? Should I wait until that bug is fixed or is there a 
workaround?

Thank you.

Best regards,
Yaroslav Nikitenko

-- 
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 sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/ff532311-7518-4bda-9359-f8177afdcccdn%40googlegroups.com.

Reply via email to