TagMaster 2.0 Manual  (Table of Contents)
  Chapter 1 , Section 2    
2.3 Using the preferences (Previous) (Next)
 

 

General:

The general pane of the preferences window contains all preferences related to the TagMaster Build file scripting language.

Short tag:

The start and end text boxes for the short tag (see Appendix A, "TagMaster Commands" for more information on short tags) allow you to choose the type of short tag TagMaster will detect. This will apply to an entire project, spanning many build files. It is important that once you choose the format in which you will be adding tags in your html files, that you use that format consistently for later use.

The Start text box defines the text that will occur before the tag name to represent the tag; and the End text box accordingly defines the text that will occur after the tag name. Consider the following example: in the tag named "myTag", if the Start box contained % % (the default) and the End box also contained % %, then the short tag myTag would be represented in html by "% %myTag% %".

Wide tag:

Wide tags (see Appendix A, "TagMaster Commands" for more information on wide tags) are different than short tags in that they are composed of two different text parts in the html: the start tag and the end tag. The entire contents of the start tag, the end tag, and all consecutive text in between are considered part of a wide tag. The text between the start tag and the end tag (excluding the tag itself) is considered the contents of the tag, and can be used as such.

In the preferences window, the start tag is represented by the start and end boxes at the left of the Wide tag box, while the end tag is presented by the start and end boxes at the right of the Wide tag box.

In the default setting, both the start tag and end tag are html comments. Thus the text before the name of the wide tag in the start tag is a standard html comment format: <!--tag ". The text occuring after the name completes the standard comment tag with a "-->. The end tag is similarly structured, except that instead of <!--tag ", the start of the end tag is represented by <!--/tag ", with a forward slash in front of the tag descriptor.

Use relative filenames:

The use of relative filenames is described in detail later on (see 2.4, "Absolute vs. relative filenames" ). The "Use Relative Filenames" preference allows you to direct TagMaster to use relative filenames whenever possible, or not use them at all. If the box is unchecked, then even if TagMaster has the ability to use relative filenames, it will not. Otherwise, relative filenames will be used in all cases after the file is saved. If the file is not yet saved on disk, however, relative filenames can never be used.

Treat first record as field names:

The use of databases with TagMaster is described in detail in Chapter 3. The "Treat first record as field names" preference allows you to refer to a field in a database by its name instead of the order that it is listed in the file. After this option is selected, however, the first record in the database will not be considered part of the data, and will not be used in loops involving the database.

Indent preferences:

TagMaster automatically indents text while you are composing your Build file. This preference allows you to define how your text will be indented. The default is two spaces, which means two spaces for each indent. Also available are: 1 space, 3 spaces, 1 tab, or 2 tabs.

Font:
This pane allows you to set the type face and size of the text of the Build file. To restore the text to its defaults, click the "Restore Defaults" button.

Colors:
You can choose different styles and colors for different types of text in your Build file. Comments, or text occuring on a line after a double hyphen "--", for instance, could be made italics and green. Strings, or blocks of text occuring between quotes, are by default colored red, but could be made bold and blue. Reserved words, like "tag" or "include" or "new" may also have their own characteristics. To return the text to its defaults, click the "Restore Defaults" button.

 

© Copyright 1997-1999 Dataczar Technologies. All rights reserved.