From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-5.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 1A5F07D90F for ; Fri, 12 Jul 2019 20:19:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727621AbfGLUTX (ORCPT ); Fri, 12 Jul 2019 16:19:23 -0400 Received: from ms.lwn.net ([45.79.88.28]:59978 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727125AbfGLUTX (ORCPT ); Fri, 12 Jul 2019 16:19:23 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 4C42C382; Fri, 12 Jul 2019 20:19:22 +0000 (UTC) Date: Fri, 12 Jul 2019 14:19:21 -0600 From: Jonathan Corbet To: Mauro Carvalho Chehab Cc: Heiko Carstens , Hannes Reinecke , linux-kbuild@vger.kernel.org, Jens Axboe , Andy Shevchenko , Christian Borntraeger , Dan Williams , Michal Marek , Masahiro Yamada , Vasily Gorbik , linux-s390@vger.kernel.org, linux-doc@vger.kernel.org, Omar Sandoval Subject: Re: [PATCH 0/5] PDF output fixes Message-ID: <20190712141921.7f8a1d02@lwn.net> In-Reply-To: References: Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Tue, 9 Jul 2019 15:33:18 -0300 Mauro Carvalho Chehab wrote: > In order to be able to build all PDF books, besides the two patches I > already sent: > > docs: pdf: add all Documentation/*/index.rst to PDF output > docs: automarkup.py: ignore exceptions when seeking for xrefs > > A few others are needed: > > - patch 1 removes nested tables for a few files I converted, as > Sphinx LaTeX builder doesn't support it; > - Patches 2 to 4 addresses some minor issues on some books, > usually requiring some blank lines, extra whitespaces or some > tag replacement; > - Patch 5 is required in order to be able to build the translations > PDF book, as it adds Asian fonts support to XeLaTeX. So, modulo my one comment on the last patch the series seems OK, though I don't like having to work around limitations in PDF generation this way. Can't you just make rst2pdf work instead? :) I guess it makes sense for these to go with the big band-aid-removal patch set. Thanks, jon P.S. it seems that rst2pdf is actually being developed again: https://akrabat.com/rst2pdf-back-from-the-dead/ . I wonder how far they'll get with it.