Contents - Index - Previous - Next


HTML Setup


HTML Setup on the File menu lets you choose options to control the way in which Concordance generates HTML when saving a concordance as a single HTML file or building a Web Concordance.

Using the Editable Sections page, you can directly enter or edit HTML which will be added in the appropriate places whenever an HTML file is created.  The reserved words %source and %title have special meanings in certain Editable Sections - see HTML Details.

Even if you do not want to edit any HTML, you can still control the appearance of your Web Concordance. Using the Settings page, choose the following options.

All HTML Concordances
These options apply both to Web Concordances and to concordances saved as single HTML files using 'Save as HTML' on the File menu. 

Format Text: Contexts and references can be formatted either using HTML tables or using the HTML <pre> tag for pre-formatted text.  Pre-formatted text tends to load faster than tables in a web browser, but gives less control over appearance and may require the use of fixed-pitch fonts to preserve alignment of references.

Column for references: If you choose pre-formatted text, you can specify the column where references should begin.  You will probably want to set this just beyond the length of the longest context line in your concordance so that all references are neatly aligned.

Table border width:  If you choose tables, you can specify the width of the visual border they have.  A border width of zero is allowed: this makes the table borders and cells invisible but still formats your text neatly within the invisible cells.

Web Concordances only
The following options affect Web Concordances only.

Frame style:  Choose between two pre-defined screen layouts (HTML framesets) for a Web Concordance.  You can further refine these as the HTML itself appears in the Editable Sections.  A basic guide to HTML Frames is available.

Link style:  Choose a style for navigational links within a Web Concordance. Available styles are: JavaScript buttons; HTML links made on plain text; or HTML links made on images supplied with the program.

Source Text Format: For Web Concordances, a new copy of your source text file must be created which contains the HTML links to make the Web Concordance work.  (This does not affect the file with your original text.)   Your source text will be converted to HTML as required, but if it was already in HTML you should choose accordingly here.

Wordlist Frame:  By turning on these options you can display word frequencies and/or percentages in the Wordlist Frame in a Web Concordance.  This more closely resembles the display in the program itself.  Note that frequencies and percentages must also be visible (displayed) in the Wordlist if they are to appear at all in the Web Concordance. (They will also appear in the Concordance Frame.)

See also:
What is a Web Concordance?
Saving and restoring settings
HTML Details
Managing large files for HTML

Other related topics