Re: [RFC PATCH 3/3] Documentation: exclude media documentation from pdf generation

From: Markus Heiser
Date: Wed Aug 10 2016 - 15:25:52 EST



Am 10.08.2016 um 18:16 schrieb Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>:

> Hi Jani,
>
> Em Wed, 10 Aug 2016 18:54:09 +0300
> Jani Nikula <jani.nikula@xxxxxxxxx> escreveu:
>
>> Although pdflatex is more robust than rst2pdf, building media
>> documentation pdf still fails. Exclude media documentation from pdf
>> generation for now.
>
> Again, didn't test, but do you think the issues with pdflatex and
> media are solvable?

Not all, we have to test book by book and see what fails and what
the reasons. Large tables will never format propper on paper sizes.

But first lets ack and merge all this together.

-- Markus --

>
>>
>> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
>> ---
>> Documentation/conf.py | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/conf.py b/Documentation/conf.py
>> index 96b7aa66c89c..827dafc515b1 100644
>> --- a/Documentation/conf.py
>> +++ b/Documentation/conf.py
>> @@ -268,7 +268,9 @@ latex_elements = {
>> # (source start file, target name, title,
>> # author, documentclass [howto, manual, or own class]).
>> latex_documents = [
>> - (master_doc, 'TheLinuxKernel.tex', 'The Linux Kernel Documentation',
>> + ('kernel-documentation', 'kernel-documentation.tex', 'The Linux Kernel Documentation',
>> + 'The kernel development community', 'manual'),
>> + ('gpu/index', 'gpu.tex', 'Linux GPU Driver Developer\'s Guide',
>> 'The kernel development community', 'manual'),
>> ]
>>
>
>
>
>
> Cheers,
> Mauro