Tips for MDF construction

Use "default.mdf" if possible.

LpStudio/Pro and Sigtuna DAR contains a "default.mdf" file which may be sufficient for the production of most books. If it is not sufficiently extensive, you may only need to modify the default mdf slightly. If you modify the default MDF it should be saved under a new MDF file name.

Use the "import source" feature of the mdf editor screen in LpStudio/Pro

In the "file" menu of the MDF editor, you may choose the import source feature. LpStudio/Pro will analyze your source file and suggest MDF settings for each found element. Although it may be necessary to modify the suggested settings slightly, this can be a good way to create an MDF that is customized for a specific book.

Delete elements without text from the MDF

Normally, only elements with text nodes should be included in the MDF file. For example, the element <br /> should be deleted from the MDF, because it has no text.


Another example:
<ol>
 <li>List item 1</li>
 <li>List item 2</li>
</ol>

In this example, only "li" has text. Therefore, "ol" should be deleted from the MDF file.

Delete elements from MDF that you do not want as a separate synchronization item.

The example below demonstrates a situation where many producers would choose to delete "em" from the MDF file.


 <p>I was <em>very</em> surprised.</p>