From owner-freebsd-doc@FreeBSD.ORG Thu Jun 20 16:11:12 2013 Return-Path: Delivered-To: doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 82730773; Thu, 20 Jun 2013 16:11:12 +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 3FA151311; Thu, 20 Jun 2013 16:11:12 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 1002214D2410; Thu, 20 Jun 2013 18:11:05 +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 LCEMfl6IZI15; Thu, 20 Jun 2013 18:11:02 +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 9203414D2400; Thu, 20 Jun 2013 18:11:02 +0200 (CEST) Message-ID: <51C32997.4060402@FreeBSD.org> Date: Thu, 20 Jun 2013 18:11:03 +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: Hiroki Sato , wblock@wonkity.com Subject: Re: RFC: Profiling and merging for the print edition References: <20130621.005500.1354772635358785822.hrs@allbsd.org> In-Reply-To: <20130621.005500.1354772635358785822.hrs@allbsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Thu, 20 Jun 2013 16:11:12 -0000 Em 20-06-2013 17:55, Hiroki Sato escreveu: > wb> After applying the patch, build either the online or print version of > wb> the book with: > wb> > wb> make EDITION=online clean book.html > wb> make EDITION=print clean book.html > wb> > wb> The "online" version includes all sections with edition="online" or an > wb> edition not set. > > Please do not add a separate make variable for that. We already have > FORMATS, and setting profiling variables (profile.attribute and > profile.value in XSLT) based on it should work. > > Also, we should consider/discuss what kind of difference we need > actually and should allow between the two first. Basically I am > against marking up everything with "online" or "print" because it > just makes the source files complicated. I think it is useful only > for separating lengthy preface, edition history, and pgpkey list from > the body in book.xml. I believe that XHTML is an online format by nature but pdf may also be distributed as an online snapshot after the actual release so I would also treat them separated as Warner suggests. Gabor