Re: [RFC PATCH 0/3] Documentation: switch to pdflatex and fix pdf build

From: Markus Heiser
Date: Wed Aug 10 2016 - 14:57:04 EST



Am 10.08.2016 um 17:54 schrieb Jani Nikula <jani.nikula@xxxxxxxxx>:

> Hi Luis, all -
>
> With these you should be able to get started with pdf generation. It's a
> quick transition to pdflatex, the patches are not very pretty, but the
> pdf output is. Patch 3/3 works as an example where to add your stuff
> (latex_documents in conf.py) and how.
>
> Mauro, please look at patch 1/3 for a quick fix for the media build.
>
> Markus, you can now unleash your "I told you so" on the rst2pdf. ;)

:)

same here: Didn't test, but looking at the patch, it looks OK.

Acked-by: Markus Heiser <markus.heiser@xxxxxxxxxxx>

One suggestion: later when my "generic way to build only sphinx sub-folders"
patch ...

http://marc.info/?l=linux-doc&m=147066213515280&w=2

... is acked and merge, it might be better to place the latex_document
option into a gpu/conf.py ?

latex_documents = [
('gpu/index', 'gpu.tex', 'Linux GPU Driver Developer\'s Guide',
'The kernel development community', 'manual') ]

I haven't thought this to the end, just an idea.

-- Markus --