From owner-freebsd-doc@FreeBSD.ORG Sun Jun 2 08:15:11 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6D53B92A for ; Sun, 2 Jun 2013 08:15:11 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 2C7E21B2C for ; Sun, 2 Jun 2013 08:15:10 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 260B814D2410; Sun, 2 Jun 2013 10:15:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at !change-mydomain-variable!.example.com Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xLpu1qdm0BZN; Sun, 2 Jun 2013 10:15:03 +0200 (CEST) Received: from [192.168.0.10] (54034B4D.catv.pool.telekom.hu [84.3.75.77]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 72FF914D240B; Sun, 2 Jun 2013 10:15:03 +0200 (CEST) Message-ID: <51AAFF0A.2060009@FreeBSD.org> Date: Sun, 02 Jun 2013 10:15:06 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Thunderbird/22.0 MIME-Version: 1.0 To: Warren Block Subject: Re: removing 'changes' section from the online edition References: <51AA31C7.4010202@FreeBSD.org> <51AA57E8.2030105@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 08:15:11 -0000 Em 02-06-2013 00:13, Warren Block escreveu: > On Sat, 1 Jun 2013, Gabor Kovesdan wrote: > >> Em 01-06-2013 20:52, Warren Block escreveu: >>>> No objection from me, I just want to bring it up again that >>>> handling these with a single-source solution would be nice, i.e. >>>> using DocBook profiling. It would also facilitate merges. This >>>> basically consists of adding edition="print" to the affected >>>> section of preface and then setting up profiling. (I can do it, >>>> just ping me if there is consensus on this). >>> >>> Yes! I was just talking about this elsewhere. Could we do it so >>> only the non-print sections need to be modified? >> You only need to add edition="online" to non-print sections. And only >> need to add edition="print" to non-online sections. The rest is >> shared and the markup is kept minimal. > > How do you control which is included when the document is built? There's an XSLT stylesheet provided by DocBook that preprocesses the markup and only leaves in the corresponding content. This is not enabled by default, only if you set it up with a knob in the Makefile of the actual document. Gabor