-- 1 -- |
-- 2 -- | -- 4 -- |
Includes 14 special "User-Defined HTML Tag" Tools. These tools store whatever HTML tags you like. When clicked, the tools surround whatever text you've selected with your own HTML tag preferences. Customize each of the tools via the "CREATE ANT TOOL", described below.
Opens a dialog box listing all your drives and directories. Select any document, .DOC, .HTM or any other file extension. The tool will insert the file, check to see if it has been inserted properly and if you have selected an HTML file, will replace the standard HTML paragraph marks with Word's paragraph marks. It will then place the cursor back at the original cursor location so that you can begin editing at that point. You may insert multiple files into one Ant document if you like.
Standard Numbered and Unnumbered List Tools
This tool offers a wide selection of colors and also offers the option to enter
your own. There are options for background colors
or background graphics, as well as:
NEW AND IMPROVED VERSION 3.0. If you choose to enter your own custom colors and/or a background graphic, these custom settings will be stored and reappear in the custom selection sections of the tool’s dialog box, so that you don’t have to remember them or reenter them. The custom settings can be changed at any time and they take precedence over the 100 color options that are offered in each of the five dropdown boxes. Color Tip: Keep in mind that some monitors only display a very limited number or colors. If your monitor displays 16 million colors, it's probably a good idea to view your page in a monitor which displays 256 colors (or less) before you install your Web page on a server for all the world to see. The graphics cards in an individual's computer can also dramatically affect the color tones he actually sees.
Back to Index This tool inserts your choice of "Numbered" or "Unnumbered" list tags around whatever text you select and places the <LI> tag at the beginning of each paragraph in your selection.
This tool offers options including table border, width, height, cellpadding and cellspacing. You may enter your own tag preferences instead, if you wish. Top and Bottom Caption options are included. (Note: As mentioned above, standard <TABLE> tags are automatically inserted around each table in your document during the final conversion process. If you have created an entry directly above a table with the BEGINNING TABLE TAG AND CAPTION TOOL, your customized entry will take precedence and the standard beginning <TABLE> tag will be omitted.) Either the custom table tag or the optional custom caption tag should be in the paragraph directly above your table, if you want the CONVERT AND SAVE macro to omit placing standard table tags around your table.
<TABLE BORDER=2 CELLPADDING=2>
The Ant provides two toolbar tools and three ways to convert non-nested Word tables of any length to HTML. Like Word itself, the Ant starts the conversion with the assumption that the tables have an equal number of columns in each row. Cell alignments are automatically calculated and the appropriate alignment tags are inserted. Table Headers are accommodated, too.
DOC TO HTML TABLE CONVERSION: SOME OF THE PARTICULARS... The Word .DOC to HTML TABLE TOOL checks to see whether you have entered any Word Table Headings in the first row of each table. If so it places <TH> and </TH> tags around the text in each table cell containing a Table Heading. The tool checks the alignment of each row. If each cell in the row is identically aligned, the tool inserts the tag, <TR ALIGN="left"> or <TR ALIGN="center"> or <TR ALIGN="right"> at the beginning of the row, then inserts the table data tags, <TD> and </TD> around the text in each cell in the row and enters the end of row tag, </TR>, at the end of the row.
<TR ALIGN=left><TD>text in first cell</TD> <TD>text in 2nd cell</TD> <TD>text in 3rd cell</TD></TR> If the cells in the row are aligned differently, the tool enters tags that look like this: <TR><TD ALIGN="left">text in first cell</TD> <TD ALIGN="center">text in 2nd cell</TD> <TD ALIGN="right">text in 3rd cell</TD></TR>
You might also like to try the BEGINNING TABLE TAG AND CAPTION tool described just below. Provides basic conversion of non-nested HTML table tags and is optional when you click the HTML to WYSIWYG Tool.
Pre Tool Store and change your own HTML tag preferences via the CREATE ANT TOOL. Each time you select this tool, the 14 tools on the ANT_USER toolbar are updated to store and hold each of the 14 tag preferences you've entered in the CREATE ANT TOOL dialog box. If you don't wish to use the ANT_USER toolbar to insert your HTML tag preferences, you may enter any of the 14 tags you've chosen from the CREATE ANT TOOL tool, itself. This tool also invites you to change the toolbar button faces of the 14 Ant-User Toolbar tools quickly and whenever you wish. IMPORTANT NOTE: DO NOT ALTER THE POSITIONS OR CHANGE THE NAMES OF THE TOOLS ON THE ANT_USER TOOLBAR. The position and the name of the tool must not be changed if the Create Ant Tool and the 14 customizable tools on the ANT_USER toolbar are to operate properly. (In the ANT_HTML toolbar and the ANT_SUP toolbar, the tools can be transferred from one toolbar to the other, deleted entirely or changed in any way.)
This tool offers Size, Width, Alignment and Shading options. You can enter
whatever values you like. The values described below are WYSIWYG in the .DOC file:
Back to Index
MAKE HIDDEN and MAKE UNHIDDEN.
MAKE HIDDEN TOOL and MAKE UNHIDDEN TOOLCentered, Bold and Italic TextTwo optional methods are available.Insert HTML tags during the final conversion Use the standard Word CENTER, BOLD and ITALIC TOOLS in any combination.. HTML codes (<B> </BR> and <I> </I>) will be inserted during conversion with the CONVERT AND SAVE TOOL. if the tags are not already there. Tip: When using bold and italic formatting in combination with headings and other styles, use the toolbar tools to apply the headings and styles first. Three new tools, one for CENTER, one for BOLD and one for ITALIC which each immediately insert the tags around any selection, have been added to the new Ant_Sup Toolbar. The tools are depicted immediately below. Insert HTML tags immediately around any selection
Centers whatever text you select and inserts the <CENTER> tags. (The normal underline feature is not displayed in Web browsers so it's not supported in the template.) Enters the appropriate tags and modifies the font sizes character by character.
CONVERT SPECIAL CHARACTERS TOOL
This tool converts
the ISO Latin 1 Entities
from .DOC to HTML. (The conversion of special characters from HTML to .DOC is offered
as one of the options when you click the HTML to WYSIWYG TOOL.) Not all Web browsers
support these characters.
Word for Windows supports some special characters that Word for Macintosh does not.
(A table with the entries is provided in the ANT.DOC file.)
Four special characters are NOT converted when you select the CONVERT SPECIAL CHARACTERS TOOL.
They are the left angle bracket, < ( < ), the right angle bracket, > ( > ),
the ampersand, &amp; ( & )
and the double quote character, &quot; ( " ). You may convert these four characters
during the Convert and Save process or during the HTML to WYSIWYG process, if you choose.
Conversion of Special Characters from HTML to .DOC is offered as an option
when the HTML to WYSIWYG Tool is selected.
While working on your document you might wish to add or delete some HTML tags. Toolbar tools for each of the Zap macros have been included in the ANT_SUP toolbar. ZAP CODES FROM DOCUMENT, when selected, deletes all the HTML tags from the entire document. When you select this menu item, a message will ask you if you're sure you wish to continue (The tool deletes all brackets and all text in between the beginning and the ending bracket, whether the text is hidden or unhidden, to simplify removing the tags from non-WYSIWYG as well as WYSIWYG HTML documents.) The tool depends on the presence of the HTML tags. ZAP CODES FROM THE SELECTION, when selected, deletes the HTML tags from whatever text you have selected. (Like the other Zap macro, the tool deletes all brackets and all text in between the beginning and the ending bracket, whether the text is hidden or unhidden, to simplify removing the tags from non-WYSIWYG as well as WYSIWYG HTML documents.)
This tool provides a quick way to delete any empty paragraph marks which might have been imported with an HTML document or inserted during the HTML to WYSIWYG conversion. If an ANT toolbar you want to use is not displayed, click anywhere on the toolbar with the right mouse button and select the ANT_HTML, ANT_SUP or ANT_USER toolbar (any or all) from the Toolbars Menu, then click OK... or: Any of the three toolbars can easily be displayed by clicking the ANT TOOLS MENU. At the bottom of the menu, click View ANT_HTML, ANT_SUP or ANT_USER Toolbar. Three characters are special characters and are used to specify HTML tags
See Resources for specific code information and for information regarding foreign characters. An easy way to select the text in an entire document is to triple click the left margin of the document with the left mouse button. Although there are a variety of ways (and personal styles used) to create an HTML document, and although the template is designed to accommodate most of them, you might discover an exception. If for any reason, during the Convert and Save process, the macro continues to run in an endless loop condition, you may stop it by pressing the ESC key. CTRL+Spacebar easily changes hidden characters into normal text. The tool called MAKE UNHIDDEN will do it, too. CTRL+Q is handy for restoring the default paragraph formatting. PLEASE TAKE A MOMENT TO READ THIS... Just so you don't puzzle over it, Web browsers ignore extraneous spaces, tabs and Word indents. Among other things, this means that tabs and other special formatting features possible in Word but not supported by the HTML language, must be created in some work-around manner. You can create the appearance of tabs with "<UL> " tags and "<TABLE> " tags. Please remember not all browsers support tables or many of the same features Netscape supports. It's best to check your work in different Web browsers at different screen resolutions (at least in 640 x 480, 800 x 600 AND 1024 x 768). The appearance of an HTML document can vary dramatically on the browser and the screen resolutions. As noted in the section on Graphics above, the capacity of various monitors and the kind of graphics card installed in a computer can make an enormous difference in how an individual will view the colors and graphics you display in your HTML documents. Word .DOCs and HTML documents are very different beasts. HTML documents are simple ASCII text files. The ASCII character set is simple and basic and is used in the body of email messages, for example, to enable rapid electronic transport of information from one place to another. HTML documents, like basic email messages, cannot display formatting like bold, italic or underlined text and cannot display graphics. (Web browsers read the HTML "tags" in HTML documents to know where to find any particular graphic file and where to display the graphic file on the browser screen.) Word documents permit all sorts of razzledazzle formatting. Word stores the formatting information in the paragraph marks. The paragraph marks are *always* assigned a Style. (The Word manual has much information about Styles and how Word uses them.) To try and abbreviate... the Ant program (and all other templates that work in Word) also make use of Word Styles. The Ant comes with 20+ HTML-browser-friendly styles built into it. These are the Styles that HTML browsers can display. (To view them in the Ant, open a new, blank .doc file based on the Ant template and click the Word StyleBox (usually on the same toolbar as the font choices - far left). The Ant, as it should, leaves it up to the HTML author to determine which of the HTML-browser-friendly styles he wishes to use on any particular paragraph or series of paragraphs. Word is capable of all sorts of formatting and user-defined styles that Web browsers cannot display and Web browsers are capable of a variety of formatting Word cannot display. The Ant program provides the means to make the transition, and it was designed to provide an HTML author with as many options and as much freedom as possible, so it will do an HTML authors bidding, but it won't guess or decide for him or her what HTML-browser-displayable styles to substitute for any user-defined non-browser-supported-styles.
Back to Headings and Styles
The macros are locked, as in other programs, for several reasons. One of them (but only one) is that it encourages some users to provide valuable feedback about the program. Please note that the Ant sometimes adds extra paragraphs at the end of a document because of the way Microsoft Word reacts when it encounters the last paragraph mark in documents. If, after saving or converting your document, you find that additional paragraph marks have been inserted at the end of your document, you may delete them if you wish, but they will have no affect on the appearance of your HTML document. My document fried and I don't know why.The answer might be that you imported a text file which contained ANSI characters not supported by Microsoft Windows or Word. If you are importing an ASCII file which contains characters (like ANSI character #127 which generally looks like , for example), you can easily remove them before pasting into Word with an editor like Q Edit. (To remove them in Q Edit, open the file, press CTRL-K, then press X, then ESC to quit. Save the file. The offending characters will have been removed.). Paste the remaining text into a Word document. Hidden codes (in Tools Options View) should be turned on during the Save process. The template tools are designed to turn hidden codes on, if they were off, and to restore your preferred settings afterward. If this procedure goes bananas for any reason (and special pains were taken so it should not go bananas), your document won't convert properly. Turn Hidden Text ON and try again.
Perhaps you've had GIF grief?
ResourcesMore Information is available through the following hyperlinks:
Back to Tips and Notes Back to Index
The name "ANT" was selected for several reasons. One was to name it so that it was conveniently located near the top of alphabetically arranged lists of filenames. It had to be an acronym and appropriate for the endeavor. (The acronym is a secret.) Also, it had to be short. It had to be unpretentious. It had to be lively. The result is the Ant, a program designed to do any hypertext preparation drudgery for you. Let me know how you like it.
Special Thanks
Special thanks to Eileen Wharmby of Pincliffe International (the WOPR folks) for helping
to make the programs international and cross-platform. ( What is the likelihood that it is not mere coincidence that, conjointly, each of your first initials spell "WEB" ?!?)
Much gratefulness to Phil Davis, who helped test the MAC maneuvers.
Back to Index Copyright and Warranty
© Copyright 1995, Jill Swift. All Rights Reserved None of the Ant templates, nor any ANT zip file, other than the ANT_DEMO.ZIP file may be distributed by any method, except by the author, unless written permission is obtained from the author. This software is distributed as is and no warranty of any kind is made. Please feel free to send any email to me at jswift@ftelacommunications.com. No promises are made regarding responses, but I will try to respond to questions as promptly as possible.
Jill Swift http://telacommunications.com/ant January 2, 1997
|