![](https://static.isu.pub/fe/default-story-images/news.jpg?width=720&quality=85%2C50)
2 minute read
“Masks” (Selectively Hiding Specific Information on a Per-Edition Basis
draw |drô| (noun) a tie in a game or sports match: the match was a draw; (verb) to create a picture or diagram, usu on paper: to draw a picture ► draw the line define or establish a boundary or limit: “We draw the line at swearing”; (verb intransitive) to proceed or move steadily: a ship drawing near the
shore
Advertisement
gray = grey
grey |grā| (adjective) of a colour that is intermediate between black and white; (noun) a neutral colour between black and white u·ni·ver·si·ty |yū'nə-vûr'sĭ-tē| (noun) an institution of higher learning with teaching and research facilities that is authorised to grant academic degrees:
She graduated from the University of London in 1981.
[Middle English universite, from Old French, from
Medieval Latin ūniversitās]
• Pocket edition:
draw noun. a tie in a game or sports match verb. to create a picture or diagram, usu on paper • draw the line define or establish a boundary or limit gray = grey grey adjective. of a colour that is intermediate between black and white noun. a neutral colour between black and white university noun. an institution of higher learning with teaching and research facilities that is authorised to grant academic degrees
With Ctrl+P (or “Format/Toggle current style set”) one can toggle between the different style sets. If one has prepared, say, five style sets, then one can ‘run through’ all of them by pressing Ctrl+P consecutively.
“Masks” (Selectively Hiding Specific Information on a Per-Edition Basis)
(Please refer to the sample “Multiple Editions Sample using Masks.tldict”.) This sample demonstrates the "Masks" aspect of the "multiple dictionaries from one database" functionality in TLex.
The database contains two 'editions' - a 'full edition', and a smaller 'pocket edition' derived from the full edition. One entry is used to generate two possible output versions (i.e. the two editions constitute two different “views” of the same underlying entry data). Each edition has its own set of styles, and thus its own ‘look’. The styles also define whether or not particular fields are entirely hidden in an edition; for example, the "Pronunciation" field is hidden in the Pocket edition. You can press Ctrl+P (or use "Format/Toggle current style set") to switch between the two 'views' (editions), or click on the name of the edition in the top right of the Preview Area. There are generally two different 'methods' in which fields can be selected to be hidden for each edition. You can use either one method or the other, or both methods combined, depending on your requirements.