) $_$_TITLE The JafSoft text conversion FAQ D $_$_CHANGE_POLICY document subject : The JafSoft text conversion FAQ+ $_$_CHANGE_POLICY Expect contents list : No , $_$_CHANGE_POLICY background colour : ffefff* $_$_CHANGE_POLICY headings colour : dd00ddp $_$_CHANGE_POLICY LINK Definition : "[a2h man]" = "AscToHTM Manual" + "http://www.jafsoft.com/doco/a2hdoco.html"p $_$_CHANGE_POLICY LINK Definition : "[a2r man]" = "AscToRTF Manual" + "http://www.jafsoft.com/doco/a2rdoco.html"v $_$_CHANGE_POLICY LINK Definition : "[pol man]" = "Policy Manual"   + "http://www.jafsoft.com/doco/policy_manual.html"s $_$_CHANGE_POLICY LINK Definition : "[tag man]" = "Tag Manual"      + "http://www.jafsoft.com/doco/tag_manual.html"  $_$_CONTENTS_LIST  $_$_BEGIN_IGNORE 			** Master copy on VMS **  $_$_END_IGNORE 1.0 Introduction ================  M This FAQ is clearly a work in progress.  Many of the subjects have no answers L as yet.  Nevertheless I intend fleshing this out as and when I get time, andL I welcome new questions (or prompts to write the answers to questions listed here) for all users.  , Direct all correspondence to faq@jafsoft.com     1.1 Document conventions  G Often the answer to a question involves setting a policy value (see the E [Pol Man] for more about policy files).  The policy involved will be   displayed as         <policy text> : <value>   H The <policy text> is the text that will appear in the policy file.  ThisL must be *exactly* as shown, no variability in the spelling will be toleratedL by the program.  If you misspell the policy text (or if it's been changed inG a new version), the program will complain that it doesn't recognize the  policy.   L In addition to adding lines to your policy file by hand, the Windows versionG allows *most* (not all) policies to be set via property sheets.  You'll 8 need to locate the equivalent policy on property sheets.    ' 1.2 Finding JafSoft software on the web    1.2.1 The home page   H Currently http://www.jafsoft.com/.  Each product has it's own page, e.g.  &       http://www.jafsoft.com/asctohtm/&       http://www.jafsoft.com/asctortf/&       http://www.jafsoft.com/asctotab/%       http://www.jafsoft.com/addlinx/   ) These are are listed on the products page   &       http://www.jafsoft.com/products/  # There is also a .co.uk mirror site.      1.2.2 Online documentation  F Currently http://www.jafsoft.com/doco/docindex.html.  Documentation isJ usually included with all downloads, either as HTML or as ready-to-convert text.   U In Windows this will usually be found in the folder c:\Program Files\JafSoft\AscToHTM   " Documentation available includes :  @       - [a2h man]. Describes the text-to-HTML converter AscToHTM?       - [a2r man]. Describes the text-to-RTF converter AscToRTF D       - [pol man]. Describes the use of policy files by the softwareL       - [tag man]. Describes the use of a preprocessor and tagging system by         the software       - This FAQ.   I If you plan to read one or more of these manuals you'd be best advised to - download one of the documentation .zip files.      1.2.3 Keeping track of updates   There are update pages at   6       http://www.jafsoft.com/asctohtm/updates.html and2       http://www.jafsoft.com/asctortf/updates.html  L Registered users get update notifications by mail.  To date all updates haveI been free to registered users, but we can't guarantee that will always be 	 the case.      1.2.4 Who is the author?   1.2.4.1 John A Fotheringham   F That's me that is.  The program is wholly the responsibility of John AK Fotheringham, who maintains it in his spare time.  He doesn't make a living % from it (in case you were wondering).      1.2.4.2 JafSoft Limited   O Although authoring shareware doesn't earn enough that I can give up my day job, G I have created a separate company to handle AscToHTM, AscToRTF and all  1 the shareware and other services I have to offer.   ; The company is called JafSoft Limited, and the web site is   http://www.jafsoft.com/      1.2.4.3 Contacting the author   N Correspondence should be via email to support@jafsoft.com.  Priority is given N to registered users and people who want to pay for development [ :) ], however$ all correspondence will be answered.     1.2.5 Reporting errors and bugs   N Despite the best of intentions, bugs do happen, and we're always grateful for / anyone who takes the time to report them to us.   I Please feel free to report all errors and bugs to bugs@jafsoft.com.  When  you do so please include  % 	- a clear description of the problem 5         - which version of the software you are using > 	- a copy of the offending source file (if not too large <50k)( 	- a copy of any policy file being used.G 	- a copy of any .log file generated (save the status messages to file)  	 H Please keep any source files small.  If the source file is large, try to7 generate a smaller file that exhibits the same problem.     ( 1.2.6 Requesting changes to the software  O Feel free to send suggestions for enhancements/changes to support@jafsoft.com.  M A surprising number of features have been added this way although, naturally, : I'm happy for people to think these were all my own ideas.  H Minor changes may slip into the next release if I think they enhance the product.  H Major changes to the software can be undertaken on a commercial basis byL contracting my services from Yezerski Roper Ltd.  This option is not for theI faint hearted.  Don't let the software's $40 price tag persuade you that  H that's anything but a bargain, my hourly rate is more than that amount, - although I can do quite a lot in one hour :-)      1.3 Registration and updates   1.3.1 Registration  1 Registration can be completed online by visiting    D       http://www.jafsoft.com/asctohtm/register_online.html or [[BR]]<       http://www.jafsoft.com/asctortf/register_asctortf.html  H Registration is usually completed via a third party registration serviceH (I use a couple) and an on-line download.  The registration service willP take your payment and then send you download instructions for a fully registeredG copy.  The registration companies can accept payments using a number of * methods, but the commonest is credit card.  M We do not ship software on media at this time.  We'd have to double the price O and stop our free upgrade policy if we did.  That said, one of the registration G companies will put the software onto CD and ship it to you for an extra R charge.  As yet I haven't set this up, but if interested email support@jafsoft.com
 with details.      1.3.2 Update policy   K To date all updates have been free to registered users.  This has been true K for both minor and major updates.  Over time the price of the software has  , risen, but no-one has ever had to pay extra.  M I'd like to continue this policy, but I'm unable to actually guarantee this,  P especially since I've discovered old registered versions circulating on the Net.    - 1.4 Other related products by the same author    1.4.1 AscToTab  H [AscToTab] is a subset of AscToHTM which is dedicated to creating tablesH from plain text and tab-delimited source files.  The software is offered& as freeware under Windows and OpenVMS.     1.4.2 AscToRTF  K AscToRTF is a text-to-RTF converter which uses the same analysis engine as  A AscToHTM, but which creates Rich Text Format (RTF) files instead. M RTF is a format better suited for import into Word and other word processors.   I [AscToRTF] was released early in 2000 and has received a number of 5-star  reviews.    
 1.4.3 AddLinx   N A registered user (see [[GOTO requesting changes to the software]]) contacted K me and asked if I had a program that could add hyperlinks to an *existing*  J HTML file.  At the time I didn't, but on examining the software it seemed M I had all the bits and pieces necessary to construct such a tool.  Within 24  E hours I sent him a first attempt at such a utility, and within a few   weeks [AddLinx] was born.   L It's a very rough utility that I haven't spent much time on.  It's available as postcard ware.     " 1.4.4 API versions of the software  L For those wanting to programmatically integrate the conversion software intoL their own products, an API has been produced and is available under license.  H AscToHTM and AscToRTF are written in C++, and an API is available which K provides a C++ header file defining the functions available.  The software  ; is then provided as a Windows library to be linked against.   O In the past clients have successfully integrated this with their Java software, ( on Windows, Linux and Solaris platforms.  J Although I'm not a Visual Basic programmer myself I'm less sure of how theJ software could be integrated with VB, although I presume this can be done.  ( Contact sales@jafsoft.com if interested.    $ 1.4.5 Linux versions of the software  I Linux versions of all programs are planned.  The core conversion software J is developed as a command line utility, and in this form it ports to LinuxL reasonably easily.  I plan to offer AscToHTM and AsctoRTF as Linux shareware in the near future.     # 1.5 Document conversion consultancy    1.5.1 Do you offer consultancy?   K We always like to offer a little help to users just starting out.  Once you F register you are free to send a typical sample file to the author, whoP will offer some advice on problems you might encounter and policies you may use.  K However, for people wanting to do larger conversions (see 3.1.9) or wanting O significant amounts of our time, you will need to buy assistance at consultancy K rates.  Regrettably this is not cheap, although we feel it's good value for  money :)  ] Contact sales@jafsoft.com with details.  See also [[GOTO requesting changes to the software]]      1.6 Y2K Compliance  ? From time to time I get asked if my products are Y2K compliant.   $ The short answer is "yes it was" :-)     1.7 Status of this FAQ  O Clearly it's not finished yet.  You might even say it's "under construction" :)   J I've decided to put this on the web in "unfinished" form so that it may be0 of *some* benefit to people as soon as possible.  J If you've a particularly urgent need for a question to be answered contactF support@jafsoft.com, and don't be surprised if your answer ends up in  this document.     2.0 Getting the best results ============================   2.1 General   8 2.1.1 Three words: consistency, consistency, consistency  N The software works by analysing your document to determine what "rules" you'veL used for laying out your file.  On the output pass these "rules" are used toF determine how to categorize each line, and inconsistencies can lead toB lines being wrongly treated because they "fail to obey the rules".  J You can greatly help this analysis by being consistent in your formatting.J Many of the decisions the software makes can be overridden by changing theK "analysis policies" (see [[GOTO using policy files]]), but if this becomes  G necessary it can quickly become hard work (if only because you need to  H familiarize yourself with these policies), so it's better to avoid this  if possible.  H If you're writing a document with text conversion in mind, bear in mind 
 the following   J     - *use of white space* (see [[GOTO white space is your friend]]).  In I       general white space can be used to separate paragraphs, tables and  K       diagrams from normal text and columns of data from each other inside  
       tables.   )       The software *likes* white space :)   U     - *use of tabs*.  The software will convert all tabs to spaces on input, assuming J       that one tab = 8 spaces.  This will work fine provided this tab sizeK       is correct, or your use of tabs and spaces is consistent.  It may not N       work otherwise, in which case you'll need to tell the software what your)       tab size is via an analysis policy.   S     - *use of indentation*.  The software will calculate the pattern of indentation J       used in your file, and will output text accordingly.  If your use ofI       indentation is inconsistent, then paragraphs will be wrongly broken 3       and headings may not be correctly recognized.   O     - *use of numbering*.  The software can spot numbered headings and numbered L       lists.  To avoid confusing the two, the indentation of a given type ofL       heading is tested, together with the numbering sequence.  The softwareK       can tolerate small gaps in numbering, but large gaps will confuse it.   O     - *use of line lengths*.  The software will attempt to determine your "page M       width" and text justification.  These are then used to spot short lines L       (which get a <BR> added) and centred text.  The centred text algorithm1       has problems and so is disabled by default.   N       Try to avoid really long lines, or highly variable line lengths.  If youM       don't, the software is liable to insert <BR> where you don't want them, F       unless you set the "page width" and "short line length" analysis)       policies to correct this behaviour.   M     - *avoid confusing the program*.  Numbered lists inside numbered sections J       all at the same level of indentation is a good example.  The numbers1       become ambiguous and errors start to occur.     0 2.1.2 Make sure your files are "line-orientated"  M The software reads files line-by-line.  On the first pass it will analyse the H distribution of line lengths to determine the "page width" of your file.H This in turn is used to detect certain features such as centred text and "short lines".  G Some files, especially those created on PC, do not include line breaks, C instead they only have a single break after each paragraph of text.   I Whilst not a problem in itself, it does somewhat handicap the software's   ability to analyse the file.  K Where possible, you should attempt to save files "with line breaks" to give H the software the best chance of understanding how your file is laid out.    . 2.1.3 Make sure your use of tabs is consistent  I The software converts all tabs in your source document on the assumption  J that one tab equals 8 spaces.  In fact, the actual tab size is irrelevant J provided your use of tabs and spaces is consistent.  If it isn't, you may , find tables aren't being analysed correctly.  J You can set the actual Tab Size used in your documents vie the policy line         Tab Size: n   ( where n is the number of spaces per tab.      2.1.4 White space is your friend  K The software attempts to categorize each line into one of a number of types 2 (e.g. heading, bullet point, part of a table etc).  H Often this analysis is influenced by adjacent lines.  For example a lineH of minus signs can be interpreted as "underlining" a heading, or perhaps as part of a table or diagram.  J Confusion can occur where different features are close to each other (e.g.7 an underlined heading immediately followed by a table).   O In most cases the ambiguity can be reduced or eliminated by adding 1 or 2 blank ) lines between the objects being confused.   F The same argument applies to table columns.  If two columns get mergedH together, try increasing the "white space" between by moving them apart.  G In almost all situations, adding white space to your document will help ) reduce the likelyhood of analysis errors.     # 2.1.5 Use a simple numbering system   K I've seen documents with section numbers like "Section II-3.b".  I'm sorry, D but at present the software can't recognise such an exotic numbering7 system.  Equally it can't cope Appendices line A-1 etc.   I If possible, change your section numbers to numbers (like this document). . The software will understand that much better.  G From version 4 onwards, there is the ability to recognise headings that L start with the same word or phrase (such as Chapter, Appendix, Section etc),$ so this may offer a solution to you.    & 2.1.6 Save policies into a policy file  L The program offers a large number of "policies" to customize the conversion.K These policies can be saved in a "policy file", which is simply an ordinary 3 text file (which you may edit by hand if you like).   G By saving policies into files, you can reload these files the next time J you do a conversion, which means you won't need to adjust all the settingsI again.  You can create multiple policy file for different conversions or o conversion types.e  6 Policy files are described at length in the [Pol man].    3 2.1.7 Add preprocessor commands to your source filef  C The program has it's own built-in preprocessor.  This allows you toKH add special "directives" and "tags" into your source file which tell theG program to perform special functions.  Examples include the addition ofoF include files into the source, the insertion of contents lists, adding* hyperlinks to sections and much much more.  . An example is the following hyperlink, whereby  - 	[[OT]]GOTO Using preprocessor commands[[CT]][ 	 1 is used to provide the link to the named section./9 For more details see [[GOTO using preprocessor commands]]E  9 The preprocessor is described at length in the [Tag man].i     2.2 Using policy files  # 2.2.1 Saving "incremental" policiesn  G When you choose to save your policies to file you will be asked whether ; you want to save "incremental" policies, or "all" policies.   E "Incremental" means only those policies loaded from file, or manually.G adjusted will be written to file.  This is recommended as it leaves thet2 program free to make all other adjustments itself.  F "All" means that all policies will be written to file.  This is usefulJ if you want to document or review the policies used, but it is less usefulF if you want to reload this policy file, as it will fully constrain theG program's behaviour.  While this may not be a problem when reconvertinglC the same file, it may well be unsuitable when converting new files.b    " 2.2.2 Editing policy files by hand  I Policy file are just text files with a ".pol" extension.  If you think ofaH them like the old Windows .ini files you'll get the idea.  This has beenH done deliberately so that these files can be manually edited in a normal text editor.  M OpenVMS users actually have no other way of creating policy file, but Windows.D users can change most (but not all) policies via the GUI.  However IF recommend that anyone who comes to regard themselves as a "power" user learns how to edit these files./  D The policy file consists of one policy per line, usually in the form  "       <policy text> : <data value>   e.g.  /       Document title : Here's my favourite URLs   K When entering policy lines you must use the *exact* <policy text> indicatednG in the documentation for the policy to be recognized.  If I've misspelt H anything then tough, you'll have to follow it (but tell me anyway).  TheM one exception to this rule is I've allowed both British and American spellingt of colour/color.  L The allowed <data value> will vary from policy to policy.  Most policy lines< accept a value of "(none)" effectively negating that policy.  I The order of lines in the file is largely unimportant.  If you're editingbN a .pol file generated by the program (see [[GOTO generate a .pol file]]) then * you'll notice section headings of the form         [Hyperlinks]  I These are purely decorative.  That is, they have no significance, and youoG can ignore them and move the policy lines around, there's no concept of 4 having to place policy lines in the "right" section.  P As new versions of the software are released policies are moved from one sectionH to another as different grouping expand and appear.  As explained above,< this usually has no effect on the validity of the .pol file.    ) 2.2.3 Using include files in policy files   5 Policy files may include other policy file as followsm  1 	include file : ..\policies\Other_policy_file.polo 	oN This can be useful if you have multiple policy files but want certain featuresM to be the same.  For example I use this to introduce the same link dictionaryhQ commands into all my policy file.  You could equally put all your colour policiese into one file.  P The "include file" line will have to be manually edited into the .pol file usingP a text editor.... there is no support currently for setting this via the program itself.w  M NOTE: If you "save" a policy file that has been loaded, then the include filevO       structure will be lost, and all the policies will be output into a singlep       file.o          2.2.4 Using a default policy  L You can make the program use the same policies by default each time it runs.N To do this select the policies you want, and then save these to a policy file.  H Next select the _Settings->Use of Policy Files_ menu option.  Check the ; "Use a default" flag, and select the file you just created.a  H Next time you run the program these policies will be loaded and used forM your conversions.  Note, you can still reset the policies or load a differentt6 file using the options on the Conversion options menu.  K To stop using a default just clear the "Use a default" flag (you don't need  to clear the policy file name).a     2.3 Using preprocessor commands    2.3.1 What is the preprocessor?h  N The program has a built-in preprocessor.  This will recognize special commandsN inserted into the source file.  These commands can be used to correct analysisJ errors (e.g. to correctly delimit a table), or to add to the output.  For , example the TIMESTAMP tag can cause the text  +       "Converted on [[OT]]TIMESTAMP[[CT]]" e   to be output asn  $       "Converted on [[TIMESTAMP]]").  & preprocessor commands are of two types  K 	*Directives*.  These begin with "$_$_" and must be on a line by themselvesoM 	with the "$_$_" being at the start of the line (i.e. there can be no leadingr	 	spaces).h 	 N 	*Tags*.  These take the form [[OT]]TAG <data...>[[CT]] and may occur anywhere6 	within your text, but cannot be split over two lines. 	aJ Some commands may be expressed as either directives or tags.  A [Tag man]  is also available.    % 2.3.2 Delimiting tables, diagrams etct  H The program will attempt to detect tables and diagrams, but sometimes itH gets the wrong range for the table, and also diagrams may be interpreted as tables and vice versa.l  H To correct such mistakes, you can bracket the source lines as follows :-  
 $_$_BEGIN_PREo 	$_$_BEGIN_TABLE 	... 	$_$_END_TABLE $_$_END_PRE  	e or  
 $_$_BEGIN_PREe 	$_$_BEGIN_DIAGRAM 	... 	$_$_END_DIAGRAM $_$_END_PREe      + 2.3.3 How do I add my own HTML to the file?r  G You can embed raw HTML in your text file in one of three ways using the  preprocessor  *       a) Insert a one-line HTML as follows  1       	$_$_HTML_LINE <whatever you want inserted>i  : 	The HTML_LINE and it's arguments must all be on one line. 	t%       b) Insert a HTML tag as followsm       +       	[[OT]]HTML <whatever you want>[[CT]]        	e,       	The HTML tag must all be on one line.       	u=       c) insert a section of HTML between two directive linesh  
 $_$_BEGIN_PRE        	$_$_BEGIN_HTMLv         ... 4         lines of HTML, e.g. custom artwork or tables         ...l       	$_$_END_HTML  $_$_END_PREn  H For example to enter a anchor point in your text so that you can link to it try  
 $_$_BEGIN_PRE ,       $_$_HTML_LINE <A NAME="whatever"> </A> $_$_END_PREt  0 To embed an image with a hyperlink you might try  
 $_$_BEGIN_PREn       $_$_BEGIN_HTML=       <A HREF="URL"><IMG SRC="../pics/a2hdoco2.jpg" WIDTH=160 >       HEIGHT=160 BORDER=0 ALT="AscToHTM home page" ALIGN=RIGHT       VALIGN=TOP></A>        $_$_END_HTML $_$_END_PREu   $_$_BEGIN_HTML9 <A HREF="http://www.jafsoft.com/"><IMG SRC="a2hdoco2.jpg"r6 WIDTH=160 HEIGHT=160 BORDER=0 ALT="AscToHTM home page" ALIGN=RIGHT VALIGN=TOP></A>a $_$_END_HTML  L The "$_$_" has to be at the beginning of the line, i.e. not indented as I'veK shown above.  If you look at the program's HTML documentation, and the textkF used to create it you'll see examples of this and other preprocessors.M Indeed if you look at the [[SOURCE_FILE]] for this document you'll see that'sl@ exactly how the image on the right was added to *this* document.  L Future versions of the software will introduce in-line tagging so you can doK place LINKPOINTs anywhere in your text.  Check your program's documentationc for details.    " 2.3.4 Using standard include files  J The preprocessor command INCLUDE can be used to include standard pieces of) text into your source files.  For examplew   	$_$_INCLUDE ..\data\footer.incd 	dJ will include the file "footer.inc" into your source file at this location.J Note that the path given must be correct relative to the source file being
 converted.  L The contents of the include file simply get "read into" the source.  As such8 they get included in the analysis of the whole document.  I Include files can be useful to include standard disclaimers or navigationuO bars to all your pages.  For example you could embed HTML to link back to your u> home page (see [[GOTO how do I add my own HTML to the file?]])  H Of course the same effect could be achieved by using a HTML footer file H (see [[GOTO adding headers and footers]]) or by defining a HTML fragmentO called HTML_FOOTER (see [[GOTO customizing the HTML created by the software]]).o      2.3.5 Adding Title, keywords etc  P If you want to add title, keywords and descriptions to your HTML you can do this; by embedding special commands in the source file as follows   
 $_$_BEGIN_PREe, 	$_$_TITLE This is the title of my HTML pageI 	$_$_DESCRIPTION This page is a wonderful page that everyone should visite; 	$_$_KEYWORDS wonderful, web, page, full, of keywords, thatc2 	$_$_KEYWORDS everyone, will, want, to search, for $_$_END_PREo  U The "$_$_" must be the first characters on the line.  You can spread the keywords and U description over several lines by adding extra $_$_KEYWORD and $_$_DESCRIPTION lines.   F Note: Most of these commands have equivalent policies, allowing you toF       set title etc through an external policy file should you prefer.    ? 2.3.6 Adjusting policies for individual files or parts of filesK  K You can, if you wish, create one policy file for each file being converted,Q9 however this is liable to become a maintenance nightmare.   T If you don't want to maintain multiple policy files, or if you simply want to adjustR a few policies for a given source file, you can use the $_$_CHANGE_POLICY command.  U The effect will vary according to the type and position of the command. Some policiestT will affect the whole document, others will only affect the document from that pointP onwards... it depends on the nature of the particular policy. See the [pol man]  for details.   For example placingo    / 	$_$_CHANGE_POLICY background colour 	: #FF0000w' 	$_$_CHANGE_POLICY text colour		: Whiteo 	fO will change the document background colour to be red, and the text to be white a throughout the whole document.    ! 2.4 Making the program run fastere  M You can make the program run faster in a number of ways by disabling featuresn that you know you don't want..  # 2.4.1 Review the "look for" optionsk  I As of V3.1, AscToHTM has a number of "look for" options, stating what theoO program is looking for.  Disable the ones you don't want, although most of themi6 will not make a major difference to the program speed.     2.4.2 Don't convert URLs  M Probably the single most expensive function is the search for URLs to convertoH into hyperlinks.  Every word (and every word fragment) has to be checkedJ individually.  The problem isn't helped by having to distinguish URLs with2 commas in them from comma separated lists of URLs.  M If you know your document has *no* URLs to be converted, disable this featurelM and watch the software run 10-20% faster.  However this is one feature of the  software that people like most.      2.4.3 Don't generate tables   O The software will attempt to convert regions of pre-formatted text into tables.eO This can take a lot of analysis even if eventually it decides "it's not a tablei after all!".  H This only comes into effect if the program detects preformatted text, soJ you should only disable this feature if your pre-formatted text is largelyI non-tabular.  If that's the case you probably want to disable this anywayc+ as the tables created may be inappropriate.      3.0 Conversion Questions ========================   3.1 Generald  * 3.1.1 How do I get rid of the "nag" lines?  M Easy.  You register the software (see [[GOTO registration and updates]]), or  H you remove them by hand.  "Nag" lines only appear in unregistered trial < copies of the software.  If you register, these are removed.    L 3.1.2 Why doesn't it convert Word/Wordperfect/RTF/my favourite wp documents?    Because it wasn't designed to.    L The software is designed to convert *ASCII* text into HTML.  That is plain, K unformatted documents.  Word and other wp packages use binary formats that aL contain formatting codes embedded in the text (or in some cases the text is  embedded in the codes :-).  M Even RTF, which is a text file, is so heavily full of formatting information fI that it could not be perceived as normal text (look at it in Notepad and n you'll soon see what I mean).t  M Why the omission?  Well, like I said, that was *never* the intention of this bH program.  I always took the view that, in time, the authors of those wp J packages would introduce "export as HTML" options that would preserve all F the formatting, and in general this is what has happened.  To my mind ! writing such a program is "easy"."  H My software tackles the much more difficult task of inferring structure J where none is explicitly marked.  In other words trying to "read" a plain @ text file and to determine the structure intended by the author.    I 3.1.3 My file has had it's case changed and letters replaced at random bye numbers.  How do I fix that?  I Easy.  You register the software (see [[GOTO registration and updates]]).t  N The case is only adjusted in unregistered trial copies of the software, eitherI after the line limit is reached, or after the 30 day trial has expired.  fO The case is adjusted so that you can still evaluate the conversion has producedoG the right type of HTML, but since the text is now all in the wrong casee= and had letters substitutes the HTML is of little use to you.   - This is intended as an incentive to register.I  L That said, you *will* find pages on the web that have been converted in this manner.s    < 3.1.4 Why do I sometimes get <DL> markup?  How do I stop it?  A The program is detecting a "definition".  Definitions are usuallye? keywords with a following colon ":" or hyphen "-", e.g. "text:"f  E You can see this more easily if you go to Output-Style and toggle thetI "highlight definition term" option... the definition term (to the left of,6 the definition character) is then highlighted in bold.  H If the definition spreads over 2 "lines", then a definition paragraph is# created, giving the effect you see.a  M If you have created your file using an editor that doesn't output line breaksfJ then only long paragraphs will appear to the program as 2 or more "lines".H In such cases only the longer paragraphs will be detected as "definitionM paragraphs", the rest are detected as "definition lines", even though they're F displayed in a browser as many lines.  If you view the file in NotePad# you'll see how the program sees it.t  " To stop this you have two options.  E (1) _Analysis policies -> Analysis -> recognize colon (:) characters_l  C     switch this off.  This will stop anything being recognized as an     definition.   @ (2) _Output policies -> Style -> Use <DL> markup for paragraphs_  I     disable this.  The definitions will still be recognized, but the <DL>i     markup won't be used.'    3 3.1.5 Why are some of my words being broken in two?o  I Sometimes AscToHTM will produce HTML with words broken - usually over twosI lines.  This can happen if your text file has been edited using a programe< (like NotePad) that doesn't place line breaks in the output.  O AscToHTM is line-orientated (see 2.1.2).  Programs like NotePad place an entire.F paragraph on a single "line", or on lines of a fixed length (e.g. 1000 characters).  I AscToHTM places an implicit space at the end of each line it reads.  This"K is to ensure you don't get the word at the end of one line merged with thatl at the start of the next.s  L However, in files with fixed length "lines", large paragraphs will be brokenG arbitrarily, with the result that a space (and possibly a <BR>) will bee# inserted into the middle of a word.o  I You can avoid this by breaking your text into smaller paragraphs, passing J your file through an editor that wraps differently prior to conversion, or6 selecting any "save with line breaks" option you have.    < 3.1.6 Why am I getting line breaks in the middle of my text?  H The software will add a line break to "short" lines, or - sometimes - to  lines with hyperlinks in them.    G You can edit your text to prevent the line being short, or you can use tD policies to alter the calculation of short lines.  Use the [Pol man]$ to read about the following policies  #       - Add <BR> to lines with URLse       - Look for short lines       - Short line length        - Page Width  : 3.1.7 Why isn't the software preserving my line structure?  F Do you mean line structure, or do you really mean paragraph structure?  H The program looks for "short lines".  Short lines can mark the last lineF in a paragraph, but more usually indicate an intentionally short line.I The calculation of what is a short line and what isn't can be complex, asdP it depends on the length of the line, compared to the estimate with of the page.   You have a number of options :-s  2    - disable the search for short lines using the 0      _Analysis policies -> What to look for_ tab    vF    - explicitly set the page width and/or short line length using the )      _Analysis policies -> analysis_ tab.e  M If you really want the line structure (as opposed to the paragraph structure)a? preserving, look at the line and file structure policies under   _Output -> File generation_b  5 See also [[GOTO how do I preserve one URL per line?]]x    + 3.1.8 Why am I getting lots of white space?d  J Usually because you had lots of white space in your original document.  If- that is the case, then you can set the policy   -       Ignore multiple blank lines       : Yesh   to reduce this effect.  N Some people complain that there are blank lines between paragraphs, or betweenG changes in indentation.  Often this is the vertical spacing inserted by G default in HTML.  This can only be controlled in later versions of HTML @ which support [[TEXT HTML 4.0]] and Cascading Style Sheets (CSS)  M Occasionally certain combinations of features lead to an extra line of space.r    D 3.1.9 What's the largest file anyone's ever converted with AscToHTM?  P Well, at time of writing, I know of a 56,000 line file (3Mb) which was convertedK into a single (4Mb) HTML file.  Of course, it was also converted in a suitei9 of 300 smaller, linked, files weighing in at 5Mb of HTML.   3 This file represented 1,100 pages when printed out.f  C I *do* sometimes wonder if anyone ever reads files that big though.f    W 3.1.10 Does the software support hebrew letters / Japanese / Right to Left Alignment ? y   The short answer is "no".e  L Certainly the software has no ability to *understand* documents written thisH way.  The software is designed to cope with the ASCII character set, andK these all use an alternative character set.  Since the program will convertoK character codes outside the printable range into HTML entities, it's likelynJ that the software will mis-interpret the input characters and convert them@ into HTML entities that will be wrong for the initial file type.  E The best you could ever hope for is that the software would leave any F special characters alone.  To this end the software does have a policyH "input file contains Japanese characters" which can be used to warn thatM the file contains oriental characters (not just Japanese), and that thereforeeM these characters should be left unmolested.  To date this function is largelyI	 untested.o    4 3.1.11 Why does the program hang after a conversion?  H Under Windows the software usually tries to display the results files inG your browser or viewer of choice.  To prevent multiple instances of theoK browser being launched, DDE is used.  DDE is a Windows mechanism that allowsL requests to be passed from one program to another, in this case the software7 is asking the browser to display the HTML just created.o  K Some users have reported problems with DDE.  When this occurs any program - J including AscToHTM - will hang whenever it attempts to use DDE.  When thisB happens you will need to use the Task Manager to kill the program.  I You can solve this problem by using the _Settings -> Viewers for results_e to disable the use of DDE.  K From version 4 onwards the software will detect when this has happened, and % will disable DDE next time it is run.i  I Note, this is a workaround and not a solution.  When DDE stops working ontH your system other programs sill have problems, e.g. when you click on a # hyperlink inside your email client.e  G Sadly I don't know a solution for the DDE problem.  Sometimes rebootinglH helps, sometimes stopping applications helps.  Sometimes it doesn't. :-(    + 3.1.12 How can I use DDE with Netscape 6.0?e  J You can't.  Unlike Netscape versions up to and including 4.7, Netscape 6.0: doesn't support DDE ini its initial release under Windows.    C 3.1.13 Can I use AscToHTM to build a web site with a shopping cart?l   By itself, no.  L AscToHTM can only really produce relatively "static", mostly-text web pages.J To add any dynamic contents and graphics you'd effectively need to add the: relevant HTML yourself, so the answer is essentially "no".  F Adding a shopping cart is actually fairly tricky.  You either have to H install the software yourself, or sign up with an ISP that will do this G for you.  Most such systems require a database (of items being sold).  oE Having not dealt much with such systems myself I can't really advice eK on a *web authoring* tool (which is what AscToHTM is) that would integrate  ' seamlessly with a shopping cart system.   @ My advice would be to identify an ISP that offers shopping cart @ functionality and see what methods they offer for web authoring.   I wish you luck.    
 3.2 Tables  5 3.2.1 How does the program detect and analyse tables?r  H Here's an overview of how the software works, this'll give you a flavour( of the issues that need to be addressed.  L The software first looks for pre-formatted regions of text.  It does this by  R    1) Spotting lines that are clearly formatted, looking for large white space andG       any table-like characters like '|' and '+'.  If may also look forsK       code-like lines and diagram-like lines according to the policies set.I  K    2) Each time a heavily formatted line is encountered and attempt is madeaP       to extend the preformatted region by "rolling it out" to adjacent, not so        clearly formatted linese  N    3) This "roll out" process is stopped whenever it encounters a line that isP       clearly not part of the formatted region.  This might be a section heading:       or a set of multiple blank lines (the default is 2).  S Once a preformatted region is identified, analysis is performed to see whether thisnM is a table, diagram, code sample or something else.  This decision depends on_  F    4) The mix of "graphics" characters as opposed to "text" characters 	RM    5) The presence of "code-like" indicators like curly brackets, semi-colonsI5       and "++" and other special character sequences.p   E    6) How well the data can be fitted into columns of a table (below)   T If nothing fits then this text is output "as normal", expect that the line structure6 is preserved to hopefully retain the original meaning.  0 If the software decides a table is possible, it   L    7) Characterizes the contents of each character position.  So for exampleM       a character position that contains mostly blank characters on each lineo0       is a good candidate for a column boundary.  F    8) Infers from the character positions the likely column boundaries  R Once a tentative set of column boundaries has been identified, the following steps are repeated  C    9) Place all text into cells using the current column boundariesa  M   10) Measure how "good a fit" the text is to the columns, looking for values.E       that span column boundaries, or columns that are mostly "empty"b  N   11) Eliminate any apparently "spurious" columns. For example "empty" columns+       may get merged with their neighbours.i  : Finally, having settled on a column structure the software  N   12) Tries to identify the table header, preferably by detecting a horizontal%       line near the top of the table.l  P   13) Tries to work out column alignments etc.  If the cell contents are numericR       the cell will be right aligned, otherwise the placement of the text compared1       to the detected boundaries will be observede  Q   14) Identifies how many lines goes into each row.  If blank lines or horizontald>       rules are present, these may be taken as row boundaries.  @   15) places all text into cells, using the configuration found.  T Naturally any one of these steps can go wrong, leading to less than perfect results.  F The program has mechanisms (via policies and preprocessor commands) to  , 	a) Influence the attempt to look for tables: 	b) Influence the attempt to extend tables (steps (1)-(3))N 	c) Influence the decision as to what a preformatted region is (steps (4)-(6))2 	d) Influence the column analysis (steps (7)-(11))D 	e) Influence the header size and column alignment (steps (12)-(15))    1 3.2.2 Why am I getting tables?  How do I stop it?D  S The software will attempt to detect regions of "pre-formatted" text.  Once detectedaK it will attempt to place such regions in tables, or if that fails sometimesr in <PRE>...</PRE> markup.$  M Lines with lots of horizontal white space or "table characters" (such as "|".eF "-". "+") are all candidates for being pre-formatted, especially where several of these lines occur.   H This often causes people's .sigs from email to be placed in a table-like
 structure.  J You can alter whether or not a series of lines is detected as preformatted with the policiesi  ,       Look for preformatted text        : No+       Minimum automatic <PRE> size      : 4   M The first disables the search for pre-formatted text completely.  The second EE policy states that only groups of 4 or more lines may be regarded as tK preformatted.  That would prevent most 3-line .sigs being treated that way.l  J If you have pre-formatted text, but don't want it placed in tables (eitherP because it's not tabular, or because the software doesn't get the table analysisN quite right), you can prevent pre-formatted regions being placed in tables via
 the policy  ,       Attempt TABLE generation          : No    $ 3.2.3 Why am I _not_ getting tables?  K First read [[GOTO how does the program detect and analyse tables?]] for an o$ overview of how tables are detected.  P If you're not getting tables this is either because they are not being detected,P or that having been detected they are being deemed to be not "table-like".  LookN at the HTML code to see if there are any comments around your table indicating how it's been processed.  8 If the table is not being detected this could be because  K     - the lines don't look table-like.  Try increasing the white space, or s9       adding a vertical bar '|' as your column separator.n 	  rP     - some lines are table-like, but the "roll out" isn't including the adjacentM       less formatted lines.  Try changing the policy *Table extending factor*. 	  	K     - The detected "table" is too small compared to the value in the policy %       *Minimum automatic <PRE> size*.r 	  	P If all this fails, edit the source to add preprocessor commands around the table
 as follows  
 $_$_BEGIN_PREt 	$_$_BEGIN_TABLE 	... 	...(your table lines) 	... 	$_$_END_TABLE $_$_END_PREt    7 3.2.4 Why do my tables have the wrong column structure?   W First read [[GOTO how does the program detect and analyse tables?]] for an introductione# to how tables columns are analysed.f  M The short answer is "the analysis went wrong".  Answering *why* it went wronguI is almost impossible to answer in a general way.  Some things to considero  H     - Was the table extent correctly calculated?  If adjacent lines wereG       wrongly sucked into the table this will affect the analysis.  Try Q       adding blank lines around the table, adjusting the "Table extending factor".N       policy, or adding BEGIN_TABLE/END_TABLE preprocessor tags to correct any'       errors in calculating the extent.   J Often the table extent is correct, but the analysis of the table has gone  wrong.  L     - Check the text doesn't mix tabs and spaces together in an inconsistentO       manner.  Either set the "Tab size" policy, or replace all tabs by spaces.r  M     - Look to see if some data just "happens" to line up the blanks.  In some <       small tables this can happen.  Consider adjusting the C       "Minimum column separation" policy to a value greater than 1.   N     - Consider adjusting the "Column merging factor" policy to reduce/increase3       the number of columns produced for the table.a  N If all this fails you can explicitly *tell* the software what the table layoutM by using either the TABLE_LAYOUT preprocessor command, or the "Default TABLE  O layout" policy.  Only use the policy if all tables in the same source file have  the same layout.    & 3.2.5 Where did all my table lines go?  F The software removed them because it thought they would look wrong as F characters. The lines are usually replaced by a non-zero BORDER value & and/or some <HR> tags placed in cells.    = 3.2.6 How can I get the program to recognize my table header?h  D One tip.  If you insert a line of dashes after the header like so...  
 $_$_BEGIN_PREs      Basic Dimensions[    Hole No.    X        Ye    -------------------------      1       3.2500   5.0150      2       1.2500   3.1250
      etc.....l $_$_END_PREe  E The program *should* recognize this as a heading, and modify the HTMLt! accordingly (placing it in bold).i  N Alternatively you can tell the program (via the policy options or preprocessor/ commands) that the file has 2 lines of headers.     < 3.2.7 Why am I getting strange COLSPAN values in my headers?    (see the example table in 3.2.6)  F The spanning of "Basic Dimensions" over the other lines can be hit andI miss.  Basically if you have a space where the column gap is expected thecK text will be split into cells, if you don't then the text will be placed ino6  a cell with a COLSPAN value that spans several cells.   For exampleo  
 $_$_BEGIN_PREy,             | space aligns with column "gap"
             v         Basic Dimensionse    Hole No.    X        Ya    -------------------------      1       3.2500   5.0150      2       1.2500   3.1250
      etc.....p $_$_END_PRE,  L In this case you'd get "Basic" in column 1 and "Dimensions" spanning columnsO 2 and 3.  If you edit this slightly as follows then the "Basic Dimensions" willr span all 3 columns  
 $_$_BEGIN_PREe4           | space no longer aligns with column "gap"           vr      Basic Dimensionse    Hole No.    X        Y     -------------------------      1       3.2500   5.0150      2       1.2500   3.1250
      etc.....h $_$_END_PREm   It's a bit of a black art.  J Sometimes when the table is wrong, it's a good idea to set the BORDER sizeI to 0 (again via the policy options) to make things look not so bad.  It'sn" a fudge, but a useful one to know.       3.3 Headings  0 3.3.1 How does the program _recognize_ headings?  < The program can attempt to recognize five types of headings:  > 	*Numbered headings*.  These are lines that begin with section@ 	numbers.  To reduce errors, numbers must be broadly in sequenceA 	and headings at the same level should have the same indentation. ? 	Words like "Chapter" may be before the number, but may confuseo 	the analysis when present.e 	tD 	*Capitalised headings*.  These are lines that are ALL IN UPPERCASE. 	l? 	*Underlined headings*.  These are lines which are followed by xG 	a line consisting solely of "underline" characters such as underscore,tD 	minus, equals etc.  The length of the "underline" line must closely0 	match the length of the line it is underlining. 	eE       	*Embedded headings*.  These are headings embedded as the firstrI         sentence of the first paragraph in the section.  The heading willdJ       	be a single all-UPPERCASE sentence.  Unlike the other headings, theG       	program will place these as bold text, rather than using headingfN       	markup.  You will need to manually enable the search for such headings,$       	it is not enabled by default.  F       	*Key phrase headings*.  These are lines in the source file thatH       	begin with user-specified words (e.g. "Chapter", "Appendix" etc.)H       	The list of words and phrases to be spotted is case-sensitive and@       	will need to be set via the "Heading key phrases" policy.  G The program is biased towards finding numbered headings, but will allowiI for a combination.  It's quite possible for the analysis to get confused,  especially whenl  E     - headings are centred, rather than at fixed indents.  The policylK       "Check indentation for consistency" should be disabled if this is the        case.   H     - headings include the words Chapter, Part etc.  You should considerH       using the "Heading key phrase" policy and disabling the search for&       numbered headings in such cases.  D     - The numbering system repeats (e.g. Part I, 1,2,3,... Part II, F       1,2,3...).  Again, consider using "key phrase" and/or underlined*       heading detection as an alternative.  J     - The file has numbered lists at a similar indentation to the numberedF       sections.  If possible move your numbered lists a few charactersD       to the right of the indentation that headings are expected at.  C     - The file has a large number of capitalised non-heading lines.hJ       Manually disable the search for capitalised headings if this happens  4     - The numbering system is "exotic" (e.g. II.3.g) 	 : To tell if the program is correctly detecting the headings  E    a) Look at the HTML to see if <H1>, <H2> etc. tags are being addedh       to the correct text. 	lK    b) If the headings are wrong, check the analysis policies are being set c4       correctly by looking at the values shown under  @           	_Conversion Options -> Analysis policies -> headings_         after the conversion.d     C Depending on what is going wrong do one or more of the following :-M  G    i) Adjust the headings policy (e.g. to disable capitalised headings)a 	n@   ii) Edit the source to replace centred headings by headings at       a fixed indentation.  ?  iii) Edit the source so that numbered lists are at a different '       indentation to numbered sections.(  A   iv) If your numbering system is too exotic, edit your source soi@       that all the headings are "underlined" and get the program=       to recognize underlined, rather than numbered headings.   F    v) If possible consider the use of the "Heading key phrase" policy        instead.  3 3.3.2 Why are my headings coming out as hyperlinks?   N This is a failure of analysis.  The program looks for a possible contents listG at the top of the file before the main document (sometimes in the first 	 section).e  L If your file has no contents list, but the program wrongly expects one, thenF as it encounters the headings it will mark these up as contents lines.  ( To prevent this, set the analysis policy         Expect contents list : Noi  G to "no".  Or add a preprocessor line to the top of your file as followst  
 $_$_BEGIN_PRE 1       $_$_CHANGE_POLICY Expect contents list : Noe $_$_END_PRE   B 3.3.3 Why are the numbers of my headings coming out as hyperlinks?  P Either a failure of analysis, or an error in your document.  The software checksO headings "obey policy" and are in sequence.  If you get your numbering sequenceeL wrong, or if you place the heading line at a radically different indentationK to all the others, then the software will reject this as a heading line, ina: which case the number may well be turned into a hyperlink.  1 If it's an error in your document, fix the error.i  H For example, a common problem is numbered lists inside sections.  If theJ list numbers occur at the same level of indentation as the level 1 sectionF headings, then eventually a number on the list will be accepted as theJ next "in sequence" header.  For example in a section number 3.11, any listE containing the number 4 will have the "4" treated as the start of thewN next chapter.  If section "3.12" is next, the change in section number from 4 J will be rejected as "too small", and so all sections will be ignored until section 4.1 is reached.  s  J The solution here is edit the source and indent the numbered list so that K it cannot be confused with the true headers,  Alternatively change it to ans+ alphabetic, roman numeral or bulleted list.a  I Another possible cause if is the software hasn't recognized this level ofp> heading as being statistically significant.  (e.g. if you onlyE have 2 level 4 headings (n.n.n.n) in a large document).  In this caseeJ you'll need to correct the headings policy, which is a sadly messy affair.    S 3.3.4 Why are various bullets being turned into headings, and the headings ignored?p  5 The software can have problems distinguishing between          1 This is chapter onee   ande  &       1) This is list item number one.  J To try and get it right it checks the sequence number, and the indentationJ of the line.  However problems can still occur if a list item on the right7 number appears at the correct indentation in a section.d  F If possible, try to place chapter headings and list items at different
 indentations.t  M In extreme cases, the list items will confuse the software into thinking theyoF are the headings.  In such a case you'd need to change the policy file4 to say what the headings are, with lines of the form  $       We have 2  recognized headings'     	Heading level 0 = "" N at indent 0*)     	Heading level 1 = "" N.N at indent 0d  $ (this may change in later versions).    E 3.3.5 Why are lines beginning with numbers being treated as headings?g  F The software can detect numbered headings.  Any lines that begin with D numbers are checked to see if they are the next heading.  This checkJ includes checking the number is (nearly) in sequence, and that the line is" (nearly) at the right indentation.  J If the line meets these criteria, it is likely to become the next heading,H often causing the *real* heading to be ignored, and sometimes completely! upsetting the numbering sequence.a  I You can fix this by editing the source so that the "number" either occursoG at the end of the previous line, or has a different indentation to thats expected for headings.    1 3.3.6 Why are underlined headings not recognized?s  M The software prefers numbered headings to underlined or capitalised headings.nG If you have both, you may need to switch the underlined headings on vias
 the policy  &       Expect underlined headings : Yes    C 3.3.7 Why are only _some_ of my underlined headings not recognized?g  K If the program is looking for underlined headings (see 3.3.6) then the onlytL reason for this is that the "underlining" is of a radically different lengthJ to the line being underlined.  Problems can also occur for long lines that get broken.f   Edit your source toa  +       - place the whole heading on one liner.       - make the underlining the *same* length    ? 3.3.8 How do I control the header level of underlined headings?c  I The level of heading associated with an underlined heading depends on thew  underline character as follows:-     	'****'		        level 1         '====','////'		level 2$         '----','____','~~~~'	level 3         '....'			level 4  G The actual *markup* that each heading gets may depend on your policies.oE In particular level 3 and level 4 headings may be given the same sizetG markup to prevent the level 4 heading becoming smaller than the text itdE is heading.  However the _logical_ different will be maintained, e.g. L in a generated contents list, or when choosing the level of heading at which* to split large files into many HTML pages.    6 3.3.9 Why are only the first few headings are working?   A couple of possible reasons :-   D       - a numbered list is confusing the software.  This is the sameY         problems as [[GOTO why are the numbers of my headings coming out as hyperlinks?]]a  H       - Some of your headings are "failing" the checks applied.  See theG         discussion in [[GOTO how does the program recognize headings?]]   K One of the reasons for "failure" is that - for consistency - headings must nK be in sequence and at the same indentation.  This is an attempt to prevent  L errors in documents that have numbers at the start of a line by chance being treated as the wrong headings.  B If some headings aren't close enough to the calculated indent thenF they won't be recognised as headings.  If a few headings are discardedG then later headings that *are* at the correct indentation are discardede as being "out of sequence".        F If you're authoring from scratch then the easiest solution is to edit D all the headings to have the same indent.  Alternatively disable the+ policy "Check indentation for consistency".p     3.4 Hyperlinks  3 3.4.1 Why doesn't it correctly parse my hyperlinks?b  Q The software attempts to recognize all URLs, but the problem is that - especiallyaN near the end of the URL - punctuation characters can occur.  The software thenL has difficulty distinguishing a comma separated list of URLs from a URL with/ a series of commas in it (as beloved at C|Net).?  I This algorithm is being improved over time, but there's not much more youoJ can do than manually fix it, and report the problem to the author who will+ pull out a bit more hair in exasperation :)<    6 3.4.2 Why doesn't it recognize my favourite newsgroup?  I To avoid errors the program will only recognize newsgroups in the "big 7"pJ hierarchies.  Otherwise filenames like "command.com" might become unwanted# references to fictional newsgroups.b  E This means that uk.telecom won't be recognized, although if you placerF "news:" in from of it like this news:uk.telecom then it is recognized.  L If you want to make "uk." recognized as a valid news hierarchy, then set the policy   	recognized USENET groups : uk  : Then any work beginning "uk." may become a newsgroup link.    E 3.4.3 Why are only some of my section references becoming hyperlinks?o  H The program will only convert numbers that match known numbered sectionsF into hyperlinks.  If the number is a genuine section heading, then theH chances are that this level of heading has not been detected.  This has H happened in large documents which contained only 2 level 5 headings.  InO such document you may need to manually add the extra level to your policy file.o  K Another limit is that the program won't convert level 1 heading references, A because the error rate is usually two high.  For example if I sayrD "1, 2, 3" it's unlikely I want this to become hyperlinks to chapters 1, 2 and 3.a    / 3.4.4 Why are some numbers becoming hyperlinks?a  I In a numbered document numbers of the form n.n may well become hyperlinksuH to that section of the document.  This can cause "Windows 3.1" to becomeE a hyperlink to section 3.1 if such a section exists in your document..  B You can either insert some character (such as "V" to make "V3.1"),/ or disable this feature entirely via the policyn  +       Cross-refs at level               : 3l  M (which means only "level 3" headings such as n.n.n will be turned into links,x or  0       Cross-refs at level               : (none)  # which should disable the behaviour.l    / 3.4.5 Why are some long hyperlinks not working?f  P The software will sometimes break long lines to make the HTML more readable.  IfL this happens in the middle of a hyperlink, the browser reads the end of line as a space in the URL.  I You can fix this by editing the output text so that the HREF="<url>" part $ of the file is all on the same line.  : This "feature" may be fixed in later versions of AscToHTM.    ) 3.4.6 How do I preserve one URL per line?e  I Some files contain lists of URLs, with one URL per line.  By default the tJ software will not normally preserve this structure because long lines are - usually concatenated into a single paragraph.   6 You can change this behaviour using the option on the - _Output policies -> Hyperlinks_ policy sheet.a  F See also [[GOTO why isn't the software preserving my line structure?]]     3.5 Policy files  S 3.5.1 How many policies are there? Where can I read more about individual policies?f  N First time I looked it was nearly 200, recently the number is approaching 250.D The kind of sneak up on you, I guess.  The [Pol man] gives a pretty J comprehensive description of what each one does and where it can be found.  N People complain that there are too many policies, but then they say "couldn't K you add an option to ...", and so it goes.  Organizing these policies in a  K logical manner is a fairly difficult problem, and if anyone has any bright  K ideas I'm listening.  In recent versions I added overview policies to make  ) things easier to locate or to switch off.b  N To tackle this issue, the section of the documentation on policies and policy N files has been spun off into a new document called the "Policy Manual".  This M should describe them all in great detail.  Last time I checked that file was e- 5000 lines of text before conversion to HTML.l    < 3.5.2 My policy file used to work, but now it doesn't.  Why?  G Make sure you're using an "incremental" policy file, rather than a full D one.  You can do this by viewing the .pol file in a text editor.  AnI "incremental" policy file will only contain lines for the policies you've @ changed.  A full policy file will contain all possible policies.  F If you load a "full" policy file you prevent the program intelligentlyI adjusting to the particular file being converted.  If this happens either2E edit out the lines you don't want from your policy file, or reset the E policies to their defaults and create a new policy file from scratch.     9 3.5.3 xxxx Policy is not taking effect.  What shall I do?s  	 (see 1.7)s     3.6 Bullets and lists   ; 3.6.1 Why is the indentation wrong on follow-on paragraphs?L  H The program can't distinguish between indented paragraphs and paragraphsH that are intended as follow-on paragraphs from some bullet point or list item.   J This means that whilst the first paragraph (the one with the bullet point)H is indented as a result of being placed inside appropriate list markup, G the second and subsequent paragraphs are just treated as indented text.   L The bullet point will be indented as one level deeper than the text positionJ of the bullet.  The follow-on paragraph will be indented according to it'sN own indentation.  Ideally this will be one level deeper than the text position of the bullet.  I Occasionally the two result in different indentations.  The solutions areu	 either tos  D 	a) Review your *indent position(s)* policy with a view to adjustingG 	   the values to give the right amount of indentation to the follow-on I 	   paragraphs.  Sometimes adding an extra level to match the indentation-7 	   of the follow-on paragraph is all that's necessary.  	   F 	b) Edit your source text slightly, adjusting the indent of either the; 	   list items or follow-on paragraphs until the two match.s 	     : 3.6.2 Why is the numbering wrong on some of my list items?  I HTML doesn't allow the numbering to be marked up explicitly.  Instead youdL can only use a START attribute in the <OL> tag to get the right first number2 which is incremented each time a <LI> tag is seen.  M Some browsers don't implement the START attribute, and so they always restartr numbering at 1.   N I've also seen a bug in Opera V3.5 where any tag (such as <EM>) placed between8 the <OL> and the <LI> causes the numbering to increment.  / There's not much I can do about either problem.     7 3.6.3 Some of my text has gone missing.  What happened?E  J There's a bug (in Opera), where a <FONT> tag between the <OL> and <LI> tag) causes all that text to not be displayed.a  D If there's any other problem of this sort email support@jafsoft.com.     3.7 Contents List generation  . 3.7.1 How do I add a contents list to my file?   There are a number of ways:-  D       - If the file already has a contents list this may be detectedC 	if the sections are numbered, and the contents line will be turnedR& 	into links to the sections concerned. 	  eI       - You can forced the addition of a contents list using the policies  	under the menu at 	  n< 	  	_Conversion Options -> Output Policies -> Contents List_ 	  	E 	A hyperlinked contents list will be generated from the headings thatsG 	the program detects.  This list will be placed at the top of the firsth 	file. 	  nP If you don't want the generated list to be placed at the top of the file, insertM the preprocessor command $_$_CONTENTS_LIST at the location(s) you want.  ThisgJ command takes arguments that allow a limited number of formatting options.    @ 3.7.2 Why doesn't my contents list doesn't show all my headings?  = First read [[GOTO how does the program recognize headings?]].i  J If you're generating a contents list from the observed headings, then any # missing headings are either because   - 	a) The program didn't recognize the headingscB 	b) The policy *Maximum level to show in contents* has been set to. 	   a value that excludes the desired heading. 	   J If you're converting an in-situ contents list, then only (a) is likely to M apply, in which case you need to ensure the program recognizes your headings.n    0 3.7.3 Some of my contents hyperlinks don't work!  P There used to be a problem whereby the software would add hyperlinks to sectionsO that didn't exist, or would point to the wrong file when a large file was being  split into many smaller files.  L Both problems should now be fixed, so if you encounter this problem, contact support@jafsoft.com.       3.8 Emphasis  ) 3.8.1 Why didn't my emphasis markup work?   K Emphasis markup can be achieved by placing asterisks (*) or underscores (_)iG in pairs around words or phrases.  The matching pair can be over a few 1N lines, but cannot span a blank line.  Asterisks and underscores can be nested.  H Asterisks generate *bold markup*, underscores generate  _italic markup_,6 and combining these generates _*bold, italic markup*_.  K If you wrap a phrase in underscores, and replace and replace all the spacesrG by underscores [[TEXT _like_this_]] then the result will be underlines o _like_this_ and not in italics.i  P The algorithm copes reasonably well with normal punctuation, but if you use some: unanticipated punctuation, it may not be *recognized*!&%@!  B You can have a _phrase that spans a couple of lines that contains I *another phrase of a different type* in the middle of it_, but you can't tE have two phrases of the same type nested that way.  Be reasonable :-)      3.9 Link Dictionaryp  " 3.9.1 What is the Link Dictionary?  G The link dictionary allows you to add hyperlinks to particular words orhK phrases.  You can choose the phrase to be matched, the text to be displayedo and the URL to be linked to.  K This can help when building a site by converting multiple text files.  For tO example the whole www.jafsoft.com site is built from text files, and extensive eG use of a link dictionary is made to add links from one page to another.e    - 3.9.2 My links aren't coming out right.  Why?t   Known problems include  G       - if the "match text" matches part of the URL the program may get:0         confused.  Try to keep them different.           E       - if the "match text" of one link is a substring of another thec        	program will get confused  F       - if a link is repeated on the same line on the first occurrence&         is converted (fixed post V3.0)         A       - if the "match text" spans two lines it won't be detected.u  K One tip is to place brackets round the [match text] in your source file... lM this not only makes the chances of a false match less likely, but also makes w< it clearer in the source files where the hyperlinks will be.    @ 3.9.3 I can't enter links into the Link Dictionary.  What gives?  N The Link Dictionary support in the Windows version of the software is a little quirky.  Apologies for that.  F The way it should work is that you click on "add new link definition", button.a  K I realize now that this is counterintuitive, and will probably address thiso in the next release.  @ If you save your policy, each link appears as a line of the form  8   Link definition: "match text" = "display text" + "URL"   e.g.  M   Link definition: "jaf" = "John Fotheringham" + "mailto:support@jafsoft.com"l  * The whole definition must fit on one line.  L You may find it easier to open your .pol file in a text editor and add these by hand.     3.10 Batch conversioni  N For more information see the section "Processing several files at once" in theJ main documentation.  The software supports wildcards, and console versionsP are available to registered users which are better suited for batch conversions.  H In the shareware versions no more than 5 files may be converted at once.4 This limit is absent in the registered version (see 9 [[GOTO what's the most files I can convert at one go?]]).     , 3.10.1 How do I convert a few files at once?  M If you only want a few files converted, then the simplest way is to drag and eP drop those files onto the program.  You can either drag files onto the program's0 icon on the desktop, or onto the program itself.  M If you drag files onto the program's icon there is a limit with this approachuM of around 10 files.  This limit arises because the filenames are concatenatedlK to make a command string, and this seems to have a Windows-impose limit of e> 255 characters.  This problem may be solved in later versions.  F The same limit doesn't seem to apply when you drag files onto the open program.  E Alternatively you can browse to select the files you want converting.i    0 3.10.2 How do I convert _lots_ of files at once?  J If you want to convert many files in the same directory, then just type inE a wildcard like "*.txt" into the name of the files to be converted.     K Registered users of the software can get a console version of the software.wK This can accept wildcards on the command line, and is more suited for batchnF conversion, e.g. from inside windows batch files (for example it won't grab focus when executed).  I If you want to convert many files in different directories, either invoke G the console version multiple times using a different wildcard for each oI directory, converting one directory at a time, or investigate the use of  I a steering command file when running from the command line.  See the mainl documentation for details.    ' 3.10.3 How do I interrupt a conversion?   J At present you can't.  The windows version won't respond to stimulus whileI a conversion is in progress, meaning that the windows will not refresh.  oF Normally this isn't a problem, but in large conversions this can be a  little disconcerting.d  # Fixing this is on the "to do" list.e    5 3.10.4 What's the most files I can convert at one go?r  E The largest number of files converted at one time using the wildcard fI function was reported to be around 2000.  A week later someone contacted eK me with around 3000 files to be converted.  A few weeks after that someone kH was claiming 7000.  If you'd like to claim a higher number, let me know.  F Theoretically the only limit is your disk space.  The program operatesE on a flat memory model so that the memory used is largely independentaK of the number of files converted, or the size of the files being converted.f  I Such conversions are a testament to the program's stability and efficient K use of system resources.  That said if possible we recommend you break the p6 conversion into smaller runs you reduce your risks :-)     3.11 File splitting   / 3.11.1 Why isn't file splitting working for me?p  D The program can only split into files at headings it recognises (seeC [[GOTO how does the program recognize headings?]]).  You first neednJ to check that the program is correctly determining where the headings are, and what type they are.  a  E Headings can be numbered, capitalised or underlined.  To tell if the ?+ program is correctly detecting the headings   B a) Look at the HTML to see if <H1>, <H2> etc. tags are being added    to the correct text.a  H b) If the headings are wrong, check the analysis policies are being set 6    correctly.  If necessary set them yourselves under   ;       _Conversion Options -> Analysis policies -> headings_   G Once the headings are begin correctly diagnosed, you can switch on file-" splitting using the policies under  @       _Conversion Options -> output policies -> file generation_  J Note that the "split level" is set to 1 to split at "chapter" headings, 2 5 to split at "chapter and major section" headings etc.   H Underlined headings tend to start at level 2, depending on the underline character (see 3.3.8)d  L Hopefully this will give you some pointers, but if you still can't get it toG work, please mail a copy of the source file (and any policy file you'reh= using) to support@jafsoft.com and I'll see what I can advise.e     3.12 Miscellaneous questions  P 3.12.1 How do I suppress the Next/Previous navigation bar when splitting a large	 document?'  N Prior to version 4 there was a bug which meant the policy "Add navigation bar"I was being ignored when splitting files (the only time it was used).  Thist
 is now fixed.c  J However also available in version 4 is a new "HTML fragments" feature thatI allows you to customize some of the HTML generated by the software.  This)L includes the navigation bars so that, for example, if you wanted to suppressH just the top navigation bar, you could define the fragment NAVBAR_TOP to be empty.  t  L See [[GOTO customizing the HTML created by the software]] and the [Tag man]  for more details.     . 3.12.2 Why am I getting regions of <PRE> text?  J The software attempts to detect pre-formatted text in your files and, whenI it finds some, attempts to turn these into tables.  In many cases having aK detected some pre-formatted text it recognises that it cannot make a table iF and so resorts to using <PRE>...</PRE> markup instead (in RTF is uses ; courier font), giving a "mal-formed table" error message.  o  N These <PRE> sections actually work quite well for some documents, but in other0 cases they would be better not handled this way.  2 Happily the solution is simple.  On the menu go to  C       _Conversion Options -> Analysis policies -> What to look for_o  , and disable "pre-formatted regions of text".    G 3.12.3 Do you have a html-to-text converter, rtf-to-html converter etc?t   No.i  F My converters convert from *plain ASCII text* into HTML or RTF.  TheirH "unique selling point" is that they intelligently work out the structure of the text file.n  0 However *other* people provide other converters.  D There are a number of html->text converters on top of which NetscapeC has a good "save as text" feature.  Or you can import the HTML intoeG Word and use Word's save as text features (although in my opinion these  are inferior to Netscape's).  J If you visit my ZDNet listing at http://www.hotfiles.com/?000M96 and click@ on the "related links" you'll see a number of converters listed.  K There are at least two RTF-to-HTML converters called RTF2HTML and RTFtoHTMLrG and of course Word for Windows offers this capability (it doesn't suit t everyone though).e  " In fact, here are three products:-  < RTFtoHTML can be found at http://www.sunpack.com/RTF/ [[BR]]J RTF2HTML can be found at http://www.xwebware.com/products/rtf2html/ [[BR]]? RTF-2-HTML can be found at http://www.easybyte.com/rtf2html.com.    & 4.0 Adding value to the HTML generated& ======================================   4.1 Adding Title and META tags  M There are policies that allow Title, Description and keywords to be added to o
 your pages.  a  I The title will default to "Converted from "<filename>"", but a number of FI policies allow the title to be made to adopt the first section title, or b any text that you provide.  K Alternatively you can use preprocessor commands embedded in the source filen
 as follows  
 $_$_BEGIN_PREp& 	$_$_TITLE This is my lovely HTML page2 	$_$_DESCRIPTION This page was converted from textB 	$_$_DESCRIPTION and this description was added using preprocessor 	$_$_DESCRIPTION commandsn# 	$_$_KEYWORDS Converted, from, texts $_$_END_PREs  H This approach is in many ways simpler, as it avoids the need for policy - files, and keeps all your source in one file.o     4.2 Adding Headers and Footers  N The software will allow you to add headers and footers to each file generated.  J You can do this either through policies or by defining some HTML fragments   The policies concerned are  ) 	HTML header file : c:\include\header.ince) 	HTML footer file : c:\include\footer.incc 	lG The value is the name of the file to be used (you must supply a full ord/ relative path so that the file may be located).t  K Alternatively you can define the HTML fragments HTML_HEADER and HTML_FOOTERnI (see [[GOTO customizing the HTML created by the software]]). If both are e- defined then the HTML fragments will be used.r  G Whether defined by file or as a HTML fragment, these fragments will be oE copied into each HTML page generated after the <BODY> tag and before l the </BODY> tag respectively.   M If a large file is being split into many smaller HTML files these headers and0O footers will be copied into *every* HTML generated.  This is different to usingr8 an $_$_INCLUDE statement, which only gets executed once.  M These files can be useful to add a standard title in the header, and links totG other parts of the site (home, contacts etc) in the footer of whatever.o     4.3 Adding Javascripts  N There's a limit to how you can add JavaScript to a page generated from text.  M That said the program will allow you to embed javascript (or indeed anything oF else) into the <HEAD>...</HEAD> section of the document.  This is the M recommended location for including JavaScript as this ensures it is all read i before anything is drawn.    The policy concerned is   * 	HTML script file : ..\scripts\myscript.js 	 K This should point to a file that contains all the scripting required.  The dO program will simply copy this text into the header of each HTML page generated.   I For the JavaScript to have an effect, you may need to embed further HTML  # into the body of the source text.     3 See [[GOTO how do I add my own HTML to the file?]].      4.4 Adding colour/colord  M A number of policies allow you to choose your document colours.  These can bed found under the Windows menu  < 	_Conversion Options -> Output policies -> Document colours_ 	s andl  2 	_Conversion Options -> Output policies -> Tables_ 	oN All colours should be specified in HTML format, i.e. as 6-character hex valuesI in the form rrbbgg.  A few colours like "Red", "White" and "Black" may beaJ entered by name.  Wherever possible the program will use the name so as to" make the HTML more understandable.  N If you don't want *any* colours added to your HTML (not even the default white@ background) you can use the policy *Suppress all colour markup*.  6 For a full list of colour policies, see the [Pol Man].     4.5 Adding images to the HTMLc  D See [[GOTO how do I add my own HTML to the file?]] which includes anG example which is used to add an image to HTML version of this document.h    - 4.6 Adding hyperlinks to keywords and phrasese  ! Use the [[GOTO Link Dictionary]].l    + 4.7 Splitting large documents into sectionst  K The program can only split into files at headings it recognizes.  So first  G you need to check that the program is correctly determining where your r\ headings are, and what type they are.  See [[GOTO how does the program recognize headings?]]  G Once the headings are begin correctly diagnosed, you can switch on fileh" splitting using the policies under  @       _Conversion Options -> output policies -> file generation_  M Note that the "split level" is set to 1 to split at "chapter" headings, 2 to  2 split at "chapter and major section" headings etc.  H Underlined headings tend to start at level 2, depending on the underline character (see 3.3.8).  L Hopefully this will give you some pointers, but if you still can't get it toJ work, please mail me a copy of the source file (and any policy file you're& using) and I'll see what I can advise.    0 4.8 Customizing the HTML created by the software  I From version 4 onwards AscToHTM will allow you do define "HTML fragments"eJ that can be used in place of the standard HTML generated by the program in certain situations.   * See the relevant chapter in the [tag man].    $ 5.0 Diagnosing problems for yourself$ ====================================  N The program offers a number of diagnostic aids.  These can be awkward to use, L but if you want to get a better idea of what's going on these can sometimes  help.p  B The various diagnostic options can be accessed via the menu option  ; 	_Conversion Options -> Output policies -> File generation_l 	a   5.1 Generate a .lis file  N The program can be made to generate listing files.  A fragment is shown below.  
 $_$_BEGIN_PRET,          56:  103  |1.2.4 Who is the author?          57:    1  |/          58:  104  |1.2.4.1 John A Fotheringhame          59:    1  |P          60:       |That's me that is.  The program is wholly the responsibilityE          61:       |Fotheringham, who maintains it in his spare time.           62:    1  |          63:    1  | $_$_END_PREr  K These show the source lines in truncated form.  Each line is numbered, and eN markers show how the line has been analysed.  In this case the line with "Who M is the author?" has been allocated a line type of 103 ("header level 3") and wN is followed by a line of type 1 ("blank").  A complete list of line types and ( code is included at the end of the file.  F Three files are generated; a ".lis1" file which is a listing from the K Analysis pass, a ".lis" file which is a listing from the output pass and a  L ".stats" file which lists statistics collected during the analysis.  Ignore  this last file.r  L The ".lis1" and ".lis" files have similar format, but represent the file as J analysed before and after the application of program policies.  Thus more J lines will be marked as headings in the ".lis1" file, but only those that L "pass policy" - i.e. are in sequence and at the right indentation - will be & marked as headings in the ".lis" file.  M Understanding these files is a black art, but a quick look can sometimes help N you understand how the program has interpreted particular lines that have goneL wrong, and give you a clue as to which policies may be used to correct this 
 behaviour.     5.2 Generate a .log file  K The program will display messages during conversion.  You can filter these aB messages (e.g. to suppress certain types) by using the Menu option   	_Settings -> Diagnostics_ 	 K These messages can also be output to a .log file by using the options under   ; 	_Conversion Options -> Output policies -> File generation_o 	yI This log file will contain *all* messages, including those suppressed by pK filtering. In the Windows version you can also choose to save the messages   displayed to file.  L Looking through the .log file can sometimes reveal problems that the program has detected and reported.     5.3 Generate a .pol file  M The program operates in three passes.  The first pass analyses the file, and  G sets various policies automatically (assuming these haven't previously  H been loaded from a policy file).  The second pass calculates the output G file structure, and the third pass actually generates the output files.t  H You can use the screens under Conversion Options to review the policies  that have been set.   H Alternatively you can save these policies to file, using the menu option  . 	_Conversion options -> Save policies to file_ 	fJ Selecting the "save all policies" option.  Be careful not to overwrite any existing "incremental" file.  L This file will list all policies used, which you may review... particularly I looking for any analysis policies that seem to have been incorrectly set.p      5.4 Understanding error messages  F In the fullness of time an [Error Manual] will be produced.  (see 1.7)     5.5 Diagnosing table problems   N See [[GOTO how does the program detect and analyse tables?]] and other topics 0 in the [[GOTO Tables]] section of this document.     6.0 Future directionsi =====================a   6.1 RTF generation  A The text analysis engine that lies at the core of AscToHTM is nowaA available in a text-to-RTF converter.  This is called [AscToRTF],d. but we prefer the name "rags to Rich Text" :-)  I The initial release of this software was in March 2000.  For more detailse visit the [AsctoRTF] home page.       6.2 Multi-lingual user interface  H AscToHTM (and AscToRTF) support several languages in the user interface.K These translations have been provided by volunteers, and so far only extendnL to parts of the user interface.  All the programs' documentation and support remain in English.  L THe software also supports the use of "language skins", i.e. the loading of N text files containing all the user interface text.  This will hopefully allow K people to convert the program into more languages.  We'd welcome copies of tH skins developed, and will consider them for future distribution.  Please% send them to translations@jafsoft.comn  H For more details visit http://www.jafsoft.com/products/translations.html     6.3 Improved standards support  9 *Standards support is now a stated aim of the program*.  y  M However, due to the complexities of generating standards-compliant HTML from o= arbitrarily structured text we don't feel we can *guarantee* aN standards-compliance.  If you find the program generating faulty HTML, please ! report it to support@jafsoft.com.e  A If you want to validate your HTML, visit http://validator.w3.org/a  H Please note, if you embed your own HTML into your source files, this may. well upset the balance in terms of compliance.  M Note: When the program detects that it has violated standards, error messagesn?       will be displayed.  You should report such violations to         support@jafsoft.com.           & 6.4 Targeting particular HTML versions  K Internally the program is aware of the features and limitations of various d versions of HTML as follows    $_$_BEGIN_TABLEc! $_$_TABLE_MIN_COLUMN_SEPARATION 2n 	[[TEXT HTML 3.2]] 	[[TEXT HTML 4.0]] Transitionale. 	[[TEXT HTML 4.0]] Strict	 (not yet supported)
 $_$_END_TABLEd 	cL For example certain HTML entities are only supported under newer versions of HTML.   O Bearing in mind we're converting text files, there's a limit as to how advancedfG the HTML can be (for example I can't work out which text to animate :-)m  8 If you want to target a particular form of HTML, use the policy  = 	HTML version to be targeted : [[TEXT HTML 4.0]] Transitionals 	d2 and the program will adjust to do the best it can.  H Note:   "[[TEXT HTML 4.0]] Strict" is not yet supported and a number of L       	"deprecated" tags are still used in "[[TEXT HTML 4.0]] Transitional".  	  	 6.5 CSS and Font support  K Font support will be introduced shortly.  Due to the program's history, theeA HTML currently being generated is more akin to [[TEXT HTML 3.2]].   N Over time we plan to offer proper [[TEXT HTML 4.0]] and CSS support, although L obviously this will be limited to what can be sensibly applied to converted  text.o  $ $_$_DEFINE_HTML_FRAGMENT HTML_HEADER <DIV ALIGN="CENTER">H <H2>FAQ for <A HREF="http://www.jafsoft.com/?from=FAQ">JafSoft</A> text      conversion utilities</H2>l% <p>You can download these files as a cI <A HREF="http://www.jafsoft.com/faq/a2hfaq.zip">.zip file (~100k)</A></p>e <HR NOSHADE> </DIV>
 $_$_END_BLOCKt$ $_$_DEFINE_HTML_FRAGMENT HTML_FOOTER <DIV ALIGN="CENTER"> <HR NOSHADE> <TABLE WIDTH="100%">B <TR><TD WIDTH=100><a href="http://validator.w3.org/"><img border=0I         src="vh40.gif" alt="Valid HTML 4.0!" height=31 width=88></a></TD>g&     <TD ALIGN="CENTER">Converted from 5       <A HREF="a2hfaq.txt">a single text file</A> by nJ       <A HREF="http://www.jafsoft.com/asctohtm/?from=FAQ">AscToHTM</A><br>J &copy; 1997-2001 <A HREF="mailto:info@jafsoft.com">John A Fotheringham</A> </TD><TD ALIGN="RIGHT"><A ;       HREF="http://www.jafsoft.com/asctohtm/?from=FAQ"><IMGi4       SRC="a2hlogo.jpg" WIDTH=100 HEIGHT=36 BORDER=00       ALT="Converted by AscToHTM"></A></TD></TR> </TABLE> </DIV>
 $_$_END_BLOCKe