From owner-freebsd-doc@FreeBSD.ORG Sun Jun 2 15:10:21 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 E0E456C9 for ; Sun, 2 Jun 2013 15:10:21 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by mx1.freebsd.org (Postfix) with ESMTP id B90921D52 for ; Sun, 2 Jun 2013 15:10:21 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id t10so984172pdi.31 for ; Sun, 02 Jun 2013 08:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/W5e9TISAdGhNQdHTA+VbrVyUEOGktcaULOulicT6Ig=; b=k2W8gpfNf28r+36aEzYKEiDeSin0plnVn7nblpIivEGQRUge6bmJyosP0Qbd2hpi5d nHbxwk9YJizFkTA7i8myp0Y5083YGdN3D2HYoBwltvKjaIE76t3Za0pOjtrDTF4fqsAh yubAFZHovey7EHkg+CxO/usw48bFy17yikbuc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=/W5e9TISAdGhNQdHTA+VbrVyUEOGktcaULOulicT6Ig=; b=GwWJeRicLDr5llyNoN65fJOq8diQ/3DyctQ+NDwAPn+zIA29eAVR1JCBt0GRUJvW0O vzo7CHa2w2IfJ6W5IiLBcY3iYIvJGEnn1x6Y8fit6GDJoYaGihYs/KGRKiY2jn+gpDpy O9yrKpAoXJPVDmG/Qx189VQr7QZyNxrFct7NvaVRU/0GBVXtAHiKZN5Ffwgc1T2Pur8E o9743McJa57aL3b8CVRU85KakizoXCZZYS3E0UfaoZP+RUP5cj5OUYN7VUeKaGjq88T6 2ZilAjHcnbF00iC39HHxCT9Lyf4jX1rxj9Y8r0Ri3tmQ87El+zUeuek6gPHw3dznQd9V OSBg== X-Received: by 10.66.2.103 with SMTP id 7mr5568157pat.211.1370185815498; Sun, 02 Jun 2013 08:10:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.45.33 with HTTP; Sun, 2 Jun 2013 08:09:45 -0700 (PDT) In-Reply-To: References: <51AA31C7.4010202@FreeBSD.org> <51AA57E8.2030105@FreeBSD.org> <51AAFF0A.2060009@FreeBSD.org> <51AB59EB.4080400@FreeBSD.org> From: Eitan Adler Date: Sun, 2 Jun 2013 17:09:45 +0200 Message-ID: Subject: Re: print edition (was Re: removing 'changes' section from the online edition) To: Warren Block Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQk1actYk+aivk/GcIs4Z9ar4R9a10bX7fWrs3zzFh1rwIUsZIkpR1XcNXKsFbgHeUVoUnf/ Cc: freebsd-doc@freebsd.org, Gabor Kovesdan 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 15:10:21 -0000 On 2 June 2013 17:03, Warren Block wrote: > On Sun, 2 Jun 2013, Gabor Kovesdan wrote: > >> 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'" > > > That means "include elements marked with edition="print" and all unprofiled > elements"? > > For a print version, it might be easier to just go the opposite way: leave > everything unprofiled as defaulting to print, and marking online-only > sections as "online". I would rather have both options: - default - this section is "online only" - this section is "print only" -- Eitan Adler