G       The HTML version of this document has - of course - been produced F       using AscToHTM itself.  No post-processing has been done to the J       HTML pages produced.  The contents list, the navigation bar and all G       the hyperlinks have been generated from a single [[SOURCE_FILE]]  >       a2hdoco.txt and a number of small configuration files.    C       The source text file for this manual is over 5,000 lines and  H       *still* growing having spawned the 6,500 line [Policy Manual] and F       a 3,800 line [Tag Manual].  See section 6.1 of this document to .       see a list of the actual files involved.  G       Any RTF version has been generated by the new text-to-RTF program ?       AscToRTF which uses the same analysis engine as AscToHTM.   D       This document describes AscToHTM version [[TEXT 4]], which is &       available from May 2001 onwards.   $_$_CONTENTS_LIST    1     Introduction ------------------  G       AscToHTM is an ASCII to HTML conversion tool.  It has, of course, B       been used to generate the HTML version of this document fromX       the text file a2hdoco.txt (see [[GOTO an example conversion]] for more details).    H       The HTML version of this document is presented "as is".  That is, K       *no post-production of the HTML has occurred*.  This should give you  /       a flavour of what AscToHTM is capable of.   I       Any RTF version of this document will have been made by [AscToRTF], C       the sister product that shares the same text analysis engine.   C       AscToHTM is made available for download via the Internet from        [download location].    " 1.1   AscToHTM's design objectives   1.1.1 Intelligent analysis.   K       AscToHTM is designed to analyse a document to determine its structure K       and layout.  This analysis allows AscToHTM to decide how best to mark E       up the HTML so as to accurately represent the author's original !       meaning as far as possible.   K       This analysis helps AscToHTM to reduce errors by allowing it to spot  I       anomalies in the document source.  This is important in minimising  D       the amount of any post-production work required to fix errors.     1.1.2 Human-readable HTML   H       AscToHTM tries to create HTML that can be easily read and modifiedD       in an editor.  This is useful if corrections are necessary, or&       further development is required.         For example AscToHTM  =       	a) produces short (usually <80 character) output lines   G         b) attempts to indent the HTML to match the output indentation.   B       	c) adds comments to the HTML to indicate include files etc.  I       	d) uses <BLOCKQUOTE> tags for indentation, rather than placing the 1            whole file in <TABLE>...</TABLE> tags.   K         e) produces "clean" HTML without large numbers of unnecessary tags.   O       Note, later moves to make more standards-compliant and browser-compatible L       HTML code tend to work against making user-readable code.  For exampleN       most browsers have rendering problems when newline characters are placedN       in certain key locations, whereas adding newline characters can make the       HTML easier to read.     1.1.3 Simple user input   J       Inevitably users have supply additional information to tell AscToHTMI       where its analysis has gone wrong and to add additional information F       such as a document title etc.  AscToHTM offers a large number ofB       options (also known as "policies") that the user can modify.  :       Broadly speaking, these policies fall into two camps  N       	- *Analysis policies*.  These policies affect the way AscToHTM analysesH           your file, and can be used to disable searches for things likeG           bullets, or to specify whether or not underlined headings are            to be expected.   H         - *Output policies*.  These policies influence the types of HTMLL           markup that are produced.  They also allow you add colour, headersA           footers, background images and much more to your pages.   F       AscToHTM can save your policies to a file, so that next time youG       run it you can load this information back from the "policy" file. H       This also allows you to create different sets of policies (e.g. to$       use different colour schemes).  :       Policies are described fully in the [Policy Manual].  H       You can further refine the conversion by placing special lines andL       tags into your source file.  These are known as pre-processor commandsY       (see [[GOTO Using the preprocessor]]) and in-line tags (see [[GOTO In-line tags]]).   C       The preprocessor tags are described fully in the [Tag Manual]   J       To help users formulate and modify their document's policy, AscToHTM@       can be made to create an output policy file (see 4.2.2.9).D       Users can then simply edit this file and feed it back into the       conversion process.     O       A summary of the recognised policy lines is given in the [Policy manual].      1.1.4 Standards compliance.   N       Earlier versions of AscToHTM (before version [[TEXT 3.2]]) made no real I       attempt to be standards compliance.  Now standards compliance is a  G       stated goal or the program.  Sadly I can't _guarantee_ standards  K       compliance because the HTML generation is so complex that errors can  K       and do occur, but it _is_ a goal, and usually documents will validate        with few problems.  K       Compliance has proved to be vital to get cross-browser compatability, J       and to stand a chance of successfully applying CSS to created pages.  I       Original versions of AscToHTM were (loosely) targeted at producing         HTML [[TEXT 3.2]] code.   N       Currently the software is targeted at "HTML [[TEXT 4.0]] Transitional", I       which allows CSS, but also permits <FONT> tags (although these are  H       deprecated).  This is a compromise standard that is best placed to-       be well viewed by V3 and V4 browsers.     F       Future versions of the program may attempt to generate stricter L       HTML [[TEXT 4.0]] code, while still offering production of the earlier       HTML standards.   J       The policy [[HYPERLINK POLICY,"HTML version to be targeted"]] offers9       some ability to choose the style of HTML generated.      1.2   Expected uses of AscToHTM   8       - Placing text files quickly and easily on the web  E       	Plain text is still a very popular data format.  It is easy to I       	generate, and easy to read.  However text files when placed on the H         web don't look as nice as normal web pages.  AscToHTM will allowH         you to quickly add the HTML markup required to turn a plain textG         page into a nice looking HTML page.  Because it is an automated L         conversion it will save you time, and ensure you avoid typos in HTMLM       	tags that could stop the page displaying wrongly in some web browsers.   +       - Migration of "legacy" text to HTML.   G         Large amounts of unconverted text exist.  As people plan to put M       	this information on the Web, conversion to HTML will become necessary.   L       	This can be a tedious and time-consuming task.  AscToHTM will do much       	of the work for you.   B       	AscToHTM is priced to be worth an hour of two of your time.N       	This means that the "pay back" time is negligible (we only mention thisI       	in case you have bean-counters to convince :).  If you don't think E         AscToHTM will save you hours, then by all means don't buy it.   3       - Facilitate mastering of HTML pages in ASCII   M       	The HTML created by AscToHTM may not be as pretty or as clever as that A       	generated by a full blown HTML editor (read as "bloated").   
       	But...   H       	It'll be easier to write, edit and spell-check, and it may have a% 	hyperlinked contents list generated.          - Automated conversions   I         AscToHTM can be used to automatically convert text documents that I         you receive.  For this we usually suggest you run in command line 
         mode.   %       - Conversion of reports to HTML   I       	Many people have legacy systems that generate printed reports that F       	may be saved to file.  AscToHTM can help extend the lifetime ofF       	such systems by turning their output to HTML.  It may be you'llF       	need some help in getting the best results from the program in @       	such cases, since many reports consist of complex tables.  ,       - Conversion print spool files to HTML  L       	Printer spool files are not strictly speaking plain text, but often -M       	especially in older software systems - these files are plain text with G       	a few printer controls added.  Some users have had great success H       	converting such files using asctohtm, and to support this we haveG       	added a limited ability to recognise and strip out Unix control  J       	characters, VT escape sequences and PCL printer codes.  If you haveH       	a requirement in this area, contact the author at jaf@jafsoft.comF       	to discuss whether the software can be made to meet your needs.     1.3   Other uses of AscToHTM         - Convert Word documents  I         Please note, AscToHTM *DOES NOT* convert Word's .doc or .rtf file          formats.  H       	AscToHTM was _never_ intended to handle Word documents.  We fullyD       	expect HTML export and import filters to appear (they have inE       	Word '97), and we would advise anyone whose master document is ?       	in Word to search out these filters and give them a try.   D       	That said... a lot of people seem unhappy with what's alreadyJ         available, and AscToHTM does a reasonable job if you save the fileM       	as text with line breaks, though obviously tables and figures will get C       	lost (in the case of tables, because Word throws them away).   G       	The main problem is that Word produces lousy looking text.  This I       	is one area where AscToHTM does a little better than "garbage in,         	garbage out"   ,       - Pre-process text for import to Word.  7       	(This is a bit cheeky, but does actually work.).   G       	Use AscToHTM to convert text to HTML, then import this into your K       	word processing package.  Since the text analysis engine in AscToHTM C 	out-performs that in Word in many respects (URL, table and heading E 	detection to name but three), you can often get better results than   	importing from text direct..   F       	That's because AscToHTM's analysis engine is *smarter*.  That'sK       	not just our view (see http://www.jafsoft.com/asctohtm/reviews.html)   @ 	NOTE: The same text analysis engine is used in the text-to-RTF F       	      program [AscToRTF], which is more suited to this purpose.  %       - Pre-process text for printing   E       	Use AscToHTM to convert text to HTML, then print the file from G       	within Netscape or whatever.  The result is a much nicer looking #       	document with fonts'n'stuff.   0       - Add hyperlinks to fairly ordinary pages.  H         AscToHTM has a "link dictionary" feature that can be used to addC         hyperlinks to any word or phrase (see the [Policy Manual]).   D       	This can greatly enhance an otherwise dull set of text pages.     2     Installation ------------------  F       The shareware version of AscToHTM is made available over the webG       from [Download location].  Once you register you can download the J       full version (no nags, no limits), and will be notified of upgrades.G       To date all upgrades have been free, but we cannot guarantee that I       this policy will continue for ever.  So far I've *never* requested  L       payment for any [updates] in over 4 years of continuous development.  =       You can see this history in the [[GOTO Change History]]   H       Installation will vary according to the type of install kit you'veC       downloaded, but in each case you first download the .ZIP file +       appropriate to your system and unzip.      2.1   VMS installation         Unzip the files.  7       If you've taken an executable version, that's it.   J       If you've taken an object library version, execute the build command       file.   F       You might want to define a foreign command to get better use out       of the program.   '       Have a cup of coffee and relax :)      2.2   Windows installation  K       The current version of the software makes updates to your Registry.   J       See the Install notes that come with the software for a description $       of the registry settings used.  L       The Windows version requires certain .DLLs.  In earlier versions theseJ       were supplied separately, with the result that the download size wasK       doubled.  The software is "statically linked", meaning you don't need G       to worry about having the correct DLLs.  The price is a slightly         larger .exe file.      2.2.1 Install/uninstall version   L       If you've taken a version with install/uninstall help, unzip the file I       and then run the setup.exe program.  This will move the files to a  *       directory, and create all icons etc.  C       Once installed, your computer will offer an uninstall option. B       You can access this via Control Panel | Add/remove software.  L       The install/uninstall version is substantially larger than the manual D       install versions.  This means some people experience problems        downloading the file.   E       For this reason smaller kits without the install/uninstall help        are available (see 2.2.2)      2.2.2 Simple .ZIP file version  D       This version should be used by anyone who anticipates problemsI       with the install/uninstall version, or who simply wishes to upgrade        an existing version.  D       It's several times smaller than the install/uninstall version.  L       Once you've unzipped the files, move them to your preferred directory.  P       There will be no uninstall command in this case (unless you are overlaying$       an earlier installed version).     2.2.3 Console application   K       Originally AscToHTM was only available as a console application.  Now I       it is available as a fully-windowed application.  Consequently this )       version is not so widely available.   H       The console version is made available to registered users who wishO       it, as it is more suited for automated conversions inside batch jobs etc.   J       The conversion engine is identical in each case, it's just GUI-less.  I       Please note, this is *not* the same as the DOS version that we once K       to produce, and will require a Win32 environment.  The DOS version is        no longer available.  E       Note:  In later versions of the program the Windows version of  C       	     supports both the console and Windowed interfaces in a  M       	     single program.  As a result only the Windows version is shipped  E       	     by default.  A separate console version (A2HCONS) will be L       	     supplied free of charge to registered users who have a specific L       	     requirement (e.g. they want to run AscToHTM from a command file)     3     How AscToHTM works ------------------------   3.1   The big assumption  *       AscToHTM makes one big assumption :-  @       		*Each text file has been laid out in a consistent mannerD       		by its author in a way that makes it easy for a human reader       		to understand.*   H       Given this, AscToHTM tries to read the text file and mark it up inL       HTML accordingly.  This is achieved by making three passes through theG       document, an analysis pass (see 3.2), a collating pass (see 3.3), #       and an output pass (see 3.4).   8       Note:     Sadly this assumption is not always true     3.2   The analysis pass   K       During the analysis pass AscToHTM gathers together all the statistics D       that it needs to analyse how the author has laid out the file.  I       For example, the distribution of line indentations and line lengths I       is observed, together with the number and types of bullets, section '       headings and lots of other stuff.   J       Once this has been done, the program uses this data to determine theJ       rules used by the author in structured their document.  For example H       are the section headings underlined, capitalised or numbered?  If K       numbered, what style of numbering is used, and by how many characters.'       is each type of heading indented?n  H       This information is then used to set the analysis polices (see theK       [Policy Manual]) which may then be overridden by the user (to correct A       errors), or by loading a policy file with different values.      3.3   The collating pass  K       Having performed the analysis, the program makes a second "collating"e?       pass.  This is effectively a dry run for the output pass.l  I       During this pass the program determines how the file will be outputTM       into one or more output files and where certain key in-line tags occur.   *       It also assembles any contents list.  H       This information is then used during the output pass to reduce theK       likelyhood of errors, and to ensure all internal hyperlinks are validCL       and will point to the correct anchor point in the correct output file.     3.4   The output passc  &       During the output pass AscToHTM          - generates the HTML s         and (optionally)  2       - creates a suite of inter-linked HTML pages<       - creates a set of FRAMES to place the HTML pages into0       - copies the HTML to the Windows clipboard!       - generates a contents listf"       - generates a directory page     3.4.1 Generating HTMLe  $       The HTML generated depends on   L       - the original document, including any preprocessor tags placed in the         source document.N       - the calculated document policy, modified by any user policies supplied-       - any [HTML fragments] that are definedH  Q       [[GOTO HTML markup produced]] describes the markup produced in more detail.T      3.4.2 Generating a contents list  L       AscToHTM can detect the presence of a (numbered) contents list in the c       original document.  Alternatively you can choose (see [[GOTO Contents generation policies]])  M       to have AscToHTM to generate a contents list for you, in which case anyr=       original list is omitted from the output HTML document.o  L       Regardless of whether the original or generated contents list is used,I       AscToHTM will turn the contents list into hyperlinks that will take 0       you to the correct HTML file and location.  L       There is a fuller discussion of [[GOTO contents lists]].  The policiesb       that influence contents list production are listed in [[GOTO Contents generation policies]],?       whilst the pre-processor commands are described in 7.1.3.H    1 3.4.3 Splitting the document into many HTML pagesL  M       By default AscToHTM creates a single .HTML file.  However, through filenM       organisation document policies (see [[GOTO File generation policies]]) m       it is possible to   F       a) Split the document into a number of smaller .HTML files (see 8          the policy [[HYPERLINK POLICY,"Split Level"]]).  J       b) Insert standard JavaScript into the <HEAD> ... </HEAD> section ofQ          each page (see also the policy [[HYPERLINK POLICY,"HTML script file"]]).w  L       c) Add a HTML "header" to the top of each generated file (see also the1 	 policy [[HYPERLINK POLICY,"HTML header file"]])o  H       d) Add a navigation bar at the foot of each page with links to theE          Next/Previous .HTML page and the contents list (see also theA4 	 policy [[HYPERLINK POLICY,"Add navigation bar"]]).  L       e) Add a HTML "footer" to the end of each generated page (see also the1 	 policy [[HYPERLINK POLICY,"HTML header file"]])p      3.4.4 Generating a set of FRAMES         *New in version 4*  J       AscToHTM can place the HTML into a set of FRAMES.  This is described-       fully in the chapter on [[GOTO Frames]]d    / 3.4.5 Generating HTML for the Windows clipboard          *New in version 4*  K       The Windows version of the software can place the HTML generated into G       the clipboard, rather than outputting it into a file.  This makesaJ       it easier to paste the HTML into another application (such as a HTMLH       editor).  When this code of conversion is selected, the <HEAD> and.       <BODY> tags are omitted from the output.  H       The use of the clipboard is made even more powerful if a clipboardR       extender such as ClipMate is used.  See http://www.jafsoft.com/clipmate.html     4     Running AscToHTM ----------------------   4.1   Windows versiona   4.1.1 Launching the programe   4.1.1.1 Normal activationo  J       Just run the program as you would any other Windows program, i.e. by@       clicking on its icon, or launching it from the Start menu.    % 4.1.1.2 Execution from a command line   8       From a Windows console command prompt you can type         	C:> AscToHTMc         or  (         C:> AscToHTM <file1> <file2> ...  8       In the first case, AscToHTM is launched as normal.  K       In the second case AscToHTM will convert the specified files, briefly F       displaying a status window, and then exiting.  In this case, one3       of the named files can be a .pol policy file.   H       Note, a console version of AscToHTM (A2hCONS) exists that can onlyE       be run from the Command line prompt.  The Windows version also _B       supports this command syntax, but users wanting to do large J       conversions, or conversions from within a batch file are advised to L       use the console version.  Currently the console version is only being )       made available to registered users.s     4.1.1.3 Drag'n'Drop executiona  H       Create an Icon for AscToHTM, and simply drag'n'drop files onto it.B       The results are identical to those obtained by typing in the(       filenames as described in 4.1.1.2.  G       Alternatively, run the program as normal and then drag files ontocH       the running program.  You can configure the program's behaviour inE       drag'n'drop operation by using the Settings | Drag'n'Drop menu.   D       One useful suggestion is to add AscToHTM to your "SendTo" menuI       (shown when you right-click on a file).  See the Windows help file h       for more details.t  <       See 4.4.6 for more suggestions on using desktop icons.    ' 4.1.1.4 Output to the Windows clipboardd         *New in version 4*  F       You can use the program to convert the file to HTML, and to copyG       the HTML into the Windows clipboard, ready for pasting into other +       applications (such as a HTML editor).r  C       To do this, launch the Windows program as normal, and set thefG       Conversion Type on the main screen to "Output HTML to clipboard".g  L       The HTML copied to the clipboard will be without the <HEAD> and <BODY>N       tags to make the HTML more suited to pasting into an existing HTML page.    ! 4.1.2 Using the Windows Interfacel  V       The Windows interface was re-vamped in version [[TEXT 3.0]] and further enhanced4       in version [[TEXT 3.2]].  The main changes are  E       	- Introduction of a Windows Menu to replace the old button bardH       	- More options on this menu to make locating the correct features 	  more accessible.lJ       	- The policy property sheets no longer have to be closed when doing           a conversion. : 	- Use of DDE to view results in browsers already running.    * 4.1.2.1 Doing a straightforward conversion  I       To do a simple conversion, simply enter the name of the file to be  N       converted or use the "Browse" button to locate the file to be converted.  .       Then press the "Convert file(s)" button.  H       A status screen is displayed whilst the conversion is in progress.K       For small files this may flash up so fast you can't actually read it. M       (If you want to see what it said go to the View...Messages menu option)   L       To view the HTML, press the "View results" button.  This should launchH       your preferred HTML viewer to display the newly created HTML page.E       If you want to automate that process, edit the program's viewera       settings (see 4.1.2.4).h     4.1.2.2 The File menuu  .       The File menu has the following options:         - *Convert*H  K       	Initiates the conversion.  If you already have a file selected, thisaH         file is converted.  If you don't, then a browse window will open0       	allowing you to choose a file to convert.  G       	This option is identical to pressing the "Convert files" button.r    !       - *Load policies from file*s  K       	This option allows you to load a set of policies previously saved tofN       	a policy file.  This allows a conversion to be repeatedly done the sameE       	way, or a set of conversions to be done the same way (see 6.5)   G       	Note, you can set a policy file to be used by default see 4.1.3.          - *Save policies to file*n  N       	This option allows you to save your current set of policies to a policyK       	file for later re-use.  It is recommended that only a partial set ofeM       	policies (i.e. any loaded policies and manually set policies) be savedeN         to allow the program maximum flexibility when converting future files.  4       	See section 6.5 and the discussion in 6.5.2.1         - *Exit*         	Exits the program    # 4.1.2.3 The Conversion options menu*  J       AscToHTM offers the advanced user a large number of program options.K       These are called policies, and may be saved in policy files for later H       re-use.  Policy files are described in detail in Chapter 6 of this       document.o  +       Policies broadly come in two sorts.  h  L       - *Analysis policies* represent a description of what the source file G 	does and does not contain.  These policies are usually set to default rB 	values and/or calculated by analysing the source document.  They > 	should only ever need to be manually adjusted if you wish to ; 	correct the analysis, or override the detection of certain  	typographical features.  M       - *Output policies* represent styling and other options that cannot be aE 	inferred from the source document.  These include styling and markup-B 	options, and allow the user to "add value" to the HTML generated.  F       The Conversion Options menu has options to allow you to view andB       change many of the program's policies (but not all, see the #       [Policy Manual] for details).   "       The menu also has options to  /       - *Load, or change, the policy file used*b  D 	These options allow you to browse for and open the policy file thatD 	you want to use.  Essentially they are identical to the load option 	on the File menu (see 4.1.2.2)u  #       - *Reload policies from file*o  ? 	This allows you to reload the policy file (e.g. because you'vei         just edited it by hand)p         - *Save policies to file*i  ? 	This allows you to save the current policies to file for later          reuse.         - *Re-analyze the file*r  K       	This option forces AscToHTM to re-analyse the current source file toi,       	(re-)calculate the analysis policies.         - *Reset to defaults*t  M       	This option forces all policies back to their AscToHTM defaults.  This N       	will negate the effect of any manually set policies, or policies loaded       	from a policy file.     4.1.2.4 The Settings menul  I       The Settings menu allows you to tailor the way in which the program I       executes.  These settings will usually be saved in your Registry soo-       that they are remembered for next time.w  ,       The Settings menu includes options for         - *Documentation*f  E       	Specifies the location of the program's documentation on your a       	hard disk (see 4.1.3.1).l         - *Diagnostics*a  E         Specifies the level and type of error reporting wanted duringr#       	the conversion (see 4.1.3.2)   !       - *Drag and drop execution*O  G       	Specifies the program's behaviour when invoked by dragging files .       	onto the program's icon (see 4.1.3.3.).  #       - *Viewers for results files*   I       	Specifies the browser to be used to view results files, and how it '       	should be invoked (see 4.1.3.4).          - *Use of policy files*'  B       	Specifies any default policy file to be used (see 4.1.3.5).     4.1.2.5 The Language menu   J       The language menu allows you to change the language used in the userK       interface.  These translations are provides by a group of volunteers.w)       Currently translations exist for :-          - Englishe       - German"       - *New in Version 4* Italian       - Spanish        - Portuguese  G       The software supports the concept of language "skins" which allow E       the user interface to be exported to an external file which maysF       be edited and then re-loaded.  This allows users to offer their J       own translations, or to correct errors in the existing translations.  4       You can read more in [[GOTO Language support]]     4.1.2.6 The View menux  '       - *Messages from last conversion*o  M       	This option allows you to re-view the Messages window displayed during I       	file conversion.  On small files this window can sometime be shown (       	too briefly to view the messages.  $       - *Results of last conversion*       G       	This option will launch the preferred browser for the last file  K       	converted.  If a wildcard conversion was done, the last file in the lD       	group is shown.  This option has the same effect as the "View       	results" button.      4.1.2.7 The Help menu          - *Contents*  I       	This option brings up the Windows help file.  This offers a lot of2G       	context-sensitive help which can usually be accessed by pressinge,       	F1 or "Help" anywhere in the program.  L       	Over time the Windows Help file has adopted a secondary role compared!       	to the HTML documentation.v          - *Register/check updates*  K         This option takes you to the web page offering registration detailsr@       	or (if you've already registered) listing recent updates.  *       	Currently the registration page is E       	http://www.jafsoft.com/asctohtm/register_online.html?from=docor         - *HTML documentation*  N       	This option allows you to view the HTML documentation for the software.H         You can either view your local copy from your hard disk, or readK       	the version on the web site (you'll need to connect to the Internet         	in that case).   N       	Each installation of AscToHTM comes complete with HTML documentation.  M       	Should you decide to move your copy of the documentation, you'll need  (       	to alter the settings (see 4.1.3)         - *Other products*  I       	A list of web pages describing other JafSoft Limited products thatv!       	may be of interest to you.e         - *About*a  I       	This option launches the About screen. This gives program version dL       	information, shows your registration status, and provides a couple ofB       	buttons to access the home page and other pages on the Web.     4.1.3 Program settings  I       These settings allow you to customize the program's behaviour to a         limited extend.e     4.1.3.1 DocumentationT  J       Allows you to specify the location of the HTML documentation for theJ       program on your machine.  By default this is the same as the programH       directory, and you should only need to change this if you move it.     4.1.3.2 Diagnosticst  H       Allows you to select the level of detail you want in the messages K       displayed during conversion.  You can also elect to suppress messagesc       by type.     4.1.3.3 Drag and drop executionr  J       Allows you to specify how you want the program to behave when it is E       launched by dropping files into the program, or its icon on thes       desktop.     4.1.3.4 Results viewers   K       Allows you to specify the HTML browser to be used to view the createdtN       HTML.  You can elect to always invoke a results viewer after conversion,%       and to use DDE to achieve this.t  P       DDE allows the program to tell an existing browser to display the results.K       Without DDE a new instance of the browser is launched each time.  The N       behaviour of the browser when sent the results file varies from browser        to browser.h  I       If the DDE call fails for any reason, a new instance of the defaulteH       browser is launched, so you should ensure this is the same browser!       as that identified for DDE.   M       This dialog also allows an RTF viewer to be selected.  This may be usediH       for viewing RTF files, although it's possible that at present your6       version of the program doesn't require this yet.  I       NOTE:	On some systems DDE doesn't always work properly.  This would G       		cause the program to hang when it attempted to display results.mF       		In such cases you would need to stop the program from the task;       		manager.  The program will now detect when this hastC       		happened and disable use of DDE next time it runs.  You cani?       		re-enable it using the _Settings | Viewers_ menu options  C       NOTE:	Whereas DDE works fine with Netscape versions up to andgF       		including 4.7, it doesn't work with Netscape 6.0 since initial@       		versions of that browser don't support DDE under Windows     4.1.3.5 Use of policy filesc  J       Allows a default policy file to be specified.  This is not normally G       desirable, but if you always use the same policy file, this will  ?       save you having to load it each time you run the program.e  L       You can also elect to always reload the policy file during conversion.L       This should only be necessary if you're repeatedly changing the policyM       file in a text editor between conversions while the program is running.   F       Note, an alternative to using a default policy file is to defineG       a desktop icon with the policy file specified on the command lined       (see 4.4.6)e     4.1.4 Language support  P       There is an ongoing effort to make AscToHTM available in more languages.  G       This effort is being undertaken by a number of volunteers.  It's  N       unlikely that full translations of User Interface, error messages, help J       files and documentation will be available in all languages, but the H       hope is to make the program a little easier for those whose first        language is not English.  N       Please note that the author only speaks English, and thus can only offer       support in English.e  /       Elements that may be converted include :-          - Menu Textt       - Window Text        - ToolTips  )       Less likely to be translated are :-          - Messages       - Windows help filen       - HTML documentation     4.1.4.1 Existing translationst  J       Depending on how far the process has gone (and how many changes haveH       been made recently) not all text may be in your selected language.  )       Currently translations exist for :-y         - English (British)i       - German       - Portuguese       - Spanishi"       - *New in version 4* Italian  M       My thanks to all those involved.  If you'd like to get involved in thisc       effort, visitf  8       	http://www.jafsoft.com/products/translations.html    2 4.1.4.2 Adding translations using "Language skins"  M       The program now supports the concept of language "skins".  This allows pF       the existing translation to be exported to a text file called a F       "language skin".  This file consists of one line per translationI       per line, with a unique number at the start of the line identifyinge)       the text, and then the text itself.   H       You can edit this file - conventionally with a .lng extension - toI       contain your own versions of the strings, and then reload this backtN       into the program via the Language menu.  The changes will take immediate?       effect, and are remembered next time you run the program.   I       Using this technique we can now offer via and American spellchecker O       and the translation services of http://babelfish.altavista.com/ three newe       languages :-         	- American EnglishN       	- "Babelfish" French   H       These translations are not expected to be ideal, but they offer a H       starting point.  If anyone cares to mail me corrected version I'llI       happily make these available... with full credit to the translator.d  .       Mail updates to translations@jafsoft.com    * 4.2   VMS and console application versions  M       The VMS version and windows console version behave identically in termsc(       of their use of command arguments.  0       A Linux version has also been beta tested.  N       The Windows console version performs identically to the Windows version M       (which supports the command line operation), but is more suited to use pJ       inside batch operations.  For example the Windows version is likely ?       to gain focus when it executes, which can be distracting.o  K       The Windows console version is called A2HCONS (to distinguish it fromyO       the fully windowed version AscToHTM), but is only available to registered.       users of the software.     4.2.1 Command line arguments  ,       The command line should be of the form  @             	AscToHTM <filespec> [<policy_file>] [</qualifiers>]         WhereI  ;       	Filespec	Any valid file specification for the system 3       			you're using.  This can include wildcards.A  7       			In the Windows version, this can also be space !       			separated lists of filesl    ^       	Policy_file	The name of any policy file (see [[GOTO Using Document Policy files]]) you ;       			want to use for the conversion.  Policy files are h?       			recognised by having a .pol file extension.  For this  6       			reason you cannot convert .pol files to HTML.  F       	Qualifiers	Extra commands that may be passed in via the command?       			line.  In most cases these are equivalent to policies,e<       			they're just made available on the command line for       			your convenience.  	       			o 4.2.2 Command line qualifiersl  F       Certain aspects of AscToHTM's behaviour can be changed by addingO       qualifiers to the command line.  Qualifiers must begin with the slash (/) L       character but may be of mixed case and may be shortened provided they M       remain unique.  So /H will get you help, whereas you can't use /S since &       that could be /SILENT or /SIMPLE     4.2.2.1 The /COMMA qualifier         *New in version 4*  I       Specifies that the source file is a comma-delimited table.  In thisrK       case each line will become a row in a table, and each value separatedw1       by a comma will become a cell in the table.p     4.2.2.2 The /CONSOLE qualifier  H       Specifies that the HTML generated should be directed to the outputK       stream, rather than to an output file.  This is a step towards making N       the program more suited for use inside a web server, e.g. to dynamicallyJ       convert text to HTML on demand, although it is expected this process"       has some distance to go yet.     4.2.2.3 The /CONTENTS qualifiere  W       This has exactly the same effect as the [[HYPERLINK POLICY,"add contents list"]] a       policy line.    ' 4.2.2.4 The /DEBUG and /LIST qualifiersa  N       These qualifiers cause AscToHTM to generate some diagnostic files, which       have extensions   .       	.LIS1		an analysis before policy is set,       	.LIS		an analysis after policy is set  !         .STATS		a statistics filev  M       The list files can assist in understanding how AscToHTM has interpretedvK       your file.  The .stats file is neither pretty, nor easy to read, but tJ       can in extreme cases assist in diagnosing faults should you wish to        report them.  F       If the /LIST qualifier is used, only the list files are created.F       If the /DEBUG qualifier is used the .stats file is also created.     4.2.2.5 The /DOS qualifier  b       This has exactly the same effect as the [[HYPERLINK POLICY,"Use DOS filenames"]] policy line     4.2.2.6 The /INDEX qualifier  _       This has exactly the same effect as the [[HYPERLINK POLICY,"Make Directory"]] policy linea    % 4.2.2.7 The /LOG[=filespec] qualifiert  K       This specifies that a .log file should be created.  This will contain K       a copy of all messages generated during the conversion, together with )       some that may have been suppressed.n  I       You can specify the log filespec.  This can include wildcards, witheH       the input file being used to replace any parts of the filename not       specified.  ;       If omitted, the default log file name is AscToHTM.loge    # 4.2.2.8 The /OUT=filespec qualifieri  G       This specifies where the output file(s) should be placed.  It can G       include wildcards, with the input file being used to replace any b*       parts of the filename not specified.  I       Thus "/OUT=*.shtml" will result in a file with the same name, but anH       .shtml extension.  In VMS "/OUT=[.sub]" will place the output in a!       sub-directory called "sub".n  J       If omitted, the output file is given the same name as the input fileM       but with a .html extension.  That behaviour may change dependant on thei+       values of a number of other policies.c     4.2.2.9 The /POLICY qualifiere  d       This has exactly the same effect as the [[HYPERLINK POLICY,"Output Policy file"]] policy line.     4.2.2.10 The /SILENT qualifier  I       This specifies that no messages should be displayed on the console.HH       When used with the /CONSOLE qualifier (see 4.2.2.2) this makes theH       program suitable for use in a web server, although you may need to$       use redirection under Windows.     4.2.2.11 The /SIMPLE qualifier  `       This has exactly the same effect as the [[HYPERLINK POLICY,"Keep it simple"]] policy line.     4.2.2.12 The /TABBED qualifier         *New in version 4*  G       Specifies that the source file is a tab-delimited table.  In this K       case each line will become a row in a table, and each value separatedl/       by a tab will become a cell in the table.,     4.2.2.13 The /TABLE qualifieri         *New in version 4*  D       Specifies that the source file is a plain text table.  In thisF       the program will do its best to analyse the table structure, and       reproduce it.     l$ 4.3   Getting the most from AscToHTM   4.3.1 Making your first attemptn   4.3.1.1 From the command linew  !       To run AscToHTM simply typef          		AscToHTM Input_file.name         at the command line.          This will create a file :-         - input_file.html   E       	An output file which will have the same file name with a .htmlt         extensione  D       The program may display a number of status messages indicatingL       source lines that it rejects because they "fail policy".  Source linesH       that fail policy are usually simply copied to the output file withG       no markup applied.  These messages are largely informational, and H       can be ignored if the conversion worked okay.  If it didn't, theseC       messages may give a clue as to where the analysis went wrong.i     4.3.1.2 From Windows  K       Enter the name of the file to be converted in the text field.  If you.I       wish, use the browse button to search for the file to be converted.b  K       Once you've chosen the file, the output filename and input and outputnG       directories are inferred from the filename.  If you wish, you may.-       edit the output filename and directory.m  T       Press the *Convert file(s)* button.  The Messages window will briefly display.H       If you wish to view these messages later, select the *View | Show 1       Messages from last conversion* menu option.s  J       To view the last file converted, select the *View | Results of last K       conversion* menu option. This should launch your default browser for  K       the file types (.htm or .html) just created.  If you get the message  I       "cannot detect default browser", use the *Settings* menu to set up r<       the path to the browser you wish to use and try again.     4.3.2 Refining your results   I       If all goes well the resultant HTML will be satisfactory and all inlH       one file.  You can further refine the conversion by creating your        own document policy.  F       In the Windows version, this is done by editing policies via theA       *Conversion Options* menu, which is fully described in the hB       context-sensitive Windows Help file (press F1 at any point).  N       However, in all versions the policies can be saved to a text policy fileK       and it is the format of that file that is shown and discussed in this        document.      4.3.2.1 Using a policy file*  L       If your initial results are a little strange, then review the policiesH       calculated by the program, and create a "policy file" to tell the 3       program how to do the conversion differently.i  #       You can do this as follows :-e  -       a) _By creating a "sample" policy file_   F 	You can create a sample .pol policy file that documents the policies 0 	used.  Do this either by using the command line  (       		AscToHTM Input_file.name /policy   	or by ticking  ! 		"Generate a sample policy file"s  ; 	on the Conversion Options->File Generation tabbed dialoguel  F         When this is done then the next time you convert the file, in C 	addition to the .html file generated, you will now have an output iB 	policy file "input_file.POL" which describes the document policy A 	file calculated by AscToHTM (see 3.2) and used by it during the t 	conversion.  C 	This file will contain one line each for all the program policies,s# 	*most of which should be correct*.m  O         Review the contents of this file, deleting all lines that look correct,T1 	and editing all lines that appear to be wrong.     @ 	Save the modified .POL file which should only contain lines for?         those policies you think are wrong or want to override.s  L         You'll may need to review the [Policy Manual] in order to understand 	the policies to do this fully.   #       b) _By re-analysing the file_g  @ 	Under Windows a slightly easier option is to select Conversion A 	Options -> Re-analyse the file.  This will analyse the file and  C 	change all the policy values currently on display to be the values?A 	calculated by the program.  You can then review and change thesel# 	values using the tabbed dialogues.n  D 	Once you're happy with your changes, select "Save policies to file"A 	from the menu, saving only the changed policies.  You can reviewe# 	this file in a normal text editor.   A       Once you've produced your new input policy file, re-run thetK       conversion using the new policy file.  The program will now override hF       aspects of the calculated document policy with the input policy        you've supplied.  F       Each document policy file consists of a number of lines of data.       Each line has the form  '       		Keywords     :    Data value(s)   C       For clarity a number of section headers are added like this :    		[Analysis]  E       Such headings are ignored, as are any lines whose keywords are s*       not recognised or not yet supported.  K       The order of policies within the file is usually unimportant, and themO       placement relative to the "headings" is ignored.  The Headings are simplyt=       there to make the file easier to read in a text editor.c  D       A sample fragment from a calculate policy file looks like this  
 $_$_BEGIN_PREo       		[Hyperlinks]       		-------------                 Create hyperlinks       : Yes %       		Create mailto links     : Yese%       		Create NEWS links       : Yesm       		         		[Added HTML]       		------------/       	        Document Title          : (none)  $_$_END_PREg       		I       These are all default values used by AscToHTM.  If, for example youeH       want to add a title to your page and prevent email addresses beingH       turned into hyperlinks, simply create a policy file containing the       lines   
 $_$_BEGIN_PREt       		[Hyperlinks]       		------------$       		Create mailto links     : No       		         		[Added HTML]       		------------>       		Document Title          : Title text for the HTML page $_$_END_PREi  I       (Remember the insertion of section headings is optional, as is the e,       ordering of policies within the file).  F       By refining the input policy file, you can greatly influence the$       output that AscToHTM generates     4.3.2.2 Using a link dictionarye  E       In addition to adding hyperlinks for all URLs, email addresses,rI       section references and contents list entries, AscToHTM allows usersFC       to specify key phrases that should be turned into hyperlinks.e  F       This is achieved by adding lines to the input policy of the form  
 $_$_BEGIN_PREe       [Link Dictionary]	       -----------------'J       Link definition    :   "[AV]" = "AltaVista" + "Using_AltaVista.html" $_$_END_PRE          The syntax used here iss  
 $_$_BEGIN_PRElK       Link definition    :   "match phrase" = "replacement phrase" + "link"n $_$_END_PREn  C       In this case the string "[AV]" is replaced by a link to a web N       page "Using_AltaVista.html" with the text "AltaVista" being highlighted.  D       The link dictionary used for this documentation can be seen in       the file A2HLINKS.DAT.    # 4.3.2.3 Using multiple policy files   H       If you wish to use AscToHTM to support several text files e.g. forL       a set of Intranet documentation, it may be useful to share some commonJ       document policies, e.g. colour, headers and footers and particularly       the link dictionary.  F       To support this AscToHTM allows two special types of line in the       policy file.         a) Include files  1       		include file      :   Link_Dictionary.datf  F       	If a line of this type is encountered, the contents of the fileI       	Link_dictionary.dat are included in the current policy file.  ThistC       	is the best way of sharing data across many converted files.          b) "daisy-chain" files  3       		switch to file    :   Other_policy_file.dats  C       	If a line of this type is encountered, the processing of then@       	current file terminates, and continues in the named file.  D       	This is a way of "daisy-chaining" policy files together whichM       	may be useful if you wish to group files together at different levels.a    % 4.3.2.4 Creating DOS-compatible filesi  F       Occasionally it may be necessary to create files consistent withN       the DOS nnnnnnnn.nnn naming convention.  This can happen when working onM       a DOS or windows 3.n machine, or via a network that has this limitationc       e.g. Pathworks.   J       AscToHTM supports this.  There are two ways to achieve this.  Either       use the command:  )       		AscToHTM   input_file.name   /DOSf  )       Alternatively, simply add the lines   
 $_$_BEGIN_PREi       		[File generation]h       		----------------- %       		Use DOS filenames       : Yesm%       		DOS filename root       : A2Hu $_$_END_PREn  H       to your policy file.  AscToHTM will then create a base file called       (in this case) A2H.HTM.   L       If you're splitting a large document into many files, subsequent files       have the forml  ,       		<filename_root>_<section number>.HTM  N       When this name becomes two long, AscToHTM will create a name of the form         		AAANNNNN.HTM  M       Where AAA comes from the file root, and NNNNN is a 5-digit code derivedg%       from the rest of the file name.     . 4.3.2.5 Use the pre-processor and in-line tags  L       AscToHTM has a built-in pre-processor.  This allows you to add specialK       codes to your source file that tell the program what you'd like it to 	       do.e  H       Examples include delimiting tables, embedding raw HTML or adding a,       timestamp to the file being converted.  U       See [[GOTO Using the preprocessor]] and [[GOTO In-line tags]] for more details.t    ( 4.3.3   Processing several files at once   4.3.3.1 Using wildcards   I       You can convert multiple files at one time by specifying a wildcardaN       describing the files to be converted.  The wildcard has to be meaningful?       to the operating system you are using, and is expanded in M       alphabetical order.  Under Windows this ordering may be case-sensitive.l  J       At present we recommend that wildcards are only used on the contentsG       of a single directory.  Indeed wildcards spanning directories aree>       probably not supported (let's just say it's untested :-)  N       Note, the same policies will apply to all files being converted.  If youQ       wish different policies to apply, use a steering command file (see 4.3.3.2)m  F       Note:	In the shareware version, wildcard conversions are limited       		to only 10 files    % 4.3.3.2 Using a steering command filei  R       In the console version you can convert several files at the same time in theD       order and manner of your choosing.  To do this use the command  , 		AscToHTM @List.file [rest of command line]  L       Where the file "list.file" is a steering file which contains a list ofI       AscToHTM command, and the "@" in front indicates it is a list file,w)       rather than a file to be converted.   *       An example list file might look like  
 $_$_BEGIN_PRE  		! this is the main documentm 		DOCO.TXT   	IN_DOCO.POL /DOS 		#   		# These are the other chapters 		CHAPTER2.TXT 		CHAPTER3.TXT	/SIMPLE $_$_END_PREF  H       Note the use of "!" or "#" at the start of a line signifies it's a!       comment line to be ignored.   C       Any qualifiers used on the original AscToHTM line are used astG       defaults for each conversion, but are overridden by any listed ineK       the list file.  In this way it would be possible to specify a defaultn5       policy file for a bunch of similar conversions.v  C       Note:	In the shareware version, batch conversions are limitede       		to only 10 files     4.3.4 Generating log files  I       If you want a log of what has been done, you can create a log file.r-       This can be done in a number of ways :-s         - *From the command line*e  E       	On the command line you can use to launch the program, add thei3       	the /LOG=<filespec> qualifier (see 4.2.2.7).          - *From the policy file*  N       	Use the [[HYPERLINK POLICY,"Create a log file"]] policy.  You will needL       	to manually edit this into your .pol file, as it can't be set via the       	user interface.          - *From the Status Dialog*  N       	In the Windows version, the Status Dialog now contains a "Save to file"G       	option to save the displayed messages.  This dialog is currently $       	limited to 32,676 characters.     4.4   Other tips and tricksr  
 4.4.1 Generald         - Read the [FAQ]  F       - Browse the [Policy Manual] to gain a feel for what options the3       	program support.  Similarly the [Tag Manual]   K       -	If you can, try to use as much white space as possible, e.g. before C        	paragraphs and new sections and at the end of the document.   L       	This makes it easier for AscToHTM to place things in context, reducesK       	ambiguity and increases the chances of correct HTML being generated.   L       - Ensure you have consistency in your use of indentation, bullets etc.  G       	On the output pass AscToHTM rejects lines that "fail policy", so.D       	any inconsistencies are liable to lead to errors in the HTML.  J       - Try to avoid lines that may confuse AscToHTM.  For example numbersE       	at the start of a line of text may be interpreted as a sectiontE       	heading.  If the number is out of sequence, or at an incorrecttL       	indentation this will "fail policy".  However, it may cause confusion-       	and is best avoided wherever possible.s  D       	Where a number has to be at the start of a line, try using anG       	indentation level that doesn't match that used by your headings.i  E       - Review the messages displayed during conversion.  Often theses9       	will highlight problems perceived by the software.S     4.4.2 Link dictionarys  C       -	Try to avoid using match words that are substrings of other]         match words.  B       	If you can't avoid this, then list the longer entries first  I       -	Try to ensure you match words will only match the places you want=       	them to match.   4       	This means avoiding overly short match words.  I       -	If you can bracket your match words or phrases [like this].  ThisrI       	makes for less mistakes, and makes it clearer in the original thato.       	you expect a link adding at that point.     4.4.3 Contents List detection   I       Contents list detection is tricky at the best of times.  It becomes        even trickier if         a) There isn't one :-)  <       b) The list only contains chapters and no sub-sections  L       If the program wrongly determines that there is/isn't a contents list,#       use the following policy lineo  !       		Expect Contents List : Nol  D       to tell AscToHTM how it has gone wrong.  The usual error is to8       decide there is a contents list where none exists.    & 4.4.4 Using "Send to" in Windows 95/NT  L       AscToHTM can be invoked (without policy file) from windows in a number#       of additional ways as follows   >       - Drag and drop your text file onto the AscToHTM icon.    <       	If you want a policy file, drag that at the same time  C       - Create a shortcut in your "SendTo" folder in Windows.  This D       	is under C:/WINDOWS or C:/WINNT/PROFILES/<USERNAME> dependingJ       	which system you're using.  Once this has been done, right-clickingF       	on a file in explorer brings up the "Send to" menu, and you can7         now "send" your text file to AscToHTM directly.u  I       	If you want a policy file, add it as an argument to the shortcut'sd         command line./  H       Better still, create a .BAT file to invoke AscToHTM with a defaultD       policy file - e.g. with your favourite colour scheme, and someW       standard link definitions (see [[GOTO Link dictionary policies]]) - and add this i       the "SendTo" folder.  D       In this way you can easily convert text files in any number of       pre-defined manners.     4.4.5 Tables  K       AscToHTM does a reasonable job of detecting and analysing Tables, butc'       the following tips can be useful.t  J       - If the extent of the table is wrongly calculated, mark it up usingK         TABLE pre-processor commands described in 7.1.4, or insert an extra K       	blank line before and/or after the table.  Tables will rarely bridge        	a two-line gap.  ^ 	If the table extent is wrong, try adjusting the [[HYPERLINK POLICY,"Table extending factor"]]E 	(shown as "Extend preformatted regions" on the Conversion Options ->l) 	Analysis policies -> Tables menu option.   K       - If AscToHTM places a code fragment or diagram in TABLE markup, markiw         the source using [[HYPERLINK TAGGING,BEGIN/END_CODE]] or [[HYPERLINK TAGGING,BEGIN/END_DIAGRAM]] pre-processor s       	commandsh  L       - Avoid mixing tabs and spaces.  This makes spotting column alignmentsE         positions more difficult.  If you do mix them, check that thetD         [[HYPERLINK POLICY,"TAB size"]] policy has a suitable value.  G       - If you want the heading in bold, try drawing a line all the waye+         across, separating header from data   k       - If too many columns are created, adjust the [[HYPERLINK POLICY,"Minimum TABLE column separation"]] ,@ 	to be greater than 1, and ensure there are at least two spaces G 	between columns (see also 7.1.4).  Alternatively "break formation" by  2 	inserting a space at the start of every second or         third line.e  9       - If too few columns are created try adjusting the v;         [[HYPERLINK POLICY,"Column merging factor]] policy.s  I       - If AscToHTM puts lines in tables when they shouldn't be, increaserO         the [[HYPERLINK POLICY,"Minimum automatic <PRE> size"]] value.  This isuF         a common problem in email digests with people's .sigs in them.  J       - If you wish to fine-tune a particular table, use the pre-processor$         commands described in 7.1.4.  J       - If the table layout is approximately correct, switch off the tableJ       	border (set the value to 0).  Often this will look acceptable, even+         though the analysis has gone wrong.c    * 4.4.6 Using desktop icons and policy files         *New in version 4*  K       AscToHTM can support arguments being passed on the command line.  One N       useful way to use the program is to add an icon to the desktop, allowing>       you to "drop" files onto the icon to get them converted.  C       If you use policy files, edit the icon properties so that the '       command line reads something likeh  F       	"c:\program files\jafsoft\asctohtm.exe" "c:\mydir\mypolicy.pol"  N       This will ensure the policy file mypolicy.pol is used in the conversion.K       You may also need to set the working directory to something suitable.l  O       If you have multiple policy files (e.g. different colour schemes), simplyi:       create additional icons with different policy files.     5     HTML markup produced --------------------------   5.1   Text layout    5.1.1 Indentationr  I       AscToHTM performs statistical analysis on the document to determine J       at what character positions indentations occur.  This information isI       used on the output pass to determine the indentation level for eachn       source line.  C       AscToHTM attempts to indent the HTML code to match the outpute3       indentation level, to make it easier to read.c  5       The indentations themselves are marked up using(,       <BLOCKQUOTE> ... </BLOCKQUOTE> tags.    C       Future versions of AscToHTM may offer you the option of usingi       <DIV> tags.c     5.1.2 Hanging paragraph indentsi  N       Some documents, especially ones dumped from Word, have hanging paragraphN       indents.  That is, each paragraph starts at an offset to the rest of the       paragraph.  M       AscToHTM struggles heroically with this, and tries not to treat this as G       text at two indent levels, but it does occasionally get confused.   P       If writing a text file from scratch with AscToHTM in mind, then it is best       to avoid this practice.      5.1.3   Bulletso  =       AscToHTM detects and supports several types of bullets.a     5.1.3.1 Bullet chars  (       Bullet chars are lines of the type  
 $_$_BEGIN_PRE        	- this is a bullet line  #       	- this is a bullet paragraphh%       	  because it carries over ontop       	  more lines  $_$_END_PREp  H       That is, a single character followed by the bullet line.  AscToHTMN       can determine via statistical analysis which character, if any, is beingE       used in this way.  Special attention is paid to the '-' and 'o'l       characters.r  F       Bullets of this type are given a <UL> ... <LI> ... </UL> markup.     5.1.3.2 Numbered bullets  J       AscToHTM can spot numbered bullets.  These can sometimes be confusedF       with section headings in some documents.  This is one area whereG       the use of a document policy really pays dividends in sorting thei       sheep from the goats.   I       Numbered bullets are given a <OL TYPE=1 START=N> ... <LI> ... </OL> 
       markup.o  B       Note:	Not all browsers support this type of markup.  In such?       		cases, it's possible that the numbering of bullets willh=       		get reset to 1 every so often.  However, this isn't am:       		problem with either Netscape or Internet Explorer.     5.1.3.3 Alphabetic bullets  J       AscToHTM detects upper and lower case alphabetic bullets.  These are3       marked up like numbered bullets, with TYPE=a.      5.1.3.4 Roman Numeral bullets   M       AscToHTM detects upper and lower case roman numeral bullets.  These are]3       marked up like numbered bullets, with TYPE=i.      5.1.4 Centred text  N       AscToHTM can attempt to spot sections of centred text.  However, becauseD       this can easily go wrong this option is normally switched off.  K       Centering is only switched on for single isolated lines, or any grouptD       of at least two lines.  <CENTER> ... </CENTER> markup is used.  D       See the policy [[HYPERLINK POLICY,"Allow automatic centring"]]     [[LINKPOINT "Definitions"]]- 5.1.5 Definitionse   5.1.5.1 Definition lines  D       A definition line is a single line that appears to be definingF       something.  Usually this is a line with either a colon (:) or an)       equals sign (=) in it.  For exampleu  
 $_$_BEGIN_PREu"       	IMHO = In my humble opinion $_$_END_PRET       or
 $_$_BEGIN_PRE.-         Address : Somewhere over the rainbow.  $_$_END_PREe  H       AscToHTM attempts to determine what definition characters are usedE       and whether they are strong (only ever used in a definition) ora1       weak (only sometimes used in a definition).i  L       AscToHTM marks up definition lines by placing a <BR> on the end of theK       line to preserve the original line structure.  Where this decision is <       made incorrectly unexpected breaks can appear in text.  E       AscToHTM offers the option of marking up the definition term in 7       bold.  This is not the default behaviour however._     5.1.5.2 Definition paragraphse  D       AscToHTM also recognises the use of definition paragraphs such       as :-h  
 $_$_BEGIN_PREs<       Note:	This is a "definition" paragraph, i.e. the whole;       		paragraph defines the term shown on the first line..?       		Unfortunately AscToHTM currently only copes with singleo?       		paragraphs (i.e. not with continuation paragraphs), and *       		only with single word definitions. $_$_END_PRE   L       This gets marked up in a <DL> <DT>...</DT> <DD>...</DD> </DL> sequence  <       Note:	This is a "definition" paragraph, i.e. the whole;       		paragraph defines the term shown on the first line. ?       		Unfortunately AscToHTM currently only copes with singlec?       		paragraphs (i.e. not with continuation paragraphs), and *       		only with single word definitions.     5.2   Text formattingr   5.2.1 Quoted lines  C       AscToHTM recognises that, especially in Internet files, it is J       increasingly common to quote from other text sources such as e-mail.F       The convention used in such cases is to insert a quote character*       such as > at the start of each line.  H       Consequently, AscToHTM adds a <BR> tag at the end of such lines toE       preserve the line structure of the original, and marks it up inu7       <EM>..</EM> tags to differentiate the quoted texti     5.2.2 Emphasis  K       AscToHTM can look for text emphasised by placing asterisks (*) either N       side of it, or underscores (_).  AscToHTM will convert the enclosed textG       to *bold* and _italic_ respectively using <STRONG> and <EM> tags t       respectively.w  L       AscToHTM will also look for combinations of asterisks and underscores I       which is placed in _*bold italic*_.  The asterisks and underscores          should be properly nested.  M       The emphasised word or phrase should span no more than a few lines, and-N       in particular should *not* span a blank line.  If the phrase is longer, L       or if AsctoHTM fails to match opening and closing emphasis marks, the &       characters are left unconverted.  L       To a limited extent the software can detect and handle nested emphasisJ       of different types.  For example _a phrase that is mostly in italicsH       may contain *a few bold words* within it_.  Nested emphasis of the!       same type is not supported.          Tests are made to   /       - ignore double asterisks and underscores H       - ignore phrases with underscores in the middle (these may become        	underlined)O       - *(new in version 4)* to allow hyphenated words to be *part*-emphasised.      5.2.3 Fontso  G       The program allows you to select the default font for your files. E       Fonts are implemented Cascading Style Sheets (CSS) by default,  D       although this can be change to the <FONT> tag should you wish.  K       The <FONT> tag is allowed in "HTML [[TEXT 3.2]]", but is "deprecated"sM       in favour of CSS in "HTML [[TEXT 4.0]] Transitional".  It is completely 2       disallowed under "HTML [[TEXT 4.0]] Strict".  G       Some older features of the software still use <FONT> tags.  ThesenF       will be changed to also use CSS in later releases as support for*       "HTML [[TEXT 4.0]] Strict" is added.  2       See [[GOTO Font Policies]] for more details.     5.2.4 Special characters  E       The program will detect special characters and symbols such as rE        and  and will replace these by the correct HTML entity codessF       &aacute; and &copy;.  By using the correct HTML codes, the HTML E       produced is guaranteed to display correctly on all computers.     F       Some symbols use different character codes on different machines       (e.g. Mac and PC).     5.3   Added hyperlinks   5.3.1 Contents List liness  L       Contents list lines are marked up in bold, and turned into a hyperlinkI       pointing at the section referenced.  The text is sized according to.@       heading type in the range +/- 1 font size from normal (3).     5.3.2 Cross-references  M       AscToHTM can convert cross-references to other sections into hyperlinksmK       to those sections.  Unfortunately this is currently only possible for O       second, third, fourth... level numeric headings (n.n, n.n.n, n.n.n.n etc)_  O       This is because the error rate becomes too high on single numbers/letterssL       or roman numerals.  This _may_ be refined in future releases, although+       it's hard to see how that would work.t    
 5.3.3 URLs  H       AscToHTM can convert any URLs in the document to hyperlinks.  ThisE       includes http and ftp URLs and any web addresses beginning with        www.    A       The domain name part of the URL will be checked against the F       known domain name structures and country codes to check it fallsJ       within an allowed group.  So www.somewhere.thing won't be allowed as/       ".thing" isn't a proper top level domain.   K       URLs that use IP addresses or some more obscure methods of specifying,H       domain names will also be recognised, but the link will be changedC       wherever to either a domain name or an IP address.  This willyA       de-obfuscate any obscure references so beloved by spammers.e     5.3.4 Usenet Newsgroups   J       AscToHTM can convert any newsgroup names it spots into hyperlinks toK       those newsgroups.  Because this is prone to error, AscToHTM currently.B       only converts newsgroups in known USENET hierarchies such as       rec.gardens by default.   %       This can be overcome either by    ?       	a) placing "news:" in front of the newsgroup name (e.g. p+       	   news:this.is.a.newsgroup.honest)    G       	b) relaxing this condition via a document policy (see the policy.8            [[HYPERLINK POLICY,"Only use known groups"]])  G       	c) specifying the newsgroup hierarchy as recognised via a policyt:       	   [[HYPERLINK POLICY,"Recognised USENET groups"]].     5.3.5 E-mail addresses  L       AscToHTM can convert any email addresses into hypertext mailto: links.O       As with URLs (see 5.3.3), the domain name is checked to see it falls intox       a recognised group.y     5.3.6 User-specified keywordsc  M       AscToHTM can convert use-specified keywords into hyperlinks.  The wordsdH       or phrase to be converted must lie on a single line in the source I       document.  Care should be taken to ensure keywords are unambiguous.eL       Normally I mark my keywords in [] brackets if authoring for conversion       by AscToHTM   F       See the discussions on "link dictionaries" in 4.3.2.2 and 4.4.2.     5.3.7 Other sections and URLs   I       AscToHTM offers a number of pre-processor commands and in-line tags D       that allow you to add hyperlinks commands to your source text.  ]       For example the [[HYPERLINK TAGGING,GOTO]] tag allows hyperlinks to be created to nameda-       sections in the same document.  So that   /       	[[OT]]GOTO Other sections and URLs[[CT]]   
       becomes.  '       	[[GOTO Other sections and URLs]]e  ^       In the same way the [[HYPERLINK TAGGING,HYPERLINK]] tag allows hyperlinks to be inserted     5.4   Section headings  O       AscToHTM recognises various types of headings.  Where headings are found,eN       and deemed to be consistent with the prevailing document policy (correctL       indentation, right type, in numerical sequence etc), AscToHTM will use)       the standard <Hn> ... </Hn> markup.y  K       In addition to this, AscToHTM will insert a named Anchor tag (<A> ... K       </A>) to allow hyperlink jumps to this point.  These anchors are usedtJ       for example in the contents list and cross-reference hyperlinks that       AscToHTM generates.      5.4.1 Numbered headings   L       This is the preferred heading type and the type that AscToHTM has mostK       success with.  Sections of type N.N.N can be checked for consistency,hJ       and references to them can be spotted and converted into hyperlinks.  G       At present more exotic numbering schemes using roman numerals andeG       letters of the alphabet are not fully supported.  This is plannedr=       to be implemented soon, possibly via user policy files.      5.4.2 Capitalised headings  G       AscToHTM can treat wholly capitalised lines as headings.  It alsolD       allows for such headings to be spread over more than one line.     5.4.3 Underlined headings   H       AscToHTM can recognise underlined text, and optionally promote theK       preceding line to be a section header.  The "underlining" line should/       have no gaps in it.      5.4.4 Embedded headingsO         *New in version 4*  J       The program can look for headings "embedded" in the first paragraph.G       Such headings are expected to be a complete sentence or phrase inII       UPPER CASE at the start of a paragraph.  Where detected the heading J       will be marked up in bold, rather than <Hn> markup, although it willJ       still be added to, and accessible from any hyperlinked contents list$       you generate for the document.  C       At present such headings are not auto-detected... you need to K       switch on the [[HYPERLINK POLICY,"Expect embedded headings"]] policy.y     5.4.5 Key phrase headingsa         *New in version 4*  I       The program can now look for lines that start with particular words G       or phrases (such as "Chapter", "Part", Title") of your choice andtF       treat these lines as headings.  Previously this only worked in aL       limited way if the heading line was also *numbered* ("Chapter 1") etc.  T       To use this feature, set the policy [[HYPERLINK POLICY,"Heading key phrases"]]     5.4.6 Numbered paragraphsi  J       Some types of documents use what look like section numbers to number:       paragraphs (e.g. legal documents, or sets of rules).  D       AscToHTM can recognise this, and mark up such lines by placingJ       the number in bold, and not using <Hn> ... </Hn> markup on the whole       line.N     5.4.7 Mail and USENET headersB  K       Some documents, especially those that were originally email or USENETbG       posts, come with header lines, usually in the form of a number ofoC       lines with a keyword followed by a colon and then some value.N  J       AscToHTM can recognise these (to a limited extent).  Where these areN       detected the program will parse the header lines to extract the Subject,M       Author and Date of the article concerned.  A 2-line heading containing NK       this information will then be generated to replace all the unsightly s       header lines.t     5.5   Pre-formatted text   5.5.1 Lines and form feeds  I       Lines are interpreted in context.  If they appear to be underliningrI       text, or part of some pre-formatted structure such as a table, theniO       they are treated as such.  Otherwise they become horizontal rules (<HR>).   K       An attempt is made to interpret half-lines etc as such, although the  !       effect is only approximate.i  9       Form feeds or page breaks also become <HR> markups.          *New in version 4* sL       You can use the [HTML fragment] HORIZONTAL_RULE to customize how linesA       are displayed, e.g. you can substitute your own image file.e    % 5.5.2 User defined pre-formatted textt  J       AscToHTM normally ignores any HTML markup in the original text.  TheG       sole exceptions are any preprocessor tags which a user may insertsE       into their text document (see [[GOTO Using the preprocessor]]).          For example :-  
 $_$_BEGIN_PREe4       The use of BEGIN_PRE and END_PRE preprocessor          commands (see 7.1) ino       	  the text documents               tells AscToHTM that "               this portion of the              document           has been formatted           by the user and        should be left unchanged.: $_$_END_PREs    / 5.5.3 Automatically detected pre-formatted text   M       AscToHTM attempts to spot sections of preformatted text.  This can vary J       from a single line (e.g. a line with a page number on the right-hand*       margin) to a complete table of data.  L       Where such text is detected AscToHTM analyses the section to determine=       what type of pre-formatted text it is.  Options include-         	- Tables        	- Code samplesn       	- Ascii Art and diagramso#         - some other formatted texte  /       A number of policies allow you to control   6       - whether or not the program looks for such text5       - how sensitivity it is to "pre-formatted" textcL       - how inclined the program is to "extend" the region to adjacent lines;       - whether or not table generation should be attemptedtB       - various aspects of any table analysis that is carried out.  B       See [[GOTO "Pre-formatted text policies"]] for full details.     5.5.3.1 Tables  N       Tables are marked out by their use of white space, and a regular patternJ       of gaps or vertical bars being spotted on each lines.  AscToHTM willN       attempt to spot the table, its columns, its headings, its cell alignment5       and entries that span multiple columns or rows.h  K       Should AscToHTM wrongly detect the extent of a table, you can mark uplJ       a section of text by using the [[HYPERLINK TAGGING,BEGIN/END_TABLE]]L       pre-processor commands.  Alternatively you can try adding blank lines K       before and after, as the analysis uses white space to delimit tables.   L       You can alter the characteristics of all tables via the table policies/       (see [[GOTO Table generation policies]]).l  K       You can alter the characteristics of all or individual tables via thev/       table pre-processor commands (see 7.1.4).   =       Or you can suppress the whole thing altogether via the T<       [[HYPERLINK POLICY,"Attempt TABLE generation"]] policy     5.5.3.2 Code samples  K       AscToHTM attempts to recognise code fragments in technical documents.rH       The code is assumed to be "C++" or "Java"-like, and key indicatorsK       are, for example, the presence of ";" characters on the end of lines.l  K       Should AscToHTM wrongly detect the extent of a code fragment, you canu`       mark up a section of text by using the [[HYPERLINK TAGGING,BEGIN/END_CODE]] pre-processor        commands.e  F       You can choose what type of markup is used for the code fragmentI       (see the policy [[HYPERLINK POLICY,"Use <CODE>..</CODE> markup"]]).o  C       Of you can suppress the whole thing altogether via the policy 1       [[HYPERLINK POLICY,"Expect code samples"]].e     5.5.3.3 Ascii art and diagrams  I       AscToHTM attempts to recognise Ascii art and diagrams in documents.lI       Key indicators include large numbers of non-alphanumeric charactersb!       and the use of white space.   D       However, some diagrams use the same mix of line and alphabetic>       characters as tables, so the two sometimes get confused.  E       Should AscToHTM wrongly detect the extent or type of a diagram, 5       you can mark up a section of text by using the  E       [[HYPERLINK TAGGING,BEGIN/END_DIAGRAM]] pre-processor commands.      5.5.3.4 Text blockso         *New in version 4*  H       If AscToHTM detects a block of text at a large indent, it will nowK       place that text in a table in such a way as to preserve as faithfullye&       as possible the original indent.  J       Of course, sometimes this text is, in fact, centred on the page.  Inj       that case you could consider switching on the policy [[HYPERLINK POLICY,"Allow automatic centring"]]       See 5.1.4h          5.5.3.5 Other formatted text  H       If AscToHTM detects formatted text, but decides that is is neitherK       table, code or art (and it knows what it likes), then the text may berM       put out "as normal", but with <BR> added to each line.  In such regionsdJ       other markup (such as bullets) may not be processed such as it would       be elsewhere.n       5.6   Added value markup   5.6.1 Document Title  J       AscToHTM can calculate - or be told - the title of a document.  ThisE       is placed in <TITLE>...</TITLE> markup in the <HEAD> section ofW       each HTML page produced.  I       The Title is calculated as in the order shown below.  If the first	 A       algorithm returns a value, the subsequent ones are ignored.   J       1) If a $_$_TITLE pre-processor command (see 7.1.2) is placed in the(          source text, that value is used  O       2) If the [[HYPERLINK POLICY,"Use first header as title"]] policy is set dJ          then the first heading (if any) encountered is used as the title.  J       	 Note: 	Depending on your document structure, this is prone to giveD          	bland tiles like "Introduction" , "Overview" and "Summary"  M       3) If the [[HYPERLINK POLICY,"Use first line as title"]] policy is set t>          then the first line in the file is used as the title.  S       4) If the [[HYPERLINK POLICY,"Document title"]] policy is set then this valuee          is used.   G       	 Note:  If this is the value you want, ensure the other policiess&          	outlined above are disabled.  A       5) Finally, if none of the above result in a title the texti,       	 "Converted from <filename>" is used.       5.6.2 Contents lists  I       AscToHTM can detect the presence of a contents list in the originalmL       document, or it can generate a contents list for you from the headingsM       that it observes.  There are a number of policies that give you control ;       over how and where a contents list is generated (see  -       [[GOTO Contents generation policies]]).n  I       There are four different situations in which contents lists may, ori)       may not be generated.  These are :-h  +       	- Default conversions (see 5.6.2.1).i  C       	- Conversion to a single file, using policies (see 5.6.2.2).(  F       	- Conversion to a multiple files, using policies (see 5.6.2.3).  5         - Conversion to a set of frames (see 5.6.2.4)c    - 5.6.2.1 Contents lists in default conversionsn  M       By default AscToHTM will not generate a contents list for a file unlessT       it already has one.s  I       If it should detect a contents list in the document, then that listhH       is changed into hyperlinks to the named sections.  This only works1       currently for files with numbered headings.   I       Where an existing list is detected, headings shown in the contents  F       list are converted into links, and the link text is that in the L       original contents list, and not the text in the actual heading (often        they are different).  I       Note:	AsctoHTM currently only detected numbered contents lists, andiA       		is occasionally prone to error when they are present.  Ife@       		you experience problems, either delete the contents list@       		and get AscToHTM to generate one for you, or mark up the?       		existing list using the contents pre-processor commandst       		(see 7.1.1)-    ; 5.6.2.2 Contents lists in conversions to a single HTML file   I       As described in 5.6.2.1, AscToHTM will not generate a contents listn+       by default unless it already has one.h  )       *Requesting a contents list* [[BR]]uB       You can request that a contents list is always generated, byP       using the [[HYPERLINK POLICY,"Add contents list"]] policy.  In this case a       contents list is eitheri  1       a) made from the existing contents list, oro  I       b) generated from the observed headings.  in this case the contentsbB          list will only be as good as the detection of headings in*          the rest of the document permits.  0       *Forcing a generated contents list* [[BR]]A       You can force a generated list to be used by disabling the rC       [[HYPERLINK POLICY,"Use any existing contents list"]] policy.   E       If an existing contents list is present, it is deleted from thecK       output.  Normally it's best to either use the existing contents list,lH       or to delete it from the source text and request a generated list.  '       *Contents lists placement* [[BR]] E       By default the contents list is placed at the top of the output I       file.  In earlier versions of AscToHTM the contents list was always         placed in a separate file.  J       You can cause contents lists to be placed wherever you want by usingT       the [[HYPERLINK TAGGING,CONTENTS_LIST]] preprocessor command.  If you do this,H       then contents lists is placed *only* where you place CONTENTS_LIST       markers.  <       *Generating a contents list in a separate file* [[BR]]U       If you select the [[HYPERLINK POLICY,"Generate external contents list"]] policyoE       the contents list is placed in a separate file, and a hyperlinkrJ       to that file called "Contents List" is placed at the top of the HTML'       page generated from the document.s  =       You can choose the name of the external file using the iZ       [[HYPERLINK POLICY,"External contents list filename"]] policy.  If omitted, the fileF       is called "Contents_<filename>", where <filename> is the name of#       the document being converted.s    < 5.6.2.3 Contents lists in conversions to multiple HTML files  K       AscToHTM can be made to split the output into many files.  At presentoI       this is only possible at detected section headings.  Each generatedeH       page usually has a navigation bar, which includes a hyperlink back4       to the following section in any contents list.  ?       The behaviour is identical to that in 5.6.2.2 expect thate  4       a) the output is now split into several files.  H       b) the options to generate an external contents list in a separate&          file are no longer available.  I       c) if the contents list is being generated, it is now placed at therF       	 foot of the first document, rather than at the top (unless the4          CONTENTS_LIST preprocessor command is used)  H       	 This is usually *before* the first heading (which now starts the<       	 second document), and *after* any document preamble.  I       Note:	Where the original contents list is used when splitting files A       		it is possible that not every file is directly accessibleyG       		from the contents list, and that the back links to the contentsEA       		list may not function as expected.  In such cases you cannB       		go from the contents list to a major section, and then useA       		the navigation bars to page through to the minor section.x    / 5.6.2.4 Contents lists in conversions to framesd         *New in version 4*  N       Contents list generation for the main document will proceed as described!       in the previous sections.  e  D       When making a set of frames, you can elect to have a contents D       frame generated (the default behaviour), and this will have a G       generated list placed in a frame on the left.  This can mean you cF       have a contents list in the contents frame on the left, and alsoM       at the top of the first page in the main document.  For this reason thed<       main frame often starts by displaying the second page.  N       The number of levels shown in the contents frame list can be controlled J       by policy.  Alternatively you can replace the whole contents of the B       contents frame by defining a CONTENTS_FRAME [HTML fragment].     5.6.3 Directory page  M       When converting several files at once, AscToHTM can be made to generateYK       a "Directory Page".  This is an HTML index of all the files converted        and their contents.a  F       The policies available for controlling generation of a directory?       page are explained in "[[GOTO Directory Page policies]]".   J       The directory page will consist of an entry for each file converted,M       in the order that files are converted (usually alphabetic).  Each entryl"       will (optionally) contain :-  H       - A link to the file being converted.  The link will either be theJ         converted file's HTML title, or failing that, the filename itself.  G       - Links to each of the sections of the converted file as detectedi       	by AscToHTM.n    % 5.6.4 Headers, footers and JavaScript   L       AscToHTM can be made to add standard header, footers and JavaScript toK       each page generated.  It does this by allowing you to specify include K       files to be copied into the generated HTML.  These include files can  &       contain any valid HTML commands.  7       The program supports three types of such files :-o  K       i) Header files.  These contain any HTML you want placing immediatelyM&         after the output's <BODY> tag.  G       	A good example might be a standard header, with a logo and linksh       	back to the home page.n  L       ii) Footer files.  These contain any HTML you want placing immediately'         before the closing </BODY> tag.c  H       iii) Script files,  These contain any HTML you want placing insideB  	the <HEAD> ... </HEAD> portion of the generated file.  Such tags          are not usually visible.  D       	You should place in here any JavaScript you want, although it>         is difficult to make this apply to the converted text.  O       You can specify include files for the converted files, as well as for anyeN       directory page (see 5.6.3) that you create.  If you don't specify valuesN       for the directory page, then it will use the same files as the generated       files.  G       HTML headers and footers can also be defined as [HTML fragments] E       (see 5.6.5).     5.6.5 HTML fragments         *New in version 4*  B       The "HTML fragments" feature allows you to define a block ofG       HTML that you can elect to have used in place of the default HTMLC&       that the program would generate.  D       Some reserved names are recognised by the software and used toL       override the default HTML that is generated.  For example the fragmentH       HORIZONTAL_RULE can be used to define a <IMG> tag that displays anK       image and which will be used in a number of situations where a simpleu.       <HR> tag would have been used otherwise.  H       They are described fully in the Tag Manual (see [HTML fragments]).     $_$_TABLE_WIDTH 60%a  ! 6     Using Document Policy files ! ---------------------------------   G       *This chapter has been largely superceded by the [Policy Manual]*   L       Document policy files are ordinary text files that list the "policies"H       that AscToHTM should implement when converting your document.  TheN       file can have added comment lines (starting with a "!" or "#" character)       and headings for clarity.e  O       A summary of the recognised policy lines is given in the [Policy manual].h  L       In most cases recognised policy lines are identical to those listed inK       the generated policy file (see 4.1).  This is usually a good place toe(       start when making your own policy.  C       Only those lines that are recognised policies are acted upon.m  H       To use a policy file, simply list it on the command line after the5       name of the file being converted (see 4.2.2.3).u  ,       Document policies have two main uses :  K       a) To correct any failure of analysis that AscToHTM makes.  HopefullymL          this won't be needed too much as the core analysis engine improves.  F       	 Examples include page width, whether or not underlined section#          headings are expected etc.s  K       b) To tell the program how to produce better HTML end product in ways C          that couldn't possibly be inferred from the original text.   F       	 Examples include adding colour and titles to the page, as wellG       	 as requesting a large document is split into several pages, andn!          a contents list created.y  Q       The document sections in this chapter that described the policies in detail L       have been moved to a standalone document called the "[Policy Manual]".L       That document describes the scope, effect, location and default values1       for all policies recognised by the program.p     6.1   An example conversione  G       This documentation has itself been converted using AscToHTM.  Theb       files used were_  I       - a2hdoco.txt.  This is the text version of the documentation.  TheHG       	text version is kept as the master copy and updated as required. $         It's then converted to HTML.  N       - ia2hdoco.pol.  This is the policy file used to create the HTML versionK       	of this document.  Only those policies that differ from the defaults          have been added.  D       	This policy file "includes" the link dictionary A2HLINKS.DAT.  I       - a2hlinks.dat.  This is the link dictionary used for this document <         and is used to add hyperlinks to the main text file.  F       - html_fragments.inc.  This file contains the definitions of the0       	[HTML fragments] used in this conversion.  D       These files are included in the distribution kit as an example       set of documentation.u  I       You can, of course, use AscToHTM to convert this doco into whatevere'       format, colour etc that you wish.      6.2   Analysis policiesa  K       These policies are used to control and correct the analysis of files pD       during conversion.  Full descriptions of these policies can be#       found in the [Policy Manual].   $ 6.2.1 Overview ("look for") policies  K       The following analysis policies help give you an overview of what thesM       program is looking for, and to enable/disable what is being looked for.a  8       [[HYPERLINK POLICY,"Look for indentation"]] [[BR]]?       [[HYPERLINK POLICY,"Look for hanging paragraphs"]] [[BR]]a8       [[HYPERLINK POLICY,"Look for white space"]] [[BR]]8       [[HYPERLINK POLICY,"Look for short lines"]] [[BR]]>       [[HYPERLINK POLICY,"Look for horizontal rulers"]] [[BR]]8       [[HYPERLINK POLICY,"Minimum ruler length"]] [[BR]]4       [[HYPERLINK POLICY,"Look for bullets"]] [[BR]]9       [[HYPERLINK POLICY,"Search for definitions]] [[BR]]o8       [[HYPERLINK POLICY,"Look for quoted text"]] [[BR]]D       [[HYPERLINK POLICY,"Look for MAIL and USENET headers"]] [[BR]]>       [[HYPERLINK POLICY,"Look for preformatted text"]] [[BR]]<       [[HYPERLINK POLICY,"Attempt TABLE generation"]] [[BR]].       [[HYPERLINK POLICY,"Look for diagrams"]]     6.2.2 General Layout policies   N       The following analysis policies help control general layout parameters:-  .       [[HYPERLINK POLICY,"Page width"]] [[BR]],       [[HYPERLINK POLICY,"TAB size"]] [[BR]]5       [[HYPERLINK POLICY,"Short line length"]] [[BR]]]4       [[HYPERLINK POLICY,"Min chapter size"]] [[BR]]  D       [[HYPERLINK POLICY,"Expect blank lines between paras"]] [[BR]]A       [[HYPERLINK POLICY,"Hanging paragraph position(s)"]] [[BR]]   :       [[HYPERLINK POLICY,"Search for Definitions"]] [[BR]]8       [[HYPERLINK POLICY,"New Paragraph Offset"]] [[BR]]3       [[HYPERLINK POLICY,"Definition Char"]] [[BR]]m  6       [[HYPERLINK POLICY,"Indent position(s)"]] [[BR]]     6.2.3 Bullet policiesl  L       AscToHTM has the following bullet point policies that will normally be2       correctly calculated on the analysis pass :-  -       [[HYPERLINK POLICY,"Look for bullets"]]   =       [[HYPERLINK POLICY,"Expect alphabetic bullets"]] [[BR]]l;       [[HYPERLINK POLICY,"Expect numbered bullets"]] [[BR]]k:       [[HYPERLINK POLICY,"Expect roman numeral bullets"]]   =       [[HYPERLINK POLICY,"Recognise '-' as a bullet"]] [[BR]]t=       [[HYPERLINK POLICY,"Recognise 'o' as a bullet"]] [[BR]]t(       [[HYPERLINK POLICY,"Bullet char"]]  J       AscToHTM tries hard not to get confused by the "1", "a" and "I" thatH       happen to end up at the start of lines by random.  These could get!       mistaken for bullet points.n      6.2.4 Contents analysis policies  2       There is only one analysis contents policy:-  1       [[HYPERLINK POLICY,"Expect contents list"]]   K       This is described together with all the output contents list policies .       in [[GOTO Contents generation policies]]  @       For more information on content list generation see 5.6.2.     6.2.5 File Structure policiesa  N       AscToHTM has the following file structure policies that will normally be        need to be set manually :-  ,       [[HYPERLINK POLICY,"Keep it simple"]]   7       [[HYPERLINK POLICY,"Expect code samples"]] [[BR]]-F       [[HYPERLINK POLICY,"Input file contains DOS characters"]] [[BR]]E       [[HYPERLINK POLICY,"Input file contains MIME encoding"]] [[BR]]uA       [[HYPERLINK POLICY,"Input file contains PCL codes"]] [[BR]] K       [[HYPERLINK POLICY,"Input file contains Japanese characters"]] [[BR]]r>       [[HYPERLINK POLICY,"Input file has change bars"]] [[BR]]?       [[HYPERLINK POLICY,"Input file has page markers"]] [[BR]] ?       [[HYPERLINK POLICY,"Page marker size (in lines)"]] [[BR]]l  6       [[HYPERLINK POLICY,"Text Justification"]] [[BR]]9       [[HYPERLINK POLICY,"Input file is double spaced"]] o     6.2.6 Heading policies  O       AscToHTM has the following section heading policies that will normally beu2       correctly calculated on the analysis pass :-  <       [[HYPERLINK POLICY,"Expect Numbered Headings"]] [[BR]]>       [[HYPERLINK POLICY,"Expect Underlined Headings"]] [[BR]]?       [[HYPERLINK POLICY,"Expect Capitalised Headings"]] [[BR]] <       [[HYPERLINK POLICY,"Expect Embedded Headings"]] [[BR]]0       [[HYPERLINK POLICY,"Heading key phrases"]]  >       [[HYPERLINK POLICY,"Check indentation for consistency"]]  ?       [[HYPERLINK POLICY,"Expect Second Word Headings"]] [[BR]].8       [[HYPERLINK POLICY,"First Section Number"]] [[BR]]D       [[HYPERLINK POLICY,"Smallest possible section number"]] [[BR]]C       [[HYPERLINK POLICY,"Largest possible section number"]] [[BR]]i  =       [[HYPERLINK POLICY,"Preserve underlining of headings"]]   K       Section headers are far and away the most complex things the analysisnG       pass has to detect, and the most likely area for errors to occur.n  I       AscToHTM will also document to a policy file the headings it finds.hA       This is still to be finalised, but currently has the formats  
 $_$_BEGIN_PREi#       We have 4 recognised headings ,           Heading level 0 = "" N at indent 0.           Heading level 1 = "" N.N at indent 0-           Contents level 0 = "" N at indent 0 /           Contents level 1 = "" N.N at indent 2y $_$_END_PREo  L       AscToHTM will read in such lines from a policy text file, but does notD       yet fully supported editing these via the Windows interface.    L       The syntax is explained below, but this will probably change in futureK       releases.  You can edit these lines in your policy file, and through e$       the policy options in Windows.  3       The lines are currently structured as followsk   $_$_BEGIN_TABLEt%         Line component          Valuet4         --------------------------------------------H         xxxx                    Either "Heading" or "Contents" accordingI                                 to the part of the policy being describede  H         Level n                 Level number, starting at 0 for chapters;                                 1 for level 1 headings etc.y  M         "Some_word"             Any text that may be expected to occur beforedP                                 the heading number.  E.g. "Chapter" or "Section"A                                 or "[".  The case is unimportant.t  K         N.Nx                    The style of the heading number.  This willeF                                 ultimately (in later versions) be readF                                 as a series of number/separator pairs.  6                                 The proposed format is.                                   "N" = numberL                                   "i" / "I" = lower/upper case roman numeralO                                 with an 'x' at the end signalling that trailing I                                 letters may be expected (e.g. 5.6a, 5.6b)d  M         at indent n             The indentation that this heading is expectediN                                 at.  This is important in helping to eliminate1                                 false candidates. 
 $_$_END_TABLE     ! 6.2.7 Pre-formatted text policies   O       AscToHTM has the following section heading policies that will normally bee2       correctly calculated on the analysis pass :-  9       [[HYPERLINK POLICY,"Minimum automatic <PRE> size"]]i     6.2.8 Table analysis policies          *New in version 4*  G       AscToHTM uses the following policies to control the detection andf       analysis of tables :-o  5       [[HYPERLINK POLICY,"Attempt TABLE generation"]]   3       [[HYPERLINK POLICY,"Table extending factor"]]c  8       [[HYPERLINK POLICY,"Expect sparse tables"]] [[BR]]G       [[HYPERLINK POLICY,"Ignore table header during analysis"]] [[BR]]n9       [[HYPERLINK POLICY,"Column merging factor"]] [[BR]]s<       [[HYPERLINK POLICY,"Minimum TABLE column separation"]]  8       [[HYPERLINK POLICY,"Default TABLE layout"]] [[BR]]A       [[HYPERLINK POLICY,"Tables could be blank line separated"]]s     6.3 Output policies   @       These policies are used to output and generation of files D       during conversion.  Full descriptions of these policies can be#       found in the [Policy Manual].p   6.3.1 Added HTML policies   N       AscToHTM has the following HTML policies that will only ever take effect*       if supplied in a user policy file :-  >       [[HYPERLINK POLICY,"Use first heading as title"]] [[BR]];       [[HYPERLINK POLICY,"Use first line as title"]] [[BR]]o+       [[HYPERLINK POLICY,"Document title"]]t  8       [[HYPERLINK POLICY,"Document description"]] [[BR]]5       [[HYPERLINK POLICY,"Document keywords"]] [[BR]]t4       [[HYPERLINK POLICY,"Background Image"]] [[BR]]  4       [[HYPERLINK POLICY,"HTML header file"]] [[BR]]4       [[HYPERLINK POLICY,"HTML footer file"]] [[BR]]-       [[HYPERLINK POLICY,"HTML Script file"]]n  F       [[HYPERLINK POLICY,"Omit <HEAD> and <BODY> from output"]] [[BR]]5       [[HYPERLINK POLICY,"Document Base URL"]] [[BR]] ;       [[HYPERLINK POLICY,"Comment generation code"]] [[BR]]r1       [[HYPERLINK POLICY,"HTML fragments file"]] T  N       These "polices" allow you to start "adding value" to the HTML generated.L       That is, they allow to specify things that cannot be inferred from the       original text.  H       You can also add HTML to your files by using the HTML preprocessor       command (see 7.1.1)     * 6.3.2 Cascading Style sheet policies (CSS)         *New in version 4*  E       AscToHTM has the following HTML policies that influence the usen%       of CSS in the HTML generated :-h  1       [[HYPERLINK POLICY,"Document Style Sheet"]]   -       Not visible in the user interface is :-n  ?       [[HYPERLINK POLICY,"Create embedded style sheet"]] [[BR]]     " 6.3.3 Contents generation policies  K       AscToHTM has the following HTML policies that influence the detectiont)       and generation of contents lists :-n  8       [[HYPERLINK POLICY,"Expect Contents List"]] [[BR]]  5       [[HYPERLINK POLICY,"Add contents list"]] [[BR]]v>       [[HYPERLINK POLICY,"Maximum level to show in contents"]]  ;       [[HYPERLINK POLICY,"Use any existing contents list"]]e  C       [[HYPERLINK POLICY,"Generate external contents file"]] [[BR]]d<       [[HYPERLINK POLICY,"External contents list filename"]]  9       [[HYPERLINK POLICY,"Hyperlinks on numbers"]] [[BR]]s  &       See also the discussion in 5.6.2     6.3.4 Document Colour policies         *New in version 4*  G       AscToHTM has a large number of HTML policies that can control theMH       colouring of the files.  These policies are spread across a number        of areas of functionality.         _General_   7       [[HYPERLINK POLICY,"Suppress all colour markup"]]   6       [[HYPERLINK POLICY,"Active Link Colour"]] [[BR]]5       [[HYPERLINK POLICY,"Background Colour"]] [[BR]] /       [[HYPERLINK POLICY,"Text Colour"]] [[BR]]e9       [[HYPERLINK POLICY,"Unvisited Link Colour"]] [[BR]]a0       [[HYPERLINK POLICY,"Visited Link Colour"]]         _Frames_  B       [[HYPERLINK POLICY,"Header frame background colour"]] [[BR]]<       [[HYPERLINK POLICY,"Header frame text colour"]] [[BR]]D       [[HYPERLINK POLICY,"Contents frame background colour"]] [[BR]]>       [[HYPERLINK POLICY,"Contents frame text colour"]] [[BR]]B       [[HYPERLINK POLICY,"Footer frame background colour"]] [[BR]]5       [[HYPERLINK POLICY,"Footer frame text colour"]]H         _Tables_  4       [[HYPERLINK POLICY,"Colour data rows"]] [[BR]]?       [[HYPERLINK POLICY,"Default TABLE border colour"]] [[BR]]d8       [[HYPERLINK POLICY,"Default TABLE colour"]] [[BR]]A       [[HYPERLINK POLICY,"Default TABLE even row colour"]] [[BR]] 9       [[HYPERLINK POLICY,"Default TABLE odd row colour"]]      6.3.5 Directory Page policies   G       AscToHTM has the following policies that can be used to influenceaG       whether or not AscToHTM will attempt to generate a Directory pageiJ       for the files being converted.  This is really only appropriate when7       converting more that one file at once (see 4.3.3)t  D       The Directory Page will consist of entries for each file beingH       converted (in order of conversion), and can have hyperlinks to theM       files, and to recognised headings in the files.  This makes it suitablelG       for use as a master index to a set of files converted in a single        directory.  2       [[HYPERLINK POLICY,"Make Directory"]] [[BR]]@       [[HYPERLINK POLICY,"Indent headings in Directory"]] [[BR]]A       [[HYPERLINK POLICY,"Show file titles in Directory"]] [[BR]] /       [[HYPERLINK POLICY,"Directory filename"]]s  3       [[HYPERLINK POLICY,"Directory title"]] [[BR]]h9       [[HYPERLINK POLICY,"Directory description"]] [[BR]]E6       [[HYPERLINK POLICY,"Directory keywords"]] [[BR]]<       [[HYPERLINK POLICY,"Directory return hyperlink text"]]  9       [[HYPERLINK POLICY,"Directory header file"]] [[BR]]h9       [[HYPERLINK POLICY,"Directory footer file"]] [[BR]]r2       [[HYPERLINK POLICY,"Directory script file"]]     6.3.6 File generation policies  N       AscToHTM has the following HTML policies that affect the file generation       process :- L  3       [[HYPERLINK POLICY,"Input directory"]] [[BR]] 4       [[HYPERLINK POLICY,"Output directory"]] [[BR]]6       [[HYPERLINK POLICY,"Use .HTM extension"]] [[BR]]2       [[HYPERLINK POLICY,"Output file extension"]]  G       [[HYPERLINK POLICY,"Preserve file structure using <PRE>"]] [[BR]]n;       [[HYPERLINK POLICY,"Preserve line structure"]] [[BR]] ;       [[HYPERLINK POLICY,"Treat each line as a paragraph"]]i  >       [[HYPERLINK POLICY,"Generate diagnostics files"]] [[BR]]6       [[HYPERLINK POLICY,"Output policy file"]] [[BR]]:       [[HYPERLINK POLICY,"Output policy filename"]] [[BR]]  5       [[HYPERLINK POLICY,"DOS filename root"]] [[BR]]r5       [[HYPERLINK POLICY,"Use DOS filenames"]] [[BR]]m  /       [[HYPERLINK POLICY,"Split level"]] [[BR]][6       [[HYPERLINK POLICY,"Min HTML File size"]] [[BR]]6       [[HYPERLINK POLICY,"Add navigation bar"]] [[BR]];       [[HYPERLINK POLICY,"Minimise HTML file size"]] [[BR]]e  <       [[HYPERLINK POLICY,"Break up long HTML lines"]] [[BR]]  O       These policies specify how your document is divided into one or more HTMLiI       files, and how those files are to be named and linked together withn       hyperlinks.)     6.3.7 Font policiesc  I       AscToHTM supports the implementation of fonts via either Cascading A/       style sheets (CSS) or via the <FONT> tag.e         Related policies are :-y  >       [[HYPERLINK POLICY,"Use CSS to implement fonts"]] [[BR]]*       [[HYPERLINK POLICY,"Default font"]]      6.3.8 Frames policies          *New in version 4*  N       From version [[TEXT 4]] onwards AscToHTM will support the output of HTMLG       as a set of HTML FRAMES.  A large number of policies support thiso       process.         _General_   5       [[HYPERLINK POLICY,"Place document in frames"]]r  .       [[HYPERLINK POLICY,"Output frame name"]]-       [[HYPERLINK POLICY,"Add Frame border"]]   B       [[HYPERLINK POLICY,"Open frame links in new window"]] [[BR]]7       [[HYPERLINK POLICY,"New frame link window name"]]t  6       [[HYPERLINK POLICY,"Add NOFRAMES links"]] [[BR]].       [[HYPERLINK POLICY,"NOFRAMES link URL"]]  (       _Header and Footer frame policies_  C       [[HYPERLINK POLICY,"Use main header in header frame"]] [[BR]]./       [[HYPERLINK POLICY,"Header Frame depth"]].  C       [[HYPERLINK POLICY,"Use main footer in footer frame"]] [[BR]] /       [[HYPERLINK POLICY,"Footer Frame depth"]]          _Contents frame_  B       [[HYPERLINK POLICY,"Add contents frame if possible"]] [[BR]]8       [[HYPERLINK POLICY,"Contents Frame width"]] [[BR]]?       [[HYPERLINK POLICY,"Number of levels in contents frame"]]a         _Main Frame_  /       [[HYPERLINK POLICY,"Split level"]] [[BR]]A6       [[HYPERLINK POLICY,"Min HTML File size"]] [[BR]]4       [[HYPERLINK POLICY,"First frame page number"]]         _Frame colours_e  B       [[HYPERLINK POLICY,"Header frame background colour"]] [[BR]]<       [[HYPERLINK POLICY,"Header frame text colour"]] [[BR]]D       [[HYPERLINK POLICY,"Contents frame background colour"]] [[BR]]>       [[HYPERLINK POLICY,"Contents frame text colour"]] [[BR]]B       [[HYPERLINK POLICY,"Footer frame background colour"]] [[BR]]5       [[HYPERLINK POLICY,"Footer frame text colour"]]e     6.3.9 Hyperlink policies  F       AscToHTM has the following hyperlink policies set as defaults :-  5       [[HYPERLINK POLICY,"Create hyperlinks"]] [[BR]]o7       [[HYPERLINK POLICY,"Create mailto links"]] [[BR]]"F       [[HYPERLINK POLICY,"Allow email beginning with numbers"]] [[BR]]5       [[HYPERLINK POLICY,"Check domain name syntax"]]o  7       [[HYPERLINK POLICY,"Create gopher links"]] [[BR]]L4       [[HYPERLINK POLICY,"Create FTP links"]] [[BR]]:       [[HYPERLINK POLICY,"Only allow explicit FTP links"]]  5       [[HYPERLINK POLICY,"Create NEWS links"]] [[BR]] 9       [[HYPERLINK POLICY,"Only use known groups"]] [[BR]] 5       [[HYPERLINK POLICY,"Recognised USENET groups"]]]  9       [[HYPERLINK POLICY,"Add <BR> to lines with URLs"]]    0       [[HYPERLINK POLICY,"Cross-refs at level"]]  C       [[HYPERLINK POLICY,"Open link in new browser window"]] [[BR]]E4       [[HYPERLINK POLICY,"new browser window name"]]  J       Hyperlinks can also be added by using a link dictionary (see 4.3.2.2       and 4.4.2).p     6.3.10 Link Dictionary policiesY  <       Link definitions appear in a policy file as follows :-  
 $_$_BEGIN_PREk         [Link Dictionary]          ----------------- O         Link definition       :  "a2hdoco.txt" = "Source text" + "/~jaf/A2HDOCO  $_$_END_PREL  K       That is, the text to be matched, the text to be used in its placed as N       the highlighted text, and the URL this link is to point to (in this case       a relative URL).  /       See the discussions in 4.3.2.2 and 4.4.2.s     6.3.11 Preprocessor policies  G       AscToHTM has the following policies that can be used to influenceLZ       the preprocessor (see [[GOTO Using the preprocessor]]), and hence the HTML output :-  4       [[HYPERLINK POLICY,"Use Preprocessor"]] [[BR]]8       [[HYPERLINK POLICY,"Include document section(s)"]]  9       [[HYPERLINK POLICY,"Allow definitions inside PRE"]]e     6.3.12 HTML styling policies  H       AscToHTM has the following "styling" that can be used to influence       the HTML output :-  <       [[HYPERLINK POLICY,"Allow automatic centring"]] [[BR]]@       [[HYPERLINK POLICY,"Automatic centring tolerance"]] [[BR]]?       [[HYPERLINK POLICY,"Ignore multiple blank lines"]] [[BR]]l  =       [[HYPERLINK POLICY,"Highlight definition text"]] [[BR]]eC       [[HYPERLINK POLICY,"Use <DL> markup for defn. paras"]] [[BR]][  <       [[HYPERLINK POLICY,"Largest allowed <Hn> tag"]] [[BR]]=       [[HYPERLINK POLICY,"Smallest allowed <Hn> tag"]] [[BR]] 3       [[HYPERLINK POLICY,"Headings colour"]] [[BR]]m=       [[HYPERLINK POLICY,"Preserve underlining of headings"]].  0       [[HYPERLINK POLICY,"Search for emphasis"]]  :       [[HYPERLINK POLICY,"Use <EM> and <STRONG> markup"]]   :       [[HYPERLINK POLICY,"Preserve New Paragraph Offset"]]  5       Also, not available in the user interface is :-   ?       [[HYPERLINK POLICY,"First line indentation (in blocks)"]]t    6.3.13 Table Generation policies  G       AscToHTM has the following policies that can be used to influenceuF       whether or not AscToHTM will attempt to detect and generate HTML9       tables, and the attributes of any tables generated.Y  J       Tables may be tailored individually by adding pre-processor commands%       to your source text (see 7.1.4)]  <       [[HYPERLINK POLICY,"Attempt TABLE generation"]] [[BR]]  >       [[HYPERLINK POLICY,"Default TABLE cell spacing"]] [[BR]]>       [[HYPERLINK POLICY,"Default TABLE cell padding"]] [[BR]]=       [[HYPERLINK POLICY,"Default TABLE border size"]] [[BR]]h0       [[HYPERLINK POLICY,"Default TABLE width"]]  8       [[HYPERLINK POLICY,"Default TABLE colour"]] [[BR]]?       [[HYPERLINK POLICY,"Default TABLE border colour"]] [[BR]]N  4       [[HYPERLINK POLICY,"Colour data rows"]] [[BR]]A       [[HYPERLINK POLICY,"Default TABLE even row colour"]] [[BR]]i:       [[HYPERLINK POLICY,"Default TABLE odd row colour"]]   ;       [[HYPERLINK POLICY,"Default TABLE alignment"]] [[BR]]n9       [[HYPERLINK POLICY,"Default TABLE cell alignment"]]   :       [[HYPERLINK POLICY,"Convert TABLE X-refs to links"]]  M       The following policies can only be changed through policy file, but areBK       probably best not used in favour of the their equivalent preprocessorY       tags.Y  2       [[HYPERLINK POLICY,"Default TABLE caption"]]  =       [[HYPERLINK POLICY,"Default TABLE header rows"]] [[BR]]"7       [[HYPERLINK POLICY,"Default TABLE header cols"]]    >       [[HYPERLINK POLICY,"Column boundaries have zero width"]]  7       [[HYPERLINK POLICY,"Use <CODE>..</CODE> markup"]]N     6.3.14 Miscellaneous policiesn  G       AscToHTM supports the following policies which currently can onlyn*       be added by editing the .policy file         _Contents List_n>       [[HYPERLINK POLICY,"Add mail headers to contents list"]]         _CSS_ 8       [[HYPERLINK POLICY,"Create embedded style sheet"]]         _File generation_s<       [[HYPERLINK POLICY,"Break up long HTML lines"]] [[BR]]?       [[HYPERLINK POLICY,"HTML version to be targeted"]] [[BR]] B       [[HYPERLINK POLICY,"Lines to ignore at end of file"]] [[BR]]=       [[HYPERLINK POLICY,"Lines to ignore at start of file"]]i  
       _Fonts_ 5       [[HYPERLINK POLICY,"Suppress all font markup"]]          _Headings_8       [[HYPERLINK POLICY,"Expect Second Word Headings"]]1       [[HYPERLINK POLICY,"First Section Number"]]iC       [[HYPERLINK POLICY,"Number of words to include in filename"]]i         _HTML Generation_e8       [[HYPERLINK POLICY,"HTML version to be targeted"]]  
       _Style_h?       [[HYPERLINK POLICY,"First line indentation (in blocks)"]]u         _Tables_2       [[HYPERLINK POLICY,"Default TABLE caption"]]  =       [[HYPERLINK POLICY,"Default TABLE header rows"]] [[BR]]-7       [[HYPERLINK POLICY,"Default TABLE header cols"]] "  >       [[HYPERLINK POLICY,"Column boundaries have zero width"]]  7       [[HYPERLINK POLICY,"Use <CODE>..</CODE> markup"]]      6.4   Settings policiesi         *New in version 4*  L       These policies are used to control the behaviour of the program duringH       the conversion process.  Most program setting are not available asJ       policies, but those that are are listed here.  Full descriptions of 9       these policies can be found in the [Policy Manual].      6.4.1 Error reporting   I       The following policies can be used to tailor the number and type of +       messages displayed during conversion.   2       [[HYPERLINK POLICY,"Error reporting level"]]  4       [[HYPERLINK POLICY,"Suppress INFO messages"]],8       [[HYPERLINK POLICY,"Suppress TAG ERROR messages"]]2       [[HYPERLINK POLICY,"Suppress URL messages"]]6       [[HYPERLINK POLICY,"Suppress WARNING messages"]]<       [[HYPERLINK POLICY,"Suppress program ERROR messages"]]    % 6.5   Saving and loading policy filese  E       This section has been copied into the Policy manual section on tW       [[HYPERLINK URL,"policy_manual_3.html#Section_3.1","placing policies in a file"]]a   6.5.1 Overview i  H       AscToHTM allows you to save policies to file so that you can laterC       reload them.  This allows you to easily define different waysoF       of doing conversions, either for different types of files, or to(       produce different types of output.  G       The policy files have a .pol extension by default, and are simplesF       text files, with one policy on each line.  You can, if you wish,F       edit these policies in a text editor... this is sometimes easier8       that using all the dialogs in the Windows version.  I       When editing policies, it is important not to change the key phraseNM       (the bit before the ":" character), as this needs to be matched exactlye       by AscToHTM.  G       For best results, it is advisable to put in your policy file only H       those policies you want to fix.  This leaves AscToHTM to calculateH       document-by-document policies that suit the files being converted.  F       Note:	Avoid using "full" policy file for your conversions.  Such?       		files prevent the program from adjusting to each source 0       		file, often leading to unwanted results.    / 6.5.2 Generating policy files for your document   K       The normal way to create a policy file is by setting options and themtK       saving them using the "save policy file" dialog.  This will offer you H       the choice of creating a partial policy file or a full policy file        (see 6.5.2.1 and 6.5.2.2).       V       Alternatively, you can set the [[HYPERLINK POLICY,"Output policy file"]] policy H       which will generate a full policy file resulting from the analysis        of the converted document.  K       Once a file is generated you can either edit them in a text editor - [M       deleting policies that are of little interest to you, and editing thoseOL       that are - or reload them into the program, change them and save them        again.     6.5.2.1 Partial policy files  I       Partial policy files are files which have values for some, not all,c       policies.   J       These are recommended, because the it leaves AscToHTM free to adjustJ       all the other policies not set in the file, allowing it to adapt to 2       the details of the document being concerned.  K       For example, you should only set the indentation policy if you *know*tM       what indents you are using, or if you want to override those calculatedeF       by AscToHTM.  Normally it is best to omit this policy, and allow%       AscToHTM to work it out itself.h  M       When you save a policy file from inside AscToHTM, a partial policy filee       will contain  B       	- all policies loaded from the current policy file (if any)M       	- all policies changed in AscToHTM during the current session (if any)o     6.5.2.2 Full policy filese  M       A "full" policy file contains a value for almost every possible policy.oG       Such files are usually only useful for documentation and analysisRJ       reasons, and should almost never be expected to be reloaded as inputJ       into a conversion, as this would totally fix the conversion details.          6.5.3 Naming policy files   N       Whenever the [[HYPERLINK POLICY,"Output policy file"]] policy is set the4       generated "full" policy file is usually called         	<filename>.pol"  H       where <filename> is the name of the file being created.  When thisA       happens any existing file of that name will be overwritten.   K       For this reason we *strongly* advise you adopt a naming convention ofo       the form  +       	in_<filename>.pol or i<filename>.polr  K       or place your input policies in a different directory and ensure theyI       are backed up.     $_$_TABLE_WIDTH    7     Using the preprocessor ----------------------------  I       The preprocessor was introduced to allow users more flexibility in lD       the HTML they generate.  As such it allows AscToHTM to be usedJ       as a HTML authoring tool, as opposed to a simple text conversion or        migration tool.  "  !       The preprocessor looks for R  L       i) "Directives".  These are lines that begin with a special character & 	 sequence.  Presently this is "$_$_".  <       ii) "Tags" that are enclosed in "[[OT]]" and "[[CT]]".  M       A separate document - the [Tag Manual] - has been produced to describe ]L       the pre-processor commands in detail.  That document replaces much of E       the contents that were originally in this section and the next.   L       Some commands may be either tags or directives, this is explained more       in the tag manual.   7.1   Directives  ! 7.1.1 Marking up sections of text]  M       The pre-processor can be used to mark sections in your document so thati-       AscToHTM will process them as you wish.e         These include :-  3       [[HYPERLINK TAGGING,"BEGIN/END_CODE"]] [[BR]] 7       [[HYPERLINK TAGGING,"BEGIN/END_CONTENTS"]] [[BR]] 6       [[HYPERLINK TAGGING,"BEGIN/END_DIAGRAM"]] [[BR]]3       [[HYPERLINK TAGGING,"BEGIN/END_HTML"]] [[BR]]e5       [[HYPERLINK TAGGING,"BEGIN/END_IGNORE"]] [[BR]]t2       [[HYPERLINK TAGGING,"BEGIN/END_PRE"]] [[BR]]4       [[HYPERLINK TAGGING,"BEGIN/END_TABLE"]] [[BR]],       [[HYPERLINK TAGGING,"SECTION"]] [[BR]]  D       [[HYPERLINK TAGGING,"BEGIN/END_COMMA_DELIMITED_TABLE"]] [[BR]]>       [[HYPERLINK TAGGING,"BEGIN/END_DELIMITED_TABLE"]] [[BR]]    ; 7.1.2 Commands that influence the <HEAD>..</HEAD> of a filen  J       Some commands can be used to control the contents of the HTML <HEAD>J       section.  These attributes are largely non-visual, but may influence;       how the document is indexed (e.g. by search engines).          Commands include :-r  *       [[HYPERLINK TAGGING,"TITLE"]] [[BR]]0       [[HYPERLINK TAGGING,"DESCRIPTION"]] [[BR]]-       [[HYPERLINK TAGGING,"KEYWORDS"]] [[BR]] 0       [[HYPERLINK TAGGING,"STYLE_SHEET"]] [[BR]]&       [[HYPERLINK TAGGING,"BASEHREF"]]  P       To fully understand how titles are calculated, see the discussion in 5.6.1    % 7.1.3 One line pre-processor commands   F       These commands exist on a line by themselves.  They either causeK       something to be executed at the point they occur, or are used to mark ,       that location in the file in some way.         The commands include :-s  2       [[HYPERLINK TAGGING,"CONTENTS_LIST"]] [[BR]].       [[HYPERLINK TAGGING,"HTML_LINE"]] [[BR]],       [[HYPERLINK TAGGING,"INCLUDE"]] [[BR]]-       [[HYPERLINK TAGGING,"LINERULE"]] [[BR]] 3       [[HYPERLINK TAGGING,"NAVIGATION_BAR"]] [[BR]] (       [[HYPERLINK TAGGING,"TOC"]] [[BR]]     7.1.4 The TABLE commands  H       A large number of delimiters influence the detection, analysis andK       generation of tables.  These are discussed in the [Tag manual] in theEU       [[HYPERLINK URL,"tag_manual_2.html#Section_2.5","The TABLE commands"]] section."  #       The table commands include :-"  4       [[HYPERLINK TAGGING,"BEGIN/END_TABLE"]] [[BR]]  2       [[HYPERLINK TAGGING,"TABLE_BGCOLOR"]] [[BR]]1       [[HYPERLINK TAGGING,"TABLE_BORDER"]] [[BR]]"6       [[HYPERLINK TAGGING,"TABLE_BORDERCOLOR"]] [[BR]]2       [[HYPERLINK TAGGING,"TABLE_CAPTION"]] [[BR]]6       [[HYPERLINK TAGGING,"TABLE_CELLPADDING"]] [[BR]]6       [[HYPERLINK TAGGING,"TABLE_CELLSPACING"]] [[BR]]5       [[HYPERLINK TAGGING,"TABLE_CELL_ALIGN"]] [[BR]]s8       [[HYPERLINK TAGGING,"TABLE_COLO(U)R_ROWS"]] [[BR]]8       [[HYPERLINK TAGGING,"TABLE_CONVERT_XREFS"]] [[BR]]<       [[HYPERLINK TAGGING,"TABLE_EVEN_ROW_COLO(U)R"]] [[BR]]6       [[HYPERLINK TAGGING,"TABLE_HEADER_COLS"]] [[BR]]6       [[HYPERLINK TAGGING,"TABLE_HEADER_ROWS"]] [[BR]]8       [[HYPERLINK TAGGING,"TABLE_MAY_BE_SPARSE"]] [[BR]]@       [[HYPERLINK TAGGING,"TABLE_MIN_COLUMN_SEPARATION"]] [[BR]];       [[HYPERLINK TAGGING,"TABLE_ODD_ROW_COLO(U)R"]] [[BR]]a  D       [[HYPERLINK TAGGING,"BEGIN/END_COMMA_DELIMITED_TABLE"]] [[BR]]>       [[HYPERLINK TAGGING,"BEGIN/END_DELIMITED_TABLE"]] [[BR]]0       [[HYPERLINK TAGGING,"TABLE_ALIGN"]] [[BR]]8       [[HYPERLINK TAGGING,"TABLE_IGNORE_HEADER"]] [[BR]]1       [[HYPERLINK TAGGING,"TABLE_LAYOUT"]] [[BR]]R     7.1.5 The CHANGE_POLICY commandm  D       The CHANGE_POLICY command allows policies as described in the F       [Policy Manual].  You can read more about this in the Tag ManualY       under [[HYPERLINK URL,"tag_manual_2.html#Section_2.6","The CHANGE_POLICY command"]]]     7.1.6 Block definition  H       The programs allows you to define "blocks" of text that can later G       be inserted or embedded wherever you want in the text.  For more ]}       details read the Tag Manual section [[HYPERLINK URL,"tag_manual_2.html#Section_2.7","Definition blocks and variables"]]o         Commands include :-   E       [[HYPERLINK TAGGING,"DEFINE/END_BLOCK and RESET_BLOCK"]] [[BR]] 4       [[HYPERLINK TAGGING,"DEFINE_VARIABLE"]] [[BR]]0       [[HYPERLINK TAGGING,"EMBED_BLOCK"]] [[BR]]1       [[HYPERLINK TAGGING,"INSERT_BLOCK"]] [[BR]]r  C       [[HYPERLINK TAGGING,"SAVE_CONTEXT...RESTORE_CONTEXT"]] [[BR]]Y     7.1.7 HTML Fragments         *New in version 4*  H       It is possible to define blocks of HTML that the program will use H       instead of the HTML it normally produces in certain circumstances.  L       These blocks of HTML can themselves contain special HTML fragment tagsA       to allow the HTML to be customized.  For example the block  K       HORIZONTAL_RULE can be used to replace the <HR> tag produced whereverhI       lines are detected by a .gif of your choice.  If you want this .gifpM       to adopt suitable length and alignment (to match those in the original  G       text) you can use the HTML fragment tags RULEWIDTH and RULEALIGN.   N       A full description of [HTML fragments] can be found in the [Tag Manual].     7.2   In-line tags  K       In-line tags are introduced in version [[TEXT 3.2]].  They allow you OI       to place special codes in your source text to achieve effects that NM       couldn't be done by converting plain text alone.  As such they greatly  D       enhance AscToHTM's ability to be used as a web authoring tool.     7.2.1 Format of in-line tags  K       In-line tags are an extension of the preprocessor tags introduced in YI       earlier versions.  As the name implies, in-line tags may be placed NN       "in line" with the source tag, giving greater flexibility for their use.  M       In-line tags are signified by the start and end delimiters "[[OT]]" andy       "[[CT]]", for example :-  @       	[[OT]]HTML_COMMENT this will become an HTML comment[[CT]]  N       The whole tag must be contained within a single line of the source file,L       that is there cannot be any newline characters in the middle of a tag.K       You can have as many tags as you like on any given line, but they mayi       not be nested.  H       In-line tags are fully documented in the [Tag Manual].  A summary >       of some of the in-line tags available is given in 7.2.2.     7.2.2 Summary of in-line tagss  D       This is a brief list of the available in-line tags.  A fuller H       description of using in-line tags is available in the [tag manual]         Tags include :-I  4       [[HYPERLINK TAGGING,"BR (line break)"]] [[BR]]-       [[HYPERLINK TAGGING,"COLO(U)R"]] [[BR]]E2       [[HYPERLINK TAGGING,"CONTENTS_LIST"]] [[BR]]+       [[HYPERLINK TAGGING,"ENTITY"]] [[BR]]M)       [[HYPERLINK TAGGING,"FONT"]] [[BR]]e)       [[HYPERLINK TAGGING,"GOTO"]] [[BR]] )       [[HYPERLINK TAGGING,"HTML"]] [[BR]]e1       [[HYPERLINK TAGGING,"HTML_COMMENT"]] [[BR]]i.       [[HYPERLINK TAGGING,"HYPERLINK"]] [[BR]].       [[HYPERLINK TAGGING,"LINKPOINT"]] [[BR]]+       [[HYPERLINK TAGGING,"SPACES"]] [[BR]]i?       [[HYPERLINK TAGGING,"NB ""non-breaking spaces"""]] [[BR]]o2       [[HYPERLINK TAGGING,"SUPER and SUB"]] [[BR]])       [[HYPERLINK TAGGING,"TEXT"]] [[BR]] .       [[HYPERLINK TAGGING,"TIMESTAMP"]] [[BR]]  1       [[HYPERLINK TAGGING,"TABLE_LAYOUT"]] [[BR]]]-       [[HYPERLINK TAGGING,"FILENAME"]] [[BR]]d-       [[HYPERLINK TAGGING,"FRACTION"]] [[BR]]O0       [[HYPERLINK TAGGING,"IGNORE_THIS"]] [[BR]]-       [[HYPERLINK TAGGING,"VARIABLE"]] [[BR]] ,       [[HYPERLINK TAGGING,"VERSION"]] [[BR]]     8     Frames ------------   8.1   Overview         *New in version 4*  H       New in version 4 is the ability to have the program generate a setH       of frames from your source file.  The program works to a model setF       of frames as shown below, but you have a great degree of controlD       over how the frames are laid out, and what their contents are.   $_$_BEGIN_DIAGRAMlD       +------------------------------------------------------------+D       |                       Header frame                         |D       |                        (optional)                          |D       +-------------+----------------------------------------------+D       |  NOFRAMES   |                                              |D       |    link     |                                              |D       |             |                                              |D       |             |                                              |D       |             |                                              |D       |  Contents   |               Main                           |D       |   Frame     |               Frame                          |D       | (optional)  |                                              |D       |             |                                              |D       |             |                                              |D       |             |                                              |D       |             |                                              |D       |             |                                              |D       +-------------+----------------------------------------------+D       |                       Footer frame                         |D       |                        (optional)                          |D       +------------------------------------------------------------+ $_$_END_DIAGRAMy          8.2   The frames generated  $ 8.2.1 The master <FRAMESET> document  K       Frames are implemented under HTML by having a document that describesSC       the frame layout by using one or more nested <FRAMESET> tags. L       These tags group together <FRAME> tags that identify other HTML files I       that describe the contents of the individual frames or panes.  The  O       HTML page containing the <FRAMESET> doesn't normally contain any visible OI       content.  The source of this HTML page looks something like this :-L  
 $_$_BEGIN_PREe        <FRAMESET ROWS="110,*,90">/         <FRAME NAME="header" SRC="header.html">          <FRAMESET COLS="260,*">N5           <FRAME NAME="contents" SRC="contents.html">O-           <FRAME NAME="main" SRC="main.html">i         </FRAMESET>a0         <FRAME NAME="footer" SRC="footer.html"">         <NOFRAMES>           <BODY>4           <p>This browser does not support FRAMES<p>$           <p>Visit <A TARGET="_top" 9       		      HREF="noframes_main.html">this link</A></p>            </BODY>L         </NOFRAMES>]       </FRAMESET>N $_$_END_PREa  I       This example produces a layout similar to that shown in the diagrame2       in 8.1.  There are four frames as follows :-  E       - "header" at the top of the screen with content taken from thes          HTML page header.html  H       - "footer" at the bottom of the screen with content taken from the          HTML page footer.html  G       - the two frames "contents" and "main" side by side in the middleFE         of the screen, between the "header" and "footer" frames.  TheMG         "contents" frame is on the left, the "main" frame on the right.b@         The contents of these frames are held in the html files (         "contents.html" and "main.html".  M       The <NOFRAMES> tag describes the content to be displayed if the browsergN       doesn't support frames.  This is less common now, but is still importantI       as many search engines don't understand frames, and will only indexR0       the pages linked to in the <NOFRAMES> tag.  M       In HTML the frame names and source file names can be whatever you like. F       AscToHTM uses the frame names "header", "footer", "contents" andJ       "main", but will vary the source file names according to the name of       your input filename.  G       Depending on the details of your conversion, not all of the above H       frames are generated, in which case the <FRAMESET> tags will look        slightly different.  r  K       You don't need to worry about any of this as AscToHTM will determine  M       what layout is required and will generate the necessary HTML <FRAMESET>        code.   L       By default if you convert a file called "myfile.txt" the files created       are named as follows:-  , 	myfile_frame.html		- Master <FRAMESET> file  1 	myfile_header_frame.html	- "header" source file.e5 	myfile_contents_frame.html	- "contents" source file. 1 	myfile_footer_frame.html	- "footer" source file.o  $ 	myfile.html			- "main" source file.     8.2.2 The "main" frame  G       The "main" frame will contain the conversion of your source file.wF       If you elect to split a document into many pages, then this willL       show the start page (which will have links to any next/previous page).  C       See also [[GOTO Splitting the document into many HTML pages]]      8.2.3 The "contents" frame  D       If your document has recognised headings, then the program is D       able to generate a contents list (see 5.6.2).  In such cases a=       "contents" frame is generated and the contents list is t;       placed in a file called "myfile_contents_frame.html".   F       If no contents list can be generated, then no contents frame is F       created unless you supply a CONTENTS_FRAME [HTML fragment] to be<       used as the contents of the "contents" frame (see 8.4)  C       The contents frame is placed to the left of the main frame.   @       It will include a hyperlink labelled "NOFRAMES" (see 8.5) M       and the generated contents list.  This is different from the <NOFRAMES>e       tag described in 8.2.1.   L       You can use policies (see 8.3) to suppress the creation of a contents )       frame or to control the following:-t         - width of the frame&       - colours of background and text=       - number of levels shown in the generated contents listeD       - whether a "NOFRAMES" link is shown, and what URL it links to       H       You can also customize the frame's appearance using the following         [HTML fragments] (see 8.4)         - CONTENTS_FRAME       - START_TOC / END_TOCn    & 8.2.4 The "header" and "footer" frames  K       The software cannot "detect" headers and footers in your source text, J       so you will only get a header or footer frame if you supply the HTMLK       yourself.  Header and footer frames can be useful as they provide youaK       with the opportunity to supply titles, navigation links or copyright h&       notices that are always visible.  J       Prior to version 4 the software already had the ability to add HTML G       headers and footers to each page generated using HTML supplied inoI       separate files identified by policy values.  From version 4 onwardsf(       [HTML fragments] may also be used.  H       *NOTE: We recommend that, where possible, you use [HTML fragments]+       to define any header and footer HTML*c  K       It's expected that you may want to convert the same source into both [J       frames and non-frames forms, using the same policy file.  Given thisK       the program has the ability to "promote" the HTML headers and footers K       used in non-frames production into their own always-visible frames.  nC       Equally there may be times when this behaviour is not wanted.r  F       The relationships between headers and footers used in non-framesO       conversion and those used in frames-based conversion are quite complex.  oF       In the following sections we describe how headers (footers) are J       calculated.  The logic is described for headers, but applies equally=       well to footers if you make the necessary name changes.m    & 8.2.4.1 Non-frames use of HTML headers  J       In non-frames conversion each page created will get a HTML header if  B       a) The policy [[HYPERLINK POLICY,"HTML header file"]] is set3       b) The [HTML fragment] HTML_HEADER is definedi  F       If both are set, the HTML_HEADER fragment is used in preference.  H       The selected header is referred to as the "standard" header in the*       discussion in the next two sections.  G       Note:	For HTML footers the fragment HTML_FOOTER is used, and the cH       		policy [[BR]] [[HYPERLINK POLICY,"HTML footer file"]] is tested.     8.2.4.2 "main" frame header   K       In frames conversion the HTML header added to each page is determined        by three things   E       - Any "standard" HTML header defined for non-frames conversion         	(see 8.2.4.1)I       - the policy [[HYPERLINK POLICY,"Use main header in header frame"]] E       - whether or not a [HTML fragment] MAIN_FRAME_HEADER is defined   F       If the fragment MAIN_FRAME_HEADER is defined, then that is used.  G       If the fragment MAIN_FRAME_HEADER is not defined, and there is noAA       "standard" header, then the main frame gets no HTML header.e  O       If the fragment MAIN_FRAME_HEADER is not defined, and the policy is *not*,I       set then the "standard" header is used as in non-frames conversion.R  N       If the fragment MAIN_FRAME_HEADER is not defined, and the policy is set J       then the "standard" header is promoted into its own "header" frame, -       and the main frame gets no HTML header.t  I       Note:	For HTML footers the fragment MAIN_FRAME_FOOTER is used, and e[       		the policy [[BR]] [[HYPERLINK POLICY,"use main footer in footer frame"]] is tested.n  s   8.2.4.3 "header" frame    E       In frames conversion whether or not a "header" frame is createds#       is determined by three thingsG  E       - Any "standard" HTML header defined for non-frames conversion           (see 8.2.4.1),I       - the policy [[HYPERLINK POLICY,"Use main header in header frame"]] @       - whether or not a [HTML fragment] HEADER_FRAME is defined  P       If the fragment HEADER_FRAME is defined, then that is used as the contents       of a "header" frame.  M       If the fragment HEADER_FRAME is not defined, and there is no "standard" 1       header, then no "header" frame is created. r  M       If the fragment HEADER_FRAME is not defined, and the policy is not set,s)       then no "header" frame is created. T  N       If the fragment HEADER_FRAME is not defined, and the policy is set, thenL       the "standard" header is used as the contents of the "header" frame.  N       In other words "standard" header is promoted from the "main" frame into        its own "header" frame.o  D       Note:	For HTML footers the fragment FOOTER_FRAME is used, and [       		the policy [[BR]] [[HYPERLINK POLICY,"use main footer in footer frame"]] is tested.   3 8.3   Using policies to control the frame structureT  H       A large number of policies influence frames generation.  These are2       described more fully in the [Policy Manual].         _general_G  . 	[[HYPERLINK POLICY,Place document in frames]]' 	[[HYPERLINK POLICY,Output frame name]]Y  & 	[[HYPERLINK POLICY,Add Frame border]]  0 	[[HYPERLINK POLICY,New frame link window name]]4 	[[HYPERLINK POLICY,Open frame links in new window]]         _contents frame_  4 	[[HYPERLINK POLICY,Add contents frame if possible]]  ( 	[[HYPERLINK POLICY,Add NOFRAMES links]]' 	[[HYPERLINK POLICY,NOFRAMES link URL]]   8 	[[HYPERLINK POLICY,Number of levels in contents frame]]  * 	[[HYPERLINK POLICY,Contents Frame width]]6 	[[HYPERLINK POLICY,Contents frame background colour]]0 	[[HYPERLINK POLICY,Contents frame text colour]]         _main frame_  - 	[[HYPERLINK POLICY,First frame page number]]R  L       A number of [[GOTO file generation policies"]] affect the main frame's       appearance, including :-  * 	[[HYPERLINK POLICY,"Split level"]] [[BR]]1 	[[HYPERLINK POLICY,"Min HTML File size"]] [[BR]]R1 	[[HYPERLINK POLICY,"Add navigation bar"]] [[BR]]T          _header and footer frames_  5 	[[HYPERLINK POLICY,Use main header in header frame]]T( 	[[HYPERLINK POLICY,Header Frame depth]]4 	[[HYPERLINK POLICY,Header frame background colour]]. 	[[HYPERLINK POLICY,Header frame text colour]]  5 	[[HYPERLINK POLICY,Use main footer in footer frame]]l( 	[[HYPERLINK POLICY,Footer Frame depth]]4 	[[HYPERLINK POLICY,Footer frame background colour]]. 	[[HYPERLINK POLICY,Footer frame text colour]]    5 8.4   Using HTML fragments to override frame contentsa  J       [HTML fragments] were introduced in version 4 as a means of allowingH       users to customize some the HTML generated by the software.  This 3       feature is heavily used in frames generation.S  ;       The fragment names used in frames production includesn  ;       HEADER_FRAME	If defined, this fragment is used as then6 			contents of a header frame at the top of the screen  <       FOOTER_FRAME	If defined, this fragment is used as the 2 			contents of a footer frame at the bottom of the	 			screen   F       CONTENTS_FRAME	If defined, this fragment is used as the contents5 			of the "contents" frame on the left of the screen. 6 			If not defined the "contents" frame will contain a  			generated contents list  @       MAIN_FRAME_FOOTER If defined, this fragment is used as the6       			HTML footer of each page that appears in the 2 			main frame, overriding any HTML_FOOTER or value 			defined via policy file.   @       MAIN_FRAME_HEADER If defined, this fragment is used as the6       			HTML header of each page that appears in the 2 			main frame, overriding any HTML_HEADER or value 			defined via policy file.m  >       Other HTML fragments may have an effect.  For example :-  =       START_TOC		A fragment to be output before any generatedo2 			table of contents.  If not defined the default 7 			behaviour is to output the title "Table of Contents"u  @       END_TOC		A fragment to be output after any generated table5 			of contents.  If not defined the default behaviour . 			is to simply put out a horizontal rule <HR>  H       For a fuller description of [HTML fragments] see the [tag Manual].    $ 8.5   NOFRAMES tag and NOFRAMES link  N       There are several reasons why providing a non-frames alternative to your*       pages is a good idea.  These include  M       - Not all browsers support frames.  This is rarer these days, but thereaL         are still people who use text-based or non-visual browsers that can          get confused by frames.s  L       - Not all people like frames.  This is understating it, as many peopleK         *loathe* frames.  This is because frames pages are hard to bookmarki3         and the navigation can confuse some people.   K       - Many search engines won't access the HTML pages used inside frames.aJ       	This means your pages will go un-indexed, making it hard for people         to find them.   H       To help with these problems the software supplies a <NOFRAMES> tagI       in the main <FRAMESET> document, and a visible "NOFRAMES" hyperlinke       in the contents frame.     8.5.1 The "NOFRAMES" hyperlink  I       The program can place a hyperlink in the contents frame.  This linkgH       is labelled "NOFRAMES" and will link to the first main page.  ThisO       will allow users who don't like frames to view your pages in a non-framesNK       window.  You can control this link to a limited extent using policies]       (see 8.3)L     8.5.2 The <NOFRAMES> tag  D       HTML provides a tag whose contents is displayed to any browserN       that doesn't support the <FRAMESET> tag.  The program will automaticallyH       generate a <NOFRAMES> tag that displays a message saying the page H       requires frames, and offering a link to the first main page.  ThisM       will allow users with non-frames browsers, and search engines to accessR       your main pages.    / 8.5.3 Generating frames and non-frames versionsL  I       You should consider whether or not your pages are suitable for both]M       frames and non-frames viewing.  If they are, then you can use the firstGO       page displayed in the main frame as your NOFRAMES hyperlink target.  This )       is, in fact, the default behaviour.   L       There are a number of reasons that you might want to maintain two sets       of pages :-   N       - You don't want to have the non-frames version split into as many smallW         small pages as the frames version (different [[HYPERLINK POLICY,"Split level"]]          policy values)  K       - You want to place different headers and footers on the two versionsa5         to allow for different methods of navigation.A  J       If you do want two sets of files, simply convert the file twice withL       and without frames generation selected.  You can either move the filesJ       into different directories, or change the output filename for one ofG       the sets.  Other than these changes you should be able to use the        same policy file.   c       If you create two sets of files, make sure you set the [[HYPERLINK POLICY,NOFRAMES link URL]] 8       policy to point to the first non-frames HTML page.     8.6   Hyperlink targets   L       One of the reasons people dislike frames is that when they click on a O       hyperlink the selected page can end up being displayed inside the frame,  H       rather that in a full window.  Alternatively the selected link is (       displayed in a new browser window.  2       AscToHTM defaults to the following behaviour  O       - links in the "header", "footer" and "contents" frames are all displayed          in the "main" frame.  O       - links in the "main" frame that belong to the current document (although M         possibly in a different HTML source file) are displayed in the "main"          frame.  N       - links in the "main" frame that *do not* belong to the current documentL         (e.g. they are to another site) may  be displayed in a full browser B         window.  You can control this behaviour using the policies       ; 	[[HYPERLINK POLICY,Open frame links in new window]] [[BR]]-0 	[[HYPERLINK POLICY,New frame link window name]]  H       The default behaviour for links in the last category is to displayM       them in the "_top" window.  The name "_top" is reserved by browsers to  H       mean the main browser window, so in most cases clicking on a link E       to an external site will cause the current set of frames to be  L       replaced by the selected page without creating any additional browser        windows.     8.7   Splitting large filesm  J       When generating frames documents the area of screen allocated to theH       "main" frame is necessarily smaller than the whole browser window.K       For his reason you may want to split your document into many, smaller"I       pages to reduce the need for scrolling.  This can work well with a  K       contents list on the left, and is in fact the main reason people likeMI       frames as a means of navigating through a large set of information.   L       See [[GOTO File generation policies]] for details on the policies thatF       may be used to split large files into a set of smaller pages all       linked together.    G 8.8   Selecting "Output HTML as a set of FRAMES" in the Windows version   I       For your convenience the Windows version of the software allows yourQ       to select a conversion type and includes a "Output HTML as a set of FRAMES"f
       option.   F       If you select this option a number of policies are set for your !       convenience.  These include   =       	[[HYPERLINK POLICY,"Place document in frames"]] [[BR]]m0       	[[HYPERLINK POLICY,"Split Level"]] [[BR]]  L       The former is set to "yes", and the latter is set to "2", which should)       hopefully prove a suitable default.g  I       When this option is first selected the "Frames" properties sheet is =       displayed to allow you to review and edit the selected d       [[GOTO frames policies]].y    1 9    Purchasing AscToHTM, and contacts on the web 2 --------------------------------------------------   9.1   Purchasing AscToHTMd  % 9.1.1 Why should I purchase AscToHTM?          You need a reason?  :-)R  E       Oh well... here are some reasons to visit the [Reg location] :-w  F       - You'll get a warm glow from supporting the author financially.         Not enough eh?  Okay...u  H       - Although he doesn't make a living from this software, the author5       	appreciates the support that the program gets.n  L       - You'll get support from the author, especially in your early days as       	a new user.  M       - You'll be notified of any [upgrades].  To date all upgrades have beentM         *free* to _registered_ users.  This means people who paid last year'stH       	price are getting this years software at a discount (plus they've         had a year's use).  J       	You can read details of the 11 or more upgrades made over 3-4 yearsH         in the [[GOTO "Change History"]].  Every single one of these has6       	been free to those who have registered to date.  L       - You'll be able to ask the author for new features.  You won't alwaysN         get them, but you'd be *amazed* at how much of the functionality arose8         directly from _registered_ users party requests.         Finally...  K       - No nag lines at top and bottom of each page, and no nag screen whenl!         you start the program up.   B       - All limitations on the program (file size etc) are removed    I 9.1.2 What happens if I don't register the shareware version of AscToHTM?s  G       Originally I wanted to produce a fully-featured, but time-limited H       shareware version.  However, for various reasons we've had to moveO       to move to producing a largely-featured version with a 30 day time limit.n         Sorry 'bout that.r  K       At present the shareware version of the program will expire after 30 AK       days plus 5 days usage.  Each time the program runs it will tell you (K       how may days use you have.  During this period the program inserts a  L       one line reminder to register at the top and bottom of each HTML page A       generated.  This line is omitted in the registered version.S  L       This line is easily deleted from the output source file, but we expectE       this to become quite tedious if the program is used repeatedly,wH       particularly when large documents are split into a number of smallO       files, or a large number of files are being converted.  *Some people havee*       actually put such pages on the web*.  =       There are other limitations of the shareware version :-a  J       - If you don't register, it will cease to function properly after 30J         days.  Specifically after 30 days any conversions will convert allL         your text to random case.  This will still allow you to evaluate theF         software, but the resulting HTML will be of little use to you.  A       	This mixed case will go away if you register the software.   N       - In the shareware version you're limited to only the first 500 lines ofD         any source file.  After 500 lines a warning is placed in theK         output, and all subsequent lines are converted to upper case.  ThisrK       	allows you to gain an impression of what the HTML will look like forf       	evaluation purposes.u  B       - In the shareware version, wildcard conversions are limited       	to only 5 files  J       - Certain other policies are not supported in the shareware version.  ;       I don't like limiting the software, but there you go.o    ( 9.1.3 Can't I get something for nothing?  C       Only if you fall into either of the following two categories:   H       - You're an FAQ maintainer.  FAQ maintainers add a lot of value toG         the Internet.  As a little "thank you" I'm making this softwarenH         free to anyone who maintains an FAQ.  See the [Reg location] for         more details.   K       - VMS users.  The software is largely developed and tested under VMS. I         Although the VMS version doesn't have the windowed interface, butc6         does share the underlying conversion software.           *<SOAPBOX>*eN         We VMS users pay too much for software (that's when we can get it), soD         the VMS version of this software is made available for free.         *</SOAPBOX>*  M         If you really want a free copy, buy an OpenVMS system :)  If you findY,       	any for less than $40, let me know :)    1 9.1.4 I'm convinced.  How to I purchase AscToHTM?   J       First we recommend you try out the product to convince yourself that       it meets your needs.         You've done that right?n  G       Okay, visit the [Reg location] and follow the instructions there.oN       You can buy AscToHTM online through a couple of third party registrationN       services.  These services can accept payment through a number of methodsE       including credit cards, wire transfer or snail mail.  Once the iJ       registration service has received payment details of how to get yourF       registered version.  Often the whole process can be completed in       minutes.  M       If you experience any problems registering email sales@jafsoft.com withI       details.       9.2   Contacts on the Webn   9.2.1 The home paged  C       The AscToHTM [home page] is hosted on the [JafSoft] web site.s       K       If you have problems locating the home page and suspect it has moved,H!       go to [AltaVista] and entern  (       		+"John A Fotheringham" +AscToHTM  "       to locate any new home page.     9.2.2 E-mail  L       E-mail any feedback to info@jafsoft.com.  Most people will get a replyG       within 24 hours, although we cannot guarantee this given holidaysi       and the like.w    
 9.2.3 Support   Q       Support is available to registered users by emailing support@jafsoft.com.  a;       Any enquiries should be directed to the same address.B  M       Sadly, we cannot guarantee any replies, though we do try to be helpful..=       Priority is given to people who have registered copies.o  L       Recently a [FAQ] has been created.  Although not complete, it may help;       to answer some of the commoner questions people have.      10    Known problems ---------------------P  J       We listen to all suggestions, and indeed many of the features added H       have been in direct response to customer feedback.  (You couldn't H       expect us to *invent* all this stuff on our own now, could you? :)     10.1  Bug reports   I       _Registered_ users are free to make bug reports or suggestions for hI       enhancements to support@jafsoft.com.  We try to fix bugs ASAP, and  H       to date have usually shipped fixes to specific problems within 72 5       hours, but we can't promise this response time.   M       We used to maintain a bug list, but we prefer spending the time fixing c(       them rather than documenting them.     10.2  Features  5       All good software has features (ask Microsoft).   G       - Links in the link dictionary that have some common text may getRE         confused.  The problem generally is that having put some HTML H       	markup into your line, it becomes hard not to search the contents#       	of that markup subsequently.a  E       	This is my problem not yours.  Unless it catches you out when,c4       	of course, it becomes your problem, not mine.  J       - Bullet characters inside section headings used to cause confusion.  F       The following are consequences of how the program works, and may       take longer to "fix"  I       - The program currently assumes a structure of contents list and/orcF       	main body.  It doesn't (yet) cope with Appendices.  Nor does itG       	cope with several sections all with their own numbering systems.l  J       - Certain algorithms put a <BR> on the end of the line.  Where theseO       	algorithms "misfire" you may find unexpected breaks in large paragraphs.o  L       	Over time more of these will be configurable via the document policy,H       	but originally we tried to avoid the need for such micro-control.     10.3   Coming soon... or not.]  N       Many, many features have been added in direct response to (_registered_)E       users requests.  Many, thanks to all those who've come up with R:       suggestions and feedback (you all know who you are).     11    Change History --------------------   11.1  Version 4 (May 2001)   11.1.1 Bug fixes         _Windows version_h  &       - Corrected text on Settings Tab  I       - Fixed bug in colour samples when loading policy with a "#" in it.K  M       - Some policies weren't taking effect the first time they were changed.h         _All_K  %       - Stop "&lt;" becoming a bullet   :       - Corrected confusion between left and right margins  O       - Fixed bug for handling short lines (introduced in version [[TEXT 3.3]])c  J       - Fixed emphasis bug whereby "* * *" would end up marking some white         space as <STRONG>.  ^       - Fixed bug that caused [[HYPERLINK POLICY,Heading Colour]] policy not to be implemented>       	unless a font was selected or CSS markup was suppressed  M       - Fixed bugs in table analysis when "Expect sparse tables" was enabled.n( 	Fixed a number of table analysis bugs.	  J       - Fixed bug if created file had invalid characters in it's filename.  H       - Program now handles duplicate headings correctly in the contents>         list by adding an "instance count" to the anchor name.  F       - Fixed a bug that lead to non-unique anchor names for duplicate
 	headings.  K       - Console version didn't terminate correctly if the a mass conversion  	ran out of disk space.a  K       - Fixed bug where line breaks were inserted before HTML entities likevN         &aacute; causing unwanted spaces before special characters, especially'       	those used in foreign languages.h     11.1.2 New functions         _API version_   L       - For those wishing to call AscToHTM programmatically, an API has beenB         developed.  This is sold under separate license.  Contact .       	sales@jafsoft.com if you're interested.         _Linux version_   L       - A Linux command line version will soon be available.  Beta versions L         have been tested, and I hope to do a Linux command line release just#       	after version 4 is released.          _Windows version_o  E       - You can now choose from the main screen whether you want yoursE         HTML output as one or more HTML file(s), sent to the Windows  C         Clipboard (see 3.4.5 and 4.1.1.4), or turned into a set of o*         HTML frames (see [[GOTO Frames]]).  I       - Program now remembers positions of windows from one invocation to          the next.   7       - The user interface is now available in Italian.          _All versions_  H       - Version 4 introduces frames support (see [[GOTO Frames]]).  This;         introduces a large number of supporting policies :-   0 	[[HYPERLINK POLICY,"Place document in frames"]]/       	[[HYPERLINK POLICY,"Output frame name"]]a  0       	[[HYPERLINK POLICY,"Header Frame depth"]]0       	[[HYPERLINK POLICY,"Footer Frame depth"]]2       	[[HYPERLINK POLICY,"Contents Frame width"]]  =       	[[HYPERLINK POLICY,"Use main header in header frame"]]p=       	[[HYPERLINK POLICY,"Use main footer in footer frame"]]a  <       	[[HYPERLINK POLICY,"Add contents frame if possible"]].       	[[HYPERLINK POLICY,"Add Frame border"]]  <       	[[HYPERLINK POLICY,"Open frame links in new window"]]8       	[[HYPERLINK POLICY,"New frame link window name"]]  0       	[[HYPERLINK POLICY,"Add NOFRAMES links"]]/       	[[HYPERLINK POLICY,"NOFRAMES link URL"]]   @       	[[HYPERLINK POLICY,"Number of levels in contents frame"]]  5       	[[HYPERLINK POLICY,"First frame page number"]]   <       	[[HYPERLINK POLICY,"Header frame background colour"]]6       	[[HYPERLINK POLICY,"Header frame text colour"]]>       	[[HYPERLINK POLICY,"Contents frame background colour"]]8       	[[HYPERLINK POLICY,"Contents frame text colour"]]<       	[[HYPERLINK POLICY,"Footer frame background colour"]]6       	[[HYPERLINK POLICY,"Footer frame text colour"]]  ^       - Added [HTML fragments] feature, with [[HYPERLINK POLICY,"HTML fragments file"]] policyF 	and DEFINE_HTML_FRAGMENT, RESET_HTML_FRAGMENT pre-processor commands.L         This allows you to define HTML fragments that can be used to replaceF       	the standard HTML generated by the program.  This allows you toD       	customize headers, footers, horizontal rules, contents lists,        	navigation bars and more.  3       - Added support for URL parsing, including :-    >       	- new top level domains (.info, .biz etc) are supportedJ         - the "snews://" secure news server protocol type is now supportedL         - URLs of the form http://username@domain_name/... are now supportedF         - Added [[HYPERLINK POLICY,"Check domain name syntax"]] policy: 	- Added [[HYPERLINK POLICY,"Create Telnet links"]] policy. 	- Added support for "obfuscated" URLs such as   	      http://3640005069/r 	      http://7934972365/Y" 	      http://0330.0366.0021.0315/< 	      http://%6c%6f%63%6b%65%72%67%6e%6f%6d%65%2e%63%6f%6d/  B 	  Although the display text is left unchanged, the hyperlink will? 	  point to a non-obfuscated URL (either the domain name, or aneB 	  IP address).  This is because the obfuscated URLs such as thereA 	  are often used by spammers, and the author has no intention of 8 	  allowing his software to aid spammers in their goals.  A 	  If someone cares to give me a valid reason for using such URLs # 	  I may reconsider this behaviour.y  e       - Added support for embedded headings with the [[HYPERLINK POLICY,"Expect embedded headings"]] iJ         policy (see 5.4.4).  These are "headings" that are embedded as the%       	first sentence in a paragraph.d  F       - Added support for headings that start with particular words orI         phrases via the [[HYPERLINK POLICY,"Heading key phrases"]] policyd         (see 5.4.5).  I       - New /COMMA (see 4.2.2.1) and /TABBED (see 4.2.2.12) command line  H        	qualifiers that allow comma delimited and tab delimited files be       	converted into tables.   M       - Added [[HYPERLINK POLICY,"Check indentation for consistency"]] policydG         to allow checking of headings to be relaxed (e.g. when they're I       	centred on the page).  =       - Added [[HYPERLINK POLICY,"Look for diagrams"]] policya  I       - Added [[HYPERLINK POLICY,"Input file contains PCL codes"]] policylU       - Added [[HYPERLINK POLICY,"Input file contains Japanese characters"]] support.   I       - Added [[HYPERLINK POLICY,"Preserve new paragraph offset"]] policyo  N       - Added [[HYPERLINK POLICY,"Omit <HEAD> and <BODY> from output"]] policy=       - Added [[HYPERLINK POLICY,"Document Base URL"]] policy C       - Added [[HYPERLINK POLICY,"Comment generation code"]] policy   L       - Added [[HYPERLINK POLICY,"Number of words to include in filename"]] J         policy to allow filenames to be generated from the first few wordsK       	of the title when splitting documents with underlined or capitalisede        	headings at each heading.  H       - Added [[HYPERLINK POLICY,"Lines to ignore at end of file"]] and D 	[[HYPERLINK POLICY,"Lines to ignore at start of file"]] policies toK       	allow lines at the start and end of the source file to be discarded.lI       	This can be useful if you source text is coming from a third partyf/       	source that adds extra, unwanted, lines..  F       - Added [[HYPERLINK POLICY,"Suppress all colour markup"]] policyD       - Added [[HYPERLINK POLICY,"Suppress all font markup"]] policy  E       - Added [[HYPERLINK POLICY,"Mirror margins"]] policy (RTF only)s  N       - Added [[HYPERLINK POLICY,"First line indentation (in blocks)"]] policy  M       - Added [[HYPERLINK POLICY,"Column boundaries have zero width"]] policyP     11.1.3 Other changes         _Windows version_H  L       - On some systems DDE doesn't always work properly.  This would cause K         the program to hang when it attempted to display results.  In such uI         cases you would need to stop the program from the task manager.  eG       	In version 4 the program will now detect when this has happened  0       	and disable use of DDE next time it runs.  F         NOTE: DDE won't work with Netscape 6.0 (it doesn't support it)  H       - Added the policy [[HYPERLINK POLICY,"Suppress URL messages"]] toH         the Settings | Diagnostics menu option.  When disabled all URLs,G         email addresses etc will be listed in the log file.  Since this I         file can be saved to disk, this is one way of identifying all the.0       	candidate hyperlinks from your text file.         _All versions_  F       - Improved analysis for tables using bar ('|') column separators  1       - Improved detection of ASCII art diagrams.e  I       - Improved handling of heavily indented blocks of text.  PreviouslyeD         these were (poorly) rendered as tables.  Now the tables more@         accurately preserve the large indentation (see 5.5.3.4).  F       - The first three words of an underlined heading are now used toG       	generate the filename.  Previously only the first word was used,vJ       	leading to less meaningful names, with more chances of duplication.  L       - VMS command line now allows multiple filespecs, separated by spaces.C         Policy file must now be a .pol file, rather than the second          argument.   I       - Anchor names from filename are now lower case (to reduce possibleo         mismatches)p  H       - Shareware version now expires after 30 days + 5 uses.  This willE 	allow people to use the software on 5 different days after the firstpC 	30 days, giving people more time to evaluate the software at theirv	 	leisure..  J       - Now strip out leading and trailing "---" from heading text to make% 	them more presentable in HTML or RTFy  K       - Added support for headings that span up to 3 lines, previously thisa       	was only 2.  D       - Changed heading to allow <H4> markup to be used.  PreviouslyM         "level 4" headings would get <H3> markup since anything smaller wouldiN       	end up smaller than the main text.  With the advent of CSS style sheets(       	This should be less of a problem.  L       - Changed emphasis handling to allow hyphenated parts to be emphasised?         independently, e.g. pre-_formatted_ or _pre_-formatted.L     11.2  Version 3.3 (June 2000)   L       The AscToHTM [[TEXT 3.3]] release follows 6 "micro-releases" announcedI       via the updates page on the Web.  As such it will appear as a smalliO       step forward over [[TEXT 3.2.06]], but in fact it offers a fair amount ofp1       new functionality over version [[TEXT 3.2]]   6       Major changes in version [[TEXT 3.3]] include :-  E       - *Support for fonts*.  You can now choose a font for the wholeaD         document.  By default this is implemented using CSS, but you6       	can elect to use <FONT> tags should you prefer.  F       - *Enhanced Language support*  The Spanish and German interfacesH         added in the last version have had Portuguese added.  Also a newJ         feature allows you to save the interface to a "language skin" textH         file which may be edited and then reloaded.  Using this feature        	we can now offerr  B       	- American English (simply a spell-checked UK English file)W       	- "Babelfish" French.  A French translation from http://babelfish.altavista.com/nE       	- "Babelfish" Italian.  An Italian translation from Babelfish.f  L       	If anyone wants to correct these files and send them back to me, feel       	free.  I       - *More table generation controls*.  Several new controls have beeneF       	added to give you more control over the detection, analysis and)         generation of tables in the text.h  M       - *Support for comma and tab delimited tables*.  Pre-processor commandsaM         have been added to allow you you mark up a section of comma-delimiteda;       	or tab-delimited data you want turning into a table.e  I       - *Support for preserving file/line structures*.  You can now electoI       	to preserve the original line structure of a file, or to place the G       	whole file in <PRE> markup (which is a little defeatist, but hasr       	its uses)  N       - *Support for non-standard characters*.  The program can now recognise,J       	to a limited extent, DOS line-drawing characters, MIME-encoded text5       	and text documents with "change bars" in them.g  D       - *New "Tag manual"*.  The [[GOTO Using the preprocessor]] andD       	[[GOTO In-line tags]] sections of this document have now beenD       	re-merged and their contents largely moved to a new document           called the [Tag Manual].     11.2.1 Bug fixes         _Windows version_   M       - Changed the save policy dialog to add the extension ".pol" if omittede  A       - Fixed bug that caused colour values with a '#' in them to !         be incorrectly displayed.n           _All versions_  J       - Changed to not allow ":" in filenames. This could cause conversionI         into many files fail when the underlined heading contained a ":".   E       - Fixed bug in naming duplicate files when splitting a document          at underlined headings.i  F       - Improved hyperlink parsing.  In particular the domain name is B       	checked to ensure it's plausible using improved algorithms.        cH       - Improved URL and email address validation.  In particular I now K       	check the domain name is viable (.com, .edu, .co.uk etc) and handle M       	better.  ;       - Stopped "double reporting" of key policy decisions.r  G       - Improved error handling when writing to full device like a RAM V       	disk or a floppy disk.o  H       - A small change is made to limit the maximum possible page width >       	detected, and a bug related to mail headers is fixed.          iL       - Changed detection of new paragraphs after hanging paragraphs.  This        	fixes an analysis error.    11.2.2 New functions  
       _Fonts_a  F       - The default font for the whole document can now be set via theY       	[[HYPERLINK POLICY,"Default font"]] policy.  Headings will also adopt the selectedrJ       	font, and will scale with the selected font size, although the <H1>5       	headers are slightly smaller than the default.h  E       	You can choose to have the fonts implemented using <FONT> tagse@       	or CSS (e.g. according to your target audience) using the@       	[[HYPERLINK POLICY,"Use CSS to implement fonts"]] policy.           _Definition Blocks_d  I       -	Definition blocks allow you to define blocks of text that you may J       	then insert at any point in the text (e.g. to give an "end of page"N         effect).  You can also "define variables" whose value is then inserted(         wherever a VARIABLE tag is used.  /       	The pre-processor commands involved are:d  G       	[[HYPERLINK, TAGGING,"DEFINE/END_BLOCK and RESET_BLOCK"]] [[BR]] 6       	[[HYPERLINK, TAGGING,"DEFINE_VARIABLE"]] [[BR]]2       	[[HYPERLINK, TAGGING,"EMBED_BLOCK"]] [[BR]]3       	[[HYPERLINK, TAGGING,"INSERT_BLOCK"]] [[BR]]n.       	[[HYPERLINK TAGGING,"VARIABLE"]] [[BR]]  ;       	[[HYPERLINK, TAGGING,"SAVE/RESTORE_CONTEXT"]] [[BR]]k           _Tables_  J       - Added several new policies and tags to help with table analysis.           Policies added include         4         [[HYPERLINK POLICY,"Default TABLE layout"]] D       	(also pre-processor tag [[HYPERLINK TAGGING,"TABLE_LAYOUT"]])         O         This allows you to specify the number of columns in each table, and therL         attributes of each column, specifically the character position that I       	marks the end of each column.  Rather than use this policy, it is  L       	probably better to use the related directive $_$_TABLE_LAYOUT in the (       	source text on a per-table basis.           5         [[HYPERLINK POLICY,"Default TABLE alignment]]eD         (also pre-processor tag [[HYPERLINK TAGGING,"TABLE_ALIGN"]])         O         Allows the alignment of the table to be specified (left, right, center)            B         [[HYPERLINK POLICY,"Ignore table header during analysis"]]L         (also pre-processor tag [[HYPERLINK TAGGING,"TABLE_IGNORE_HEADER"]])	          oN         Specifies that table headers should be ignored when columns are being J         auto-detected.  Some tables have complex headers that confuse the B       	analysis.  This policy can be used to help them be ignored.           . 	[[HYPERLINK POLICY,"Table extending factor"]] 	 I 	Controls the degree to which pre-formatted lines should be expanded into1 	adjacent text.y 	0  - 	[[HYPERLINK POLICY,"Column merging factor"]]h 	 I 	Controls the degree to which columns which don't appear to be very cleare 	should be "merged" together 	i  < 	[[HYPERLINK POLICY,"Tables could be blank line separated"]] 	eC 	Indicates that tables could be using blank lines to separate rows aM       	of data. This affects the analysis and detection of the tables extent.  	i  K       - Added support for embedding comma-delimited and tab-delimited table N         data in your source file (e.g. data exported from Excel and the line).  +         The new pre-processor directives :-e  F         [[HYPERLINK TAGGING,"BEGIN/END_COMMA_DELIMITED_TABLE"]] [[BR]]@         [[HYPERLINK TAGGING,"BEGIN/END_DELIMITED_TABLE"]] [[BR]]    
       _Other_l  L       - Added options to allow more control over how the original document's*         file structure should be preserved         =         [[HYPERLINK POLICY,"Treat each line as a paragraph"]]a         E         If this option is selected, every line in the source file is sJ       	treated as a paragraph.  This may be suitable if the file has been J       	authored using an editor that wraps the lines (i.e. doesn't put in I       	hard breaks) and which doesn't add blank lines between paragraphs.          6         [[HYPERLINK POLICY,"Preserve line structure"]]         J         If this option is selected a <BR> is added to every line, thereby N       	preserving the line structure of the original and giving the resulting J       	HTML file an "A4 look" that hugs the left margin regardless of how        	wide the window is made.e         B         [[HYPERLINK POLICY,"Preserve file structure using <PRE>"]]         I         If this option is selected the whole document is placed in <PRE> rI       	markup, and very few conversions are attempted.  This is really a  M       	"last resort" option that you may want to use if the file has complex sK       	structures which the program is failing to understand.  This option sL       	was added for a customer who wanted to convert all 2800 RFCs without +       	having to manually correct each one.e  H       - Added support for parsing files with some Mime-encoded quotable b        	strings in them.  The new policy [[HYPERLINK POLICY,"Input file contains mime encoding"]] K       	can be found under _Analysis->File structure_.  At present there is  8       	some (very limited) auto-detect for this feature.  N       - Added support for documents with change bars.  By default change bars J       	are stripped out, and the changed text coloured red this behaviour ?       	may be changed in later versions.  Added the new policy Pm       	[[HYPERLINK POLICY,"Input file has change bars"]] which can be found under _Analysis->File Structure_.e         D       - Added support for converting DOS characters. The new policy T       	[[HYPERLINK POLICY,"Input file contains DOS characters"]] can be found under "       	_Analysis->File Structure_.        ]K        	There is a limited auto-detect of DOS characters when diagrams are ,       	present.         	H       - Changed hyperlink detection to only allow explicit FTP URLs and L       	email addresses that don't start with numbers.  These behaviours can ^       	be reversed using the new policies [[HYPERLINK POLICY,"Only allow explicit FTP links"]]\         and [[HYPERLINK POLICY,"Allow email beginning with numbers"]], both of which are on $       	the _Output->Hyperlinks_ tab.        eQ       - Added the policy [[HYPERLINK POLICY,"Create gopher links"]] to toggle the", 	conversion of gopher links into hyperlinks.  c       - Added the policy [[HYPERLINK POLICY,"Check indentation for consistency"]] so that it could ,d       	be disabled in documents where headings were centred (and thus all at different indentations)  7       - Added several new pre-processor in-line tags :-H  M       	[[HYPERLINK TAGGING,"FILENAME"]] - output name of converted file[[BR]]mA       	[[HYPERLINK TAGGING,"FRACTION"]] - output a fraction[[BR]]dL       	[[HYPERLINK TAGGING,"VERSION"]] - output program version number[[BR]]  R       	[[HYPERLINK TAGGING,"IGNORE_THIS"]] - for comments in the source code[[BR]]  H       - Added policy to allow selection of which version of HTML should T       	be generated.  Policy is [[HYPERLINK, POLICY,"HTML version to be targeted"]].  I         Only "HTML [[TEXT 3.2]]" and "HTML [[TEXT 4.0]] Transitional" aree         currently supported.     11.2.3 Other changes         _Windows_x  O       - The main screen now allows access to Policy file selection.  PreviouslypI       	this was only available on the menu structure.  The Menu structuretI       	has been left unchanged, meaning you now have two ways of choosing6       	your policy files.e           _All_A  I       - The contents list styling has been changed slightly.  For example K       	only the major section headings are now shown in bold.  People were b       	complaining :-)  M       - Now add BORDER=0 attribute to tables with no border, rather than justoK       	omitting the attribute.  This is a workaround for a bug in Netscape  J       	where a gap appears where a border would be when coloured rows are        	selected.  W       - Support for IE [[TEXT 3.0]] as the browser of choice is added, by allowing the aH       	filename rather than file URL to be passed to the browser.  To doM       	this disable the "file://localhost/" option on the _Settings->Viewers_o       	dialog screen.i  O       - More changes on bullet characters, in particular to disallow 'O' (upperaL       	case) from becoming a bullet character through analysis.  This reallyL       	doesn't work in Portuguese documents :-)  'o' (lower case) may still L       	be detected.  If upper case 'O' is wanted this can still be manually        	switched on.Y  N       - Increased maximum width allowed in tables to 200 (after encountering aL         sample at 165).  Lines longer than this are disregarded as candidate         table lines.  YP       - Introduction of German and Portuguese user interface, with extension of %         the Spanish user interface.  e  F       - Horizontal lines are now implemented as <HR> tags whose lengthP         attempts to approximate the original (e.g. 50% or whatever).  Previously%       	lines would become full width.<  K       - Chapters 7 and 8 of this document were merged into a single chaptereN         7 (about the pre-processor).  Most of that material has now been movedN       	to the new [Tag Manual].  Subsequent chapters have thus been renumberedJ       	which may lead to invalid references to chapter 11... especially if7         you keep old versions of the doco lying around.s  K       	Also reversed the order of sections in this "Change History" sectiond     11.3 Version 3.2 (October '99)  T       (Version [[TEXT 3.1]] was never released, but a release of [AscToTab] occurredO       sometime after version [[TEXT 3.0]], and so in keeping with the policy ofdM       synchronizing version numbers *that* was labelled version [[TEXT 3.1]])f  J       Over a year after the last release, version [[TEXT 3.2]] is a major K       upgrade, but is only given a minor version number change because the IL       remainder of the functionality produced in that time will be revealed         in version [[TEXT 4.0]].    \       Version [[TEXT 3.2]] starts to prepare the groundwork for Cascading Style Sheet (CSS) O       and general font support that will be introduced in version [[TEXT 4.0]].OI       This has required a fairly radical change to the type of HTML code s-       generated and how this is put together.   I       For example the HTML is now more standards compliant (this is now a G       stated goal of the software, although I can't always promise full X       compliance see 1.1.4), and as an aid towards CSS support "optional" end tags such ;       as </P> are now being placed in the generated HTML.  o  Q       Note that the use of the <FONT> tag is deprecated in HTML [[TEXT 4.0]], andPI       if you choose to add FONT markup to your pages they'll become much  J       bigger, especially if they contain tables.  This is because the HTMLG       standard requires the FONT tag to continually be re-expressed to sG       achieve the right appearance in all browsers (believe me, I only e>       accepted this through bitter experience and grudgingly).  6       Major changes in version [[TEXT 3.2]] include :-  >         - The program now *always* makes three passes through L           the document - previously it only did this if a contents list was O           requested (see 3.3).  This may make the conversion a little slower.   D       	  The middle pass calculates how the file will be split into J           sections, where all the hyperlinks should point to and what the M           contents list should be.  This approach should be less error prone e           than previously.  H         - New "overview" options (see 6.2.1).  These allow you to easilyF       	  enable and disable the program's search for certain features.  A 	- Introduction of in-line tagging (see [[GOTO "In-line tags"]]).rH       	  These allow you to get more out of your conversion by inserting(       	  commands into your source text.  5 	- Addition of DDE support (in Windows) (see 4.1.3.4)t  M 	- New and improved command line options, and full command line support builte' 	  into the Windows version (see 4.2.2)i  M         - Improved message filtering.  Each message is now labelled accordingeG       	  to its type (information, warning etc), and may be optionally lM       	  suppressed or filtered by severity.  A new /SILENT command qualifier<@       	  (see 4.2.2.10) allows complete suppression of messages.  2         - Improved log file capability (see 4.3.4)  ?         - Added support for mail and USENET headers (see 5.4.7)   L         - (Limited) support added for stripping out page markers, convertingL       	  "double spaced" files, and converting .prn and VT escape sequences.>       	  This functionality may be improved in later versions.  J       	- New options to colour the odd and even rows of tables differently;       	  (see [[GOTO Table generation policies]] and 7.1.4)t     11.3.1 Bug fixes         _Windows version_   L       - The Windows help file in version [[TEXT 3.0]] wasn't accessible via &       	the F1 key.  This is now fixed.  G       - INCLUDE statements now report any failure to open the file, ands< 	insert directory paths where necessary to resolve the file  	locations (Windows)  H       - Fixed various bugs so that the output filename and directory can9       	be changed.  Previously this didn't work too well.i  5       - So many others, I can't remember them all :-)o           _All versions_  F       - Numbers in the text will now only convert to hyperlinks if theK         *exact* section number can be found in the document.  This improvestD         on previous versions that only did approximate range checks.  G       - Underlined headings may now be split into files, and duplicate n!         filenames are now avoidedh  H       - URLs separated by semi-colons were not being correctly converted  M       - email addresses with two "@"s are now rejected, and no longer accept t%         "%" at start of email addressr  5       - No longer treat ___some_text___ as underlinedb  J       - Contents list generation failed for documents with "Section: n" as         the headings  H       - Fixed bug that could wrongly right-align some columns in a table         if there was a big gap.   N       - Fixed various bugs related with emphasis phrases that spanned multipleJ         lines.  We now no longer allow detection of "nested" emphasis, nor1         is emphasis allowed to cross blank lines.c  I       - Improved file handling.  Now get error messages when files aren't I         found, and the program is better at locating files under Windows. J         The program now supports the use of relative filenames for include         files etc.  H       - In a usenet reference such as news://comp.os.vms the "news:" wasE       	being left outside the display part of the generated hyperlinkN  @       - Repeated Link definitions on the same line weren't being       	substituted correctly  D       - Improved handling of user-delimited contents lists using the1       	BEGIN_CONTENTS ... END_CONTENTS directivesa     11.3.2 New functions         _Windows Version_r  I       - Added "Save" option to status dialog, so that the messages can bei         saved into a .log file  G       - Added DDE support to display results in existing browser windows  J       - Full drag and drop support added.  You can now drag files onto the 	program when it is visible.  1       - New "browse for directory" buttons added.d  @       - More menu options added to make finding policies easier.           _All versions_  J       - Now support tab-delimited tables (mainly for AscToTab) (see 7.1.1)  E       - Support for stripping out mail and USENET headers (see 5.4.7)i  '       - New pre-processor directives :-   L       	- [[HYPERLINK TAGGING,BEGIN/END_DELIMITED_TABLE]] section delimiters 8       	- [[HYPERLINK TAGGING,BEGIN/END_IGNORE]] command 5       	- [[HYPERLINK TAGGING,CONTENTS_LIST]] command e6       	- [[HYPERLINK TAGGING,NAVIGATION_BAR]] command 0       	- [[HYPERLINK TAGGING,LINERULE]] command +       	- [[HYPERLINK TAGGING,TOC]] command    0       - New and improved command line qualifiers         	- /CONSOLE (see 4.2.2.2)d       	- /LIST (see 4.2.2.4)$       	- /OUT=filename (see 4.2.2.8)       	- /SILENT (see 4.2.2.10)e  K       	- (improved) /LOG=<filespec> (see 4.2.2.7).  You can now specify then       	  log filenameaL       	- (improved) /POLICY=filename (see 4.2.2.9).  You can now specify the        	  created policy filename  4       - New overview "look for" analysis policies :-  5         - [[HYPERLINK POLICY,"Look for indentation"]]a3       	- [[HYPERLINK POLICY,"Look for paragraphs"]] 4       	- [[HYPERLINK POLICY,"Look for short lines"]]4       	- [[HYPERLINK POLICY,"Look for quoted text"]]:       	- [[HYPERLINK POLICY,"Look for preformatted text"]]5       	- [[HYPERLINK POLICY,"Look for mail headers"]].=       	- [[HYPERLINK POLICY,"Look for horizontal rules"]] andl5           [[HYPERLINK POLICY,"Minimum ruler length"]]t@       	- [[HYPERLINK POLICY,"Look for MAIL and USENET headers"]]0       	- [[HYPERLINK POLICY,"Look for bullets"]];       	- [[HYPERLINK POLICY,"Look for hanging paragraphs"]]a5       	- [[HYPERLINK POLICY,"Look for white space"]] d    &       - Other new analysis policies :-  @       	- [[HYPERLINK POLICY,"Input file has page markers"]] and =           [[HYPERLINK POLICY,"Page marker size (in lines)"]] B  <       	- [[HYPERLINK POLICY,"Input file is double spaced"]]   9       	- [[HYPERLINK POLICY,"Recognise '-' as a bullet"]] 9       	- [[HYPERLINK POLICY,"Recognise 'o' as a bullet"]]     "       - New diagnostic policies :-  6       	- [[HYPERLINK POLICY,"Monitor tag generation"]]  H       	- [[HYPERLINK POLICY,"GOTO Display messages"]] policy and /SILENT"           qualifier (see 4.2.2.10)  8         - [[HYPERLINK POLICY,"Suppress INFO messages"]],<         - [[HYPERLINK POLICY,"Suppress TAG ERROR messages"]]6         - [[HYPERLINK POLICY,"Suppress URL messages"]]:         - [[HYPERLINK POLICY,"Suppress WARNING messages"]]@         - [[HYPERLINK POLICY,"Suppress program ERROR messages"]]    $       - Other new output policies :-  6       	- [[HYPERLINK POLICY,"Create a log file"]] and 5           [[HYPERLINK POLICY,"Output log filename"]] a  A       	- [[HYPERLINK POLICY,"Maximum level to show in contents"]]A  @       	- [[HYPERLINK POLICY,"Preserve underlining of headings"]]  <       	- [[HYPERLINK POLICY,"Use <EM> and <STRONG> markup"]]  F       	- [[HYPERLINK POLICY,"Colour data rows"]] and related policies 4       	  (see [[GOTO TABLE generation policies]]).    A       	- [[HYPERLINK POLICY,"Default TABLE cell alignment"]] and  3 	  [[HYPERLINK TAGGING,TABLE_CELL_ALIGN]] directivec  ;         - [[HYPERLINK POLICY,"Suppress all colour markup"]]   D       	- [[HYPERLINK POLICY,"Open link in new browser window"]] and 1 	  [[HYPERLINK POLICY,"new browser window name"]]   9         - [[HYPERLINK POLICY,"Break up long HTML lines"]]      11.3.3 Other changes  *       _On the web site, and documentation_  L       - A dedicated site www.jafsoft.com now deals with AscToHTM and related       	products.  M       - An [updates] page has been added to the Web site.  This will list all I         the updates available for AscToHTM, although in most cases you'llrC         need to be a registered user to receive details for you to f       	obtain the update.   M       - An [FAQ] has been added to the web site.  It's not finished yet (what L         part of the web is?), but it may help answer some of your questions.  K       - Created a new document called "The [Policy Manual]".  This replacesG?         what was becoming the largest section of this document.N           _Windows version_]  I       - The Windows help file now has a better Index.  It also has a fullvK         contents list as a topic, showing you the structure of the RTF file K         used to generate the Help file.  Unfortunately I've been unable to         	hyperlink this topic.  J       - The Windows version now "remembers" which options page you were onD         so that each time you go back there the same sheet is shown.  L       - The Windows version is now "statically linked" against the necessaryG 	.DLLs.  This makes the program slightly larger, but makes the downloadNE 	smaller as it is no longer necessary to ship .DLLs with the program.i/ 	This makes overall version management simpler.            _VMS version_i  L       - The VMS version now converts all filenames to lower case internally.H         This is so that all hyperlinks and references to the file are inF         lower case, making them more Internet-friendly and portable to         other systems.           _All versions_  K       - Changes to the tagging to aid standards compliance and CSS support.eF       	this includes the addition of the </P> tag which was previouslyG       	omitted.  These changes have introduced slight differences in the;       	amount of vertical white spacing produced in places.   I       - Improvements have been made to the file splitting algorithms.  In          particular  G       	- The program will no longer generate two output pages with the mH       	  same name.  Where duplicate names are detected, the second fileK           is given a generated name, usually by appending "_n" (n=1,2,3...) F       	  to the filename.  All hyperlinks pointing to sections in the 5       	  duplicate file will be adjusted accordingly.u  K       	- A file with underlined headings can now be split into pages at thepM           heading boundaries.  The subsequent pages have _U1, _U2... appendede(           to the name of the first page.  L         - Local links (i.e. to anchors in the same file) are now recognised .       	  as such, and the filename is omitted.  M           This should make it easier to rename files after production withoutRJ       	  breaking local hyperlinks.  Links to/from other files would still           stop working though.  L       - link names for underlined or capitalised headings that are more thanI         60 characters long are now truncated.  They are given a link nameoE         derived from the first 30 characters of the section name withrK         a unique identifier tagged on the end.  This avoids long link namescA         being split over two or more lines and becoming unusable.n  M       - Allow relative links to subtract out filename (e.g. in contents list) #         when target is in same file.  :       - Can now recognise URLs with commas in then such asM         recognise http://cgi.pathfinder.com/netly/opinion/0,1042,1692,00.html 5         in addition to comma separated lists of URLs.d  B       - The KEYWORDS, DESCRIPTION and TITLE pre-processor commandsG       	can now be multi-line.  This allows long lists of keywords to beiJ       	placed over several lines (each beginning with the command), making       	then easier to manage.   L       - The default name for the directory index file is now "dirindex.html"G         rather than "index.html" to prevent overwriting of any existingu         index file.b  H       - Program now always does a "contents pass".  Benefits of this are; 	  - can now generate in situ contents lists /contents bars =           - can now generate navigation bars wherever wanted i;           - can now eliminate duplicate filename generation <           - can check hyperlink cross references are correct  *       - Improved table/diagram recognition  J       - Now support conversion of tab-delimited data into tables, providedU       	it's placed inside [[HYPERLINK TAGGING,BEGIN/END_DELIMITED_TABLE]] directives u  G       - Relaxed indentation test on "n.n" headings.  Heading can now beoM         2 characters to the left, or 1 character to the right of the expected          position  H       - Now recognise use of asterisk and underscore combined to produceL       	bold-italic emphasis.  Previously only asterisk (bold) and underscore.       	(italic) by themselves were recognised.  <       - Now recognise "]" as a possible "quoting" character.  3       - Now recognise '+' as an underling character   J       - Improved error reporting when file errors occur.  The program willM       	now abort the conversion on error, instead of continuing and reportingi       	errors for each line.  K       - Now detect read-only output directories and abort conversion.  Thist9         would occur if you tried to convert a file on CD.-  K       - Definitions now use <DL compact> offering a more-faithful rendition,         of the original text  I       - Underlined heading and text will now be rendered as underlined byiI         default.  Previously this either promoted the previous line to be *         a heading, or was drawn as a line.  I       - Improved handling of first line indents on paragraphs.  Now these J         are preserved in the output by the inclusion of &nbsp; characters,M         and the error whereby the following line was deemed to be a different F         indentation (and thus acquire a <BLOCKQUOTE>) has been largely         solved.t  K       - Introduction of the TEXT in-line tag (see 7.2.2) now allows numbersaH         like Windows [[TEXT 3.1]] to be protected from conversion into a!         hyperlink to section 3.1.v       11.4 Version 3.0 (August '98)b  K       There are a fair number of small changes in functionality over V2.3, oM       together with a fair number of bugfixes and refined algorithms.  A lot  M       of development during this time was directed towards the production of hL       a text-to-RTF converter ([AscToRTF]) using the same analysis engine.  A       Consequently there are a lot of changes "under the bonnet".r  I       The main functional change has been the revamp of the Windows User  H       Interface.  A new section (4.1.2) has been added to this document D       describing the Windows interface in some detail.  The changes        include :-  H       	 - the button bar is replaced by a proper Windows menu, allowing 4       	   easier access to the programs functions.    L       	 - under the Help menu a link to the HTML documentation shipped with (            the software is now provided.  J       	 - the policy sheets are now "non-modal".  This means you no longerJ            have to dismiss them in order to do a conversion, you can leaveI            them up whilst the conversion is going on, making it easier tol>            go through the convert-change policy-convert cycle.     11.4.1 Bug fixes         _Windows version_r  K       - General Protection Fault was occurring on the "Analyse file" button I         if a file had not yet been converted.  This bug was introduced inr         V2.3         _All versions_  L       - No longer inserts <BR> before first heading if the first line in the         file is a headingd  G       - "headings" that were underlined, but which were in fact part of @         a table are no longer added to generated contents lists.  S       - Underlined/capitalised headings now get correct hyperlinks in contents lista%       	lists when using DOS filenames   N       - Fixed bug that caused contents lists immediately following underlined %         headings to not be recognisedt  =       - URLs in heading no longer lead to invalid anchor tagsi  E       - Various URL changes; "alt." and "news." no longer treated as e2         a newsgroup, https:// pages now recognised  H       - Properly reject "indent" of 1.  Previously this was reported as ,         rejected, but was actually accepted.  U       - [[HYPERLINK POLICY,"Expect code samples"]] policy was being ignored in table h         calculations.i  J       - The TABLE_HEADER_COLS directive only worked when there were header         rows as well.   O       - Use of emphasis inside a TABLE cell was not being detected at all.  NownM         it is detected if held on a single line.  Phrases that are emphasisedpI         over several lines inside a table cell may still not be detected.u  J       - Fixed a bullet numbering problem.  Previously the bullet numberingK         wasn't being reset correctly if two sets of bullets were separated  6         by text with a larger margin than the bullets.  7       - Emphasis at end of line now properly recognised   L       - Fixed bug that caused emphasis markup near pre-formatted sections of         text  L       - Small correction to line-splitting algorithm to prevent <TAG>s being2         spilt when they're near the natural break.  A       - Pre-processor command $_$_TITLE was being ignored if the ,B 	[[HYPERLINK POLICY,"Use first heading as title"]] policy was set.     11.4.2 New functions         _Windows Version_   >       - Major re-structuring of the user interface (see 4.1.2)  K       - Program's Help options now provide access to the online and offlineoI         versions of the HTML doco.  A lot of people were downloading the  I         software and then picking up a version of the doco, unawares they H         already had it.  Don't you people read README.TXT files or what?           _All Versions_  A       - New [[HYPERLINK POLICY,"Search for Definitions"]] policy a  3       - New [[HYPERLINK POLICY,"TAB size"]] policy    z       - New [[HYPERLINK POLICY,"Expect sparse tables"]] policy and [[HYPERLINK TAGGING,TABLE_MAY_BE_SPARSE]] pre-processor         commandi  E       - New [[HYPERLINK POLICY,"Add <BR> to lines with URLs"]] policym  ?       - New [[HYPERLINK POLICY,"Output file extension"]] policyr  A       - New [[HYPERLINK POLICY,"Minimise HTML file size"]] policy   U       - New [[HYPERLINK POLICY,"Headings colour"]] policy.  Eventually I hope to add eN         a whole suite of heading styling options, as these have been requested         by a number of people.  u       - New [[HYPERLINK POLICY,"Convert TABLE X-refs to links"]] policy and [[HYPERLINK TAGGING,TABLE_CONVERT_XREFS]]c         pre-processor commandh  E       - New [[HYPERLINK TAGGING,CHANGE_POLICY]] pre-processor commande  ?       - New [[HYPERLINK POLICY,"Error reporting level"]] policy,     11.4.3 Other changes  "       - Improved Windows interface  N       - Empty lines in a table cell now get an extra &nbsp; added, in additionL         to the <BR>.  This is to compensate for a bug in Internet Explorer 3K         which would ignore the <BR> otherwise, leading to alignment errors.r  O       - Now treat phrases with all the words connected by underscores, and withs<         underscores at both ends as well as underlined e.g.          _this_type_of_thing_  M       - Improved handling of tables with long urls in them.  Previously thesetJ         would not be recognised as part of a table.  Increased "long line"-         limit inside tables to 110 characters   )       - Improved error reporting/handling   0       	- Report unrecognised pre-processor linesI       	- Report results of table analysis (e.g. if diagrams are detected)i0         - Report failure to find requested files=       	- Abort conversion if can't find requested policy filee  H       - Improved detection of "mal-formed" tables.  Previously this was 2         over-cautious, especially on short tables.  E       - Now add a trailing "/" to www etc URLs if none present (e.g. mO         www.jafsoft.com).  This is a more correct URL, which should be accessedf"         slightly more efficiently.  J       - Now recognised "....." underlining, although why people do this is         beyond me :)  K       - Improved contents list detection in short documents with only levels7         one headings, and documents with a chapter "0".   L       - Improved headings detection in small files.  Made this less trigger          happy.  O       - Improved code detection, and now add bold emphasis of C++ like commentse         inside a code sections  P       - No longer allow "{" and "}" to be detected as probable bullet characters         when code is expectedo  K       - I've produced (with help from antipodean friends) an icon for filespL       	converted by AscToHTM.  It's called a2hlogo.gif.  Feel free to use it:       	should you wish on any pages created with AscToHTM.  -       	An example piece of HTML code would be   
 $_$_BEGIN_PRET<       	<A HREF="http://www.jafsoft.com/asctohtm/?from=doco"><         <IMG SRC="a2hlogo.jpg" WIDTH=100 HEIGHT=36 BORDER=0 (         ALT="Converted by AscToHTM"></A> $_$_END_PREN  ^       - With the introduction of the [[HYPERLINK POLICY,"Add <BR> to lines with URLs"]] policyL       	this behaviour is no longer default.  That is, if you *do* want <BR> G 	added at the end of all lines containing URLs you will need to switch 0( 	this behaviour on using the new policy.  `       - With the introduction of the [[HYPERLINK POLICY,"Convert TABLE X-refs to links"]] policyH         this behaviour is no longer default.  That is, if you *do* want ; 	section links inside your tables, you will need to switch  .       	this behaviour on using the new policy.  @       - ".htm" files are now with a lowercase extension, unless 9 	[[HYPERLINK POLICY,"Use DOS filenames"]] policy selectedH      ! 11.5 Version 2.3 (late April '98)   O       Minor bugfixes and upgraded functionality over V2.2.  The main functionalL       changes have beens  A       a) The introduction of wildcard support to allow conversion #          of multiple files at once.   O       b) (related to the above) the introduction of the [[GOTO Directory Page]] O          feature that allows the generation of a hyperlinked document spanning o 	 all the files in a directory.   F       c) Major re-write of the contents-list generating routines.  TheK          program now makes a third, intermediate, pass through the documenteK          to analyse the contents structure.  This means that contents lists K          are now placed at the top of the HTML file be default, rather thanPI       	 in a separate file as previously - though that behaviour is stillR          supported if wanted.   M       	 This approach is expected to pay further dividends in later releases.g     11.5.1 Bug fixes  I       - Hyperlinks added from a link dictionary sometimes got broken over L         two lines - inserting white space into the URL - preventing the link         from working  K       - Confusion with numbered sections beginning with "0" or ending ".00"u         eliminated.]  A       - Problems with formatting after underlined headings fixed.   F       - Failed to "view results" when DOS-compatible files we're being         generated.  *       - Various email/ftp/URL improvements  6       - Now ignore date-like "headings" e.g. 11.3.1998  F       - Capitalised headings were omitted from contents lists, and had?         bad anchor names (contained spaces, difficult to quote)f  @       - Automatic detection of centred text had stopped working.     11.5.2 New functions         _Windows Version_r  H       - Added a "Preform simple conversion" tick box on the front panel.W         This does exactly the same as the [[HYPERLINK POLICY,"Keep it simple"]] policy.I  J       - Improved the Headings dialog to allow headings policies to be more         easily edited now.  4       - Pre-processor document sections now working.         _All versions_  6       - Wildcard support has been added (see 4.3.3.1).  N       - Major re-writing of contents list generation has occurred (see 3.4.2).O         Includes new [[HYPERLINK POLICY,"Use any existing contents list"]] and nS 	[[HYPERLINK POLICY,"Generate external contents file"]].  More changes are expected          here in later versions.   K       - New [[GOTO Directory Page]] feature.  Supporting policies include:-s  . $_$_CHANGE_POLICY preserve line structure: yes,       	[[HYPERLINK POLICY,"Make Directory"]]0       	[[HYPERLINK POLICY,"Directory filename"]];       	[[HYPERLINK POLICY,"Show file titles in Directory"]] :       	[[HYPERLINK POLICY,"Indent headings in Directory"]]-       	[[HYPERLINK POLICY,"Directory title"]][0       	[[HYPERLINK POLICY,"Directory keywords"]]3       	[[HYPERLINK POLICY,"Directory description"]] =       	[[HYPERLINK POLICY,"Directory return hyperlink text"]]a3       	[[HYPERLINK POLICY,"Directory Script file"]]n3       	[[HYPERLINK POLICY,"Directory header file"]]R3       	[[HYPERLINK POLICY,"Directory footer file"]]f- $_$_CHANGE_POLICY preserve line structure: noi  M       - New [[HYPERLINK POLICY,"Minimum TABLE column separation"]] policy andyO       	[[HYPERLINK TAGGING,TABLE_MIN_COLUMN_SEPARATION]] pre-processor command  /         to allow some tuning of table analysis.l  D       - New [[HYPERLINK POLICY,"Use first heading as title"]] policyA       - New [[HYPERLINK POLICY,"Use first line as title"]] policyr  B       - New [[HYPERLINK POLICY,"Recognised USENET groups"]] policy  F       - New [[HYPERLINK POLICY,"Automatic centring tolerance"]] policy  P       - New [[HYPERLINK POLICY,"Use <P> markup for paragraphs"]] policy to allowF         choice of either <P> or <BR> markup to be used for paragraphs.  c       - New [[HYPERLINK POLICY,"Default table width"]] policy and [[HYPERLINK TAGGING,TABLE_WIDTH]]e< 	pre-processor command to allow table widths to be specified       	as percentagest  A       - New pre-processor command [[HYPERLINK TAGGING,HTML_LINE]]e     11.5.3 Other changes  L       - Reinstated some of the "error" messages removed in the last version,L         to do with section numbering.  This should make it more visible when0         the section heading analysis goes wrong.  H       - Added error reporting to file open.  You should now get an errorC         message if the program fails to find/open a file somewhere.v  M       - Now support headings down to 5 levels (previously this was 4).  Note,eM         if you only have a couple at this level, the program may still ignorel,         them as statistically insignificant.  J       - Removed certain policies (such as "generate policy file") from theI         output when generating a full policy file.  This is because, wheno9       	they were read back in, they could cause problems.   ?       - The "Include document section" policy is now renamed to J         "Include document section(s)" reflecting the fact that you can nowI         enter multiple values on one line, rather than requiring multiplen0         lines with one value each as previously.  _       - Major re-structuring and additions to [[GOTO HTML markup produced]] to make the section I         more coherent and up to date.  Some of the sections marked as new G         in this version are simply the documentation catching up on the +         features added in earlier releases.h  )       	Sometimes I just work too hard :^)i       11.6 Version 2.20 (Feb '98)n  O       First major release after V2.0 (when AscToHTM first went fully-Windowed).eJ       Major change this time has been the introduction of TABLE generatingI       algorithms.  These were first made available as a separate freeware.       utility [AscToTab].9  J       This version is reviewed by ZDNet and awarded 5-stars, their highest       award.     11.6.1 Bug fixes         - End effects now fixed.  -       - Various emphasis features eliminated.y  L       - In-situ contents lists weren't getting the right file names in their* 	hyperlinks when the file was being split.  J       - Right justified numbered sections weren't being detected correctly         past section 9.x  K       - No longer break long URLs over two lines.  This occasionally led to  	hyperlinks that didn't work.e  J       - No longer generate files for underlined sections when document has9 	numbers sections as well, and is being split into files.a  J       - No longer detect pre-formatted text inside BEGIN_HTML ... END_HTML	 	section.   !       - Fixed tab conversion bug.e     11.6.2 New functions         _Table generation_  L       This is the biggest change in this version.  AscToHTM now incorporatesI       the technology first introduced in [AsctoTab].  To support this theAL       detection of pre-formatted text has been improved, new policies added,*       and new preprocessor commands added.         New policies include :-h  =       	[[HYPERLINK POLICY,"Attempt TABLE generation"]] [[BR]] >       	[[HYPERLINK POLICY,"Default TABLE border size"]] [[BR]]>       	[[HYPERLINK POLICY,"Default TABLE header rows"]] [[BR]]>       	[[HYPERLINK POLICY,"Default TABLE header cols"]] [[BR]]?       	[[HYPERLINK POLICY,"Default TABLE cell spacing"]] [[BR]]n?       	[[HYPERLINK POLICY,"Default TABLE cell padding"]] [[BR]]r9       	[[HYPERLINK POLICY,"Default TABLE colour"]] [[BR]]a@       	[[HYPERLINK POLICY,"Default TABLE border colour"]] [[BR]]:       	[[HYPERLINK POLICY,"Default TABLE caption"]] [[BR]]    +       New Pre-processor commands include :-t  2       	[[HYPERLINK TAGGING,BEGIN/END_CODE]] [[BR]]5       	[[HYPERLINK TAGGING,BEGIN/END_DIAGRAM]] [[BR]]r3       	[[HYPERLINK TAGGING,BEGIN/END_TABLE]] [[BR]]a0       	[[HYPERLINK TAGGING,TABLE_BORDER]] [[BR]]5       	[[HYPERLINK TAGGING,TABLE_BORDERCOLOR]] [[BR]]r1       	[[HYPERLINK TAGGING,TABLE_BGCOLOR]] [[BR]]b1       	[[HYPERLINK TAGGING,TABLE_CAPTION]] [[BR]] 5       	[[HYPERLINK TAGGING,TABLE_CELLSPACING]] [[BR]]a5       	[[HYPERLINK TAGGING,TABLE_CELLPADDING]] [[BR]]y5       	[[HYPERLINK TAGGING,TABLE_HEADER_ROWS]] [[BR]]r5       	[[HYPERLINK TAGGING,TABLE_HEADER_COLS]] [[BR]]r           _Other changes_a  A       - Added a policy to allow <CODE> markup to be used for code F         fragments in the document (see [[GOTO HTML Styling Policies]])  _       - Added pre-processor [[HYPERLINK TAGGING,BEGIN/END_CODE]] commands to allow sections of oB       	code samples to be identified and distinguished from tables  _       - Added pre-processor [[HYPERLINK TAGGING,BEGIN/END_DIAGRAM]] commands to allow diagrams  M       	and sections Ascii art to be identified and distinguished from tables t     11.6.3 Other changes         _Documentation_   P       - Added the "Policy Dictionary" (since superceded by the [Policy manual]),0         and renumbered the document accordingly.           _All versions_  #       - "tables/pre-formatted text"h  L       - Various improvements to detecting the start and end of pre-formatted 	regions of text.e  L       - Shareware now expires after 30 days, rather than after a fixed date.  P       - Headings policies have been revised.  Still more work to be done in this       	area.  H       - Slight improvement in detection of centred text.  Still not goodB         enough to offer as a default though (too prone to errors).  <       - Added section on saving/using policy files (see 6.5)  K       - Shareware version now adds nag lines at top and bottom of the page,s          instead of just the top.  9       - A number of improvements in code sample detection   G       - Reduced number of "error" messages reported.  These may be madeBD 	optional in a later version, and are still placed in the diagnostic 	files if these are created.           _Windows version_a  O       - Now added a "Settings" dialog to allow you to configure various aspects H         of how the program runs such as what browser to view files with,3       	what policy file to use as default etc, etc.       - 11.7 Version 2.10 (never officially released)r  H       V2.1 was never officially released, but much of this functionalityO       "crept out" as the shareware version was updated.  Some of these versions I       were shown as V2.01 instead of V2.1.  There's nothing like a bit of K       consistency (and yeah, this was *nothing* like a bit of consistency).s     11.7.1 Bug fixes  E       - Fixed "Minimum automatic <PRE> size".  Previously didn't work          at all like advertised.n  N       - Colour samples in Windowed version were being shown as gray on initial         draw and on re-draw.  N       - Anchor points added to generated contents list had their </A> missing.  2       - Fixed occasional "Invalid indent -1" error     11.7.2 New functions  N       - New [[HYPERLINK POLICY,"Document keywords"]] policy and pre-processor /         [[HYPERLINK TAGGING,KEYWORDS]] command.   P       - New [[HYPERLINK POLICY,"Document description"]] policy and pre-processor2         [[HYPERLINK TAGGING,DESCRIPTION]] command.  I       - New [[HYPERLINK POLICY,"Hyperlinks on Numbers"]] contents policy d  P       - New [[HYPERLINK POLICY,"Document style sheet"]] policy and pre-processor1       	[[HYPERLINK TAGGING,STYLE_SHEET]] command.t     11.7.3 Other changes         _All versions_  P       - Now recognise domain names without a protocol specified (such as http://K         or ftp:// etc.) that end in standard domains (e.g. .edu, .net, .org I         etc) as probable FTP sites.  This allows references to sites likel<         rtfm.mit.edu to be correctly turned into hyperlinks.  6       - Some renumbering of this document has occurred  =       - Quoted text is now marked up using <em>..</em> markup,           _Windows version_r  1       - Now stores data in the Registry under thewC 	HKEY_CURRENT_USER root with a "\Software\JafSoft\AscToHTM\..." keyg  ?       - Now supports "most recently used" lists for both policysL         files and files to be converted.  These are accessed via a drop-down 	Combo box.f  5       - Now remembers last source directory each time K       	the program is run.  This is used as the initial directory next timen$       	the Browse button is pressed.  F       - The filenames now include the path.  This is to allow the mostE       	recently used (MRU) file drop-down list to function correctly.e        11.8  Version 2.00 (October '97)  J       Version 2.0 marks the production of the first fully-windowed versionJ       for Windows 95/NT.  This took a few months to be produced, so a fair>       number of other features have been added over this time.     11.8.1 Bug fixes  C       - Loads of bugs in parsing user PRE sections (sorry Dennis!).e  L       - < and > characters inside a PRE section caused characters to be lost         off the end of lines         - URL-parsing improved  L       - Contents list file links back to main file if no other section links
 	generated  2       - Newsgroups in headings no longer converted     11.8.2 New functions  A       - New [[HYPERLINK POLICY,"Output policy filename"]] policy    =       - New [[HYPERLINK POLICY,"Use .HTM extension"]] policy    D       - New [[HYPERLINK POLICY,"Generate diagnostics files"]] policy  J       - New [[HYPERLINK POLICY,""External contents list filename"]] policy  I       - New [[HYPERLINK POLICY,"Use <DL> markup for defn. paras"]] policy<  F       - New [[HYPERLINK POLICY,"Ignore multiple blank lines"]] policy   =       - New [[HYPERLINK POLICY,"Search for emphasis"]] policy   F       - New [[HYPERLINK POLICY,"Allow definitions inside PRE"]] policy  J       - New Pre-processor [[HYPERLINK TAGGING,BEGIN/END_CONTENTS]] command  F       - New Pre-processor [[HYPERLINK TAGGING,BEGIN/END_HTML]] command  =       - New Pre-processor [[HYPERLINK TAGGING,TITLE]] commands  ?       - New Pre-processor [[HYPERLINK TAGGING,INCLUDE]] commande     11.8.3 Other changes  E       - White space immediately adjacent to PRE sections now ignored.p  H       - Changed anchor names to contain no spaces (makes URL's easier to 	quote)e  I       - Title defaults to "Converted from filename" instead of "No title"n         (see also 7.1.2)  E       - Introduced some support for use of ctrl-H (backspace) in Unix . 	documents to underlined and highlighted words  7       - Automated "simple" file detection now attemptedt  8       - Automated "code samples" detection now attempted  5       - Some policies have been renamed as follows :-e  3                 Was                             Nowe3                 ---                             ---t9       		Expect Numbered sections	Expect Numbered Headingsi'       		HTML header 			HTML header file '       		HTML footer 			HTML footer filet  H       - The policy section headings have been renamed as well.  This mayL         cause "ignored policy line" messages when old policy files are used.       11.9 Version 1.1 (August '97)e   11.9.1 Bug fixes  F       - Several hyperlink parsing errors fixed.  Previously there wereD         problems with punctuation around links, email addresses withF         protocols (e.g. MX%"info@jafsoft.com") and newsgroups with the0         word "news:" in front e.g. news:uk.jobs.  K       - improved output of pre-formatted text.  "<" characters were gettinghG         confused, and the pre-formatted lines were being broken in two._     11.9.2 New functions  W       - Added a [[HYPERLINK POLICY,"Only use known groups"]] policy to improve accuracy6(       	of newsgroup hyperlink detection.  ,       - Added more document colour policies   M       - Added a /POLICY and [[HYPERLINK POLICY,"Output Policy file"]] option  N         (see 4.2.2.9) to make the generation of an output policy file optional  J       - Added preprocessor support for user-formatted sections (see 7.1.1)     11.9.3 Other changes  :       - Indentation is now done using <BLOCKQUOTE> markup.  3       - Changed default background colour to white.b  D       - Generation of a .pol file is no longer default (see 4.2.2.9)  N       - The use of <PRE> ... </PRE> to mark up user-formatted text is replacedL         by the new preprocessor commands [[HYPERLINK TAGGING,BEGIN/END_PRE]]         - re-write of section 4.1f  F       - Improved error reporting.  The .LIS file created if the /DEBUGN         qualifier is used (see 4.2.2.4) now has error and information messages         included in it.s      " 11.10 Version 1.05 (late July '97)   11.10.1 Bug fixese  F       - fixed some errors that occur when directory paths are includedM         in the filenames.  Probably still more changes required in this area,lG       	particularly with a view to supporting multiple file drag'n'drop        	under Windows.   4       - improved detection of pre-formatted regions.     11.10.2 New functionsm  M       - Added an [[HYPERLINK POLICY,"Output directory"]] policy.  This allows D 	redirection of output to a directory different from that containing 	the source files.  1 	Note:	This functionality may not be available in ( 		the shareware version of the software.  N       - Added an [[HYPERLINK POLICY,"Output policy"]] policy.  This allows the5 	suppression of output policy files where not wanted.g  P       - Added a [[HYPERLINK POLICY,"Expect code samples"]] policy. This helps in;         technical documents that include samples of C code.n  C       - Added preprocessor support to allow variant documents to besX       	produced (see [[GOTO Preprocessor policies]] and [[GOTO Using the preprocessor]])     11.10.3 Other changesi  J       - Policies now accept "Yes/No" as well as "True/False".  "Yes/No" is* 	now the default when outputting policies.  M       - shareware version now limited to processing the first 500 lines only.-  K       - Lines with email addresses no longer have <BR>'s forced on the end.mG         Lines with http, ftp and news links still do.  This will becomef-         fully configurable in later versions.       $ 11.11  Version 1.04 (early July '97)   11.11.1 Bug fixes   "       - Fixed lots of memory leaks  H       - Improved cross-reference detection.  These are now range checkedN         against the observed section numbers.  This will reduce the likelyhoodJ         of DirectX 3.0 and Windows 95 becoming links to chapters 3 and 95.  O       - Contents list generation for documents with chapters and no subsections          now works.  )       - Improved Contents list detection.   H       - Fixed bug that caused links to underlined or capitalised heading/         with very long names to sometimes fail.R     11.11.2 New functionsn  O       - Added policy [[HYPERLINK POLICY,"Minimum automatic <PRE> size"]].  This 3 	replaces the policy "Allow automatic 1-line <PRE>"s  K       - Added policies [[HYPERLINK POLICY,"Largest allowed <Hn> tag"]] and lY 	[[HYPERLINK POLICY,"Smallest allowed <Hn> tag"]] to allow control over generated headingi 	sizes.]  =       - Added policy [[HYPERLINK POLICY,"Short line length"]]R  I       - Added Batch processing to allow multiple files to be converted atd$         the same time. (see 4.3.3.2)     11.11.3 Other changesy  $       - Created a 16-bit DOS version  .       - VMS version now available as freeware.  B       - Added "SendTo" tips for Windows 95/NT users section to the!         documentation (see 4.4.4)I       11.12  Version 1.01 (April '97)          New functions,  5       - Added the /CONTENTS qualifiers (see 4.2.2.3).r3       - Added the /SIMPLE qualifier (see 4.2.2.11).n