[comp.sys.mac] TeachText's file types 'ttro' and 'TEXT'

norman@a.cs.okstate.edu (Norman Graham) (01/13/90)

Are there any differences between TeachText files of type 'ttro'
and those of type 'TEXT' (besides their icons being different).

I vaguely remember seeing a TeachText file with multiple fonts and
pictures (of course, I may have been hallucinating). Can 'ttro' files
contain formatted text and graphics; if yes, how do you create them?

If I imagined the formatted TeachText file, just tell me so and I'll
sit down and shut up.
-- 
Norman Graham                            Oklahoma State University
  Internet:  norman@a.cs.okstate.edu     Computing and Information Sciences
      UUCP:  {cbosgd, rutgers}           219 Mathematical Sciences Building
              !okstate!norman            Stillwater, OK  USA  74078-0599

Armadillo@cup.portal.com (Russ Armadillo Coffman) (01/14/90)

>Are there any differences between TeachText files of type 'ttro'
>and those of type 'TEXT' (besides their icons being different).

ttro = TeachText Read Only - you can't modify the contents. This is handy
for distributing "read me"-type docs you don't want people to modify
inadvertently. Type TEXT TeachText docs can be edited. If you want to edit
a TT doc, just change its filetype to TEXT. To make it read-only again,
change it back to ttro. Filetype is case-sensitive.

For newly created docs, the default filetype is TEXT.

>I vaguely remember seeing a TeachText file with multiple fonts and
>pictures (of course, I may have been hallucinating). Can 'ttro' files
>contain formatted text and graphics; if yes, how do you create them?

Don't think you can change the font, but adding pictures is easy. For every
Option-Space in TeachText, it will display a PICT resource attached to the
file, starting at ID = 1000. A quick way to make the PICTs is is to paste
them to the Scrapbook. Then use ResEdit to copy and paste them to your
TeachText file, renumbering them sequentially from 1000.

An even better way to make self-reading text docs with pictures is to use
the shareware program DOCMaker. Resulting files don't need the DOCMaker app
to read them - just double-click. You can even create "chapters," and skip
to chapters sequentially or randomly using buttons at the bottom of the
window.

Now, fokes, how do you display a text file with imbedded pictures with a
simple double-click from the desktop in all-powerful DOS? :) -Russ