I have a dictionary with three glosses which run together in the definition display. I have already fixed the problem in the summary gloss using the post The Summary Gloss - how to make it work properly?
Here is a sample entry:
The problem only occurs for minor entries. CSS classes .minorentrycomplex and .minorentryvariant.
I’ve looked at the CSS but can’t see other definitions which might be affecting the display. I have found what look to be typos on a number of entries where the FLEx export has chopped the last letter off a class description, e.g. abbreviatio instead of abbreviation. This affects the glosses as the final s is missed in some definitions, e.g. .definitionorglos and .definitionorglos_swahili but fixing this doesn’t solve the problem.
Can anyone suggest where to look in the XHTML or CSS files?
Can you confirm that you are using the XHTML export format in FieldWorks? If so, if you double-click on the .xhtml file (so that it opens in a browser), do the glosses run together or not? In other words, is the problem with the entry format in FieldWorks or the XHTML export, or does DAB not display the entry according the format in the XHTML format?
And one last question: In DAB Appearance > Styles > Modifications, is the “Modify style for single entries” box checked or not? If it is checked, can you try a build with it unchecked?
With Sara’s help I tracked down the problem. The main entry had a separate “definitionorgloss” FLEx dictionary configuration for each language but the minor entry only had one definition. This is the correct format:
Creating separate configurations for the minor entries added extra tags to the XHTML which solved the problem. I also didn’t need to do the search and replace, which was suggested in the summary gloss question I mentioned above, as the tags are now in the file.
This is the original XHTML format with one FLEx configuration definition for all the languages: