Received: from eggs.gnu.org ([2001:4830:134:3::10]:44032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTUff-0004y9-RB for qemu-devel@nongnu.org; Tue, 17 Jan 2017 09:23:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTUfe-0002wi-TI for qemu-devel@nongnu.org; Tue, 17 Jan 2017 09:23:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46214) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTUfe-0002wM-NQ for qemu-devel@nongnu.org; Tue, 17 Jan 2017 09:23:34 -0500 From: Markus Armbruster References: <1484559200-2301-1-git-send-email-armbru@redhat.com> <87pojmjdep.fsf@dusky.pond.sub.org> <87h94x99e4.fsf@dusky.pond.sub.org> <874m0x7ra2.fsf@dusky.pond.sub.org> Date: Tue, 17 Jan 2017 15:23:32 +0100 In-Reply-To: (Peter Maydell's message of "Tue, 17 Jan 2017 13:59:59 +0000") Message-ID: <878tq93guz.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PULL v2 000/180] QAPI patches for 2017-01-16 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , QEMU Developers Peter Maydell writes: > On 17 January 2017 at 13:24, Markus Armbruster wrote: >> Peter Maydell writes: >>> (1) if it doesn't actually cause a change in the output, we >>> should either just delete the use of VERSION entirely, or move >>> it to somewhere outside of @subtitle which does actually >>> appear somewhere. There's no point in putting in the version >>> info if it doesn't get into the final output, whether >>> it generates a warning or not. >> >> It does affect PDF output. PDF is generated by texi2pdf, which uses >> different command line options, and setting VERSION works fine there. > > Mmm, but if it's useful information we should be displaying > it in all our documentation formats, not just tucking it > away in something that only appears in the PDF. > Conversely, if we're happy for some of our document formats > not to contain it we could save ourselves the grief of > having to work around this bug by dropping the @subtitle entirely. Yes, that's why I wrote we need to decide whether we want the information that is now in @subtitle in the formats where @subtitle currently doesn't appear. > As an aside, how useful is the PDF output anyway? In 2017 > there seems to me quite a good argument for just creating > HTML... We do generate HTML. We also generate PDF. It's better for printing (if you're so inclined), and it costs us next to nothing: a couple of lines in the top-level Makefile. See commit 20cc999 "Documentation: Add build support for documentation in pdf format" (January 2010) and also commit ad23988 "build-sys: remove dvi doc generation" (in this series).