diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-21 15:14:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-22 21:23:59 -0300 |
commit | e61a39baf74dddb6cd236147bd19b55c10188d78 (patch) | |
tree | e1993ec33156bb8c350847f18db2594c1b04952c /Documentation/media/index.rst | |
parent | 5ccbb182d70561a49f84b42169d2dbc39e39aea2 (diff) | |
download | op-kernel-dev-e61a39baf74dddb6cd236147bd19b55c10188d78.zip op-kernel-dev-e61a39baf74dddb6cd236147bd19b55c10188d78.tar.gz |
[media] index.rst: Fix LaTeX error in interactive mode on Sphinx 1.4.x
The Sphinx 1.4.x definition for \DUrole is:
\providecommand*{\DUrole}[2]{%
\ifcsname DUrole#1\endcsname%
\csname DUrole#1\endcsname{#2}%
\else% backwards compatibility: try \docutilsrole#1{#2}
\ifcsname docutilsrole#1\endcsname%
\csname docutilsrole#1\endcsname{#2}%
\else%
#2%
\fi%
\fi%
}
This is broken when it is used inside a \begin{alltt} block.
So, replace it by just "#2", as this won't cause troubles, and
it is one of the fallback methods for it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/index.rst')
-rw-r--r-- | Documentation/media/index.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/media/index.rst b/Documentation/media/index.rst index 7f8f0af..e347a3e 100644 --- a/Documentation/media/index.rst +++ b/Documentation/media/index.rst @@ -1,6 +1,11 @@ Linux Media Subsystem Documentation =================================== +.. Sphinx 1.4.x has a definition for DUrole that doesn't work on alltt blocks +.. raw:: latex + + \renewcommand*{\DUrole}[2]{ #2 } + Contents: .. toctree:: |