Pierre Labastie wrote: > Le 22/02/2014 09:59, DJ Lucas a écrit : >> >> On 02/21/14 13:20, Bruce Dubbs wrote: >>> Armin K. wrote: >>> >>>> I know what you meant. I have no problems with shipping package specific >>>> notes for now. Maintaining seperate BLFS is something I can't do alone >>>> and maintaining same instructions in one branch, then generating two >>>> different books is something I don't know a) to do b) if it's possible. >>> a. Can be cured. >>> b. Yes, it's possible. >> Though I've never messed with it, it really doesn't look too difficult. >> Lookup use of <xsl:when>. Since this direction interests me, I'll take a >> look maybe next week. >> >> --DJ >> > I can help with the xsl, and there is already some knowledge about "variable" > books in the CLFS community, but I am somewhat worried that if we take this > direction, all the BLFS editors will have to cope with both sets (systemd and > sysvinit) of instructions.
I don't think so. If there are two roles added, systemd and sysv, then the sections so marked would be only rendered in the specific book. Sections without either marking would be rendered in both books. I would envision this to be done at the <sectx> level, but it could be done at a child tag too. I'm not sure if it could be done at the <xi:include /> level or not, but that would give some interesting alternatives. In this scenario, an editor would not alter the instructions for the book that he is not concerned with. We could try this out in a branch and see how it works before making a commitment. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
