This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Automatic copying of text between chapters


dbook@centrum.cz wrote:

> do you now some docbook's construction, which provides automatic
> copying of text from one chapter to other?

You can use text entities or XInclude. 
 
> Specially, i make in docbook course of c-language. I need to
> place exercises for students into end of every chapter and
> solutions with exercises again into appendix. Because exercises
> and solutions are large and will be often updated, i want to
> update it only in appendix. And into end of chapters i want only
> copy text of exercise from appendix and put there link to
> solution. Is it possibly?

You can store each excercise in a separate external text entity and
include it in two places -- in appendix and in a regular chapter.

-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]