Re: [PATCH 01/13] docs: conf.py: fix sphinx version detection for margin set

From: Mauro Carvalho Chehab
Date: Thu Dec 10 2020 - 11:31:36 EST


Em Thu, 10 Dec 2020 07:48:45 -0700
Jonathan Corbet <corbet@xxxxxxx> escreveu:

> On Thu, 10 Dec 2020 11:55:40 +0100
> Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> wrote:
>
> > The PDF generator has a logic to detect the proper way to
> > setup the page margins. By default, the page has about
> > 14.8 cm, which is too short to display some tables and literal
> > blocks. So, previous patches changed it to be around 17.5 cm,
> > but the logic only works with Sphinx version 1.x.x.
> >
> > Fix it.
> >
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
>
> Acked-by: Jonathan Corbet <corbet@xxxxxxx>
>
> Feel free to route this one with the rest of the set.
>
> Someday it might be nice to isolate all of the latex stuff into
> conf-latex.py or some such so most of us don't have to look at it..:)

Yeah, makes sense.

Btw, just gave another trial of rst2pdf (sent the RFC patch
adding support for it)...


Still doesn't work: lots of documents are produced with
zero size :-(


Thanks,
Mauro