[sphinx-users] Re: Note prevents a section to be moved to the next page

2019-06-04 Thread jfbu
Le 04/06/2019 à 13:14, Josué Andrade Gomes a écrit : > Em terça-feira, 4 de junho de 2019 05:41:28 UTC-3, jfbu escreveu: > > Le 04/06/2019 à 02:04, Josué Andrade Gomes a écrit : > > Is this a Sphinx bug? Or a missing configuration? > > > forgot to say that if you need an

[sphinx-users] Re: Note prevents a section to be moved to the next page

2019-06-04 Thread Josué Andrade Gomes
> Em terça-feira, 4 de junho de 2019 05:41:28 UTC-3, jfbu escreveu: > > Le 04/06/2019 à 02:04, Josué Andrade Gomes a écrit : > > Is this a Sphinx bug? Or a missing configuration? > > > forgot to say that if you need an immediate fix you can add this to conf.py > >

[sphinx-users] Re: Note prevents a section to be moved to the next page

2019-06-04 Thread jfbu
Le 04/06/2019 à 02:04, Josué Andrade Gomes a écrit : Is this a Sphinx bug? Or a missing configuration? forgot to say that if you need an immediate fix you can add this to conf.py latex_elements = { 'preamble' : r''' \usepackage{etoolbox} \patchcmd{\sphinxlightbox}{\allowbreak}{}{} ''', }

[sphinx-users] Re: Note prevents a section to be moved to the next page

2019-06-04 Thread jfbu
Hi Josué, Le 04/06/2019 à 02:04, Josué Andrade Gomes a écrit : Sphinx 2.0.1, latex target If the first element in a section is a note and the section is near the end of the page the section title is not moved to the next page. See screenshots The note is the first element note-1st.png