New in version 3.2
In-line tags are introduced in version 3.2. They allow you to place special codes in your source text to achieve effects that couldn't be done by converting plain text alone. As such they greatly enhance AscToHTM's ability to be used as a web authoring tool.
In-line tags are introduced in version 3.2. In-line tags are an extension of the preprocessor tags introduced in earlier versions. As the name implies, in-line tags may be placed "in line" with the source tag, giving greater flexibility for their use.
In-line tags are signified by the start and end delimiters "[[" and "]]", for example :-
[[HTML_COMMENT this will become an HTML comment]]
The whole tag must be contained within a single line of the source file, that is there cannot be any newline characters in the middle of a tag. You can have as many tags as you like on any given line, but they may not be nested.
In-line tags form a large part of what will be available in version 4.0, at which time they will be fully documented. In the meantime a summary of some of the in-line tags available is given in 8.2.
New in version 3.2
This is a brief overview of some of the more useful in-line tags. A fuller description of using in-line tags will br produced when version 4.0 is released.
New in version 3.2
Inserts a <BR> tag
New in version 3.2
[[COLOUR <value>]]
Change text colour. If <value> is omitted, text reverts to black.
New in version 3.2
[[CONTENTS_LIST <number levels> <Style>]]
Inserts a contents list with the specified number of heading levels (1=chapter, 2=main sections...)
A <style> value of "1" gives a traditional list, whilst "2" generates a navigation bar (best used with level set to 1)
This may also be set as a directive $_$_CONTENTS_LIST (see 7.3.3).
New in version 3.2
[[ENTITY <HTML entity number>]]
Inserts a HTML entity of the form &#nnn; The entity number must be valid. Note not all entities are supported by all browsers
New in version 3.2
[[FONT 0,<list of fonts>,<font size>]]
Changes the current font. When supplying a list of fonts it is a good idea to ensure you include a font commonly available.
New in version 3.2
[[GOTO <Section title>]]
Inserts a hyperlink to the named section title within the current document. For example
[GOTO Use the preprocessor]
becomes
New in version 3.2
[[HTML <embedded HTML>]]
Inserts the embedded HTML at the current location. This can be useful, although care must taken that the HTML that is inserted fits in with that generated by the program itself.
New in version 3.2
[[HTML_COMMENT <comment text>]]
Inserts a HTML comment containing the supplied text.
New in version 3.2
[[HYPERLINK URL,"<url>","<display text>"]] or
[[HYPERLINK LINK,"<link name>","<display text>"]]Inserts a hyperlink. When "URL" is requested, you should supply the URL to be linked to, and the display text, both in quotes.
When "LINK" is requested, a hyperlink to a named LINKPOINT (see below) will be added, and you should supply the LINKPOINT name and the hyperlink display text, both in quotes.
For example
[[HYPERLINK URL,"http://www.jafsoft.com/","JafSoft Limited"]] and
[[HYPERLINK LINK,"Definitions","section on definitions"]]becomes
JafSoft Limited and
section on definitions
New in version 3.2
[[LINKPOINT "<link name>"]]
Inserts a named anchor point into the HTML. This can be used to create a known anchor point that is available for use in HYPERLINK tags (see above 8.2.9), or in any other files that you want to create.
New in version 3.2
[[NB <Number of spaces>]]
[[SPACES <Number of spaces>]]Inserts the specified number of spaces, or non-breaking spaces.
Since both tags are currently implemented using there is currently no difference between the two.
New in version 3.2
[[SOURCE_FILE <display text>]]
Inserts a hyperlink to the text file used to create the HTML. If the display text is omitted the string "source file" will be used. The link generated assumes the text file will be placed in the same directory as the HTML file.
This can be useful where you want to make both text and HTML versions of a document available.
New in version 3.2
[[SUPER <superscript text>]] and
[[SUB <subscript text>]]Places the supplied text in superscript or subscripts
New in version 3.2
[[TEXT <protected text>]]
Protects text from various AscToHTM conversions. For example a section number line any URL like :-
section 3.1 and http://www.jafsoft.com/
would normally be turned into hyperlinks like this:-
section 3.1 and http://www.jafsoft.com/
New in version 3.2
Inserts a timestamp (currently a date) indicating when the HTML file was converted from text. For example :-
This file was last converted on [[Timestamp]]
becomes
This file was last converted on 9-Oct-1999
![]() |
Converted from a single text file by AscToHTM © 1997-99 John A. Fotheringham | ![]() |