In this section, you will learn about the MDF (Makeup Definition File). The Markup Definition File contains a listing of all of the elements and attributes, with their associated values, that are to be used as synchronization points within the XHTML source in a project. This list of elements is used to identify and select portions of the source files for the generation of the NCC file and SMIL files for a project. Also stored in this file is information about the hierarchy associated with each type of element. It is the synchronization points and hierarchy that provide navigation within the project during production and in the completed book when it is read.
There are "h" elements (heading elements) and a "span" element in this source file. The only classes defined are "Title" and "page-normal". Sigtuna DAR 3 contains four MDF files from which you can choose. The MDF file called "daisy_FullText.mdf" contains all the possible elements and attributes in xhtml file for the DAISY production, so it is possible just to use this file to create most of the production. It is also possible to edit these MDF files and create completely new MDF files. Click the "daisy_default.mdf" and then click the "Select MDF" button. When the "daisy_default.mdf" is displayed in the upper right column, select the "Modify" button.
Modify MDF file dialog
The message, "Please note that this MDF is read-only, but you may modify it and save it with another name!" is shown. Select "OK".
When the "Modify MDF file" dialog is displayed, highlight each element in the left column and review the details presented on the right. On the right side, there are fields for "Name", "Class", "Desc" (Description) and "Level", and check boxes for "Include in NCC", "Link back" and "Nested item". Please refer to "Help" if you require the further information about the MDF function.
In this XHTML source file there is a span element which is used as a breakpoint. Select the "Create tag" button at the lower left of the dialog. Type "span" in the "Name" column, leave the "Class" blank, add "span ID" for the "Desc", and "nothing" for the "Level", then uncheck the three boxes. When you make sure that you have completed these steps correctly, select the "Save tag" button.
Create a new tag
"span ID" is now added to the column on the left. Select "OK". When the confirmation message is shown, click "Yes". The "Change file name" dialog will open. Key in the name for this new MDF file created for this project and select "OK".
Type the MDF file name
The new MDF that you have saved is in the Current MDF file list on the left. This is the MDF that you will use with this project.
.We_Believe_in_DAISY.mdf is listed
Read more about MDF in the MDF Overview.