Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jun 2013 18:05:06 +0200
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: print edition (was Re: removing 'changes' section from the online edition)
Message-ID:  <51AB6D32.1060906@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1306020853110.8625@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> <51AAFF0A.2060009@FreeBSD.org> <alpine.BSF.2.00.1306020751010.8625@wonkity.com> <51AB59EB.4080400@FreeBSD.org> <alpine.BSF.2.00.1306020853110.8625@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 02-06-2013 17:03, Warren Block escreveu:
> That means "include elements marked with edition="print" and all 
> unprofiled elements"?
Yes. In other words: exclude elements, whose edition is not print.
>
> 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".
In the print branch it is possible to just mark online parts but if we 
want to work with single source we need both ways since there are some 
parts that are print-only. But I guess that the most of the Handbook may 
be unprofiled. Maybe we are late for going to a totally single source 
solution now but imho, we should do it the next time.
>
>> 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.
>
> That will probably be necessary for some things, like a print chapter 
> that links to online-only chapters. 
If the reference is a sentence in a paragraph, you should use phrase. If 
it is a whole paragraph, you can add the markup para.

Gabor



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