Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jun 2013 10:15:06 +0200
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: removing 'changes' section from the online edition
Message-ID:  <51AAFF0A.2060009@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1306011612580.3184@wonkity.com>
References:  <CAF6rxgmionFt8Z7mrN0_JciThfyL4AMXcChRHWX1m%2BDE51FYLQ@mail.gmail.com> <51AA31C7.4010202@FreeBSD.org> <alpine.BSF.2.00.1306011250320.1365@wonkity.com> <51AA57E8.2030105@FreeBSD.org> <alpine.BSF.2.00.1306011612580.3184@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51AAFF0A.2060009>