Re: DOCBOOK: version control

From
Norman Walsh <>
Date
2001-04-26T14:24:19+00:00
ID
Thread
Re: DOCBOOK: version control
/ Jonathan Riddell <> was heard to say:
| I have a book which has 1995, 1996 etc editions and it would be good to
| keep these editions in the one file, with the text from one edition
| outputted at any one time.
| 
| Is there an easy way of doing this?

Easy? Probably not. But it could conceivably be done with the
effectivity markup:

  <para revision="1995">...</para>
  <para revision="1996">...</para>
  <para>Some common text <phrase revision="1995">foo</phrase><phrase
        revision="1996">bar</phrase>...</para>

But a version control system like CVS is probably a better answer.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <>      | Things work out best for those who
http://www.oasis-open.org/docbook/ | make the best of the way things
Chair, DocBook Technical Committee | work out.