Using text components: Difference between revisions

From SuperMemo Help
Jump to navigation Jump to search
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. These 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: [[Templates|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 menu|File]] : Repair collection''' with '''Rebuild registries''' checked. This practice helps you keep your collections compact and fast.  
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 [[incremental reading]] support  
#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. mail messages, mind maps, etc.)
#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://supermemo.com/help/faq/texts.htm '''FAQ''': Text components]  
*[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.supermemo.org/index.php?title=Finding_out_the_default_font_size_used_in_HTML_components#Followup FAQ: Why so many complex components?]  
*[http://supermemopedia.com/wiki/Finding_out_the_default_font_size_used_in_HTML_components#Followup FAQ: Why so many complex components?]  
*[http://wiki.supermemo.org/index.php?title=How_can_I_see_if_a_component_is_plain_or_HTML%3F How to differentiate between plain text and HTML?]
*[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.

  1. richest formatting
  2. full incremental reading support
  3. full HTML and JavaScript support
  4. images can be inserted in the text
  5. Unicode support
  6. search possible
  7. search&replace possible
  8. phonetic transcription possible
  9. can use stylesheets
  1. Internet Explorer 6.0 or later required
  2. fonts can be modified by templates only before the text is typed in (unless you use a stylesheet with the template)
  3. all texts kept in separate files (this slows down copying of large collections)
  1. default text format
  2. incremental reading
  3. richly formatted files with scripts and multimedia
  4. whole websites
  5. files that can be displayed in Internet Explorer (e.g. XLS, PDF, DOC, RTF, GIF, etc.; see FAQ below)
Plain text component

This component is used by the Classic template

  1. fonts can be modified globally via templates
  2. small size of data
  3. speed
  4. can be made transparent (e.g. to write over images)
  5. search possible
  6. search&replace possible (including Apply filter)
  7. automatic translation and phonetic transcription
  1. no rich formatting
  2. unsuitable for incremental reading
  1. simple question-answer items (e.g. created with Remember cloze)
  2. transparent labels
Rich text (RTF) component

This component is used in templates such as RTF Article, RTF Item, etc.

  1. rich text formatting
  2. subset of incremental reading
  3. search possible
  4. search&replace possible
  5. phonetic transcription possible
  1. may not be supported in the future
  2. large size of files
  3. very slow processing of longer texts or large collections
  4. cannot modify font with templates nor stylesheets
  5. cannot interlace pictures and other multimedia
  1. incremental reading in the absence of Internet Explorer
  2. rich formatting in the absence of Internet Explorer
Spelling component

Used in the template Spelling

  1. used for spelling tests
  2. small size
  3. speed
  4. font modifiable via templates
  5. search possible
  6. search&replace possible
  1. useless beyond spelling tests
  1. spelling exercises
Binary component
  1. using all possible proprietary formats that are not supported by other components
  1. clicking the Run button is necessary to view the text
  2. files can only be edited if the proprietary editor is installed
  3. words do not enter the lexicon
  4. search not possible
  5. search&replace not possible
  6. translation and phonetic transcription not available
  7. cannot modify font via templates
  1. importing all text formats that are not supported by the HTML component (e.g. mind maps, etc.)
OLE component
  1. using proprietary formats that support OLE (e.g. mind maps)
  1. requires a relevant OLE server
  2. very large size of files
  3. files can only be edited if the proprietary editor is installed
  4. words do not enter the lexicon
  5. search not possible
  6. search&replace not possible
  7. translation and phonetic transcription not available
  8. may be annoyingly unstable if there are problems with the OLE server
  9. cannot modify font via templates
  1. using data formats that cannot be used with HTML component but support OLE in the presence of an OLE server
Sound component
  1. sound can be associated with the text
  2. search possible
  3. search&replace possible (including Apply filter)
  4. font modifiable via templates
  5. phonetic transcription and translation supported
  1. slow
  2. cannot be made transparent
  3. provide no advantages over plain text if no sound associated
  1. pronunciation exercises
  2. learning material narration
Image component
  1. can represent most complex formatting needed for mathematical or chemical formulas (as a picture, e.g. JPG)
  1. large size of files
  2. words do not enter the lexicon
  3. search not possible
  4. search&replace not possible
  5. translation and phonetic transcription not available
  6. cannot modify font via templates
  1. complex formulas that are hard to represent in HTML or OLE

See also