docs-rst: don't require adjustbox anymore
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 09:28:28 +0000 (06:28 -0300)
committerJonathan Corbet <corbet@lwn.net>
Fri, 8 Sep 2017 16:02:55 +0000 (10:02 -0600)
Only the media PDF book was requiring adjustbox, in order to
scale big tables. That worked pretty good with Sphinx versions
1.4 and 1.5, but Spinx 1.6 changed the way tables are produced,
by introducing some weird macros before tabulary.
That causes adjustbox to fail. So, it can't be used anymore,
and its usage was removed from the media book.

So, let's remove it from conf.py and sphinx-pre-install.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py
scripts/sphinx-pre-install

index b986eda..63857d3 100644 (file)
@@ -277,9 +277,6 @@ latex_elements = {
         \\setromanfont{DejaVu Sans}
         \\setmonofont{DejaVu Sans Mono}
 
-       % To allow adjusting table sizes
-       \\usepackage{adjustbox}
-
      '''
 }
 
index 677756a..0674597 100755 (executable)
@@ -40,7 +40,6 @@ my $virtualenv = 1;
 #
 
 my %texlive = (
-       'adjustbox.sty'      => 'texlive-adjustbox',
        'amsfonts.sty'       => 'texlive-amsfonts',
        'amsmath.sty'        => 'texlive-amsmath',
        'amssymb.sty'        => 'texlive-amsfonts',