mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Mauro Carvalho Chehab](/assets/img/avatar_default.png)
PDF build on Kernel 4.9-rc? returns an error with Sphinx 1.3.x
and Sphinx 1.4.x, when trying to solve some cross-references.
The solution is to redefine the \DURole macro.
However, this is redefined too late. Move such redefinition to
LaTeX preamble and bind it to just the Sphinx versions where the
error is known to be present.
Tested by building the documentation on interactive mode:
make PDFLATEX=xelatex -C Documentation/output/./latex
Fixes: e61a39baf7
("[media] index.rst: Fix LaTeX error in interactive mode on Sphinx 1.4.x")
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
19 lines
252 B
ReStructuredText
19 lines
252 B
ReStructuredText
Linux Media Subsystem Documentation
|
|
===================================
|
|
|
|
Contents:
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
|
|
media_uapi
|
|
media_kapi
|
|
dvb-drivers/index
|
|
v4l-drivers/index
|
|
|
|
.. only:: subproject
|
|
|
|
Indices
|
|
=======
|
|
|
|
* :ref:`genindex`
|