Using text components: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Text is the primary way in which you represent knowledge in SuperMemo. You will spend a lot of time processing texts, esp. if you learn to employ [[incremental reading]]. This is why your decisions about choosing appropriate text components are important. | Text is the primary way in which you represent knowledge in SuperMemo. You will spend a lot of time processing texts, esp. if you learn to employ [[Glossary:Incremental_reading|incremental reading]]. This is why your decisions about choosing appropriate text [[Glossary:Component|components]] are important. | ||
Plain text components have traditionally been the most often used text components in earlier versions of SuperMemo. | Plain text [[Glossary:Component|components]] have traditionally been the most often used text components in earlier versions of SuperMemo. They consume little space and can be searched at high speeds with SuperMemo low-level search procedures. With the advent of [[Glossary:Incremental_reading|incremental reading]], however, [[HTML component|HTML components]] have become the default text [[Glossary:Component|components]] in SuperMemo. [[HTML component|HTML components]] provide many formatting options, however, they consume more disk space. If disk space is very important for you, use ''Classic'' [[Glossary:Template|template]] (and its derivatives) for [[Glossary:Item|items]] instead of HTML-based templates (see: [[Templates|Using templates]]). Optimally, you should use [[HTML component|HTML components]] with [[Glossary:Incremental_reading|incremental reading]] and use ''Classic'' plain text [[Glossary:Template|templates]] on [[Glossary:Item|items]] that have been completed (i.e. formulated in their final shape). SuperMemo automatically removes formatting from texts used in plain text [[Glossary:Component|components]] when you run '''[[File menu|File]] : [[File - Repair collection|Repair collection]]''' with '''Rebuild registries''' checked. This practice helps you keep your [[Glossary:Collection|collections]] compact and fast. | ||
The table below summarizes pros and cons of using various text components in SuperMemo: | The table below summarizes pros and cons of using various text [[Glossary:Component|components]] in SuperMemo: | ||
{| style="background-color: rgb(192, 192, 192);" border="1" cellspacing="5" cellpadding="5" | {| style="background-color: rgb(192, 192, 192);" border="1" cellspacing="5" cellpadding="5" | ||
Line 13: | Line 13: | ||
|- | |- | ||
| [[HTML component|'''HTML''' component]] | | [[HTML component|'''HTML''' component]] | ||
This component is used by templates such as ''Item'', ''Article'', ''Item Picture'', etc. | This [[Glossary:Component|component]] is used by [[Glossary:Template|templates]] such as ''Item'', ''Article'', ''Item Picture'', etc. | ||
| | | | ||
#richest formatting | #richest formatting | ||
#full | #full incremental reading support | ||
#full HTML and JavaScript support | #full HTML and JavaScript support | ||
#images can be inserted in the text | #images can be inserted in the text | ||
Line 28: | Line 28: | ||
| | | | ||
#Internet Explorer 6.0 or later required | #Internet Explorer 6.0 or later required | ||
#fonts can be modified by templates only before the text is typed in (unless you use a stylesheet with the template) | #fonts can be modified by [[Glossary:Template|templates]] only before the text is typed in (unless you use a stylesheet with the template) | ||
#all texts kept in separate files (this slows down copying of large collections) | #all texts kept in separate files (this slows down copying of large [[Glossary:Collection|collections]]) | ||
| | | | ||
#default text format | #default text format | ||
#incremental reading | #[[Glossary:Incremental_reading|incremental reading]] | ||
#richly formatted files with scripts and multimedia | #richly formatted files with scripts and multimedia | ||
#whole websites | #whole websites | ||
Line 40: | Line 40: | ||
|- | |- | ||
| '''Plain text''' component | | '''Plain text''' component | ||
This component is used by the ''Classic'' template | This [[Glossary:Component|component]] is used by the ''Classic'' template | ||
| | | | ||
#fonts can be modified globally via templates | #fonts can be modified globally via [[Glossary:Template|templates]] | ||
#small size of data | #small size of data | ||
#speed | #speed | ||
Line 53: | Line 53: | ||
| | | | ||
#no rich formatting | #no rich formatting | ||
#unsuitable for incremental reading | #unsuitable for [[Glossary:Incremental_reading|incremental reading]] | ||
| | | | ||
#simple question-answer items (e.g. created with '''Remember cloze''') | #simple question-answer [[Glossary:Item|items]] (e.g. created with '''Remember cloze''') | ||
#transparent labels | #transparent labels | ||
|- | |- | ||
| '''Rich text (RTF)''' component | | '''Rich text (RTF)''' component | ||
This component is used in templates such as ''RTF Article'', ''RTF Item'', etc. | This [[Glossary:Component|component]] is used in templates such as ''RTF Article'', ''RTF Item'', etc. | ||
| | | | ||
#rich text formatting | #rich text formatting | ||
#subset of incremental reading | #subset of [[Glossary:Incremental_reading|incremental reading]] | ||
#search possible | #search possible | ||
#search&replace possible | #search&replace possible | ||
Line 73: | Line 73: | ||
#may not be supported in the future | #may not be supported in the future | ||
#large size of files | #large size of files | ||
#very slow processing of longer texts or large collections | #very slow processing of longer texts or large [[Glossary:Collection|collections]] | ||
#cannot modify font with templates nor stylesheets | #cannot modify font with [[Glossary:Template|templates]] nor stylesheets | ||
#cannot interlace pictures and other multimedia | #cannot interlace pictures and other multimedia | ||
| | | | ||
#incremental reading in the absence of Internet Explorer | #[[Glossary:Incremental_reading|incremental reading]] in the absence of Internet Explorer | ||
#rich formatting in the absence of Internet Explorer | #rich formatting in the absence of Internet Explorer | ||
|- | |- | ||
| '''Spelling''' component | | '''Spelling''' [[Glossary:Component|component]] | ||
Used in the template ''Spelling'' | Used in the [[Glossary:Template|template]] ''Spelling'' | ||
| | | | ||
Line 89: | Line 89: | ||
#small size | #small size | ||
#speed | #speed | ||
#font modifiable via templates | #font modifiable via [[Glossary:Template|templates]] | ||
#search possible | #search possible | ||
#search&replace possible | #search&replace possible | ||
Line 100: | Line 100: | ||
|- | |- | ||
| Binary component | | Binary [[Glossary:Component|component]] | ||
| | | | ||
#using all possible proprietary formats that are not supported by other components | #using all possible proprietary formats that are not supported by other [[Glossary:Component|components]] | ||
| | | | ||
Line 111: | Line 111: | ||
#search&replace not possible | #search&replace not possible | ||
#translation and phonetic transcription not available | #translation and phonetic transcription not available | ||
#cannot modify font via templates | #cannot modify font via [[Glossary:Template|templates]] | ||
| | | | ||
#importing all text formats that are not supported by the HTML component (e.g. | #importing all text formats that are not supported by the [[HTML component]] (e.g. mind maps, etc.) | ||
|- | |- | ||
Line 130: | Line 130: | ||
#translation and phonetic transcription not available | #translation and phonetic transcription not available | ||
#may be annoyingly unstable if there are problems with the OLE server | #may be annoyingly unstable if there are problems with the OLE server | ||
#cannot modify font via templates | #cannot modify font via [[Glossary:Template|templates]] | ||
| | | | ||
#using data formats that cannot be used with HTML component but support OLE in the presence of an OLE server | #using data formats that cannot be used with [[HTML component]] but support OLE in the presence of an OLE server | ||
|- | |- | ||
| '''Sound''' component | | '''Sound''' [[Glossary:Component|component]] | ||
| | | | ||
#sound can be associated with the text | #sound can be associated with the text | ||
#search possible | #search possible | ||
#search&replace possible (including [[Filter files|'''Apply filter''']]) | #search&replace possible (including [[Filter files|'''Apply filter''']]) | ||
#font modifiable via templates | #font modifiable via [[Glossary:Template|templates]] | ||
#phonetic transcription and translation supported | #phonetic transcription and translation supported | ||
Line 154: | Line 154: | ||
|- | |- | ||
| '''Image''' component | | '''Image''' [[Glossary:Component|component]] | ||
| | | | ||
#can represent most complex formatting needed for mathematical or chemical formulas (as a picture, e.g. JPG) | #can represent most complex formatting needed for mathematical or chemical formulas (as a picture, e.g. JPG) | ||
Line 164: | Line 164: | ||
#search&replace not possible | #search&replace not possible | ||
#translation and phonetic transcription not available | #translation and phonetic transcription not available | ||
#cannot modify font via templates | #cannot modify font via [[Glossary:Template|templates]] | ||
| | | | ||
Line 171: | Line 171: | ||
|} | |} | ||
See also | == See also == | ||
*[http:// | *[http://super-memory.com/help/faq/texts.htm '''FAQ''': Text components] | ||
*[[Using fonts]] | *[[Using fonts]] | ||
*[[Fonts tab in Options|Font options]] | *[[Fonts tab in Options|Font options]] | ||
*[http://wiki | *[http://supermemopedia.com/wiki/Finding_out_the_default_font_size_used_in_HTML_components#Followup FAQ: Why so many complex components?] | ||
*[http://wiki | *[http://supermemopedia.com/wiki/How_can_I_see_if_a_component_is_plain_or_HTML%3F How to differentiate between plain text and HTML?] |
Revision as of 03:35, 25 March 2016
Text is the primary way in which you represent knowledge in SuperMemo. You will spend a lot of time processing texts, esp. if you learn to employ incremental reading. This is why your decisions about choosing appropriate text components are important.
Plain text components have traditionally been the most often used text components in earlier versions of SuperMemo. They consume little space and can be searched at high speeds with SuperMemo low-level search procedures. With the advent of incremental reading, however, HTML components have become the default text components in SuperMemo. HTML components provide many formatting options, however, they consume more disk space. If disk space is very important for you, use Classic template (and its derivatives) for items instead of HTML-based templates (see: Using templates). Optimally, you should use HTML components with incremental reading and use Classic plain text templates on items that have been completed (i.e. formulated in their final shape). SuperMemo automatically removes formatting from texts used in plain text components when you run File : Repair collection with Rebuild registries checked. This practice helps you keep your collections compact and fast.
The table below summarizes pros and cons of using various text components in SuperMemo:
Type | Advantages | Disadvantages | Typical use |
HTML component
This component is used by templates such as Item, Article, Item Picture, etc. |
|
|
|
Plain text component
This component is used by the Classic template |
|
|
|
Rich text (RTF) component
This component is used in templates such as RTF Article, RTF Item, etc. |
|
|
|
Spelling component
Used in the template Spelling |
|
|
|
Binary component |
|
|
|
OLE component |
|
|
|
Sound component |
|
|
|
Image component |
|
|
|