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 b986eda20a051da23f5feed2de256b37dee9b818..63857d33778ce253b0b90dea8198ddab52a2bbe7 100644 (file)
@@ -277,9 +277,6 @@ latex_elements = {
         \\setromanfont{DejaVu Sans}
         \\setmonofont{DejaVu Sans Mono}
 
-       % To allow adjusting table sizes
-       \\usepackage{adjustbox}
-
      '''
 }
 
index 677756ae34c9f230950dea21e46a5bd4b5c403f8..067459760a7b048d4b53c28ac476189ac5884c21 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',