From owner-freebsd-doc@FreeBSD.ORG Sun Jun 2 14:42:59 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 D90318E6 for ; Sun, 2 Jun 2013 14:42:59 +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 938121C15 for ; Sun, 2 Jun 2013 14:42:59 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 5BF4614D2510; Sun, 2 Jun 2013 16:42:53 +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 5PpbVT5phd-f; Sun, 2 Jun 2013 16:42:47 +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 9A5FC14D251D; Sun, 2 Jun 2013 16:42:47 +0200 (CEST) Message-ID: <51AB59EB.4080400@FreeBSD.org> Date: Sun, 02 Jun 2013 16:42:51 +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: print edition (was Re: removing 'changes' section from the online edition) References: <51AA31C7.4010202@FreeBSD.org> <51AA57E8.2030105@FreeBSD.org> <51AAFF0A.2060009@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 14:42:59 -0000 Em 02-06-2013 15:56, Warren Block escreveu: >> 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. > > I'd like to try an actual test on the Handbook. Is that feasible with > what we have currently? What specific changes need to be made to the > Makefiles? You have to mark up something with edition="print", then set this either in Makefile or at the command line when calling make all: PROFILING+= --param profile.attribute "'edition'" --param profile.value "'print'" You have to watch out that the DocBook sources are valid both with and without the profiled element. For example, you cannot have two titles for the section with different edition values since only one title is allowed. In this case, you have to use the phrase element in the title. Further reading: http://www.sagehill.net/docbookxsl/Profiling.html Gabor