Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1513625
| From | Mauro Carvalho Chehab <mchehab@osg.samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH RFC 3/4] [media] subdev-formats.rst: don't use adjustbox on a longtable |
| Date | 2016-11-02 03:40 +0100 |
| Message-ID | <syTD3-be-7@gated-at.bofh.it> (permalink) |
| References | <syQ2t-6iF-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
adjustbox doesn't work on longtables. Also, this
causes an error on LaTeX in interactive mode.
So, use, instead, a tiny font.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
---
Documentation/media/uapi/v4l/subdev-formats.rst | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/Documentation/media/uapi/v4l/subdev-formats.rst b/Documentation/media/uapi/v4l/subdev-formats.rst
index 489a685945e2..cfffcfbe98fa 100644
--- a/Documentation/media/uapi/v4l/subdev-formats.rst
+++ b/Documentation/media/uapi/v4l/subdev-formats.rst
@@ -1524,9 +1524,16 @@ The following table lists existing packed Bayer formats. The data
organization is given as an example for the first pixel only.
+.. HACK: ideally, we would be using adjustbox here. However, Sphinx
+.. is a very bad behaviored guy: if the table has more than 30 cols,
+.. it switches to long table, and there's no way to override it.
+
+
.. raw:: latex
- \newline\newline\begin{adjustbox}{width=\columnwidth}
+ \begingroup
+ \tiny
+ \setlength{\tabcolsep}{2pt}
.. tabularcolumns:: |p{7.6cm}|p{1.6cm}|p{0.7cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|p{0.5cm}|
@@ -2312,7 +2319,7 @@ organization is given as an example for the first pixel only.
.. raw:: latex
- \end{adjustbox}\newline\newline
+ \endgroup
Packed YUV Formats
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH RFC 0/4] Fix PDF build errors Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 2016-11-01 23:50 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Mauro Carvalho Chehab <mchehab@infradead.org> - 2016-11-02 00:00 +0100
[PATCH RFC 2/4] [media] subdev-formats.rst: we need a pdf picture for bayer Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 2016-11-02 03:40 +0100
[PATCH RFC 3/4] [media] subdev-formats.rst: don't use adjustbox on a longtable Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 2016-11-02 03:40 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Jani Nikula <jani.nikula@linux.intel.com> - 2016-11-02 12:20 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Mauro Carvalho Chehab <mchehab@infradead.org> - 2016-11-02 13:30 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Jani Nikula <jani.nikula@linux.intel.com> - 2016-11-02 14:30 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Mauro Carvalho Chehab <mchehab@infradead.org> - 2016-11-02 17:40 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Fengguang Wu <fengguang.wu@intel.com> - 2016-11-02 22:50 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Markus Heiser <markus.heiser@darmarit.de> - 2016-11-02 17:10 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Mauro Carvalho Chehab <mchehab@infradead.org> - 2016-11-02 17:50 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Markus Heiser <markus.heiser@darmarit.de> - 2016-11-02 18:10 +0100
Re: [PATCH RFC 0/4] Fix PDF build errors Jani Nikula <jani.nikula@linux.intel.com> - 2016-11-03 10:20 +0100
csiph-web