Structure of DSL card

Lingvo

Structure of a DSL card

A DSL card has the following structure:

  1. The heading

    Must be entered in the first position of a new line. The only symbols you can use in the headingare: the alphabetical symbols of Russian and English languages, numbers, space, -,'," and {} - to mark unsorted part of the header.

  2. The card body

    Lines following the one containing the heading are the card body; the symbol in their first position must be either a space (or several spaces) or a tab (or several tabs). The end mark for card body is either the heading of the next card (i.e., a non-space and non-tab symbol in the first position of the line) or the end of file.

    NB! The order of zone is not obligatory: you can put labels, references to web-pages and pictures anywhere in the card body.

If the card body has too much information, you can reduce it for the display. Mark a part of an card (for example, phrase section) as shown only in full translation mode, and the part marked by you will be displayed only when full translation mode is on. The rest of the card, called brief translation, is displayed at all times. Any part of a card but the heading can be marked as displayed only in full translation mode; you can mark as many card parts as you want as such. If the full translation mode is on, all card parts marked as such will be displayed; if this mode is off, all card parts marked as such won't be displayed. As of now, Lingvo uses a different color to display sections marked as displayed only in full translation mode.

To mark a part of a card as shown only in full translation mode:

  • The beginning of the text is marked with the «[*]» tag, the end — «[/*]» tag.

You can insert one or several blank lines between the body of one card and the heading of the next one as it facilitates the reading of the source dictionary text. Entries can be entered in any order you want (violating, for example, the alphabetical order). You cannot enter two different entries with the same heading. This restriction doesn't apply to headings varying in case (you can have, for example, a card cardigan and a card Cardigan, or even a card caRdigan).

How the headings are sorted
Text formatting
DSL tags
Subentry
Sample DSL entries