Message ID | cover.1607597287.git.mchehab+huawei@kernel.org |
---|---|
Headers | show |
Series | Address issues with PDF output at media uAPI docs | expand |
On Thu, 10 Dec 2020 11:55:40 +0100 Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 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@kernel.org> Acked-by: Jonathan Corbet <corbet@lwn.net> 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..:) Thanks, jon
Em Thu, 10 Dec 2020 07:48:45 -0700 Jonathan Corbet <corbet@lwn.net> escreveu: > On Thu, 10 Dec 2020 11:55:40 +0100 > Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 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@kernel.org> > > Acked-by: Jonathan Corbet <corbet@lwn.net> > > 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