1. \NoFonts This command asks that information provided in the font files will be used for the symbols, but not the information requested for the fonts in the source LaTeX file through the ‘\Configure{htf}’ command.


2. \EndNoFonts

This command asks to end the effect of the most recently encountered \NoFonts command that is still active.

italic not italic not italic italic.

 {\it italic \NoFonts\NoFonts
 not italic \EndNoFonts
 not italic \EndNoFonts
 italic}.

3. \Configure{htf} {class} {delimiter} {template-1} {template-2} {template-3} {template-4} {template-5} {template-6} {template-7}

Each character is provided two entries in its virtual font file: a string and an integer number. The integer number is considered to be the class of the character. An even number requests that the character will be represented by the string. An odd number requests that the character will be represented by a picture, with the string acting as an alternative representation.

The current \Configure command provides a template for introducing, into the hypertext document, the representations of the symbols of the specified class. The template is consisted of the seven specified components, where the delimiter must be a character that does not appear in these components.

In even classes, the template is used for outputing a tuple, consisting of the following information, for the given symbol: the font name, the font size, the font magnification when it differs from 100%, and the corresponding string field from the virtual font.

The first component is printed unconditionally at the beginning. The font name is printed only if the second component of the template is not empty and, when it is not empty, the second component should be a template for printing a string in a C program. Similarly, the font size is printed only if the third component of the template is not empty, and in such a case the component should be a template for printing a string in a C program. On the other hand, the font magnification is printed only if the fourth component of the template is not empty, and in such a case the component should be a template for printing an integer in a C program. The rest of the components of the template are added literally into the output, where either the fifth or the sixth component must be empty. The string field from the virtual font is introduced just before the last component.

text text

<span class="underline">text</span> 
<span class="cmti-10">text</span> 

 {\it
 \Configure{htf}
    {0}{+}{<span class="}
    {}{}{}{}{underline">}
    {</span>}
 text%
 \Configure{htf}
    {0}{+}{<span class="}
    {\%s}{-\%s}{--\%d}{}
    {">}{</span>}
 text}
The \Configure defines for a symbol of an even class, a prefix and a postfix to be inserted around the string assigned to the symbol in its virtual font file. The \Configure for characters of class 0 has the extra property that it provides extra prefixes and postfixes also for all the pictorial representations of symbols.

A \Configure command for an odd class defines a template to output a tuple, consisting of the following information: the font name, the alternative string from the virtual font, the font name, the font size, the font magnification when it differs from 100%, and the character code of the symbol. The output is determined in a manner similar to that implied for symbols from characters of odd classes.

αα

 \Configure{htf}
    {1}{+}{<sup><img src="}
    {" alt="}{}{}{}{}
    {" /></sup>}
 
 $\alpha$%
 \Configure{htf}
    {1}{+}{<img src="}
    {" alt="}{" class="\%s}
    {\%s}{-\%d}{--\%x}{" />}%
 $\alpha$

4. \Configure{htf-sty} {class/font} {CSS-instructions} This command specifies CSS content for font classes and virtual hypertext fonts.


Generated August 24, 2020 - tex4ht home page