8 $_$_CHANGE_POLICY Document author  : John A Fotheringham8 $_$_CHANGE_POLICY Document Subject : AscToHTM Tag Manual9 $_$_CHANGE_POLICY Document Company name : JafSoft Limited 8 $_$_CHANGE_POLICY Open links in new browser window : yes $_$_TABLE_BORDER 0 $_$_TABLE_CELLPADDING 2  $_$_TITLE AscToHTM Tag Manual 8 $_$_CHANGE_POLICY Highlight Definition Text        : Yes( $_$_CHANGE_POLICY Bullet Char			   : '-'6 $_$_CHANGE_POLICY Minimum TABLE column separation  : 26 $_$_CHANGE_POLICY Default TABLE Header cols        : 12 $_$_CHANGE_POLICY Default TABLE Border size	   : 03 $_$_CHANGE_POLICY Default TABLE cell padding	   : 2 . $_$_CHANGE_POLICY Cross-refs at level 		   : 1- $_$_CHANGE_POLICY Background colour : #FEEBD6 + $_$_CHANGE_POLICY Headings colour : #804000 7 $_$_CHANGE_POLICY Preserve underlining of headings : no $ $_$_DEFINE_HTML_FRAGMENT HTML_HEADER <CENTER>A <H2>The "Tag Manual" for JafSoft's text conversion utilities</H2> E <p><font size=-1>This documentation can be downloaded as part of the  L documentation set in <A HREF="http://www.jafsoft.com/doco/a2hdoco.zip">.zip  format</A></font></p> 	 </CENTER>  <HR NOSHADE>
 $_$_END_BLOCK $ $_$_DEFINE_HTML_FRAGMENT HTML_FOOTER <HR NOSHADE> <TABLE WIDTH="100%">B <TR><TD WIDTH=100><a href="http://validator.w3.org/"><img border=0I         src="vh40.gif" alt="Valid HTML 4.0!" height=31 width=88></a></TD> ?     <TD ALIGN="CENTER">Converted from a single text file by <A  >       HREF="http://www.jafsoft.com/asctohtm/">AscToHTM</A><br>K &copy; 1997-2001 <A HREF="mailto:info@jafsoft.com">John A. Fotheringham</A>  </TD><TD ALIGN="RIGHT"><A 2       HREF="http://www.jafsoft.com/asctohtm/"><IMG4       SRC="a2hlogo.jpg" WIDTH=100 HEIGHT=36 BORDER=00       ALT="Converted by AscToHTM"></A></TD></TR> </TABLE>
 $_$_END_BLOCK   Q This file was generated by [[VERSION]] from this [[SOURCE_FILE]] on [[TIMESTAMP]]    $_$_CONTENTS_LIST      1 Introduction    . [JafSoft] have produced the following programs  <       - [AscToHTM] converts plain text files into HTML files;       - [AscToRTF] converts plain text files into RTF files   H These programs share the same text analysis engine, and should do a goodG job of understanding the structure of the text document and replicating  it in the target format.  L However frequently users will want to have control over how the output looksG and occasionally the text analysis will go wrong.  For that reason the   software supports   D       - a large number of configuration options that act as rules orD         "policies".  These policies may be saved in an external fileF         called a policy file, so that the same combination of policiesE         can be re-loaded.  The use of policies is described fully in   	the [Policy Manual].   F       - The addition of special tags to the source file which tell the:         program's "pre-processor" how to process the file.  F This document describes the tagging system that the software supports.    ! 1.1 Overview of the pre-processor   M During the analysis process the software reads the source files line-by-line. < The pre-processor recognises special keywords in two ways :-         *Directives*  I       "Directives" consist of a single line in the source file beginning  A       with the string "$_$_" followed by a recognised keyword and @       any additional "attributes" that the directive supports.           *In-line tags*  I       In-line tags, as the name implies, can occur anywhere in the source H       lines.  They are enclosed between the special strings "[[OT]]" andH       "[[CT]]".  Between these strings the tag consists of a keyword and,       then any attributes that tag supports.  G In both cases the tag or directive cannot be split over multiple lines, I that is directives must be on a line by themselves, and in-line tags must % be wholly contained on a single line.   9 Examples of a directive and in-line tags are shown below.   
 $_$_BEGIN_PRE        $_$_LINERULE 75%  N       The BR tag means this text will be broken [[OT]]BR[[CT]] into two lines. $_$_END_PRE   
 becomes :-   $_$_LINERULE 75%@ The BR tag means this text will be broken [[BR]] into two lines.    ? Some tags can be expressed in either directive or in-line form.      1.2 Directives  K Directives exist on a line by themselves in the source text.  They have the  form   	$_$_<keyword> <attribute_list>   F where the "$_$_<keyword>" must occur at the start of the line and the  <keyword> must be recognised.   P If the "$_$_<keyword>" is not at the start of the line, the directive is ignoredH and treated as end-user text.  This device has been used to date to aid 3 conversion of AscToHTM's own documentation to HTML.   G The format of the <attribute_list> depends on the particular tag, but a $ general description is given in 1.4.     1.3 In-line tags  L In-line tags may occur anywhere within end-user text, but *not* on directive? lines or inside other in-line tags.  In-line tags have the form   ' 	[[OT]]<keyword> <attribute_list>[[CT]]   P that is the <keyword> and its <attribute_list> are between "[[OT]]" and "[[CT]]"N delimiters.  Initially the start and end delimiters must lie on the same line  of the source text.   O The <keyword> must be recognised, even if the tag is not yet fully implemented.   F Note, the delimiters "[[OT]]" and "[[CT]]" are themselves dynamically  configurable.     G The format of the <attribute_list> depends on the particular tag, but a $ general description is given in 1.4.     1.4 Tag attribute lists   K The <attribute_list> should be a comma-delimited set of attribute values.   M The number and types of attributes expected will depend on the tag concerned.   H Some tags allow attributes to be optionally omitted, and a default valueD used instead.  If the attribute being omitted is not the last on the3 list, then a place-saving comma should be supplied.    Examples   	TAG 1,2,3,4	// full list $ 	TAG 1,,3,4	// argument 2 is missing+ 	TAG 1,,3,	// arguments 2 and 4 are missing * 	TAG 1,,3	// arguments 2 and 4 are missing+ 	TAG 1		// arguments 2, 3 and 4 are missing   G If a *mandatory* argument is missing (one for which no default value is * permitted), a TAG_ERROR will be signalled.  M Each attribute in the list will be of a particular type.  Supported types are   (       - numeric values (mostly integers)/       - strings (enclosed in quotes (see below) F       - coded lists... e.g. an alignment attribute can take the values(         'L' for Left, 'R' for Right etc.  H If a particular attribute value is incorrect for the expected type, then a TAG_ERROR will be signalled.  F String attributes should be be placed in quotes if they contain commasM themselves.  It's probably good practice to place them in quotes in any case. 9 Quotes within string attributes should be doubled up e.g.   5       "This string has the word ""quotes"" in quotes"    becomes   1       This string has the word "quotes" in quotes    Here are some examples  ( 	TAG 1,2			// arg 1 is '1', arg 2 is '2'+ 	TAG ,2			// arg 1 is missing, arg 2 is '2'   - 	TAG "one",2		// arg 1 is 'one', arg 2 is '2' 5 	TAG "say one",2		// arg 1 is 'say one', arg 2 is '2'   . 	TAG "a,b", 2		// arg 1 is 'a,b', arg 2 is '2'< 	TAG "say ""one"""", 2	// arg 1 is 'say "one"', arg 2 is '2'  8 	TAG 			// both arguments missing, defaults will be used9 	TAG ,			// both arguments missing, defaults will be used : 	TAG ,,			// both arguments missing, defaults will be used     1.5 Error handling  ) 1.5.1 Unrecognised and unimplemented tags   J Unrecognised and unimplemented tags will be signalled via messages.  TheseN messages will be given different severities.  The software allows messages to L be filtered by severity and type, so in this way the testing and production ; versions of the software can be made to report differently.      1.5.2 Parse errors  N All failures to fully parse a tag will be reported.  The actual error recoveryJ (if any) will vary on a tag-by-tag basis.  Usually the tag will simply be P ignored, removed from the end-user text and signalled as in error.  Occasionally, a certain default behaviour may be possible.  K For example, a failure to fully parse the attribute list of a LINERULE tag  M would probably default to outputting a simple <HR> into the HTML, rather than ) completely ignoring the LINERULE request.        1.6 Tagging restrictions  F     - Most tags are either directives or in-line tags.  Only a few may       be used as either.  K     - The tag must be wholly contained on a single line in the source file.   1       Directives must be on a line by themselves.   D       You can have multiple in-line tags on one line, but no single 4       in-line tag may be spread over multiple lines.  )     - Nested in-line tags are not allowed        2. Using the pre-processor  H The preprocessor was originally introduced into AscToHTM to allow users - more flexibility in the HTML they generate.     A The pre-processor allows [AscToHTM] and [AscToRTF] to be used as  O an authoring tools, as opposed to a simple text conversion or migration tool.     H Preprocessor lines are not normally output to the HTML or RTF generated.K Instead they are used to modify the conversion process in a number of ways.     ! 2.1   Marking up sections of text   G The pre-processor can be used to mark sections in your document so that 4 the program will correctly process them as you wish.  @ Note:	The software does attempt to spot much user-formatted text?       	automatically, but this is a difficult area and prone to ?       	error.  Hence the use of these directives can reduce the $       	error rate on such occasions.   Examples include :-          *[[GOTO SECTION]]*  J       This directive is used to divide the document up into named sectionsH       that may then be conditionally included/excluded from a particular       conversion.   '       *[[GOTO BEGIN/END_TABLE]]* [[BR]] 1       *[[GOTO BEGIN/END_DELIMITED_TABLE]]* [[BR]] 0       *[[GOTO BEGIN/END_COMMA_DELIMITED_TABLE]]*  K       These pairs of directives are used to bracket tables of various types I       in the source text.  The software will attempt to detect plain text J       tables, but if this goes wrong adding these commands can correct the       analysis  H       Within these tables you can use other TABLE pre-processor commandsG       to tailor the HTML generated (see "[[GOTO The TABLE commands]]").   #       *[[GOTO BEGIN/END_CONTENTS]]*   K       Used to mark up a contents list in the source document.  The software L       will attempt to automatically detect the presence and location of any J       contents list in the document, but the algorithm can be problematic,2       and only really works for numbered headings.         *[[GOTO BEGIN/END_HTML]]*   I       Delimits a section of raw HTML code to be copied to the output file        unchanged.  &       *[[GOTO BEGIN/END_CODE]]* [[BR]])       *[[GOTO BEGIN/END_DIAGRAM]]* [[BR]]        *[[GOTO BEGIN/END_PRE]]*  O       Delimits sections of pre-formatted text.  CODE refers to software samples C       whilst DIAGRAM refers to ASCII art.  PRE is the more general  C       "pre-formatted" text, although currently all 3 have the same         implementation.   !       *[[GOTO BEGIN/END_IGNORE]]*   I       Delimits text that should be ignored.  This could be anything from  Q       comments to copyright statements in the original source file that shouldn't '       appear in the converted document.     : 2.2   Commands that influence the indexing of the document  M Certain directives can be used to alter the document properties.  Often these 7 affect how the document will be searched and indexed.     M In HTML these mostly lead to tags in the <HEAD>..</HEAD> of each page.  Often % these tags produce no visible effect.   F In RTF these lead to field in the document properties being filled in.   Examples include :-          *[[GOTO TITLE]]* [[BR]] #       *[[GOTO DESCRIPTION]]* [[BR]]         *[[GOTO KEYWORDS]]* [[BR]](       *[[GOTO STYLE_SHEET]]* (HTML Only)  J The DESCRIPTION and KEYWORDS commands may be continued on subsequent lines? provided they also begin with the same $_$_<command> directive.     * 2.3 Useful one-line pre-processor commands  I A large number of one-line directives exist.  Those for tables are listed ; the section on [[GOTO The TABLE commands]].  Others include   %       *[[GOTO CONTENTS_LIST]]* [[BR]] !       *[[GOTO HTML_LINE]]* [[BR]]         *[[GOTO INCLUDE]]*  [[BR]]!       *[[GOTO LINERULE]]*  [[BR]] &       *[[GOTO NAVIGATION_BAR]]* [[BR]]       *[[GOTO TOC]]*     2.4 Useful in-line tags   K A large number of in-line tags are available.  These can be used to produce , a number of useful effects.  They include :-  '       *[[GOTO BR (line break)]]* [[BR]]        *[[GOTO GOTO]]* [[BR]]!       *[[GOTO HYPERLINK]]* [[BR]] !       *[[GOTO TIMESTAMP]]* [[BR]]        *[[GOTO SPACES]]* [[BR]]%       *[[GOTO SUPER and SUB]]* [[BR]]        *[[GOTO VARIABLE]]*      2.5   The TABLE commands  D These directives are used to tailor the HTML generated in any tables) AscToHTM creates.  They are placed either   %       _At the top of the file_ [[BR]] I       Directives placed here become defaults for the whole file, and will B       replace any policies that have been set (see the section on 0       "Table Generation" in the AscToHTM manual)  9       _Inside a BEGIN_TABLE ... END_TABLE section_ [[BR]] F       Directives placed here will apply only to the table marked up by!       these commands (see 7.1.2).   D The table commands are described (naturally enough) in the following table.   $_$_BEGIN_DELIMITED_TABLE  $_$_TABLE_BORDER 0 $_$_TABLE_ALIGN CENTER $_$_TABLE_CELLSPACING 2  Directive	Value	EffectP --------------------------------------------------------------------------------F [[GOTO TABLE_ALIGN]]	Align	Specifies the alignment of the whole table.  2 [[GOTO TABLE_BGCOLOR]]	Colour	Colour of background  6 [[GOTO TABLE_BORDER]]	Number	Size of border.  0 = None  2 [[GOTO TABLE_BORDERCOLOR]]	Colour	Colour of border  D [[GOTO TABLE_CAPTION]]	Text	Table caption.  Added centred at the top  B [[GOTO TABLE_CELL_ALIGN]]	Align	Specifies the default alignment of  		cells.  Left, right or center   8 [[GOTO TABLE_CELLSPACING]]	Number	Spacing between cells.  : [[GOTO TABLE_CELLPADDING]]	Number	Padding inside each cell  F [[GOTO TABLE_COLO(U)R_ROWS]]	(none)	If present this specifies that the' 		odd and even rows of the table should ( 		be coloured differently.  See also the1 		[[HYPERLINK POLICY,"Colour data rows"]] policy.   J [[GOTO TABLE_CONVERT_XREFS]]	(none)	If present, indicates that any section# 		cross-references in the table may  		be converted to hyperlinks   		(see also the policy line 7 		[[HYPERLINK POLICY,"Convert TABLE X-refs to links"]])   I [[GOTO TABLE_EVEN_ROW_COLO(U)R]]	Colour	When data rows are to be coloured " 		this specifies the colour of the 		even numbered rows.   ? [[GOTO TABLE_HEADER_ROWS]]	Number	Number of header rows.  These ( 		will be placed in <TH> .. </TH> markup  ; [[GOTO TABLE_HEADER_COLS]]	Number	Number of header columns. ! 		These will be marked up in bold   H [[GOTO TABLE_IGNORE_HEADER]]	(none)	If present, indicates that the first/ 		few line (i.e. the header) should be ignored  5 		when calculating the column structure of the table. L 		See also policy [[HYPERLINK POLICY,"Ignore table header during analysis"]]  D [[GOTO TABLE_LAYOUT]]	Layout	Explicit structure of table in terms of% 		number of columns and their widths. = 		See also policy [[HYPERLINK POLICY,"Default TABLE layout"]]   H [[GOTO TABLE_MAY_BE_SPARSE]]	(none)	If present, indicates that the TABLE$ 		may be sparse (see also the policy. 		[[HYPERLINK POLICY,"Expect sparse tables"]])  M [[GOTO TABLE_MIN_COLUMN_SEPARATION]]	Number	Number of spaces to be taken as a % 		column separator when analysing the  		table (see also the policy: 		[[HYPERLINK POLICY,"Minimum TABLE column separation"]]).  H [[GOTO TABLE_ODD_ROW_COLO(U)R]]	Colour	When data rows are to be coloured" 		this specifies the colour of the 		odd numbered rows.  > [[GOTO TABLE_WIDTH]]	Text	The width of the table (see also the4 		policy [[HYPERLINK POLICY,"Default TABLE width"]])   $_$_END_DELIMITED_TABLE   A Colours should be [[GOTO HTML Colours]] which will placed in the  D various attributes of the <BODY> tag and other.  The program simply , transcribes your value into the output file.     2.6   The CHANGE_POLICY commandE  T       NOTE: 	This feature has the potential to cause mayhem, and as such is offered O       		to users on a "as is" basis.  That is, we offer no support for getting H:       		this feature to have the effect a user may desire.  H       This directive allows you change a particular policy in part of a O       document.  This is a potentially powerful feature, allowing you to tailor J       the conversion of your file *in different sections of that file*, orN       to embed the policy particular to a file in commands inserted at the top       of the file itself.a  '       The syntax of the command line isC  &       	$_$_CHANGE_POLICY <Policy Line>  O       where <Policy_line> is a policy line as it would appear in a policy file, 9       and (usually) as it appears in the [Policy Manual].n  =       For example the following would all be valid directivesl  
 $_$_BEGIN_PREt0       	$_$_CHANGE_POLICY Background Colour : red:       	$_$_CHANGE_POLICY Ignore multiple blank lines : Yes $_$_END_PRE        M       Although how and when they would take affect will depend on the policy.D  M       For example, the background colour would only take effect if splitting  M       the file up, and only on the next file generation.  This works, BTW, soTM       if anyone wants to split a file into many pages, all different colours,w       then be my guest.>       5       There are a *many* caveats to this behaviour :-.  (       - *not all policies are supported*  K       	Not all policies may be changed in this way.  In particular policiesaH       	that open other policy files are not supported.  Even if a policyJ       	if "changed", it does not follow that changing the policy will have       	an effect.[         - *analysis policies*   M       	It is unlikely that this feature can be sensibly used to influence thewL       	analysis of file, other than when placed at the top of the file only.H       	If such a manner it is simply an alternative to using a separate        	policy file.e         - *output policies*d  N       	Output policies are referenced at different times.  Only those that areF       	referenced *after* the line is read from the source file may beH       	influenced, thus things like output file name may have no effect.         - *toggleable policies*e  D       	Not all policies once changed, can be changed back.  This is J       	particularly of policies that contain values to be added to a list.@       	This is an issue that may be addresses in later versions.       	n!       - *unpredictable behaviour*d  L       	Messing with policies can cause unpredictable behaviour.  For exampleL       	if you alter the section splitting parameters, then the chances of a I       	section cross-reference elsewhere in the document being calculated )       	as a correct hyperlink diminishes.t  7       	*That's why this feature is offered UNSUPPORTED*a         - *readahead buffer*  M       	To further complicate matters, AscToHTM uses a readahead, write behind J       	buffer which means that you may need to experiment with the placingI       	of your policy change to within 40 lines (the size of the buffer).e  =       	This problem is alleviated since version [[TEXT 3.2]].     # 2.7 Definition blocks and variablesI  B Using pre-processor tags you can define "blocks" of text known as  "definition blocks".    L Definition blocks allow blocks of output to be defined out of sequence, thatJ is the content is defined in one location, and then may be instantiated at  a number of different locations.   A definition block has the formi  
 $_$_BEGIN_PREt 	$_$_DEFINE_BLOCK <block name> 	..t 	text that forms the block 	..v 	$_$_END_BLOCK $_$_END_PREe  I The text inside the block may contain in-line tags, but it cannot containa any other tag directives._  H To invoke a block use the [[GOTO EMBED_BLOCK]] or [[GOTO INSERT_BLOCK]] 	 commands.[  O One tag that is particularly useful inside blocks is the [[GOTO VARIABLE]] tag.RK You can define variables throughout the document and then quote them inside  a define block.i  G A possible example of use would be the addition of "page" footers.  You G could define the text that goes inside a page footer, and include in iteJ a variable called PAGE_NUMBER.  You can then re-define the PAGE_NUMBER and, output a new page boundary with the commands  
 $_$_BEGIN_PREe# 	$_$_DEFINE_VARIABLE PAGE_NUMBER 21o 	$_$_INSERT_BLOCK PAGE_FOOTERn $_$_END_PREa  . having previously defined a PAGE_FOOTER block.  G It should perhaps be pointed out that "pages" are anathema to HTML, but ? should you want this feature this is a possible implementation.      2.8 HTML colours  E Some tags accept colour values.  These values should be HTML colours rL which - for example - may be placed in the various attributes of the <BODY>  tag.    N You can enter any value acceptable to HTML.  Normally a value is expressed as O a 6-digit hexadecimal value in the range 000000 (black) to FFFFFF (white), but eJ certain colours such as "white", "blue", "red" etc may also be recognised F by HTML.  AscToHTM simply transcribes your value into the output file.6 The list of colours recognised in the HTML standard is   $_$_BEGIN_TABLEa $_$_TABLE_HEADER_COLS 0  $_$_TABLE_BORDER 1 $_$_TABLE_ALIGN C  	Colour		HTML Hex valueo 	--------------------------  	Black		#000000o         Silver		#C0C0C0.         Gray		#808080          White		#FFFFFF         Maroon		#800000d         Red		#FF0000         Purple		#800080p         Fuchia		#FF00FF          Green		#008000         Lime		#00FF00          Olive		#808000         Yellow		#FFFF00d         Navy		#000080e         Blue		#0000FFe         Teal		#008080l         Aqua		#00FFFFa
 $_$_END_TABLEo  L Only these values will be converted by the software to the equivalent names.N Other names exist outside the standard which may not be universally supported.     2.9 English/American spellings  I As far as possible tags support both British English and American EnglishmK spellings.  This mainly occurs with the word "colour" (or "color"), so for i example the directives  #       $_$_TABLE_ODD_ROW_COLOUR ....t and "       $_$_TABLE_ODD_ROW_COLOR ....   are equivalent.i     3 Using HTML fragments   *New in version 4*   3.1 Overview  : _HTML fragments only apply to HTML generation (obviously)_  K The "HTML fragments" feature allows you to define a block of HTML that you  G can then embed in your document at key locations.  These fragments are  L pure HTML that gets transcribed into the output files, but they may contain L [[GOTO "fragment tags"]] that will be replaced by suitable values each time  the fragment is used.i  J Most fragments use reserved names, that is they have a particular meaning L to the program.  If you define fragments with these names they will be used 1 instead of the HTML that is generated by default.s  F Currently only fragments with reserved names are used by the software.G The ability to define and use your own fragments names may be added in s later versions of the software.,  E You can choose to define empty fragments.  This can be done either bysA literally defining a fragment with no HTML in it, or by issuing afY RESET_HTML_FRAGMENT command - see [[GOTO "DEFINE_HTML_FRAGMENT and RESET_HTML_FRAGMENT"]]/  I If an empty HTML fragment is defined then no HTML will be generated.  If .I the fragment name is a reserved name then the result is to suppress that g particular feature.      For example the commandw  )       $_$_RESET_HTML_FRAGMENT NAVBAR_TOP a  L would cause the navigation bar at the top of each page to be suppressed when3 splitting large documents into several small pages.   J HTML fragments may be defined either in the source text, or in a separate E "HTML fragments file".  This file may then be selected via the policy J [[HYPERLINK POLICY,"HTML fragments file"]].  Only the fragments themselvesI will be read from this file, everything else will be ignored, leaving youiL free to add your own comments to this file between the fragment definitions.  L If you don't want to set the policy you can get the same effect by using the# [[GOTO INCLUDE]] command as follows   "       $_$_INCLUDE <fragments file>  I to your source file near the top.  This will copy the fragments file intoeK your source text, so in this case you should include no other text in this  % file as it will appear in the output.n  K You may, if you wish, re-define the HTML fragment later in the file.  This  K will take effect from that point onwards.  For example if you redefine the nI HORIZONTAL_RULE fragment to be an image, you could arrange for this imager2 to change for different sections of your document.    ! 3.2 How to define a HTML fragmentc  , Simply use pre-processor commands as follows  
 $_$_BEGIN_PREe%       $_$_DEFINE_HTML_FRAGMENT <name>o	       ...M2       ...<your HTML with embedded "fragment tags">	       ...d       $_$_END_BLOCKv $_$_END_PREr   For example,  
 $_$_BEGIN_PREn,       $_$_DEFINE_HTML_FRAGMENT NAVBAR_BOTTOM  >       <A HREF="[[OT]]PREV_PAGE[[CT]]"><IMG SRC="prev.gif"></A>>       <A HREF="[[OT]]NEXT_PAGE[[CT]]"><IMG SRC="next.gif"></A>         $_$_END_BLOCK  $_$_END_PREr  F could define a navigation bar for the bottom of each page which adds aF hyperlink to the previous and next page which is added to some .gif.  S The [[GOTO fragment tags]] [[OT]]PREV_PAGE[[CT]] and [[OT]]NEXT_PAGE[[CT]] will be   replaced by the correct URLs.   
 $_$_BEGIN_PREd(       $_$_RESET_HTML_FRAGMENT NAVBAR_TOP $_$_END_PREl or
 $_$_BEGIN_PRE )       $_$_DEFINE_HTML_FRAGMENT NAVBAR_TOPi       $_$_END_BLOCKt $_$_END_PREp  M both define an "empty" top navigation bar, thereby suppressing the generation , of a navigation bar at the top of each page.     3.3 Fragment tags[  M Within HTML fragments special "fragment tags" are supported.  These tags haveNL the same overall format as the more general pre-processor tags, but are only  supported inside HTML fragments.    The following tags are supported    ' 3.3.1 Tags for navigation bar fragmentsl   $_$_BEGIN_TABLEs       Tag			DescriptionnO       ========================================================================= F       PREV_PAGE			URL of previous page.  If no pervious page then URL        				of *this* page  >       CURRENT_PAGE		URL of the current page.  Can be useful if6       				you want to construct a NOFRAMES link to the       				current page.   E       NEXT_PAGE			URL of next page.  If no next page then the URL of s       				*this* page.  8       CONTENTS_TOP		URL of page containing contents list  G       CONTENTS_NEXT_SECTION	As above - but linked to an anchor for the i,       				next section in the contents list.
 $_$_END_TABLE   ( 3.3.2 Tags for horizontal rule fragments   $_$_BEGIN_TABLE        Tag		DescriptionO       =========================================================================eI       RULEWIDTHPC	The calculated ruler width expressed as a percentage.  f>       			Often the program will detect a line, and will set it; 	    		as a <HR> tag of the appropriate percentage width.  l       			This is that value.  ?       RULEWIDTH		The calculated ruler width.  This will be the  <       			percentage width expressed for a default 800 pixel        			wide screen.l  G       RULEHEIGHT	The ruler height.  Not usually varied unless supplied  ,       			as part of a [[GOTO LINERULE]] tag.  I       RULEALIGN		The ruler alignment.  This may sometimes be set to LEFT e<       			if a less that 100% rule is being generated, or it :       			may be set to some other value by a user-supplied 	    		[[GOTO LINERULE]] tag.e
 $_$_END_TABLEp  L The above values are all supplied ready to be used as attribute values.  As J such they should normally be enclosed in quotes in your HTML fragment.  IfJ you're using an <IMG> tag and want to capture the width, use the RULEWIDTHP value.  If you're generating an <HR> tag we recommend the RULEWIDTHPC percentage value instead.      3.4 Reserved HTML fragment names  I Here are the reserved HTML fragment names recognised by the software, and-# their effect on the HTML generated.o   3.4.1 Navigation bar fragments   $_$_BEGIN_TABLEsD       NAVBAR_TOP_FIRST		The navigation bars output at the top of theF       NAVBAR_TOP		first, general or last pages.  Usually the first andI       NAVBAR_TOP_LAST		last navigation bars may wish to omit the previous :     				or next links (since no such page exists).  If the=       				"_FIRST" and "_LAST" fragments are not defined, thea5       				"NAVBAR_TOP" fragment will be used instead.o  F       NAVBAR_MIDDLE		Any navigation bar output in the middle of a page7       				as a result of a [[GOTO NAVIGATION_BAR]] tag.N  K       NAVBAR_BOTTOM_FIRST	As for the "NAVBAR_TOP" fragments, but this time	]6       NAVBAR_BOTTOM		at the bottom of generated pages.       NAVBAR_BOTTOM_LAST	 
 $_$_END_TABLE   " 3.4.2 The Horizontal rule fragment  ?       HORIZONTAL_RULE   The horizontal ruler.  Normally this isd.       			just <HR>, but you can change that by7       			defining a HTML fragment of this name, e.g. towF       			use an <IMG> tag (see [[GOTO A sample HTML fragments file]]).    ! 3.4.3 Table of contents fragmentso  I       These fragments can be used to tailor the appearance of a generatedo       contents list.  =       START_TOC		A fragment to be output before any generated 2 			table of contents.  If not defined the default 7 			behaviour is to output the title "Table of Contents".  @       END_TOC		A fragment to be output after any generated table5 			of contents.  If not defined the default behaviourt. 			is to simply put out a horizontal rule <HR>    ( 3.4.4 HTML headers and footers fragments  I       The program previously supported the insertion of HTML at the startB>       and end of each HTML page generated through the policies  ( 	[[HYPERLINK POLICY,"HTML header file"]]( 	[[HYPERLINK POLICY,"HTML footer file"]]  G       The new fragments HTML_HEADER and HTML_FOOTER provide exactly the[       same functionality.g  L       The use of fragments is encouraged over that of the previous policies,N       so where both are defined, the fragment will be used (e.g. a HTML_HEADER@       fragment will override a "HTML header file" policy value).    7 3.4.5 HTML header and footers (inside FRAMES) fragments   I       A number of fragments can be used to control the creation of header G       and footer FRAMES, and the creation of headers and footers insideeG       the main frame.  The use of these fragments depends on the values        of the policies   7 	[[HYPERLINK POLICY,"Use main header in header frame"]]O7 	[[HYPERLINK POLICY,"Use main footer in footer frame"]]E  _G       which can be used to promote a HTML header/footer from the top ofsI       each HTML page into a frame by itself.  This allows the same policymH       file to be used to generate a non-FRAMES set of pages with headersG       and footers on each page, and also a FRAMES set of pages with thesF       same headers and footers now permanently on display in their own1       frames at the top and bottom of the screen.t  N       The following fragments can be used to define the contents of particular       frames :-p  c@       HEADER_FRAME	If defined, this fragment will be used as the6 			contents of a header frame at the top of the screen  A       FOOTER_FRAME	If defined, this fragment will be used as the  2 			contents of a footer frame at the bottom of the	 			screenY  K       CONTENTS_FRAME	If defined, this fragment will be used as the contentsa5 			of the "contents" frame on the left of the screen.l6 			If not defined the "contents" frame will contain a  			generated contents list  E       MAIN_FRAME_FOOTER If defined, this fragment will be used as they6       			HTML footer of each page that appears in the 2 			main frame.  If defined this will override any : 			HTML_FOOTER fragment, or value defined via policy file.  E       MAIN_FRAME_HEADER If defined, this fragment will be used as thet6       			HTML header of each page that appears in the 2 			main frame.  If defined this will override any : 			HTML_HEADER fragment, or value defined via policy file.      3.5 A sample HTML fragments file  6 The following sample fragments file does the following  D     - Defines a HORIZONTAL_RULE fragment to use an image in place ofH       the <HR> tag.  The image uses the HTML fragment tags RULEALIGN and<       RULEWIDTH to take on the necessary alignment and size.  H     - Defines a HEADER_FRAME that contains a title and link to the home K       page, both centred on the page.  This fragment will only be used wheno!       generating a set of FRAMES.t  K     - Does a reset on the NAVBAR_BOTTOM fragment.  This effectively definesrN       an empty fragment whose effect is to suppress the navigation bar usuallyO       put at the bottom of each page when splitting a large file into sections.   
 $_$_BEGIN_PREh(       !----- sample HTML fragments file        T       Comments in this file (like these) are ignored if the file is selected via the%       "HTML fragments file" policy.  e              !----- Horizontal rules        V       ! Here's a redefinition of the horizontal rules <HR> that the program generates.V       ! I'm replacing them by an image, but I'm capturing the (pixel) width and fixing5       ! the height (otherwise the image would scale).w       ! _       ! Within this fragment I'm using the [[OT]]RULEALIGN[[CT]] and [[OT]]RULEWIDTH[[CT]] HTMLfQ       ! fragment tags to pick up the alignment and width appropriate for the rulew"       ! when the fragment is used.       !tR       ! NOTE, not all <HR> tags created by the program are currently overridden in       !       this way.c       .       $_$_DEFINE_HTML_FRAGMENT HORIZONTAL_RULE)       <DIV ALIGN="[[OT]]RULEALIGN[[CT]]"> C       <IMG SRC="HR.GIF" HEIGHT=4 WIDTH="[[OT]]RULEWIDTH[[CT]]"><BR>n       </DIV>       $_$_END_BLOCKe              !----- Frame headers g       +       $_$_DEFINE_HTML_FRAGMENT HEADER_FRAME        <DIV ALIGN="CENTER">       <H2>header frame</H2> H       <A HREF="http://www.jafsoft.com/">Visit the Jafsoft home page!</A>       </DIV>       <HR NOSHADE>       $_$_END_BLOCK        $       !----- bottom navigation bars   I       ! I don't want any bottom navigation bars so issue a reset command.e?       ! I could just as easily have defined an "empty" fragmentr  +       $_$_RESET_HTML_FRAGMENT NAVBAR_BOTTOM    $_$_END_PRE      t  C The HTML fragments file used on this document is html_fragments.incu     4 Complete TAG list    BASEHREF --------   Type:		Directive@ Description:	Specifies URL that is used to resolve relative URLs! Applies to:	Hyperlinks. HTML onlyi4 See policy:	[[HYPERLINK POLICY,"Document Base URL"]]   Syntax:   # 	$_$_BASEHREF <base URL to be used>s   *New in version 4*   _Ignored in RTF conversions_  @ In HTML the URL is added to a BASE tag inserted into the <HEAD> + section of the output page(s) as follows :-e         	<BASE HREF="url">  C This tag is used to specify the base URL against which all relativeeE URLs should be resolved.  You might want to use this if you are goingiI to copy the page to a mirror location, but not copy the pages referred to  in the relative links.  G The presence of a BASEHREF pre-processor command overrides any base URLnE specified via a [[HYPERLINK POLICY,"Document base URL"]] policy line.p     BEGIN/END_CODE --------------   Type:		Directive9 Description:	Delimits the start and end of a code sample.a Applies to:	Text analysis26 See policy:	[[HYPERLINK POLICY,"Expect code samples"]]   Syntax:o  
 $_$_BEGIN_PREf 	$_$_BEGIN_CODEe 	... 	(lines of code) 	...
 	$_$_END_CODEi $_$_END_PREl  B The BEGIN_CODE ... END_CODE directives are used to bracket a piece" of sample code in the source text.  B In HTML this will either be rendered in <PRE> ... </PRE> markup or? <CODE> ... </CODE> markup (see the discussion about the policy bG [[HYPERLINK POLICY,"Use <CODE>..</CODE> markup"]] to see why the formerN is used as default).      BEGIN/END_COMMA_DELIMITED_TABLE	 -------------------------------e   Type:		Directive5 Description:	Delimits a table of comma-delimited dataO Applies to:	Text analysiss See policy:	(none)   Syntax:r  
 $_$_BEGIN_PREb  	$_$_BEGIN_COMMA_DELIMITED_TABLE 	...  	(lines of comma-delimited data) 	... 	$_$_END_COMMA_DELIMITED_TABLE $_$_END_PREb  H The BEGIN_COMMA_DELIMITED_TABLE ... END_COMMA_DELIMITED_TABLE directivesJ can be used to delimit a series of comma-delimited data values that should? be interpreted as a table (e.g. data originally exported from aP spreadsheet such as Excel)  ? The presence of these directives overrides any value set in theI7 [[HYPERLINK POLICY,"Attempt table generation"]] policy _     BEGIN/END_CONTENTS ------------------   Type:		DirectiveA Description:	Delimits a contents list in the original source fileu3 Applies to:	Text analysis.  Mainly HTML generation.m See policy:	(none)   Syntax:l  
 $_$_BEGIN_PRE  	$_$_BEGIN_CONTENTS  	... 	(original contents list)u 	... 	$_$_END_CONTENTS  $_$_END_PREe  D The BEGIN_CONTENTS ... END_CONTENTS directives are used to bracket aC contents list in the source document.  The program will attempt to iD automatically detect the presence and location of any contents list 6 in the document, but the algorithm can be problematic.  D Use this markup only when the document contains a contents list that& the program fails to detect correctly.     BEGIN/END_DELIMITED_TABLEd -------------------------    Type:		Directive3 Description:	Delimits a table of tab-delimited data	 Applies to:	Text analysis- See policy:	(none)   Syntax:0  
 $_$_BEGIN_PREv 	$_$_BEGIN_DELIMITED_TABLE 	...  	(lines of comma-delimited data) 	... 	$_$_END_DELIMITED_TABLE $_$_END_PRE   < The BEGIN_DELIMITED_TABLE ... END_DELIMITED_TABLE directivesH can be used to delimit a series of tab-delimited data values that should? be interpreted as a table (e.g. data originally exported from ae spreadsheet such as Excel)  ? The presence of these directives overrides any value set in thet7 [[HYPERLINK POLICY,"Attempt table generation"]] policy u     BEGIN/END_DIAGRAMh -----------------a   Type:		Directive; Description:	Delimits the start and end of an ASCII diagramp Applies to:	Text analysisd See policy:	(none)   Syntax:   
 $_$_BEGIN_PREs 	$_$_BEGIN_DIAGRAM 	... 	(ASCII diagram) 	... 	$_$_END_DIAGRAM $_$_END_PRE_  H The BEGIN_DIAGRAM ... END_DIAGRAM directives are used to bracket a piece0 of Ascii art or text diagram in the source text.  9 In HTML this will be rendered in <PRE> ... </PRE> markup.t     BEGIN/END_HTML --------------   Type:		Directive: Description:	Delimits some HTML to be copied to the output  Applies to:	HTML generation only See policy:	(none)   Syntax:e  
 $_$_BEGIN_PREt 	$_$_BEGIN_HTML  	... 	(block of HTML code)e 	...
 	$_$_END_HTMLO $_$_END_PREg   $_$_BEGIN_HTML2       <IMG SRC="a2hdoco1.jpg" BORDER=0 ALIGN=RIGHT+        HEIGHT=160 WIDTH=160 ALT="AscToHTM">e $_$_END_HTML  A The BEGIN_HTML ... END_HTML directives are used to bracket actuals HTML in the source document.  F The bracketed HTML will be transcribed to the output file unconverted.  A This device will allow you to embed images, tables and other HTMLt. constructs not normally generated by AscToHTM.  H This is how the image to the right has been added to the HTML version of this document.  J If you simply wish to insert a single line of HTML, the [[GOTO HTML_LINE]] tag offers a more compact form.F  3 For in-line HTML use the [[GOTO HTML]] in-line tag.R     BEGIN/END_IGNORE ----------------   Type:        	Directive 7 Description: 	Delimits a section of input to be ignoredr Applies to:	All (ignored)t See policy:	(none)  
 Syntax:      a  
 $_$_BEGIN_PREx       $_$_BEGIN_IGNORE	       ...E       (text to be ignored)	       ...a       $_$_END_IGNORE $_$_END_PREf  G This markup can be used to delimit a section to be wholly ignored.  Anya; markup and tags in the ignored section will have no effect.r    
 BEGIN/END_PREp
 -------------r   Type:		Directive: Description:	Delimits a region of pre-formatted ASCII text Applies to:	Text analysis ? See policy:	[[HYPERLINK POLICY,"Minimum automatic <PRE> size"]]y   Syntax:w  
 $_$_BEGIN_PREe 	$_$_BEGIN_PRE 	...$ 	(lines of pre-formatted ASCII text) 	... 	$_$_END_PRE $_$_END_PREf  @ The BEGIN_PRE ... END_PRE directives are largely replaced by theH BEGIN/END_TABLE, BEGIN/END_CODE and BEGIN/END_DIAGRAM directives.  They H are maintained for backwards compatability, and have the same effect as  the BEGIN/END_DIAGRAM commands     BEGIN/END_TABLEh ---------------t   Type:		Directive( Description:	Delimits a plain text TABLE Applies to:	Text analysisf See policy:	(none)   Syntax:t  
 $_$_BEGIN_PRE  	$_$_BEGIN_TABLE 	...) 	(plain text table with data all aligned)i 	... 	$_$_END_TABLE $_$_END_PREt  > The BEGIN_TABLE ... END_TABLE directives are used to bracket aG plain text table in the source text.  The program will then attempt to c" analyse this table as best it can.  . This is explained more in the [AscToTab Doco].  B Inside this section you can add other TABLE pre-processor commands? to tailor the HTML generated (see [[GOTO The TABLE commands]]).      BR (line break)E ---------------_   Type:        	In-lineV) Description: 	Signals a forced line breakE# Applies to:	HTML and RTF generation  See policy:	(none)   Syntax:]         [[OT]]BR[[CT]]   This tag has no attributes._    
 CHANGE_POLICYe
 -------------o   Type:		Directive4 Description:	Changes one of the program's "policies" Applies to:	Allc See policy:	(none)   Syntax:   0 	$_$_CHANGE_POLICY <policy text> : <policy vale>  F where <Policy_text> and <policy value> form a policy line as it would L appear in a policy file, and (usually) as it appears in the [Policy Manual].  N NOTE: 	This feature has the potential to cause mayhem, and as such is offered H 	to users on a "as is" basis.  That is, we offer no support for getting 9       	this feature to have the effect a user may desire.   B This directive allows you change a particular policy in part of a I document.  This is a potentially powerful feature, allowing you to tailor D the conversion of your file *in different sections of that file*, orH to embed the policy particular to a file in commands inserted at the top of the file itself.L  7 For example the following would all be valid directives=  
 $_$_BEGIN_PRE=0       	$_$_CHANGE_POLICY Background Colour : red:       	$_$_CHANGE_POLICY Ignore multiple blank lines : Yes $_$_END_PREs       G Although how and when they would take affect will depend on the policy.	  G For example, the background colour would only take effect if splitting  G the file up, and only on the next file generation.  This works, BTW, so G if anyone wants to split a file into many pages, all different colours,t then be my guest.T       / There are a *many* caveats to this behaviour :-t  (       - *Not all policies are supported*  K       	Not all policies may be changed in this way.  In particular policies_H       	that open other policy files are not supported.  Even if a policyJ       	if "changed", it does not follow that changing the policy will have       	an effect.a         - *analysis policies*t  M       	It is unlikely that this feature can be sensibly used to influence thepL       	analysis of file, other than when placed at the top of the file only.H       	If such a manner it is simply an alternative to using a separate        	policy file.e         - *output policies*d  N       	Output policies are referenced at different times.  Only those that areF       	referenced *after* the line is read from the source file may beH       	influenced, thus things like output file name may have no effect.         - *toggleable policies*t  D       	Not all policies once changed, can be changed back.  This is J       	particularly of policies that contain values to be added to a list.@       	This is an issue that may be addresses in later versions.       	l!       - *unpredictable behaviour*L  L       	Messing with policies can cause unpredictable behaviour.  For exampleL       	if you alter the section splitting parameters, then the chances of a I       	section cross-reference elsewhere in the document being calculatede)       	as a correct hyperlink diminishes.n  7       	*That's why this feature is offered UNSUPPORTED*t         - *readahead buffer*  K       	To further complicate matters, the software uses a readahead, write tD 	behind buffer which means that you may need to experiment with the C 	placing of your policy change to within 40 lines (the size of the  	 	buffer).t  =       	This problem is alleviated since version [[TEXT 3.2]]..    
 CONTENTS_LIST	
 -------------L  = Type:       	Directive or in-line, but better as a directive.mK Description: 	Defines the location to place the contents list (if any).  Byi" Applies to:	Mostly HTML generation See policy:	(none)K       	     	default the contents list is placed at the top of the document ,       	     	before any other end-user text.  
 Syntax:      o  E       $_$_CONTENTS_LIST <number_levels>,<Style>, _More to be defined_h   where,   $_$_BEGIN_TABLE J       <number_levels>	number of levels of heading to be shown in the list -       			1,2,3... A value of "0" means all.  d  %       			The default value will be 0..  %       <Style>		Style of contents listT   			  1	- traditional liste 			  2	- navigation barc   			The default value will be 1.r
 $_$_END_TABLEu      DEFINE/END_BLOCK and RESET_BLOCK  --------------------------------   Type:        	Directiveo) Description: 	Delimits a definition blocko! Applies to:	Document constructiona See policy:	(none)     Syntax:h  
 $_$_BEGIN_PRE % 	$_$_BEGIN_BLOCK <block_name>,<scope> 
       	...       	Block of linesb
       	... 	$_$_END_BLOCK $_$_END_PREe   ande  +       	$_$_RESET_BLOCK <block_name>,<scope>r   where    $_$_BEGIN_TABLEe@ 	<block_name>	The name used to refer to this block.  Block names2 			may be reused, in which case the blocks will be3 			"scoped" so that required block can be resolved.[  ; 	<scope>		The "scope" of this block.  By default blocks areM6 			scoped to be document wide.  If the same name block6 			is defined multiple times then this will determine 8       			the range of document to which this variant of        			the block will apply.  >       			The Scope will be a list of keywords with one keyword>       			taken from each of the following sets.  If no keyword?       			is found, the set's default will be used.  If multiple =       			keywords from the same set are found, and error willl       			be reported.          			Range:F         				GLOBAL (default)         			Application to pages:         				ALL_PAGES (default)r       				ODD_PAGES_ONLY       				EVEN_PAGES_ONLY   
 $_$_END_TABLEP  K The DEFINE_BLOCK...END_BLOCK delimits a definition block.  Such blocks may rH be instantiated by issuing [[GOTO INSERT_BLOCK]] or [[GOTO EMBED_BLOCK]]" commands anywhere in the document.  J The RESET_BLOCK tag may be used to effectively cancel a previously defined block.    J If you define two blocks of the same name with the GLOBAL scope, the firstJ will definition will apply up until the location of the second definition.    , DEFINE_HTML_FRAGMENT and RESET_HTML_FRAGMENT, --------------------------------------------   Type:        	DirectiveeO Description: 	Delimits an HTML "fragment" (see [[GOTO "Using HTML Fragments"]]) ) Applies to:	HTML Document generation only  See policy:	(none)     Syntax:h  
 $_$_BEGIN_PREe0 	$_$_BEGIN_HTML_FRAGMENT <fragment_name>,<scope>
       	...9       	Fragment of HTML which may include "fragment" tagst
       	... 	$_$_END_BLOCK $_$_END_PREO   andF  6       	$_$_RESET_HTML_FRAGMENT <fragment_name>,<scope>   where    $_$_BEGIN_TABLEeI 	<fragment_name>	The name used to refer to this fragment.  fragment nameso5 			may be reused, in which case the fragments will beE6 			"scoped" so that required fragment can be resolved.  = 	<scope>		The "scope" of this fragment.  Same meaning as thatr: 			explained in [[GOTO DEFINE/END_BLOCK and RESET_BLOCK]].
 $_$_END_TABLE    *New in version 4*  J The DEFINE_HTML_FRAGMENT...END_BLOCK delimits a fragment of HTML.  CertainJ fragment names have special meanings that indicate the HTML fragment is toB be used to override the "standard" HTML generated by the software.  @ The RESET_HTML_FRAGMENT tag may be used to effectively cancel a G previously defined fragment.  If a reserved fragment name is reset thisI@ will have the effect of suppressing the generation of that HTML.  ( See also [[GOTO "Using HTML fragments"]]     DEFINE_VARIABLEU ---------------n   Type:        	Directived& Description: 	Defines a variable value! Applies to:	Document constructione See policy:	(none)   Syntax:d  + 	$_$_DEFINE_VARIABLE <name>,<value>,<scope>w   where   7 	<name>		The name by which the variable is to be known.   + 	<value>		The (text) value for the variablee  % 	<scope>		The scope for the variable.i    J Defines a variable value.  This value may be substituted into the document7 text wherever a matching [[GOTO VARIABLE]] tag is used.R     DESCRIPTIONs -----------a   Type:		Directive1 Description:	Specifies the document's descriptionr4 Applies to:	HTML and RTF generation, but differently7 See policy:	[[HYPERLINK POLICY,"Document description"]]e   Syntax:   . 	$_$_DESCRIPTION <Description on rest of line>  P You can repeat this directive over several lines, in which case the descriptionsN will be concatenated.  This allows you to write multi-line descriptions making your source file easy to read.  = In RTF the description forms part of the document properties.[  H In HTML the description is added to a META tag inserted into the <HEAD> + section of the output page(s) as follows :-h  ;       	<META NAME="description" CONTENT="your description">t  D This tag is often used by search engines (e.g. AltaVista) as a briefC description of the contents of your page.  If omitted the first few = lines may be shown instead, which is often less satisfactory.   A The presence of a DESCRIPTION pre-processor command overrides any_T description specified via a [[HYPERLINK POLICY,"Document description"]] policy line.     EMBED_BLOCK  -----------I   Type:        	Directived) Description: 	Delimits a definition blocka! Applies to:	Document constructionp See policy:	(none)   Syntax:H   	$_$_EMBED_BLOCK <name>L   where   0 	<name>		Name of the block to be embedded.  This1 			will be a named DEFINE_BLOCK, resolved subjectr 			to the scoping rules.    J An EMBED_BLOCK command will cause the named DEFINE_BLOCK to be output, butJ without regard to the current context information, and without causing theB prevailing context information (indentation, fonts) to be changed.   See also [[GOTO INSERT_BLOCK]]     ENTITY ------   Type:        	In-linee& Description: 	Displays an HTML Entity.  Applies to:	HTML generation only See policy:	(none)   Syntax:B  +     [[OT]]ENTITY <HTML_entity number>[[CT]]R  o where,  L     <HTML_entity number>        Number to be placed inside &<entity>; markup'                                 in HTMLD   H This tag will create an html entity in the form &<name>; or &#<number>;.L Where the supplied number maps onto a known name, the name will be used withH a view to making the HTML more comprehensible, otherwise the number form is used.  I If the software recognises that the requested entity may not be supportedkJ by those browsers deemed to match the targeted HTML version, a WARNING is  issued.f     FILENAME --------   Type:		In-line> Description:	Substitutes the name of the files being converted! Applies to:	Document constructiont See policy:	(none)   Syntax:a         	[[OT]]FILENAME[[CT]]i    G The tag will be replaced by the name of the file being converted.  This_. facilitates the construction of sentences like  V       "This file was converted from *[[OT]]FILENAME[[CT]]* at *[[OT]]TIMESTAMP[[CT]]*"  
 which becomese  F       "This file was converted from *[[FILENAME]]* at *[[TIMESTAMP]]*"  C With a change introduced in version April 2000 this tag may be usedd/ in the document title and description policies."     FONT ----   Type:        	In-linet7 Description: 	Signals a change in font, font attributesI* Applies to:	Text generation.  Mostly HTML. See policy:	(none)  
 Syntax:      D  >       [[OT]]FONT <flag>,<name>,<size>,<face>,<attribute>[[CT]]   where,   $_$_BEGIN_TABLEtF     <flag>	  Indicates whether this is a "physical" or "logical" font.D       	 	  "Physical" in this content means an actual font name such>       		  as "times", "Logical" will refer to a CSS Class name         			0 = physicale       			1 = logical  D     <name>	  Either the font name (physical markup) or the CSS class"       		  name (logical markup).    E     <size>	  The font size in points.  The default size will be 10pt.r  K     <face>        Indicates whether the font is a serif or sans serif font.i  #                     	0 = serif font-       			1 = sans serif font  5     <attribute>   Indicates the attribute of the fontr         			0 = normale       			1 = italicH       			2 = bolde       			3 = bold italic
 $_$_END_TABLE_     FRACTION --------   Type:        	In-linee# Description: 	Implements a fraction  Applies to:	Text generationT See policy:	(none)   Syntax:	      '       [[OT]]FRACTION <expression>[[CT]]u   wheree   $_$_BEGIN_TABLElG       <expression>	This is the fraction expression which should containt9 			a slash ("/") separating the numerator and denominatore   			Both values must be present. 
 $_$_END_TABLEn     GOTO ----   Type:		In-line; Description:	Adds a hyperlink to the named section heading.LF Applies to:	Hyperlink generation.  HTML and RTF implementations differ See policy:	(none)   Syntax:	  &       	[[OT]]GOTO <Heading_name>[[CT]]   where   @       	<Heading_name>		Name of a heading else where in the file.7       				The text used must match exactly for this tagE+       				to work (case insensitive though).    J Creates a hyperlink to the named section heading.  The heading must match M the text exactly, and be in the same file.  It must also have been recognisedo by AscToHTM as a heading.u  J For more ambitious hyperlinks, check out the [[GOTO HYPERLINK]] tag. This D tag is a simplified version of the TOC variant of the HYPERLINK tag.     HTML ----   Type:        	In-line A Description: 	Allows raw HTML to be embedded in the end-user texti  Applies to:	HTML generation only See policy:	(none)   Syntax:   "       [[OT]]HTML <HTML_text>[[CT]]   where(   $_$_BEGIN_TABLE.B       <HTML_Text>	Rest of line is the raw HTML to be placed in the%       			output stream at this point.e
 $_$_END_TABLEo  H This new in-line tag will allow any additional HTML markup to be passed I directly to the output (e.g. <BLINK>).  Use of this tag should be limitedeJ solely to HTML effects that cannot be achieved through other tags as such 5 markup will be meaningless in any future RTF context._     HTML_COMMENT ------------   Type:        	In-line F Description: 	Allows HTML comments to be embedded in the end-user text  Applies to:	HTML generation only See policy:	(none)   Syntax:   (       [[OT]]HTML_COMMENT <comment>[[CT]]   whereE   $_$_BEGIN_TABLEaE       <comment>		Rest of line is the comment to be placed inside HTMLe3 			comment delimiters <!-- -->.  By convention thisr0 	  		shouldn't contain two dashes "--" anywhere.
 $_$_END_TABLEh  K This tag will allow HTML comments  to be placed in the output.  This effectgI can also be achieved using the [[GOTO HTML]] tag, but that method is morey liable to error.  / Use of this tag should be limited HTML as such ]5 markup will be meaningless in any future RTF context.u    	 HTML_LINET	 ---------e   Type:		DirectiveK Description:	Allows a single line of HTML to be embedded in the source files  Applies to:	HTML generation only See policy:	(none)   Syntax:e  : 	$_$_HTML_LINE <raw HTML commands on the rest of the line>  G This directive allows you to embed a single line of HTML in your source_E file.  The rest of the line is copied across faithfully to the outputi file.e  Y Essentially this offers the functionality as the [[GOTO BEGIN/END_HTML]] section commandsI but in a more compact form.     	 HYPERLINKe	 ---------o   Type:        	In-linerL Description: 	Defines a hyperlink to a  LINKPOINT, TOC entry or external URLF Applies to:	Hyperlink generation.  HTML and RTF implementations differ See policy:	(none)   Syntax:p  A       [[OT]]HYPERLINK <type>,"<link_name>","<display_text>"[[CT]]I   where,   $_$_BEGIN_TABLEa*       <type>		Type of link.  Choices are:-  #       				TOC	- link to a TOC entryi+       				LINK 	- link to a LINKPOINT entrys#       				URL	- link to a named URLe  G       <link_name>	Name of link.  For TOC and LINK this must be the name->       			used in the matching TOC or LINK tag.  For a URL this$       			will be the URL to link to.  <       			TOC and LINK hyperlinks will be checked against the<       			list of known link points.  If no match is found an;       			error is generated, and the tag is simply replaceds       			by the display text.e  I       <display_text>	The on-screen text to be used for the hyperlink.  Ifs3       			omitted it will default to the <link_name>h
 $_$_END_TABLEo     IGNORE_THIS  -----------a   Type:        	In-linecK Description: 	A tag whose contents are ignored.  Could be used for comments)( Applies to:	Comments in the source text. See policy:	(none)   Syntax:	      1       [[OT]]IGNORE_THIS <anything_you_like>[[CT]]a  L This tag is ignored.  It is replaced by a single space in the output stream.L It could be used to add a brief comment to your source that would not appear in the output.     INCLUDEe -------r   Type:		DirectiveN Description:	Specifies an external source file to be included at this location! Applies to:	Document constructionc See policy:	(none)   Syntax:    	$_$_INCLUDE <filespec>   D This directive allows you to specify the name of a source file to beF included at this point.  This is useful if you wish some standard textC inserted into many related documents, or into the same documents atu many locations.   E The <filespec> must be valid for the Operating system being used, andc) the location of the original source file.i  D The contents of the included file will be "copied into" the originalH source file.  The same file may be included more than once, and includedF files may contain other pre-processor commands, including more INCLUDE/ statements, although there are limits on this. l  H The included file will be treated as though it were part of the original0 file during both the analysis and output passes.  A The INCLUDE will fail if the file cannot be found, and a test for % recursive include files will be made.      INSERT_BLOCK ------------   Type:        	Directiveg( Description: 	Invokes a definition block! Applies to:	Document constructiont See policy:	(none)   Syntax:w   	$_$_INSERT_BLOCK <name>   wherel  0 	<name>		Name of the block to be inserted.  This1 			will be a named DEFINE_BLOCK, resolved subjecta 			to the scoping rules.    H An INSERT_BLOCK command will cause the named DEFINE_BLOCK to be inserted3 into the document source as seen as by the program.t  F As such the inserted block will be subject to, and able to change, the9 prevailing context information (indentation, fonts etc.).l   See also [[GOTO EMBED_BLOCK]]      KEYWORDS --------   Type:		DirectiveB Description:	Specifies keywords that help index the file's contentC Applies to:	Document indexing.  HTML and RTF implementations differl4 See policy:	[[HYPERLINK POLICY,"Document keywords"]]   Syntax:a  0 	$_$_KEYWORDS <comma-separated list of keywords>  L You can repeat this directive over several lines, in which case the keywordsH will be concatenated.  This allows you to write multi-line keyword lists% making your source file easy to read.n  9 In RTF the keywords form part of the document properties.l  F In HTML the keywords are added to a META tag inserted into the <HEAD> + section of the output page(s) as follows :-e  =       	<META NAME="keywords" CONTENT="your list or keywords">s  F This tag is often used by search engines when indexing your HTML page.C You should add here any relevant keywords possibly not contained inb the text itself.  G The presence of a KEYWORDS pre-processor command overrides any keywordsaE specified via a [[HYPERLINK POLICY,"Document keywords"]] policy line.i     LINERULE --------  " Type:        	Directive or in-line' Description: 	Signals a horizontal ruled Applies to:	Text generationa See policy:	(none)   Syntax:t  F       $_$_LINERULE <length>,<thickness>,<leading>,<alignment>,<colour> orN       [[OT]]LINERULE <length>,<thickness>,<leading>,<alignment>,<colour>[[CT]]   where    $_$_BEGIN_TABLEeC       <length>		length of line in pixels/pts/percent.  To specify a <       			percentage add the percent sign (%) after the value  1       <thickness>	thickness of line in pixels/ptsr  @       <leading>		leading of line in pixels (not yet implemented)  E       <alignment>	Code indicating the alignment.  Possible values are)         			L - Left aligned        			R - Right aligned o       			C - Centre aligned        			J - justified  B       <colour>		Colour value.  Either an HTML colour like "AABBCC":       			or "red" or a (R,G,B) value like "0.12,0.57,1.0".<       			A RGB value must be included in quotes.  If omitted<       			the linerule will adopt the prevailing text colour.
 $_$_END_TABLET  	 LINKPOINTl	 ---------0   Type:        	In-linee8 Description: 	Marks the location of an HTML anchor pointC Applies to:	Hyperlink targets.  HTML and RTF implementations differ  See policy:	(none)  
 Syntax:         )       [[OT]]LINKPOINT "<link name>"[[CT]]    where,   $_$_BEGIN_TABLE	C       <link_Name>	This is the name by which the link will be known. <       			It is also the text that will be placed in the NAME?       			anchor point, so only valid characters should be used. 
 $_$_END_TABLED     NAVIGATION_BAR --------------   Type:		DirectiveH Description:	Specifies a navigation bar should be added at this location' Applies to:	Text generation.  HTML onlys See policy:	(none)   Syntax:s   	$_$_NAVIGATION_BAR	  D The NAVIGATION_BAR command inserts a navigation bar that takes to toG the next/previous and contents files.  This will only be generated when.^ you have selected to split your file by setting the [[HYPERLINK POLICY,"Split level"]] policy.     NB "non-breaking spaces" ------------------------   Type:        	in-line @ Description: 	Inserts multiple non-breaking spaces into the text Applies to:	Text generationl See policy:	(none)   Syntax:	      (       	[[OT]]NB <Number_of_spaces>[[CT]]  K This tag causes the specified number of non-breaking spaces to be inserted  L into the document.  The default number is 1.  In HTML this is likely to have7 an identical implementation to the [[GOTO SPACES]] tag.t     SAVE/RESTORE_CONTEXT --------------------   Type:        	Directive ) Description: 	Delimits a definition blocke/ Applies to:	Document construction.  Mostly HTMLe See policy:	(none)   Syntax:K   	$_$_SAVE_CONTEXTO 	$_$_RESTORE_CONTEXT    I The SAVE_CONTEXT and RESTORE_CONTEXT are intended for use with definitionr	 blocks.  f  H The SAVE_CONTEXT saves all the current context information (indentation,F font etc) so that the slate may be wiped clean ready for the output of a new block.  H The RESTORE_CONTEXT command recovers the previous SAVE_CONTEXT, allowingG a document to continue as it was before the defined block was inserted.i  I It's unlikely that these tags should been to be used explicitly, but theyT9 will be used implicitly inside the implementation of the x [[GOTO BEGIN/END_HTML]] tags.N     RULESETT -------t   Type:		In-Line1 Description:	Identifies the "Ruleset" to be used. , Applies to:	Different default Policy values. See policy:	(none)   Syntax:$   	$_$_RULESET <Ruleset name>t  G For certain sets of files and customers the software has been optimiseddB to define sets of rules (policy values) appropriate to the type ofI conversions being attempted.  This is a bit like having a built-in policy  file.l     SECTIONp -------s   Type:		DirectiveR Description:	Allows sections to be delimited in support of conditional conversions! Applies to:	Document constructiono See policy:	(none)   Syntax:T   	$_$_SECTION <section_name>t    C This directive is used to divide the document up into named sectioneD types.  Section type names can be repeated through the document, and? by default text is assumed to belong to a section called "all",e> indicating that this text is always copied to the output file.  L Section type names must contain no white space, but may contain underscores.  D This has no effect unless the user supplies a policy file indicating? that they wish to select only certain section types for output.t  1 For example, if the text document looks like thisc  
 $_$_BEGIN_PRE : 		Some text that'll always get copied, because it is in an&       		"all" section type by default.         	$_$_SECTION Private  B       		Some text that will be copied either when the preprocessorA       		is switched off, or when the user's policy file indicatesT8       		that "private" section types are to be included.         	$_$_SECTION Other  2       		Likewise, this is an "other" section type.         	$_$_SECTION Private  ,       		And here's some more "private" text.         	$_$_SECTION all  F       		Some text that will always get copied because it is explicitly!       		in an "all" section type.< $_$_END_PREn  D Then the two section types marked "private" won't be copied into theM converted file unless the user then supplies a policy file with a policy linet of the formp  /       	Include document section     :   PrivateR  > If the "other" section is also wanted this should be change to  6       	Include document section     :   Private, Other    > Note:	Be aware that any sections omitted are also omitted from8 	the analysis pass.  This may have unexpected results as@       	the program responds only to the input text that is to be       	included in the output.     SOURCE_FILEm -----------s   Type:      	In-lineoD Description: 	Adds a hyperlink to the source file that was converted Applies to:	Text generationn See policy:	(none)   Syntax:p  /       	[[OT]]SOURCE_FILE <hyperlink_text>[[CT]]i   wherei  @       	<Hyperlink_text>	Text displayed on the link.  The default       				is "source file"    H Creates a hyperlink to the original source file.  The generated link is G a local link that assumes the source is placed in the same directory ask the HTML file.     SPACES ------   Type:        	in-linel: Description: 	Inserts horizontal white space into the text Applies to:	Text generationE See policy:	(none)   Syntax:	    <       	[[OT]]SPACES	<Number_of_spaces>,<Size_of_space>[[CT]]   $_$_BEGIN_TABLEc7       <number of spaces>	Size of white space in spaces.   3       <Size_of_space>		Size of white spaces in pts.y
 $_$_END_TABLEl  K This tag causes a number of spaces to be inserted into the document to give L a horizontal gap.  The size of the gap can be specified in Spaces or points.  5 When present the size in points will take precedence.   M In HTML this will probably be implemented by inserting multiple non-breaking  L spaces &nbsp;, the number being equal to the size in points divided by 5 and
 rounded down.n     STYLE_SHEET  -----------h   Type:		DirectiveF Description:	Specifies the name of an external style sheet to be used.$ Applies to:	HTML styling.  HTML only7 See policy:	[[HYPERLINK POLICY,"Document style sheet"]]    Syntax:o  # 	$_$_STYLE_SHEET <URL of .css file>     Note, this applies to HTML only.  C This directive allows you to specify the URL of a style sheet file,mH usually with a .css extension.  Style sheet files are a new HTML featureH that allow you specify fonts and colours to be applied to your document.  D The resulting HTML is inserted into the <HEAD> section of the output page(s) as follows :-e  9       	<LINK REL="STYLESHEET" HREF="URL" TYPE="text/css">L  F The presence of a STYLE_SHEET pre-processor command will overrides anyN style sheet specified via a [[HYPERLINK POLICY,"Document style sheet"]] policy line.i    
 SUPER and SUB0
 -------------e   Type:        	In-linei2 Description: 	Signals a superscript or a subscript Applies to:	Text generation. See policy:	(none)   Syntax:   *       [[OT]]SUPER <superscript_text>[[CT]](       [[OT]]SUB   <subscript_text>[[CT]]     TABLE_ALIGN  -----------<   Type:		Directive> Description:	Specifies the alignment of the table(s) concerned* Applies to:	Table generation.  Mostly HTML: See policy:	[[HYPERLINK POLICY,"Default TABLE alignment"]]   Syntax:a  ! 	$_$_TABLE_ALIGN <Alignment code>"   where,   $_$_BEGIN_TABLES 	<Alignment code>	L[eft] 				R[ight]  				C[enter] 				A[utomatic]m
 $_$_END_TABLE   H Specifies how the table should be aligned with respect to the page.  TheI default behaviour is "automatic", which usually means left-justified, butt2 taking into account any indentation the table has.    
 TABLE_BGCOLORe
 -------------    Type:		DirectiveB Description:	Sets the background colour for the table(s) concerned( Applies to:	Table generation.  HTML only6 See policy:	[[HYPERLINK POLICY,"Default TABLE color"]]   Syntax:	    	$_$_TABLE_BGCOLOR <HTML colour>    ) This tag only applies to HTML production.   D This tells the program what colour to use for the background to eachF cell.  Not all browsers support this.  Only valid HTML Colours may be 	 specifiede     TABLE_BORDER ------------   Type:		DirectiveA Description:	Specifies the border size for the table(s) concernedt( Applies to:	Table generation.  HTML only< See policy:	[[HYPERLINK POLICY,"Default TABLE border size"]]   Syntax:-    	$_$_TABLE_BORDER <integer size>    J This tag only applies to HTML production, where is sets the default value # for the <TABLE> BORDER attribute.  n  H A value of 0 means "no border".  If omitted the border size will be set ' according to the table characteristics.      TABLE_BORDERCOLOR  -----------------    Type:		DirectiveC Description:	Specifies the border colour for the table(s) concernede( Applies to:	Table generation.  HTML only> See policy:	[[HYPERLINK POLICY,"Default TABLE border colour"]]   Syntax:m  , 	$_$_TABLE_BORDER_COLOUR <HTML colour value>  I This tag only applies to HTML production, where is sets the border colour 5 for the table.  Not all browsers support this option.a    
 TABLE_CAPTION 
 -------------    Type:		DirectiveC Description:	Specifies the table caption for the table(s) concerneds( Applies to:	Table generation.  HTML only8 See policy:	[[HYPERLINK POLICY,"Default TABLE caption"]]   Syntax:]  5 	$_$_TABLE_CAPTION <rest of line is the caption text>   J This tag only applies to HTML production, where it sets the table caption.  D The caption should normally only be applied to individual tables, asF applying the same caption to all tables is unlikely to may much sense.     TABLE_CELLPADDINGe -----------------e   Type:		DirectiveG Description:	Specifies the CELLPADDING value for the table(s) concerned ( Applies to:	Table generation.  HTML only= See policy:	[[HYPERLINK POLICY,"Default TABLE cell padding"]]    Syntax:   & 	$_$_TABLE_CELLPADDING <Integer value>    C This tag only applies to HTML production, where it sets the <TABLE>TK CELLPADDING attribute value.  The CELLPADDING specifies the amount of whites8 space added *inside* each cell around the cell contents.     TABLE_CELLSPACING> -----------------i   Type:		DirectiveG Description:	Specifies the CELLSPACING value for the table(s) concernedT( Applies to:	Table generation.  HTML only= See policy:	[[HYPERLINK POLICY,"Default TABLE cell spacing"]]    Syntax:t  & 	$_$_TABLE_CELLSPACING <Integer value>    C This tag only applies to HTML production, where it sets the <TABLE>nK CELLSPACING attribute value.  The CELLSPACING specifies the amount of whitei' space added *between* individual cells.      TABLE_CELL_ALIGN ----------------   Type:		DirectiveL Description:	Specifies the alignment to be applied to each cell in the table Applies to:	Table generation.c? See policy:	[[HYPERLINK POLICY,"Default TABLE cell alignment"]]i   Syntax:s  & 	$_$_TABLE_CELL_ALIGN <Alignment code>   where,   $_$_BEGIN_TABLEe 	<ALignment_code>	L[eft] 				R[ight]s 				C[enter] 				J[ustified]c
 $_$_END_TABLE     L Specifies the default cell-alignment to be applied to table cells.  NormallyI the program will try to auto-detect a suitable cell alignment on a columnU by column, cel by cell basis.a  I You can use this to (rather crudely) set all cells to be aligned the same ) way if the results are not to your taste."     TABLE_COLO(U)R_ROWS  -------------------A   Type:		DirectiveE Description:	Specifies that table rows should be coloured differently ( Applies to:	Table generation.  HTML only3 See policy:	[[HYPERLINK POLICY,"Colour data rows"]]_   Syntax:o    	$_$_TABLE_COLOUR_ROWS <yes/no>	 or 	$_$_TABLE_COLOR_ROWS  <yes/no>t    D Mote, this only works in HTML production, where the presence of thisI tag specifies that the odd and even rows of the table should be coloured 	 differently.    < If the <yes/no> value is omitted the default value is "yes".  G The actual colours can be set using [[GOTO TABLE_ODD_ROW_COLO(U)R]] and ! [[GOTO TABLE_EVEN_ROW_COLO(U)R]] o     TABLE_CONVERT_XREFSk -------------------t   Type:		DirectiveJ Description:	Specifies that section numbers should be made into hyperlinks Applies to:	Table generation.	@ See policy:	[[HYPERLINK POLICY,"Convert TABLE X-refs to links"]]   Syntax:o   	$_$_TABLE_CONVERT_XREFS    H If present, indicates that any section cross-references in the table may be converted to hyperlinks o     TABLE_EVEN_ROW_COLO(U)Rg -----------------------r   Type:		Directive5 Description:	Specifies colour of even rows in a table ( Applies to:	Table generation.  HTML only@ See policy:	[[HYPERLINK POLICY,"Default TABLE even row colour"]]   Syntax:e  1 	$_$_TABLE_EVEN_ROW_COLOUR <HTML colour value> ort. 	$_$_TABLE_EVEN_ROW_COLOR  <HTML colour value>    H Applies to HTML only.  When data rows are to be coloured this specifies % the colour of the even numbered rows.      TABLE_HEADER_COLSw -----------------e   Type:		Directive> Description:	Specifies the number of header columns in a table Applies to:	Table analysis< See policy:	[[HYPERLINK POLICY,"Default TABLE header cols"]]   Syntax:   2 	$_$_TABLE_HEADER_COLS	<integer number of columns>    M Number of "header" columns (usually just 1).  These will be marked up in bolde     TABLE_HEADER_ROWSn -----------------o  ; Description:	Specifies the number of header rows in a tablet Applies to:	Table analysis< See policy:	[[HYPERLINK POLICY,"Default TABLE header rows"]]   Syntax:a  2 	$_$_TABLE_HEADER_COLS	<integer number of columns>    J Number of "header" rows.  These will be marked up in bold.  If omitted theK software will attempt to detect the header by looking for an underline near  the top of the table.v     TABLE_IGNORE_HEADER  -------------------p   Type:		DirectiveS Description:	Specifies that a table header should be ignored during column analysis  Applies to:	Table analysisF See policy:	[[HYPERLINK POLICY,"Ignore table header during analysis"]]   Syntax:    	$_$_TABLE_IGNORE_HEADER   This tag has no attributes.n  H If present, indicates that the first few lines of the table - assumed toE be the header - should be ignored when calculating the table's columno
 structure.  J This should be enabled if the table has a particularly complex header that may confuse the program.     TABLE_LAYOUT ------------   Type:		(directive/In-line)6 Description:	Specifies the column structure of a table Applies to:	Table analysis7 See policy:	[[HYPERLINK POLICY,"Default TABLE layout"]]Y   Syntax:k  D 	$_$_TABLE_LAYOUT <number of columns>,"<col 1 spec>","<col 2>",.....   where,   $_$_BEGIN_TABLEe+ 	<Number_of_cols>	Integer number of columnse  5 	<col_n_spec>		Specification of the nth column.  The u- 				specification must be contained in quote.   + 				Currently the specification consists of   % 				- the end position of the column.h  ' 				More may be added in later versions 
 $_$_END_TABLE    An example would be   ! 	$_$_TABLE_LAYOUT 3,"6","21","32"A  H which describes a 3-column table with column boundaries at the 6th, 21st and 32nd character positions.g  5 Normally this directive should be placed between the dG BEGIN_TABLE...END_TABLE directives for the table it applies to, therebyRI overriding the "intelligent" analysis the program would otherwise attemptN for a plain text table.d     TABLE_MAY_BE_SPARSEI -------------------y   Type:		DirectiveH Description:	Specifies that a table may be expected to be largely empty. Applies to:	Table analysis7 See policy:	[[HYPERLINK POLICY,"Expect sparse tables"]],   Syntax:a   	$_$_TABLE_MAY_BE_SPARSE   This tag has no attributes.k  J If present, indicates that the TABLE may be sparse, that is it is expectedK to have a large number of empty cells.  This can affect the table analysis.r     TABLE_MIN_COLUMN_SEPARATIONa ---------------------------k   Type:		Directive< Description:	Specifies the minimum gap between table columns Applies to:	Table analysisB See policy:	[[HYPERLINK POLICY,"Minimum TABLE column separation"]]   Syntax:   ; 	$_$_TABLE_MIN_COLUMN_SEPARATION <integer number of spaces>-  E Number of spaces to be taken as a column separator when analysing the  table.     TABLE_ODD_ROW_COLO(U)R ----------------------   Type:		Directive4 Description:	Specifies colour of odd rows in a table( Applies to:	Table generation.  HTML only? See policy:	[[HYPERLINK POLICY,"Default TABLE odd row colour"]]I   Syntax:-  0 	$_$_TABLE_ODD_ROW_COLOUR <HTML colour value> or- 	$_$_TABLE_ODD_ROW_COLOR  <HTML colour value>e    H Applies to HTML only.  When data rows are to be coloured this specifies $ the colour of the odd numbered rows.     TABLE_WIDTHn -----------    Type:		Directive1 Description:	Specifies the width of an HTML tablec( Applies to:	Table generation.  HTML only6 See policy:	[[HYPERLINK POLICY,"Default TABLE width"]]   Syntax:n  7         $_$_TABLE_WIDTH <table in pixels or percentage>D  H This tells the program what value to use for the WIDTH attribute of the  HTML table.t  H The WIDTH is specified either as a number (of pixels) or as a percentageG (of screen width).  Thus "400" and "75%" are both valid values (withoutI the quotes)m     TEXT ----   Type:		In-line> Description:	Adds text without applying any conversions to it. Applies to:	Text generation. See policy:	(none)   Syntax:b  (       	[[OT]]TEXT <protected_text>[[CT]]   wherec  B       	<protected_text>	Text to be protected.  May contain number,3       				url or emphasis characters that shouldn'te       				be converted  L Protects the supplied text from normal conversions.  e.g a software version N number that could become a hyperlink to a section number, a url that shouldn't be converted etc.b    	 TIMESTAMPn	 ---------m   Type:      	In-liner, Description: 	Adds a date to the output text Applies to:	Text generation. See policy:	(none)  
 Syntax:      E   	[[OT]]TIMESTAMP[[CT]]  P Outputs the date of conversion into the output file in the format dd-mmm-yyyy.  C No attributes as yet, but expected to have formatting options addedt     TITLE$ -----O   Type:		Directive) Description:	Specifies the document titleCC Applies to:	Document indexing.  HTML and RTF implementations differC1 See policy:	[[HYPERLINK POLICY,"Document Title"]]n   Syntax:   + 	$_$_TITLE <Rest of line is the title text>r  5 In RTF this becomes the title in document properties.X  H in HTML this allows you to specify the <TITLE>...</TITLE> to be insertedF into the <HEAD> section of the output page.  This title will appear inF the browser's frame title whenever the page is viewed, and will be the% text shown in your browser's history.f     TOC[ ---B   Type:        	Directive G Description: 	Marks a Table of Contents entry, and the location of the t, Applies to:	Hyperlink generation.  HTML only See policy:	(none)       		associated hyperlink  
 Syntax:      e  2       $_$_TOC <level>, <link name>, <display text>   where,   $_$_BEGIN_TABLEeC       <level>		the level in the TOC, starting with 1 being the mostf-       			significant, equivalent to "chapter"i  F       <link name>	The (usually short) name by which this linkpoint may>       			be known.  This is the value used to create an ANCHOR2       			point, and which may be referenced in any       			HYPERLINK tag.  n  I       <display text>	The text to be shown in the TOC.  This will also be  =       			used to generate an ANCHOR name, and may be used in e>       			a TOC type HYPERLINK Tag, although this is marginally5       			less portable than referencing the link namei  <       			If omitted, defaults to the link name, and only one       			ANCHOR is created.   
 $_$_END_TABLEu  @ The TOC directive marks a point in the file that will receive anF anchor point, and then be linked to from any generated contents lists.  F This can be useful to index non-headings like key diagrams and tables.  0 See also the section on [[GOTO HYPERLINK]] tags.     VARIABLE --------   Type:		In-lineB Description:	Adds text from the matching DEFINE_VARIABLE statement Applies to:	Text generatione See policy:	(none)   Syntax:    	[[OT]]VARIABLE <name>[[CT]]  V The tab will be replaced by the value of the nearest matching [[GOTO DEFINE_VARIABLE]]B statement.  Over time it is expected that some variables (section K heading, page number etc.) will be automatically "defined" by the software.e     VERSIONx -------    Type:      	In-line < Description: 	Adds a description of the program name/version Applies to:	Text generatione See policy:	(none)   Syntax:h       	[[OT]]VERSION[[CT]]  M Outputs the version name of the conversion into the output file.  For examplei "[[VERSION]]".  