media: fix pdf build with Spinx 1.6
Sphinx 1.6 generates some LaTeX code before each table, starting its own environment before calling tabulary, apparently to improve table layout. The problem is that such environment is incompatible with adjustbox. While, in thesis, it should be possible to override it or to redefine tabulary, I was unable to produce such patch. Also, that would likely break on some future Sphinx version. So, instead, let's just change the font size on bigger tables, in order for them to fit into the page size. That is not as good as adjustbox, and require some manual work, but it should be less sensitive to Sphinx changes. While here, adjust a few other tables whose text is exceeding the cell boundaries. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
@@ -204,9 +204,9 @@ list entity names and pad numbers).
|
||||
|
||||
.. raw:: latex
|
||||
|
||||
\begin{adjustbox}{width=\columnwidth}
|
||||
\tiny
|
||||
|
||||
.. tabularcolumns:: |p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|p{4.5cm}|
|
||||
.. tabularcolumns:: |p{2.0cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|p{2.3cm}|
|
||||
|
||||
.. _sample-pipeline-config:
|
||||
|
||||
@@ -253,7 +253,7 @@ list entity names and pad numbers).
|
||||
|
||||
.. raw:: latex
|
||||
|
||||
\end{adjustbox}\newline\newline
|
||||
\normalsize
|
||||
|
||||
1. Initial state. The sensor source pad format is set to its native 3MP
|
||||
size and V4L2_MBUS_FMT_SGRBG8_1X8 media bus code. Formats on the
|
||||
|
||||
Reference in New Issue
Block a user