Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932995AbcKPQET (ORCPT ); Wed, 16 Nov 2016 11:04:19 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:54110 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752296AbcKPQEP (ORCPT ); Wed, 16 Nov 2016 11:04:15 -0500 From: Arnd Bergmann To: ksummit-discuss@lists.linuxfoundation.org Cc: Mauro Carvalho Chehab , Josh Triplett , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [Ksummit-discuss] Including images on Sphinx documents Date: Wed, 16 Nov 2016 17:03:47 +0100 Message-ID: <11020459.EheIgy38UF@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20161108085036.304fdfea@vento.lan> References: <20161107075524.49d83697@vento.lan> <20161107170504.25j4rwfohhqp67fw@x> <20161108085036.304fdfea@vento.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:aW1dK0iDNna26GRd9brcODDijAZhVgtdgwZXP8jbIMLtH6p8F0S a3f0BKZG9PSeF/OD0EqSZ9s0dDhhJV51FVe8iXUX2Te8YSr/qdKt8PDg6CB39m3BpvrQPxq U8XPXXt4uuQ1ozmj0uBBGMa5NR1lERFCe3fzitzm/I4tCNhDAcra6ZAhuFzp10riTFUgDsH dycgXZG/lhiZusM0GnplQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:ivHOpQYi0wM=:uA2QFldo5/1Aym0IDI62uj FQyKCSFWaH6e6eZA8w9XxXASIpuwjH2z9dsJMc0BRkRavEVBx6zr9pLXtxFPWjqsfZJk+3enN Y8mvXYz7ANc8THGkX6Xx3TbVv8cSzbABv1f8zkzN8wVlir+QLOjUs2HKW5p9lEdUonoNNVR0F zIcB817NI6h39D/XLKee9CZMRzyTWttGDs41aY47rsByYXRaewPoEnYqPAkZpDMqj9B3bqnGv o5kRhShdVg5m6Bs6z/zItxdizF5m45JXYS7cg7UEGsgck3nJ7k/s3+sKB3TnKVz2g8HaGqpjw AoQDeok4ltgjTH+4rhuZdaF52a9CFXskOckgzkALoJKQ+kdY7SWVLX6vCAnWvJ/ynvH2PAUYA YH/luEWrasEZcugwlwAvIYYH9QQVxQM1bbx/iB73U9+6mw3ym+8IQ2NPIAdgzaAse4ID8ViGV jQ6CqYH6RjyQ+AyoYlVPDbWGufAMbtBseZoevzLdX/KtC0NUSS7D4DehDT4shUwwDCVw2Jfj2 oxJ04LeAFDKH8Q5oto2xQ7I35MuvL41AWBfz/4wfl+eD0QbfzFxmJuCEijaXWkTfQVXHEY35m zZ7UofmO3r76rJk7pmK6VKyFa/P4fntfXJEJKlJFlOFsK2jKeeVi7GL1m92KzvL7thMukP64x zaGJi4gzifpvcBKkoffLDWnr4bajDmNIs7RT0A4pC+5hfJ11Xh0Vhu6xjgI/Gy9Ojy9DDCNQ2 o7AGdfvi5tWP3cH/ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1422 Lines: 32 On Tuesday, November 8, 2016 8:50:36 AM CET Mauro Carvalho Chehab wrote: > > [...] > > > And it may even require "--shell-escape" to be passed at the xelatex > > > call if inkscape is not in the path, with seems to be a strong > > > indication that SVG support is not native to texlive, but, instead, > > > just a way to make LaTeX to call inkscape to do the image conversion. > > > > Please don't require --shell-escape as part of the TeX workflow. If > > LaTeX can't handle the desired image format natively, it needs > > conversion in advance. > > Agreed. I sent a patch series to linux-doc, doing the conversion in > advance: > https://marc.info/?l=linux-doc&m=147859902804144&w=2 > > Not sure why, but the archives don't have all patches yet. > Anyway, the relevant one is this: > https://git.linuxtv.org/mchehab/experimental.git/commit/?h=pdf-fixes&id=5d41c452c787f6a6c755a3855312435bc439acb8 > > It basically calls ImageMagick "convert" tool for all png and > pdf files currently at the documentation (they're all at media, > ATM). It looks like we still need to find a way to address the .gif files though, as they have the same problem as the .pdf files. During the kernel summit, I looked around for any binary files in the kernel source tree, and except for the penguin logo, they are all in Documentation/media/uapi/v4l/, but they are not all pdf files, but also .png and .pdf. Arnd