Split and Merge DAISY Tobi Project

Split and Merge DAISY Tobi Project

Tobi enables you to split a full-text full-audio DAISY book into several sub-projects and reassemble them back after updating.

This document explains how to split a DAISY Tobi project. For splitting EPUB Tobi projects, please refer to Split and Merge EPUB Tobi Project.

The process flow can be enumerated as follows:
Step 1.Split a project into various sub-projects and a Master project.
Step 2.Distribute the sub-projects among various team members for parallel production.
Step 3.After recording and editing sub-projects, collect them and replace the application-generated sub-projects with the updated ones.
Step 4.Merge them back in the Master project.

Now we will go through each of these steps in detail, and we will also look at the directories created during these operations.

Step 1: Split the project

Tobi splits the project on the position of document marks. So it is important to place document marks carefully. Especially in a full-text, full-audio book where you should not place a document mark at a child node if its audio is placed in the parent node.

You can place document marks in both Navigation pane and Document pane, but it is recommended to do it in the Navigation pane as it gives the overall picture of the document. Follow the steps listed below to split the project into sub-projects using the Navigation pane.

  1. Open the Tobi project by pressing Ctrl+O and selecting it from the dialog thus opened. If the Tobi project for the book does not exist, you should first import it by pressing Ctrl+I.
  2. Remove all the existing marks by clicking Text->Document marks->Remove all document marks on the menu or pressing Shift+Ctrl+K.
  3. Go to the Navigation pane (Headings tab) by pressing F8.
  4. Navigate to the item where the split-point should be marked, and press Enter. Alternatively, you can double-click on the respective item. If you are placing marks using the Document pane, there is no need to double-click or press Enter; you can place the marks directly.
  5. Press Ctrl+K to mark out the split-point. You can navigate to the sub sections and mark the split-points at any level.
  6. After marking out all the split-points, go to the Marks tab to verify them by pressing Ctrl+Tab.
  7. Click Tools->Split/Merge projects->Split… on the menu or press Shift+Ctrl+B.

Tobi creates a copy of the original project called the Master project. Then it splits the project at the marked split-points as follows:

  • The contents prior to the first split-point will be placed in the first sub-project.
  • The contents between the first split-point and the second split-point will be placed in the second sub-project.
  • And so on…

Each sub-project will carry a number suffix denoting its position in the main project.

After the split, tobi will open the Master project. You will find that the document pane appears in varying colors. This is because Tobi marks out the split-point positions in red, and the contents of the sub-project in pink.

Please do not make any changes to the Master project, or the merge functionality may not work properly.

Directories

A new directory will be created in your project directory named “_SPLIT”. This directory will contain the Master project directory as well as all the sub-project directories.

The Master project will carry the same name as that of the original project, and it will be suffixed by the text “Master”. Its project file will be named “master.xuk”.

The sub-project directory will be suffixed with number denoting its position in the Master project; for example, if the original project was named “DAISY_Revolution”, the directory of its first sub-project will be named “DAISY_Revolution_0”, the second sub-project as “DAISY_Revolution_1”, and so on. Each sub-directory will contain the data folder as well as the XUK file making it a standalone Tobi project.

Step 2: Distribute the work

Now that the project is divided into several sub-projects, which are complete Tobi projects, you can distribute them among the team members by simply copying the respective directories on to their systems.

Step 3: Collect the sub-projects and replace the earlier ones

Once the sub-projects have been updated, collect them and place them back in the “_SPLIT” directory replacing the application-generated sub-projects.

Step 4: Merge the sub-projects in to Master

Finally, we should merge the updated sub-projects back in to the Master project. Follow the steps listed below to accomplish it.

  1. Open the Master project “master.xuk”. Please note that the directory with the “Master” suffix contains the Master project.
  2. Click Tools->Split/Merge projects->Merge… on the menu or press Shift+Ctrl+Alt+B to merge the project.
  3. After merging the projects, Tobi will ask to delete the sub-projects and files created for the Split-merge process permanently. Click Yes to delete or No to ignore.
  4. Tobi will again ask for confirmation as this operation cannot be undone. Press Yes again if you wish to delete the files.

Tobi will import all the sub-projects back in their respective positions, and then it will open the merged project in its work area. Please note that Tobi does not make any changes to the Master project; it will create its copy and make the changes therein.

Directories

The merged project will be created in a new directory, called “_MERGE”, under the project directory. This project will be a complete Tobi project and will contain all the updated contents.

Recap of the directory structure

  • The project merge feature does not alter the original project files. It creates a sub-directory of the project directory called “_SPLIT” and performs all the operations there. The following type of items can be found under the “_SPLIT” directory:
  1. Master project directory with “Master” suffix.
  2. Number suffixed directories containing a sub-project each.

 

  • The finally merged project can be found in the “_MERGE” directory under the project directory.

 

Tags: Tobi