DSL tags

Lingvo

DSL tags

All tags look like the following: «[a]». "a" is a particular tag symbol, toggling a particular mode on. The respective toggling-off tag looks like «[/a]».

[b], [/b] - boldfaced type.

[i], [/i] - italics.

[u], [/u] - underlined type.

[c], [/c] - colored (highlighted) type.

[*], [/*]  - the text between these tags is only displayed in full translation mode (see); sample translations etc. are usually marked by these tags.

[mN] - this tag sets the left paragraph margin (counted from the left card margin). N is any digit from 0 to 9. N spaces will separate the left margin of any paragraph entered between this tag and its toggle-off tag («[/m]») and left card margin. The toggle-off tag must be entered explicitly.

[trn], [/trn] - to mark a translation section.

[ex], [/ex] - to mark a sample section.

[com], [/com] - to mark a  comment section.

[s],[/s] - to mark a multimedia section (it is used to insert pictures or sound files into a dictionary entry (card)).

[url],[/url] - to insert reference to a web-page.

[!trs], [/!trs] - the text between these tags will be excluded from indexing, and, respectively, from full-text search.

[p], [/p] - labels marking (when a label is pressed a window with its definition appears).

[lang][/lang] - the language of a word or a phrase; you must specify it for the words in the card that are written in other language than the one specified for the dictionary entry (if you do so, such words will be available for full-text search, translation, etc.) Parameters: language name or language ID (say, [lang id=1]). The language name must be enclosed in brackets, for example [lang name="Russian"]. See the list of supported DSL languages in "Supported languages" section.

[ref][/ref] - reference to a card in the same dictionary (you may also use << and >> signs to enclose the card heading to make a reference).

[sub][/sub] - subscript.

[sup][/sup] -  superscript.

Note: According to DSL language rules the embedding of index zones, as well as formatting commands of one and the same type, is forbidden.